[U-Boot] [PATCH] Fix condition where bootm_size not set and wrong memory size reported
Kumar Gala
galak at kernel.crashing.org
Wed Aug 4 20:59:41 CEST 2010
On Jul 8, 2010, at 5:19 PM, Kumar Gala wrote:
>
> On Jul 8, 2010, at 10:11 AM, Matthew McClintock wrote:
>
>> 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 at freescale.com>
>> ---
>> common/image.c | 12 +++++++++---
>> 1 files changed, 9 insertions(+), 3 deletions(-)
>
> Acked-by: Kumar Gala <galak at kernel.crashing.org>
poke on applying this patch.
- k
More information about the U-Boot
mailing list