Hi Simon, > From: Simon Glass <s...@chromium.org> > Sent: vendredi 14 février 2020 20:17 > > Hi Patrick, > > On Thu, 13 Feb 2020 at 11:30, Patrick Delaunay <patrick.delau...@st.com> > wrote: > > > > From: Patrice Chotard <patrice.chot...@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.chot...@st.com> > > Reviewed-by: Patrick DELAUNAY <patrick.delau...@st.com> > > Signed-off-by: Patrick Delaunay <patrick.delau...@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