diff options
author | Matthew McClintock <msm@freescale.com> | 2010-07-08 10:11:08 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-08-07 21:55:03 +0200 |
commit | c519facc645812c6d174c2d5b60241d23e285642 (patch) | |
tree | f6cb0d7cc2bc179d9a82607e6ac52a1b6d90c37b /include/ns9750_mem.h | |
parent | b1f95b4438a6d44e12f04e7f51412f7a711ef87b (diff) | |
download | u-boot-imx-c519facc645812c6d174c2d5b60241d23e285642.zip u-boot-imx-c519facc645812c6d174c2d5b60241d23e285642.tar.gz u-boot-imx-c519facc645812c6d174c2d5b60241d23e285642.tar.bz2 |
Fix condition where bootm_size not set and wrong memory size reported
If the user sets bootm_low and does not set bootm_size, u-boot will
report the memory node in the flat device tree incorrectly. Instead
of reporting the remaining size of memory, it will report the total
available memory which is incorrect.
Specifically this fixes the situation when booting a relocatable
kernel and the memory is reported as an offset and size in the
device tree, and the size needs to be adjusted accordingly.
Signed-off-by: Matthew McClintock <msm@freescale.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/ns9750_mem.h')
0 files changed, 0 insertions, 0 deletions