|
@@ -106,7 +106,7 @@ void cpu_init_f(void)
|
|
*/
|
|
*/
|
|
int cpu_init_r(void)
|
|
int cpu_init_r(void)
|
|
{
|
|
{
|
|
-#ifdef CONFIG_MCFTMR
|
|
|
|
|
|
+#ifdef CONFIG_MCFRTC
|
|
volatile rtc_t *rtc = (volatile rtc_t *)(CFG_MCFRTC_BASE);
|
|
volatile rtc_t *rtc = (volatile rtc_t *)(CFG_MCFRTC_BASE);
|
|
volatile rtcex_t *rtcex = (volatile rtcex_t *)&rtc->extended;
|
|
volatile rtcex_t *rtcex = (volatile rtcex_t *)&rtc->extended;
|
|
u32 oscillator = CFG_RTC_OSCILLATOR;
|
|
u32 oscillator = CFG_RTC_OSCILLATOR;
|