alistair23-linux/arch/mips/bcm47xx
Hauke Mehrtens c47cc20ca5 MIPS: BCM47XX: improve memory size detection
The memory size is detected by finding a place where it repeats in
memory. Currently we are just checking when the function prom_init is
seen again, but it is better to check for a bigger part of the memory
to decrease the chance of wrong results.

This should fix a problem we saw in OpenWrt, where the detected
available memory decreed on some devices when doing a soft reboot.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Patchwork: http://patchwork.linux-mips.org/patch/4362
Signed-off-by: John Crispin <blogic@openwrt.org>
2012-11-09 11:37:17 +01:00
..
gpio.c mips: add export.h to files using EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:30:57 -04:00
irq.c bcm47xx: fix irq assignment for new SoCs. 2011-08-08 14:29:33 -04:00
Kconfig MIPS: BCM47xx: Fix BCMA_DRIVER_PCI_HOSTMODE config dependencies 2012-07-19 11:23:43 +02:00
Makefile MIPS: BCM47XX: move and extend sprom parsing 2012-03-05 15:20:51 -05:00
nvram.c MIPS: BCM47XX: return number of written bytes in nvram_getenv 2012-03-05 15:20:50 -05:00
Platform
prom.c MIPS: BCM47XX: improve memory size detection 2012-11-09 11:37:17 +01:00
serial.c bcm47xx: add support for bcma bus 2011-08-08 14:29:32 -04:00
setup.c bcma: Move initialization of SPROM to prevent overwrite 2012-05-16 12:46:03 -04:00
sprom.c bcma: Move initialization of SPROM to prevent overwrite 2012-05-16 12:46:03 -04:00
time.c bcm47xx: add support for bcma bus 2011-08-08 14:29:32 -04:00
wgt634u.c