projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MIPS: Loongson: Add basic Loongson-3 CPU support
[firefly-linux-kernel-4.4.55.git]
/
arch
/
mips
/
include
/
asm
/
cpu-type.h
diff --git
a/arch/mips/include/asm/cpu-type.h
b/arch/mips/include/asm/cpu-type.h
index 760c9cf0f13584d95da74d63f8e024f1a7d3de34..721906130a573852b654b4495d66cc7877e533c0 100644
(file)
--- a/
arch/mips/include/asm/cpu-type.h
+++ b/
arch/mips/include/asm/cpu-type.h
@@
-20,6
+20,10
@@
static inline int __pure __get_cpu_type(const int cpu_type)
case CPU_LOONGSON2:
#endif
+#ifdef CONFIG_SYS_HAS_CPU_LOONGSON3
+ case CPU_LOONGSON3:
+#endif
+
#ifdef CONFIG_SYS_HAS_CPU_LOONGSON1B
case CPU_LOONGSON1:
#endif