diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2014-07-17 23:26:33 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-07-30 23:27:02 +0200 |
commit | 6ee1d93455384cef8a0426effe85da241b525b63 (patch) | |
tree | b3e66dbb882a5dbcdbcbc45cda66639d3141a5ca /arch/mips/bcm47xx/setup.c | |
parent | d377732c8c9aac14ccb900b65678558b0fb8f0f3 (diff) | |
download | linux-6ee1d93455384cef8a0426effe85da241b525b63.tar.gz linux-6ee1d93455384cef8a0426effe85da241b525b63.tar.bz2 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.c | 3 |
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"); |