summaryrefslogtreecommitdiffstats
path: root/arch/mips/loongson32/common/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/loongson32/common/setup.c')
-rw-r--r--arch/mips/loongson32/common/setup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/loongson32/common/setup.c b/arch/mips/loongson32/common/setup.c
index 62f41afee241..1640744288ee 100644
--- a/arch/mips/loongson32/common/setup.c
+++ b/arch/mips/loongson32/common/setup.c
@@ -22,7 +22,11 @@ const char *get_system_type(void)
switch (processor_id & PRID_REV_MASK) {
case PRID_REV_LOONGSON1B:
+#if defined(CONFIG_LOONGSON1_LS1B)
return "LOONGSON LS1B";
+#elif defined(CONFIG_LOONGSON1_LS1C)
+ return "LOONGSON LS1C";
+#endif
default:
return "LOONGSON (unknown)";
}