summaryrefslogtreecommitdiffstats
path: root/arch/mips/bcm47xx/setup.c
diff options
context:
space:
mode:
authorRafał Miłecki2014-07-17 23:26:33 +0200
committerRalf Baechle2014-07-30 23:27:02 +0200
commit6ee1d93455384cef8a0426effe85da241b525b63 (patch)
treeb3e66dbb882a5dbcdbcbc45cda66639d3141a5ca /arch/mips/bcm47xx/setup.c
parentRevert "MIPS: Delete unused function add_temporary_entry." (diff)
downloadkernel-qcow2-linux-6ee1d93455384cef8a0426effe85da241b525b63.tar.gz
kernel-qcow2-linux-6ee1d93455384cef8a0426effe85da241b525b63.tar.xz
kernel-qcow2-linux-6ee1d93455384cef8a0426effe85da241b525b63.zip
MIPS: BCM47XX: Detect more then 128 MiB of RAM (HIGHMEM)
So far BCM47XX can only detect amount of HIGHMEM. It still requires adding (registering) and well-testing before enabling by default. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Acked-by: Hauke Mehrtens <hauke@hauke-m.de> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/7396/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/bcm47xx/setup.c')
-rw-r--r--arch/mips/bcm47xx/setup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/bcm47xx/setup.c b/arch/mips/bcm47xx/setup.c
index cc75861c0187..2b63e7e7d3d3 100644
--- a/arch/mips/bcm47xx/setup.c
+++ b/arch/mips/bcm47xx/setup.c
@@ -218,6 +218,9 @@ void __init plat_mem_setup(void)
bcm47xx_bus_type = BCM47XX_BUS_TYPE_BCMA;
bcm47xx_register_bcma();
bcm47xx_set_system_type(bcm47xx_bus.bcma.bus.chipinfo.id);
+#ifdef CONFIG_HIGHMEM
+ bcm47xx_prom_highmem_init();
+#endif
#endif
} else {
printk(KERN_INFO "bcm47xx: using ssb bus\n");