diff options
| author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-10-16 15:01:15 +0200 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2008-10-18 21:54:03 +0200 | 
| commit | 6d0f6bcf337c5261c08fabe12982178c2c489d76 (patch) | |
| tree | ae13958ffa9c6b58c2ea97aac07a4ad2f04a350f /cpu/mcf52x2/cpu.c | |
| parent | 71edc271816ec82cf0550dd6980be2da3cc2ad9e (diff) | |
| download | olio-uboot-2014.01-6d0f6bcf337c5261c08fabe12982178c2c489d76.tar.xz olio-uboot-2014.01-6d0f6bcf337c5261c08fabe12982178c2c489d76.zip | |
rename CFG_ macros to CONFIG_SYS
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'cpu/mcf52x2/cpu.c')
| -rw-r--r-- | cpu/mcf52x2/cpu.c | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/cpu/mcf52x2/cpu.c b/cpu/mcf52x2/cpu.c index c25670d41..32d6c40da 100644 --- a/cpu/mcf52x2/cpu.c +++ b/cpu/mcf52x2/cpu.c @@ -66,11 +66,11 @@ int checkcpu(void)  	if (cpu_model)  		printf("CPU:   Freescale ColdFire MCF%s rev. %hu, at %s MHz\n", -		       cpu_model, prn, strmhz(buf, CFG_CLK)); +		       cpu_model, prn, strmhz(buf, CONFIG_SYS_CLK));  	else  		printf("CPU:   Unknown - Freescale ColdFire MCF5271 family"  		       " (PIN: 0x%x) rev. %hu, at %s MHz\n", -		       pin, prn, strmhz(buf, CFG_CLK)); +		       pin, prn, strmhz(buf, CONFIG_SYS_CLK));  	return 0;  } @@ -174,7 +174,7 @@ int watchdog_init(void)  	/* set timeout and enable watchdog */  	wdt->wdog_wrrr = -	    ((CONFIG_WATCHDOG_TIMEOUT * CFG_HZ) / (32768 * 1000)) - 1; +	    ((CONFIG_WATCHDOG_TIMEOUT * CONFIG_SYS_HZ) / (32768 * 1000)) - 1;  	wdt->wdog_wcr = 0;	/* reset watchdog counter */  	puts("WATCHDOG:enabled\n"); @@ -202,7 +202,7 @@ int checkcpu(void)  	char buf[32];  	printf("CPU:   Freescale Coldfire MCF5275 at %s MHz\n", -			strmhz(buf, CFG_CLK)); +			strmhz(buf, CONFIG_SYS_CLK));  	return 0;  }; @@ -236,7 +236,7 @@ int watchdog_init(void)  	/* set timeout and enable watchdog */  	wdt->wmr = -		((CONFIG_WATCHDOG_TIMEOUT * CFG_HZ) / (32768 * 1000)) - 1; +		((CONFIG_WATCHDOG_TIMEOUT * CONFIG_SYS_HZ) / (32768 * 1000)) - 1;  	wdt->wsr = 0x5555; /* reset watchdog counter */  	wdt->wsr = 0xAAAA; @@ -278,7 +278,7 @@ int checkcpu(void)  	char buf[32];  	printf("CPU:   Freescale Coldfire MCF5249 at %s MHz\n", -	       strmhz(buf, CFG_CLK)); +	       strmhz(buf, CONFIG_SYS_CLK));  	return 0;  } @@ -300,7 +300,7 @@ int checkcpu(void)  	unsigned char resetsource = mbar_readLong(SIM_RSR);  	printf("CPU:   Freescale Coldfire MCF5253 at %s MHz\n", -	       strmhz(buf, CFG_CLK)); +	       strmhz(buf, CONFIG_SYS_CLK));  	if ((resetsource & SIM_RSR_HRST) || (resetsource & SIM_RSR_SWTR)) {  		printf("Reset:%s%s\n", |