Home
last modified time | relevance | path

Searched hist:c519facc (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/common/
H A Dimage.cc519facc Thu Jul 08 10:11:08 CDT 2010 Matthew McClintock <msm@freescale.com> 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>