summaryrefslogtreecommitdiffstats
path: root/arch/mips/mti-malta
diff options
context:
space:
mode:
authorSteven J. Hill <Steven.Hill@imgtec.com>2013-06-13 19:55:05 +0000
committerRalf Baechle <ralf@linux-mips.org>2013-06-21 18:07:01 +0200
commit36a29af4bed7169f3332c44846576243d5abe9a5 (patch)
tree1a73758b3add2ab38d0112b0be4e50a21e3810a8 /arch/mips/mti-malta
parent2ddbc4e2f9729ce62f9286868eab6f1523f00d67 (diff)
downloadtalos-op-linux-36a29af4bed7169f3332c44846576243d5abe9a5.tar.gz
talos-op-linux-36a29af4bed7169f3332c44846576243d5abe9a5.zip
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>
Diffstat (limited to 'arch/mips/mti-malta')
-rw-r--r--arch/mips/mti-malta/malta-reset.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/mti-malta/malta-reset.c b/arch/mips/mti-malta/malta-reset.c
index 329420536241..791101216cc2 100644
--- a/arch/mips/mti-malta/malta-reset.c
+++ b/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)
{
OpenPOWER on IntegriCloud