[PATCH 1/5] arm: socfpga: soc64: Move spl_board_prepare_for_boot()
Jit Loon Lim
jit.loon.lim at intel.com
Sun Sep 18 17:12:49 CEST 2022
From: Ley Foon Tan <ley.foon.tan at intel.com>
Move spl_board_prepare_for_boot() to spl_soc64.c.
spl_board_prepare_for_boot() will use for all SoC64 platforms.
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 | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/mach-socfpga/spl_soc64.c b/arch/arm/mach-socfpga/spl_soc64.c
index ba6efc1d86..f3fa1ae361 100644
--- a/arch/arm/mach-socfpga/spl_soc64.c
+++ b/arch/arm/mach-socfpga/spl_soc64.c
@@ -23,3 +23,9 @@ u32 spl_boot_mode(const u32 boot_device)
return MMCSD_MODE_RAW;
}
#endif
+
+/* board specific function prior loading SSBL / U-Boot */
+void spl_board_prepare_for_boot(void)
+{
+ mbox_hps_stage_notify(HPS_EXECUTION_STATE_SSBL);
+}
--
2.26.2
More information about the U-Boot
mailing list