Browse Source

MIPS: malta: Move defines of reset registers and values.

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>
Steven J. Hill 12 years ago
parent
commit
36a29af4be
1 changed files with 3 additions and 1 deletions
  1. 3 1
      arch/mips/mti-malta/malta-reset.c

+ 3 - 1
arch/mips/mti-malta/malta-reset.c

@@ -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)
 {