aboutsummaryrefslogtreecommitdiff
path: root/arch/arc
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2021-09-10 22:47:07 +0200
committerTom Rini <trini@konsulko.com>2021-09-23 14:15:32 -0400
commit8120e0681c342e4951d99b67dd3bcffce5a39a6e (patch)
tree230b62c1a0621a05a26fcea2d3df7e08345c0eb7 /arch/arc
parent2ddb8fcd2e587f13a9b6f837518e64be6c44c29f (diff)
downloadu-boot-8120e0681c342e4951d99b67dd3bcffce5a39a6e.zip
u-boot-8120e0681c342e4951d99b67dd3bcffce5a39a6e.tar.gz
u-boot-8120e0681c342e4951d99b67dd3bcffce5a39a6e.tar.bz2
lmb: Always compile arch_lmb_reserve() into U-Boot on arm
The arch_lmb_reserve() is called by lib/lmb.c lmb_reserve_common() even if CMD_BOOT{I,M,Z} is not enabled. However, the arm32/arm64 variant of arch_lmb_reserve() is only compiled in if CMD_BOOT{I,M,Z} 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 arm32/arm64. Fix this by moving the arch_lmb_reserve() implementation into common code and always compile it in. Reviewed-by: Tom Rini <trini@konsulko.com> 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 'arch/arc')
0 files changed, 0 insertions, 0 deletions