aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/cpu-type.h
diff options
context:
space:
mode:
authorLeonid Yegoshin <Leonid.Yegoshin@imgtec.com>2014-11-24 12:59:01 +0000
committerMarkos Chandras <markos.chandras@imgtec.com>2015-02-16 10:01:24 +0000
commit4695089f03929c8cfa58470faf6e1e041bfb285a (patch)
tree8e825b5822c5f0253a2e29a6523025b8d0f98005 /arch/mips/include/asm/cpu-type.h
parentMIPS: Add generic QEMU PRid and cpu type identifiers (diff)
downloadlinux-dev-4695089f03929c8cfa58470faf6e1e041bfb285a.tar.xz
linux-dev-4695089f03929c8cfa58470faf6e1e041bfb285a.zip
MIPS: Add cases for CPU_QEMU_GENERIC
Add a CPU_QEMU_GENERIC case to various switch statements. Signed-off-by: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com> Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Diffstat (limited to 'arch/mips/include/asm/cpu-type.h')
-rw-r--r--arch/mips/include/asm/cpu-type.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/mips/include/asm/cpu-type.h b/arch/mips/include/asm/cpu-type.h
index b4e2bd87df50..8245875f8b33 100644
--- a/arch/mips/include/asm/cpu-type.h
+++ b/arch/mips/include/asm/cpu-type.h
@@ -54,6 +54,13 @@ static inline int __pure __get_cpu_type(const int cpu_type)
case CPU_M5150:
#endif
+#if defined(CONFIG_SYS_HAS_CPU_MIPS32_R2) || \
+ defined(CONFIG_SYS_HAS_CPU_MIPS32_R6) || \
+ defined(CONFIG_SYS_HAS_CPU_MIPS64_R2) || \
+ defined(CONFIG_SYS_HAS_CPU_MIPS64_R6)
+ case CPU_QEMU_GENERIC:
+#endif
+
#ifdef CONFIG_SYS_HAS_CPU_MIPS64_R1
case CPU_5KC:
case CPU_5KE: