[RFC PATCH v2 19/48] lmb: remove the lmb_init_and_reserve() function
Simon Glass
sjg at chromium.org
Sat Jul 13 17:15:58 CEST 2024
On Thu, 4 Jul 2024 at 08:37, Sughosh Ganu <sughosh.ganu at linaro.org> wrote:
>
> With the changes to make the LMB reservations persistent, the common
> memory regions are being added during board init. Remove the
> now superfluous lmb_init_and_reserve() function.
>
> Signed-off-by: Sughosh Ganu <sughosh.ganu at linaro.org>
> ---
> Changes since V1:
> * Removed the replacement of lmb_init_and_reserve() with
> lmb_add_memory(), as memory gets added during board init.
>
> arch/arm/mach-apple/board.c | 2 --
> arch/arm/mach-snapdragon/board.c | 2 --
> arch/arm/mach-stm32mp/stm32mp1/cpu.c | 3 ---
> cmd/bdinfo.c | 1 -
> cmd/load.c | 2 --
> fs/fs.c | 1 -
> lib/lmb.c | 13 -------------
> net/tftp.c | 2 --
> net/wget.c | 2 --
> test/cmd/bdinfo.c | 9 ---------
> 10 files changed, 37 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list