mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
imx233: rtc: Initialize PERSISTENT0 register
Prevents the rtc from breaking on power removal Change-Id: I1e434285ccc27d864d2fd9454993d02cae32711d
This commit is contained in:
parent
cda5b055fe
commit
7f282b9280
1 changed files with 1 additions and 0 deletions
|
|
@ -84,6 +84,7 @@ static inline void imx233_rtc_init(void)
|
|||
BF_CLR(RTC_CTRL, SFTRST);
|
||||
udelay(5); /* only need 3 GPMI clocks (1us) */
|
||||
BF_CLR(RTC_CTRL, CLKGATE);
|
||||
HW_RTC_PERSISTENT0_SET=0x082114;
|
||||
imx233_rtc_enable_watchdog(false);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue