mirror of https://github.com/OpenIPC/firmware.git
[T31] Yet another fix
parent
17638d1fd1
commit
2bea7ad0df
|
@ -329648,7 +329648,7 @@ index 00000000..79850235
|
||||||
+ * Function: Keep power for CPU core when reset.
|
+ * Function: Keep power for CPU core when reset.
|
||||||
+ * So that EPC, tcsm and so on can maintain it's status after reset-key pressed.
|
+ * So that EPC, tcsm and so on can maintain it's status after reset-key pressed.
|
||||||
+ */
|
+ */
|
||||||
+static void reset_keep_power(int keep_pwr)
|
+void reset_keep_power(int keep_pwr)
|
||||||
+{
|
+{
|
||||||
+ if (keep_pwr)
|
+ if (keep_pwr)
|
||||||
+ rtc_write_reg(RTC_PWRONCR,
|
+ rtc_write_reg(RTC_PWRONCR,
|
||||||
|
|
Loading…
Reference in New Issue