aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/spram.c
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2015-07-09 10:40:36 +0100
committerRalf Baechle <ralf@linux-mips.org>2015-08-26 15:23:03 +0200
commit4e88a8621301b992e8e3422e08bfb604772f3338 (patch)
tree8a643c240850d91b6a173a5a9c9df0351a368552 /arch/mips/kernel/spram.c
parentMIPS: Add MIPS I6400 PRid and cputype identifiers (diff)
downloadlinux-dev-4e88a8621301b992e8e3422e08bfb604772f3338.tar.xz
linux-dev-4e88a8621301b992e8e3422e08bfb604772f3338.zip
MIPS: Add cases for CPU_I6400
Add a CPU_I6400 case to various switch statements, doing the same thing as for CPU_P5600. Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/10635/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/spram.c')
-rw-r--r--arch/mips/kernel/spram.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/spram.c b/arch/mips/kernel/spram.c
index d1168d7c31e8..8489c88f9932 100644
--- a/arch/mips/kernel/spram.c
+++ b/arch/mips/kernel/spram.c
@@ -209,6 +209,7 @@ void spram_config(void)
case CPU_PROAPTIV:
case CPU_P5600:
case CPU_QEMU_GENERIC:
+ case CPU_I6400:
config0 = read_c0_config();
/* FIXME: addresses are Malta specific */
if (config0 & (1<<24)) {