]> git.dujemihanovic.xyz Git - u-boot.git/commit
ppc: lmb: move arch specific lmb reservations to arch_misc_init()
authorSughosh Ganu <sughosh.ganu@linaro.org>
Mon, 26 Aug 2024 11:59:29 +0000 (17:29 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 3 Sep 2024 20:08:50 +0000 (14:08 -0600)
commit17f695dd1bead58139b6649e516e0770b3d8a25e
treeac59bc94cc6bc89b369d795b27b4a56fee7d2a6b
parentb6400de7e03cdd5e93195bf260dc7ab9f68aea8f
ppc: lmb: move arch specific lmb reservations to arch_misc_init()

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@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/powerpc/cpu/mpc85xx/cpu_init.c
arch/powerpc/lib/Makefile
arch/powerpc/lib/bootm.c
arch/powerpc/lib/misc.c [new file with mode: 0644]
lib/Kconfig