diff mbox series

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

Message ID 20220918151253.27301-2-jit.loon.lim@intel.com
State Needs Review / ACK, archived
Delegated to: Marek Vasut
Headers show
Series [1/5] arm: socfpga: soc64: Move spl_board_prepare_for_boot() | expand

Commit Message

Jit Loon Lim Sept. 18, 2022, 3:12 p.m. UTC
From: Ley Foon Tan <ley.foon.tan@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@intel.com>
Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
---
 arch/arm/mach-socfpga/spl_soc64.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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);
 }