summaryrefslogtreecommitdiff
path: root/arch/sh/cpu/sh4/watchdog.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/cpu/sh4/watchdog.c')
-rw-r--r--arch/sh/cpu/sh4/watchdog.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sh/cpu/sh4/watchdog.c b/arch/sh/cpu/sh4/watchdog.c
index f692429..d7e1703 100644
--- a/arch/sh/cpu/sh4/watchdog.c
+++ b/arch/sh/cpu/sh4/watchdog.c
@@ -17,6 +17,7 @@
#include <common.h>
#include <asm/processor.h>
+#include <asm/system.h>
#include <asm/io.h>
#define WDT_BASE WTCNT
@@ -66,6 +67,9 @@ int watchdog_disable(void)
void reset_cpu(unsigned long ignored)
{
+ /* Address error with SR.BL=1 first. */
+ trigger_address_error();
+
while (1)
;
}