arm: socfpga: mailbox: Notify SDM on HPS code execution stages
authorAlif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>
Tue, 11 Mar 2025 06:38:51 +0000 (23:38 -0700)
committerTien Fong Chee <tien.fong.chee@intel.com>
Tue, 22 Apr 2025 03:47:39 +0000 (11:47 +0800)
commitef16992e3eab0eaa3c194fffd65bd8cc89050388
treeaa0aa2daa805b868ff7e3f00d0482166c7508b1c
parent9aa85e01a4ac55c233c238ecc66d146aa12581d8
arm: socfpga: mailbox: Notify SDM on HPS code execution stages

Introducing a new mailbox command "HPS_STAGE_NOTIFY" to notify Secure
Device Manager (SDM) on the stage of HPS code execution.

Generally, there are three main code execution stages: First Stage Boot
Loader (FSBL) which is U-Boot SPL, Second Stage Boot Loader (SSBL) which
is U-Boot, and the Operating System (OS) which is Linux.

This enables the user to query the SDM for HPS error details.

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/include/mach/mailbox_s10.h
arch/arm/mach-socfpga/mailbox_s10.c