Hi, > -----Original Message----- > From: Lim, Jit Loon <jit.loon....@intel.com> > Sent: Wednesday, 31 August, 2022 2:46 PM > To: u-boot@lists.denx.de > Cc: Jagan Teki <ja...@amarulasolutions.com>; Vignesh R > <vigne...@ti.com>; Vasut, Marek <ma...@denx.de>; Simon > <simon.k.r.goldschm...@gmail.com>; Chee, Tien Fong > <tien.fong.c...@intel.com>; Hea, Kok Kiang <kok.kiang....@intel.com>; > Lim, Elly Siew Chin <elly.siew.chin....@intel.com>; Kho, Sin Hui > <sin.hui....@intel.com>; Lokanathan, Raaj <raaj.lokanat...@intel.com>; > Maniyam, Dinesh <dinesh.mani...@intel.com>; Ng, Boon Khai > <boon.khai...@intel.com>; Yuslaimi, Alif Zakuan > <alif.zakuan.yusla...@intel.com>; Chong, Teik Heng > <teik.heng.ch...@intel.com>; Zamri, Muhammad Hazim Izzat > <muhammad.hazim.izzat.za...@intel.com>; Tang, Sieu Mun > <sieu.mun.t...@intel.com>; Lim, Jit Loon <jit.loon....@intel.com>; Chin > Liang See <chin.liang....@intel.com> > Subject: [PATCH] arch: arm: mach-socfpga: To notify SDM when U-Boot pass > control to Linux > > From: Chin Liang See <chin.liang....@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....@intel.com> > Signed-off-by: Jit Loon Lim <jit.loon....@intel.com> > --- > 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.