u-boot/arch/arc/lib
Sughosh Ganu 6534d26ee9 lmb: do away with arch_lmb_reserve()
All of the current definitions of arch_lmb_reserve() are doing the
same thing -- reserve the region of memory occupied by U-Boot,
starting from the current stack address to the ram_top. Introduce a
function lmb_reserve_uboot_region() which does this, and do away with
the arch_lmb_reserve() function.

Instead of using the current value of stack pointer for starting the
reserved region, have a fixed value, considering the stack size config
value.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
2024-09-03 14:08:50 -06: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 bootm: Adjust arguments of boot_os_fn 2023-12-21 16:07:52 -05:00
cache.c lmb: do away with arch_lmb_reserve() 2024-09-03 14:08:50 -06:00
cpu.c include: Move snprintf to stdio.h 2024-05-22 08:55:29 -06:00
init_helpers.c arc: Remove common.h usage 2023-10-24 16:34:45 -04:00
interrupts.c arc: Remove common.h usage 2023-10-24 16:34:45 -04:00
ints_low.S arc: Drop CONFIG_MMU 2023-02-07 14:33:48 -05:00
libgcc2.c arc: libgcc: Import __udivdi3 & __udivmoddi4 to allow 64-bit division 2019-09-03 19:05:34 +03:00
libgcc2.h WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
Makefile Revert "Merge patch series "pxe: Allow extlinux booting without CMDLINE enabled"" 2024-04-18 08:29:35 -06:00
relocate.c arc: Remove common.h usage 2023-10-24 16:34:45 -04:00
reset.c arc: Remove common.h usage 2023-10-24 16:34:45 -04:00
start.S Migrate CUSTOM_SYS_INIT_SP_ADDR to Kconfig using system-constants.h 2022-06-06 12:09:19 -04:00