[PATCH] ARM: bootm: take into account gd->ram_top

Patrick DELAUNAY patrick.delaunay at st.com
Tue Feb 18 11:32:12 CET 2020


Hi Simon,

> From: Simon Glass <sjg at chromium.org>
> Sent: vendredi 14 février 2020 20:17
> 
> Hi Patrick,
> 
> On Thu, 13 Feb 2020 at 11:30, Patrick Delaunay <patrick.delaunay at st.com>
> wrote:
> >
> > From: Patrice Chotard <patrice.chotard at st.com>
> >
> > If gd->ram_top has been tuned using board_get_usable_ram_top(), it
> > must be taken into account when reserving arch lmb.
> >
> > Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
> > Reviewed-by: Patrick DELAUNAY <patrick.delaunay at st.com>
> > Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> > ---
> >
> >  arch/arm/lib/bootm.c | 3 +++
> >  1 file changed, 3 insertions(+)
> 
> Is this something we can test in test/lib/lmb.c ?

I check these tests, and for me it is not possible, as I change the ARM part for bootm lib 
(limit the reserved size by u-boot to avoid conflict wxith other reserved memory) 
and not the lmb generic code...

I don't see how to test it in sandbox.

 
> Regards,
> Simon

Regards
Patrick


More information about the U-Boot mailing list