arm: socfpga: spl: Notify SDM on FSBL execution
authorAlif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>
Tue, 11 Mar 2025 06:38:52 +0000 (23:38 -0700)
committerTien Fong Chee <tien.fong.chee@intel.com>
Tue, 22 Apr 2025 03:47:39 +0000 (11:47 +0800)
commit2ab78d1dbd65c39dc92bf10344064402e0c345c4
tree5978b3b52fbf14513fa55a19aecd13ff9a9c74e6
parentcf5b58ef6ed577f07ad76ec5024060c84acef481
arm: socfpga: spl: Notify SDM on FSBL execution

Send out "HPS_STAGE_NOTIFY" mailbox command to the
Secure Device Manager (SDM) in SPL to inform SDM on
FSBL execution.

This is necessary for the SDM to recognize that the
FSBL stage has begun its execution and should be
made as early as possible in the FSBL process.

Therefore, the mailbox will initialize and send out
the notification right after the completion of timer
initialization.

Signed-off-by: Mahesh Rao <mahesh.rao@altera.com>
Signed-off-by: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>
Reviewed-by: Tien Fong Chee <tien.fong.chee@altera.com>
arch/arm/mach-socfpga/spl_agilex.c
arch/arm/mach-socfpga/spl_agilex5.c
arch/arm/mach-socfpga/spl_n5x.c
arch/arm/mach-socfpga/spl_s10.c