[PATCH] arch: arm: mach-socfpga: To notify SDM when U-Boot pass control to Linux
Chee, Tien Fong
tien.fong.chee at intel.com
Thu Dec 8 07:57:28 CET 2022
Hi,
> -----Original Message-----
> From: Lim, Jit Loon <jit.loon.lim at intel.com>
> Sent: Wednesday, 31 August, 2022 2:46 PM
> To: u-boot at lists.denx.de
> Cc: Jagan Teki <jagan at amarulasolutions.com>; Vignesh R
> <vigneshr at ti.com>; Vasut, Marek <marex at denx.de>; Simon
> <simon.k.r.goldschmidt at gmail.com>; Chee, Tien Fong
> <tien.fong.chee at intel.com>; Hea, Kok Kiang <kok.kiang.hea at intel.com>;
> Lim, Elly Siew Chin <elly.siew.chin.lim at intel.com>; Kho, Sin Hui
> <sin.hui.kho at intel.com>; Lokanathan, Raaj <raaj.lokanathan at intel.com>;
> Maniyam, Dinesh <dinesh.maniyam at intel.com>; Ng, Boon Khai
> <boon.khai.ng at intel.com>; Yuslaimi, Alif Zakuan
> <alif.zakuan.yuslaimi at intel.com>; Chong, Teik Heng
> <teik.heng.chong at intel.com>; Zamri, Muhammad Hazim Izzat
> <muhammad.hazim.izzat.zamri at intel.com>; Tang, Sieu Mun
> <sieu.mun.tang at intel.com>; Lim, Jit Loon <jit.loon.lim at intel.com>; Chin
> Liang See <chin.liang.see at intel.com>
> Subject: [PATCH] arch: arm: mach-socfpga: To notify SDM when U-Boot pass
> control to Linux
>
> From: Chin Liang See <chin.liang.see 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: Jit Loon Lim <jit.loon.lim at 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.
More information about the U-Boot
mailing list