summaryrefslogtreecommitdiff
path: root/cpu/mcf5227x
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-07-13 14:44:12 +0200
committerWolfgang Denk <wd@denx.de>2008-07-13 14:44:12 +0200
commitc90d115913a921c7548ad6eaaa0e13d4f484334c (patch)
tree324cbb51ec8d0e8047bbce13d5f9900da2db1cbe /cpu/mcf5227x
parentdc42c7c08000f97651b763ab5b614e5f74c443ee (diff)
parent0740ac26f4e590bf5b4e7b9a9886208dc2dacb32 (diff)
Merge branch 'master' of /home/wd/git/u-boot/custodians
Diffstat (limited to 'cpu/mcf5227x')
-rw-r--r--cpu/mcf5227x/cpu_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mcf5227x/cpu_init.c b/cpu/mcf5227x/cpu_init.c
index 71b053d4d6..cf29559e71 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;