summaryrefslogtreecommitdiff
path: root/arch/sh/cpu/sh4/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/cpu/sh4/cpu.c')
-rw-r--r--arch/sh/cpu/sh4/cpu.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/sh/cpu/sh4/cpu.c b/arch/sh/cpu/sh4/cpu.c
index b0ad685a91b..47a8549beba 100644
--- a/arch/sh/cpu/sh4/cpu.c
+++ b/arch/sh/cpu/sh4/cpu.c
@@ -10,6 +10,16 @@
#include <net.h>
#include <netdev.h>
#include <asm/processor.h>
+#include <asm/system.h>
+
+void reset_cpu(void)
+{
+ /* Address error with SR.BL=1 first. */
+ trigger_address_error();
+
+ while (1)
+ ;
+}
int checkcpu(void)
{