summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/imx233/rtc-imx233.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/rtc-imx233.h b/firmware/target/arm/imx233/rtc-imx233.h
index bc9e8e0c1e..144809cc90 100644
--- a/firmware/target/arm/imx233/rtc-imx233.h
+++ b/firmware/target/arm/imx233/rtc-imx233.h
@@ -84,7 +84,10 @@ static inline void imx233_rtc_init(void)
84 BF_CLR(RTC_CTRL, SFTRST); 84 BF_CLR(RTC_CTRL, SFTRST);
85 udelay(5); /* only need 3 GPMI clocks (1us) */ 85 udelay(5); /* only need 3 GPMI clocks (1us) */
86 BF_CLR(RTC_CTRL, CLKGATE); 86 BF_CLR(RTC_CTRL, CLKGATE);
87 HW_RTC_PERSISTENT0_SET=0x082114; 87#ifdef BM_RTC_PERSISTENT0_DISABLE_XTALOK
88 BF_SET(RTC_PERSISTENT0, XTAL24MHZ_PWRUP, DISABLE_XTALOK);
89#endif
90 BF_CLR(RTC_PERSISTENT0, CLOCKSOURCE);
88 imx233_rtc_enable_watchdog(false); 91 imx233_rtc_enable_watchdog(false);
89} 92}
90 93