diff options
| author | Markus Klotzbuecher <mk@denx.de> | 2008-10-21 09:18:01 +0200 | 
|---|---|---|
| committer | Markus Klotzbuecher <mk@denx.de> | 2008-10-21 09:18:01 +0200 | 
| commit | 50bd0057ba8fceeb48533f8b1a652ccd0e170838 (patch) | |
| tree | ea1a183343573c2a48248923b96d316c0956727c /cpu/arm926ejs/davinci/timer.c | |
| parent | 9dbc366744960013965fce8851035b6141f3b3ae (diff) | |
| parent | f82642e33899766892499b163e60560fbbf87773 (diff) | |
| download | olio-uboot-2014.01-50bd0057ba8fceeb48533f8b1a652ccd0e170838.tar.xz olio-uboot-2014.01-50bd0057ba8fceeb48533f8b1a652ccd0e170838.zip | |
Merge git://git.denx.de/u-boot into x1
Conflicts:
	drivers/usb/usb_ohci.c
Diffstat (limited to 'cpu/arm926ejs/davinci/timer.c')
| -rw-r--r-- | cpu/arm926ejs/davinci/timer.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/cpu/arm926ejs/davinci/timer.c b/cpu/arm926ejs/davinci/timer.c index 6c670f0b7..773735a1c 100644 --- a/cpu/arm926ejs/davinci/timer.c +++ b/cpu/arm926ejs/davinci/timer.c @@ -54,9 +54,9 @@ typedef volatile struct {  	u_int32_t	wdtcr;  } davinci_timer; -davinci_timer		*timer = (davinci_timer *)CFG_TIMERBASE; +davinci_timer		*timer = (davinci_timer *)CONFIG_SYS_TIMERBASE; -#define TIMER_LOAD_VAL	(CFG_HZ_CLOCK / CFG_HZ) +#define TIMER_LOAD_VAL	(CONFIG_SYS_HZ_CLOCK / CONFIG_SYS_HZ)  #define TIM_CLK_DIV	16  static ulong timestamp; @@ -117,7 +117,7 @@ void udelay(unsigned long usec)  	ulong endtime;  	signed long diff; -	tmo = CFG_HZ_CLOCK / 1000; +	tmo = CONFIG_SYS_HZ_CLOCK / 1000;  	tmo *= usec;  	tmo /= (1000 * TIM_CLK_DIV); @@ -144,5 +144,5 @@ unsigned long long get_ticks(void)   */  ulong get_tbclk(void)  { -	return CFG_HZ; +	return CONFIG_SYS_HZ;  } |