mirror of
https://github.com/torvalds/linux
synced 2024-09-16 09:05:45 +00:00
c47cc20ca5
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> |
||
---|---|---|
.. | ||
gpio.c | ||
irq.c | ||
Kconfig | ||
Makefile | ||
nvram.c | ||
Platform | ||
prom.c | ||
serial.c | ||
setup.c | ||
sprom.c | ||
time.c | ||
wgt634u.c |