common/memsize.c: prepare get_ram_size update
authorPatrick Delaunay <patrick.delaunay@st.com>
Thu, 25 Jan 2018 17:07:45 +0000 (18:07 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 14 Mar 2018 01:59:30 +0000 (21:59 -0400)
commitc5da05cd412e1656fe3d1909966013fc121c5c5c
tree4f046e069170e7ddd4e976a599738e32364c604f
parent79717c8047cfe9a6a4c06ee839ef5f94c0fb5406
common/memsize.c: prepare get_ram_size update

Save the content of the base address in a new variable
in stack (save_base) to prepare restore this content.

This patch don't modified code behavior and stack usage.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
common/memsize.c