summaryrefslogtreecommitdiff
path: root/include/lmb.h
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2021-09-10 23:47:08 +0300
committerTom Rini <trini@konsulko.com>2021-09-23 21:15:32 +0300
commitcfa1971977bbf2c5c4aa076924ca36f964a16a1a (patch)
tree65bf299dd5f7e01c489920ad5ea9df6a5d58c87f /include/lmb.h
parent8120e0681c342e4951d99b67dd3bcffce5a39a6e (diff)
downloadu-boot-cfa1971977bbf2c5c4aa076924ca36f964a16a1a.tar.xz
lmb: Always compile arch_lmb_reserve() into U-Boot on arc
The arch_lmb_reserve() is called by lib/lmb.c lmb_reserve_common() even if CMD_BOOTM is not enabled. However, the arc variant of arch_lmb_reserve() is only compiled in if CMD_BOOTM is enabled. This currently does not trigger build error, because there is an empty weak implementation of arch_lmb_reserve(), however that is not the function that should be used on arc. Fix this by moving the arch_lmb_reserve() implementation into common code and always compile it in. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Cc: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/lmb.h')
0 files changed, 0 insertions, 0 deletions