ARM: bootm: take into account gd->ram_top
authorPatrice Chotard <patrice.chotard@st.com>
Thu, 13 Feb 2020 18:29:50 +0000 (19:29 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 17 Apr 2020 16:29:43 +0000 (12:29 -0400)
commit8ce1f10cf2b139258c890774f263bec55c4df8ce
treea5402e6d9fda6a865a6b742b8b2bd0f41c381e29
parent8d5d3bcf3c53d798bd7f3fe7092e994593bcc41c
ARM: bootm: take into account gd->ram_top

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@st.com>
Reviewed-by: Patrick DELAUNAY <patrick.delaunay@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
arch/arm/lib/bootm.c