From: Steven J. Hill Date: Thu, 13 Jun 2013 19:55:05 +0000 (+0000) Subject: MIPS: malta: Move defines of reset registers and values. X-Git-Tag: next-20130619~105^2^2~10 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a7f076a8a36b5190ce30063c004c5de2e8f4ccf0;p=karo-tx-linux.git 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 Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/5455/ Signed-off-by: Ralf Baechle --- 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 #include -#include + +#define SOFTRES_REG 0x1f000500 +#define GORESET 0x42 static void mips_machine_restart(char *command) {