diff options
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/system-jz4740.c')
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/system-jz4740.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/system-jz4740.c b/firmware/target/mips/ingenic_jz47xx/system-jz4740.c index e37f17c73f..c029dd46bb 100644 --- a/firmware/target/mips/ingenic_jz47xx/system-jz4740.c +++ b/firmware/target/mips/ingenic_jz47xx/system-jz4740.c | |||
@@ -509,6 +509,9 @@ void system_exception_wait(void) | |||
509 | 509 | ||
510 | void power_off(void) | 510 | void power_off(void) |
511 | { | 511 | { |
512 | /* Enable RTC clock */ | ||
513 | __cpm_start_rtc(); | ||
514 | |||
512 | /* Put system into hibernate mode */ | 515 | /* Put system into hibernate mode */ |
513 | __rtc_clear_alarm_flag(); | 516 | __rtc_clear_alarm_flag(); |
514 | __rtc_clear_hib_stat_all(); | 517 | __rtc_clear_hib_stat_all(); |