* [PATCH] MIPS: Loongson: Return system type LOONGSON LS1
@ 2017-01-04 13:10 谢致邦 (XIE Zhibang)
0 siblings, 0 replies; only message in thread
From: 谢致邦 (XIE Zhibang) @ 2017-01-04 13:10 UTC (permalink / raw)
To: linux-mips
Loongson 1 is a 32-bit MIPS CPU family with PRID 0x4220.
Signed-off-by: 谢致邦 (XIE Zhibang) <Yeking@Red54.com>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-01-04 13:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-04 13:10 [PATCH] MIPS: Loongson: Return system type LOONGSON LS1 谢致邦 (XIE Zhibang)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox