[PATCH 2/5] arm: socfpga: soc64: Change to use spl_perform_fixups()

Jit Loon Lim jit.loon.lim at intel.com
Sun Sep 18 17:12:50 CEST 2022


From: Ley Foon Tan <ley.foon.tan at intel.com>

spl_board_prepare_for_boot() function is only called in U-boot flow, not
for ATF flow.

Change to use spl_perform_fixups() to support U-boot and ATF flow.

Signed-off-by: Ley Foon Tan <ley.foon.tan at intel.com>
Signed-off-by: Jit Loon Lim <jit.loon.lim at intel.com>
---
 arch/arm/mach-socfpga/spl_soc64.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-socfpga/spl_soc64.c b/arch/arm/mach-socfpga/spl_soc64.c
index f3fa1ae361..2204703853 100644
--- a/arch/arm/mach-socfpga/spl_soc64.c
+++ b/arch/arm/mach-socfpga/spl_soc64.c
@@ -25,7 +25,7 @@ u32 spl_boot_mode(const u32 boot_device)
 #endif
 
 /* board specific function prior loading SSBL / U-Boot */
-void spl_board_prepare_for_boot(void)
+void spl_perform_fixups(struct spl_image_info *spl_image)
 {
 	mbox_hps_stage_notify(HPS_EXECUTION_STATE_SSBL);
 }
-- 
2.26.2



More information about the U-Boot mailing list