[PATCH] MIPS: Loongson: Return system type LOONGSON LS1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: 谢致邦 (XIE Zhibang) <Yeking@xxxxxxxxx>
---
 arch/mips/loongson32/common/setup.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/mips/loongson32/common/setup.c b/arch/mips/loongson32/common/setup.c
index 5f7fb52b..d5890642 100644
--- a/arch/mips/loongson32/common/setup.c
+++ b/arch/mips/loongson32/common/setup.c
@@ -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)";
-- 
2.11.0








[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux