diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2012-10-03 11:34:17 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2012-11-09 11:37:17 +0100 |
commit | c47cc20ca53e792938556aa29103fa889ce0d858 (patch) | |
tree | 55182513e1ffc244339cc41ba5513519bc095d1c /scripts/checkkconfigsymbols.sh | |
parent | d3dce3d676373b1519546721ee5f3a8c613f40f5 (diff) | |
download | talos-op-linux-c47cc20ca53e792938556aa29103fa889ce0d858.tar.gz talos-op-linux-c47cc20ca53e792938556aa29103fa889ce0d858.zip |
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>
Diffstat (limited to 'scripts/checkkconfigsymbols.sh')
0 files changed, 0 insertions, 0 deletions