diff options
| author | Sughosh Ganu <sughosh.ganu@linaro.org> | 2024-08-26 17:29:29 +0530 | 
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2024-09-03 14:08:50 -0600 | 
| commit | 17f695dd1bead58139b6649e516e0770b3d8a25e (patch) | |
| tree | ac59bc94cc6bc89b369d795b27b4a56fee7d2a6b /arch/powerpc/cpu | |
| parent | b6400de7e03cdd5e93195bf260dc7ab9f68aea8f (diff) | |
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>
Diffstat (limited to 'arch/powerpc/cpu')
| -rw-r--r-- | arch/powerpc/cpu/mpc85xx/cpu_init.c | 16 | 
1 files changed, 0 insertions, 16 deletions
| diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init.c b/arch/powerpc/cpu/mpc85xx/cpu_init.c index a7b805bc674..739d14f8002 100644 --- a/arch/powerpc/cpu/mpc85xx/cpu_init.c +++ b/arch/powerpc/cpu/mpc85xx/cpu_init.c @@ -940,22 +940,6 @@ int cpu_init_r(void)  	return 0;  } -#ifdef CONFIG_ARCH_MISC_INIT -int arch_misc_init(void) -{ -	if (IS_ENABLED(CONFIG_FSL_CAAM)) { -		struct udevice *dev; -		int ret; - -		ret = uclass_get_device_by_driver(UCLASS_MISC, DM_DRIVER_GET(caam_jr), &dev); -		if (ret) -			printf("Failed to initialize caam_jr: %d\n", ret); -	} - -	return 0; -} -#endif -  void arch_preboot_os(void)  {  	u32 msr; | 
