]> git.sur5r.net Git - u-boot/commit
board_f: Only reserve memory for U-Boot if we're going to relocate
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Fri, 25 May 2018 13:08:14 +0000 (16:08 +0300)
committerTom Rini <trini@konsulko.com>
Wed, 6 Jun 2018 00:19:08 +0000 (20:19 -0400)
commitff2b2ba845ee682b5eafe4abbb9adbf48730af4b
treefdb50ed162a72442b24487bb75e4031e90894849
parent0899bd269e8ca0a0c7e6afe9287366bc067c141c
board_f: Only reserve memory for U-Boot if we're going to relocate

In case of no relocation we'll just waste some space at the very end
of usable memory area. If target device has very limited amount of memory
(for example 256 kB) this loss will be pretty inconvenient.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Heiko Schocher <hs@denx.de>
Cc: York Sun <york.sun@nxp.com>
Cc: Stefan Roese <sr@denx.de>
common/board_f.c