Skip to contentSkip to conversation

MIPS: Loongson: Return system type LOONGSON LS1

PATCH New 谢致邦 (XIE Zhibang) 1 participant 1 message Jan 4, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: Loongson: Return system type LOONGSON LS1

Loongson 1 is a 32-bit MIPS CPU family with PRID 0x4220.

---
 arch/mips/loongson32/common/setup.c | 2 ++
 1 file changed, 2 insertions(+)
arch/mips/loongson32/common/setup.c +2 -0
index 5f7fb52b..d5890642 100644
@@ -26,6 +26,8 @@ const char *get_system_type(void)
 		return "LOONGSON LS1B";
 #elif defined(CONFIG_LOONGSON1_LS1C)
 		return "LOONGSON LS1C";
+#else
+		return "LOONGSON LS1";
 #endif
 	default:
 		return "LOONGSON (unknown)";
Signature · 1 line
2.11.0