Hi Simon, > From: Simon Glass <[email protected]> > Sent: vendredi 14 février 2020 20:17 > > Hi Patrick, > > On Thu, 13 Feb 2020 at 11:30, Patrick Delaunay <[email protected]> > wrote: > > > > From: Patrice Chotard <[email protected]> > > > > 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 <[email protected]> > > Reviewed-by: Patrick DELAUNAY <[email protected]> > > Signed-off-by: Patrick Delaunay <[email protected]> > > --- > > > > 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

