diff options
author | TsiChung Liew <Tsi-Chung.Liew@freescale.com> | 2008-07-09 15:47:27 -0500 |
---|---|---|
committer | John Rigby <jrigby@freescale.com> | 2008-07-11 10:45:59 -0600 |
commit | bc3ccb139f0836f0a834cfd370a120a00ad7e63a (patch) | |
tree | 849e3cd6789e485c06230d2734911108c7fba1bc /cpu/mcf5227x | |
parent | f94945b517f10e01927101679c62361e03d4e837 (diff) | |
download | u-boot-imx-bc3ccb139f0836f0a834cfd370a120a00ad7e63a.zip u-boot-imx-bc3ccb139f0836f0a834cfd370a120a00ad7e63a.tar.gz u-boot-imx-bc3ccb139f0836f0a834cfd370a120a00ad7e63a.tar.bz2 |
ColdFire: Fix incorrect define for mcf5227x and mcf5445x RTC
Rename CONFIG_MCFTMR to CONFIG_MCFRTC to include real time
clock module in cpu/<cf arch>/cpu_init.c
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Diffstat (limited to 'cpu/mcf5227x')
-rw-r--r-- | cpu/mcf5227x/cpu_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mcf5227x/cpu_init.c b/cpu/mcf5227x/cpu_init.c index 71b053d..cf29559 100644 --- a/cpu/mcf5227x/cpu_init.c +++ b/cpu/mcf5227x/cpu_init.c @@ -106,7 +106,7 @@ void cpu_init_f(void) */ int cpu_init_r(void) { -#ifdef CONFIG_MCFTMR +#ifdef CONFIG_MCFRTC volatile rtc_t *rtc = (volatile rtc_t *)(CFG_MCFRTC_BASE); volatile rtcex_t *rtcex = (volatile rtcex_t *)&rtc->extended; u32 oscillator = CFG_RTC_OSCILLATOR; |