X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=cpu%2Fmcf5227x%2Fcpu_init.c;h=cf29559e7144b31e9df46b640c1d2775e8bd38e6;hb=93f6d72544da4510a146bc4c93d609b0116cde37;hp=71b053d4d6e90af612f72437de498bd7c6a3749e;hpb=e57ed96baca1222e6cd3d7032691a89d5890bb4a;p=u-boot 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;