]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
MIPS: malta: Move defines of reset registers and values.
authorSteven J. Hill <Steven.Hill@imgtec.com>
Thu, 13 Jun 2013 19:55:05 +0000 (19:55 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 18 Jun 2013 19:26:56 +0000 (21:26 +0200)
Remove usage of 'include/asm/mips-boards/generic.h' header file.
Instead, move the defines for SOFTRES_REG and GORESET local to
the platform file.

Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5455/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mti-malta/malta-reset.c

index 329420536241b5b70743d5ef7ce56c02a4087aa3..791101216cc2a39c954c8942bcda109333ae093f 100644 (file)
@@ -27,7 +27,9 @@
 
 #include <asm/io.h>
 #include <asm/reboot.h>
-#include <asm/mips-boards/generic.h>
+
+#define SOFTRES_REG    0x1f000500
+#define GORESET                0x42
 
 static void mips_machine_restart(char *command)
 {