aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/cpu-type.h
diff options
context:
space:
mode:
authorLauri Kasanen <cand@gmx.com>2021-01-13 17:10:07 +0200
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-01-22 11:39:45 +0100
commit65ce6197ed403b14f4efc70d509e07ac608a1ac5 (patch)
tree8a2392fb7d37bb6510f5c17f17f399954e3de80a /arch/mips/include/asm/cpu-type.h
parentMIPS: mm: Add prototype for function __update_cache (diff)
downloadlinux-dev-65ce6197ed403b14f4efc70d509e07ac608a1ac5.tar.xz
linux-dev-65ce6197ed403b14f4efc70d509e07ac608a1ac5.zip
Revert "MIPS: Remove unused R4300 CPU support"
This reverts commit f9065b54d437c4660e3d974ad9ce5188c068cd76. We're adding Nintendo 64 support, so the VR4300 is no longer unused. Signed-off-by: Lauri Kasanen <cand@gmx.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/include/asm/cpu-type.h')
-rw-r--r--arch/mips/include/asm/cpu-type.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/include/asm/cpu-type.h b/arch/mips/include/asm/cpu-type.h
index 3288cef4b168..2be5d7b5de68 100644
--- a/arch/mips/include/asm/cpu-type.h
+++ b/arch/mips/include/asm/cpu-type.h
@@ -122,6 +122,11 @@ static inline int __pure __get_cpu_type(const int cpu_type)
case CPU_VR4181A:
#endif
+#ifdef CONFIG_SYS_HAS_CPU_R4300
+ case CPU_R4300:
+ case CPU_R4310:
+#endif
+
#ifdef CONFIG_SYS_HAS_CPU_R4X00
case CPU_R4000PC:
case CPU_R4000SC: