summaryrefslogtreecommitdiff
path: root/firmware/panic.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/panic.c')
-rw-r--r--firmware/panic.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/firmware/panic.c b/firmware/panic.c
index 0ac458953b..c61476c423 100644
--- a/firmware/panic.c
+++ b/firmware/panic.c
@@ -101,10 +101,7 @@ void panicf( const char *fmt, ...)
101 /* try to restart firmware if ON is pressed */ 101 /* try to restart firmware if ON is pressed */
102#if defined (CPU_PP) 102#if defined (CPU_PP)
103 /* For now, just sleep the core */ 103 /* For now, just sleep the core */
104 if (CURRENT_CORE == CPU) 104 sleep_core(CURRENT_CORE);
105 CPU_CTL = PROC_SLEEP;
106 else
107 COP_CTL = PROC_SLEEP;
108 #define system_reboot() nop 105 #define system_reboot() nop
109#elif defined (TOSHIBA_GIGABEAT_F) 106#elif defined (TOSHIBA_GIGABEAT_F)
110 if ((GPGDAT & (1 << 0)) != 0) 107 if ((GPGDAT & (1 << 0)) != 0)