[U-Boot] [PATCH v1 3/3] ARM: socfpga: stratix10: To notify SDM when U-Boot pass control to Linux
chee.hong.ang at intel.com
chee.hong.ang at intel.com
Tue May 7 05:07:23 UTC 2019
From: "Ang, Chee Hong" <chee.hong.ang at intel.com>
Prior U-Boot pass control to Linux, U-Boot will send a mailbox command
"HPS_STAGE_NOTIFY" to notify Secure Device Manager (SDM) on HPS SW
transition.
Signed-off-by: Chin Liang See <chin.liang.see at intel.com>
Signed-off-by: Ang, Chee Hong <chee.hong.ang at intel.com>
---
arch/arm/mach-socfpga/misc_s10.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/mach-socfpga/misc_s10.c b/arch/arm/mach-socfpga/misc_s10.c
index 0e4133f..5ae6ed2 100644
--- a/arch/arm/mach-socfpga/misc_s10.c
+++ b/arch/arm/mach-socfpga/misc_s10.c
@@ -166,3 +166,8 @@ void do_bridge_reset(int enable)
socfpga_bridges_reset(enable);
}
+
+void arch_preboot_os(void)
+{
+ mbox_hps_stage_notify(HPS_EXECUTION_STATE_OS);
+}
--
2.7.4
More information about the U-Boot
mailing list