mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-06 13:15:25 -05:00
Fix build regression for Creative ZEN V
Introduced in 297af3a483
Change-Id: I9cf37e27ecdf84b6f0a8b6c8d15b1eae987cedbe
This commit is contained in:
parent
a6538abd16
commit
6314eae268
1 changed files with 2 additions and 0 deletions
|
|
@ -96,10 +96,12 @@ static inline void imx233_rtc_init(void)
|
|||
#else
|
||||
/* confirmed for CREATIVE_ZEN and CREATIVE_ZENXFI2 */
|
||||
/* FIXME: test SONY_NWZE360 and SONY_NWZE370 targets */
|
||||
#ifdef BM_RTC_PERSISTENT0_DISABLE_XTALOK
|
||||
while (BF_RD(RTC_STAT, NEW_REGS)!=0) {};
|
||||
BF_SET(RTC_PERSISTENT0, XTAL32KHZ_PWRUP, CLOCKSOURCE);
|
||||
while (BF_RD(RTC_STAT, NEW_REGS)!=0) {};
|
||||
BF_CLR(RTC_PERSISTENT0, XTAL24MHZ_PWRUP, DISABLE_XTALOK);
|
||||
#endif
|
||||
#endif
|
||||
imx233_rtc_enable_watchdog(false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue