Hi, > -----Original Message----- > From: Lim, Jit Loon <[email protected]> > Sent: Wednesday, 31 August, 2022 2:46 PM > To: [email protected] > Cc: Jagan Teki <[email protected]>; Vignesh R > <[email protected]>; Vasut, Marek <[email protected]>; Simon > <[email protected]>; Chee, Tien Fong > <[email protected]>; Hea, Kok Kiang <[email protected]>; > Lim, Elly Siew Chin <[email protected]>; Kho, Sin Hui > <[email protected]>; Lokanathan, Raaj <[email protected]>; > Maniyam, Dinesh <[email protected]>; Ng, Boon Khai > <[email protected]>; Yuslaimi, Alif Zakuan > <[email protected]>; Chong, Teik Heng > <[email protected]>; Zamri, Muhammad Hazim Izzat > <[email protected]>; Tang, Sieu Mun > <[email protected]>; Lim, Jit Loon <[email protected]>; Chin > Liang See <[email protected]> > Subject: [PATCH] arch: arm: mach-socfpga: To notify SDM when U-Boot pass > control to Linux > > From: Chin Liang See <[email protected]> > > 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 <[email protected]> > Signed-off-by: Jit Loon Lim <[email protected]> > --- > arch/arm/mach-socfpga/misc_soc64.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm/mach-socfpga/misc_soc64.c b/arch/arm/mach- > socfpga/misc_soc64.c > index 2acdfad07b..00852d27d9 100644 > --- a/arch/arm/mach-socfpga/misc_soc64.c > +++ b/arch/arm/mach-socfpga/misc_soc64.c > @@ -89,3 +89,8 @@ void do_bridge_reset(int enable, unsigned int mask) > > socfpga_bridges_reset(enable); > } > + > +void arch_preboot_os(void) > +{ > + mbox_hps_stage_notify(HPS_EXECUTION_STATE_OS);
I don't see this function in https://source.denx.de/u-boot/u-boot, you need to submit the patch for this function first. > +} > -- > 2.26.2 Best regards, TF.

