u-boot/arch/arc/lib
Marek Vasut cfa1971977 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>
2021-09-23 14:15:32 -04:00
..
_millicodethunk.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bootm.c lmb: Always compile arch_lmb_reserve() into U-Boot on arc 2021-09-23 14:15:32 -04:00
cache.c lmb: Always compile arch_lmb_reserve() into U-Boot on arc 2021-09-23 14:15:32 -04:00
cpu.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
init_helpers.c common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
interrupts.c common: Move interrupt functions into a new header 2019-12-02 18:25:00 -05:00
ints_low.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
libgcc2.c arc: libgcc: Import __udivdi3 & __udivmoddi4 to allow 64-bit division 2019-09-03 19:05:34 +03:00
libgcc2.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
relocate.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
reset.c reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
start.S ARC: ARCv2: handle DSP presence in HW 2020-04-27 11:20:25 +03:00