On Wed, 21 Aug 2024 at 05:00, Sughosh Ganu <sughosh.g...@linaro.org> wrote: > > All the current function definitions of arch_lmb_reserve() are doing > the same thing -- reserve the U-Boot memory region. The powerpc(ppc) > architecture, in addition, is making some LMB reservations for the > bootm related image loading. Move these ppc specific reservations to > the arch_misc_init() function. This allows to move the U-Boot memory > region reservation to a different function, and remove > arch_lmb_reserve() in a subsequent commit. > > Signed-off-by: Sughosh Ganu <sughosh.g...@linaro.org> > --- > Changes since V2: New patch > > arch/powerpc/cpu/mpc85xx/cpu_init.c | 16 -------- > arch/powerpc/lib/Makefile | 1 + > arch/powerpc/lib/bootm.c | 40 ------------------- > arch/powerpc/lib/misc.c | 62 +++++++++++++++++++++++++++++ > lib/Kconfig | 1 + > 5 files changed, 64 insertions(+), 56 deletions(-) > create mode 100644 arch/powerpc/lib/misc.c
Reviewed-by: Simon Glass <s...@chromium.org>