summaryrefslogtreecommitdiffstats
path: root/arch/mips/loongson64/common/env.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/loongson64/common/env.c')
-rw-r--r--arch/mips/loongson64/common/env.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/loongson64/common/env.c b/arch/mips/loongson64/common/env.c
index f6c44dd332e2..d6d07ad56180 100644
--- a/arch/mips/loongson64/common/env.c
+++ b/arch/mips/loongson64/common/env.c
@@ -64,6 +64,9 @@ void __init prom_init_env(void)
}
if (memsize == 0)
memsize = 256;
+
+ loongson_sysconf.nr_uarts = 1;
+
pr_info("memsize=%u, highmemsize=%u\n", memsize, highmemsize);
#else
struct boot_params *boot_p;
OpenPOWER on IntegriCloud