u-boot/arch/nios2
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
..
cpu nios2: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
dts dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
include/asm nios2: Remove duplicate newlines 2024-07-15 12:12:18 -06:00
lib lmb: do away with arch_lmb_reserve() 2024-09-03 14:08:50 -06:00
config.mk Convert CONFIG_STANDALONE_LOAD_ADDR to Kconfig 2022-12-22 10:31:48 -05:00
Kconfig Kconfig: Centralize prompting for SYS_CONFIG_NAME 2024-02-27 14:18:54 -05:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00