[PATCH v3 16/27] ppc: lmb: move arch specific lmb reservations to arch_misc_init()

Simon Glass sjg at chromium.org
Fri Aug 23 22:47:24 CEST 2024


On Wed, 21 Aug 2024 at 05:00, Sughosh Ganu <sughosh.ganu at 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.ganu at 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 <sjg at chromium.org>


More information about the U-Boot mailing list