common/memsize.c: restore content of the base address
authorPatrick Delaunay <patrick.delaunay@st.com>
Thu, 25 Jan 2018 17:07:46 +0000 (18:07 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 14 Mar 2018 01:59:30 +0000 (21:59 -0400)
commit218da804ef0971ecee8063c45deae0345e344812
treee6b22973a46573e9c7be6e18e21d631446c74924
parentc5da05cd412e1656fe3d1909966013fc121c5c5c
common/memsize.c: restore content of the base address

For the last return of function get_ram_size(),
when size=maxsize, restore the base address (*base)
content.

Add comment for the remaining case to avoid regression:
this case is already correctly handled.

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