[U-Boot] [PATCH] Fix condition where bootm_size not set and wrong memory size reported
Kumar Gala
galak at kernel.crashing.org
Fri Jul 9 00:19:23 CEST 2010
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>
- k
More information about the U-Boot
mailing list