]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit882f5de7230b30540ae5502fb80fe3f371ee0ba5
treee6b22973a46573e9c7be6e18e21d631446c74924
parent4df141d8ea817ef98ae2b79df8befef1e7e4f1dc
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