Some K3 SoCs like J721S2, and J784S4 have a HSM (High Security Module) M4F core in the Wakeup Voltage Domain which could be used to run secure services like Authentication. Add a config option which indicates that the SoC has a HSM core and the firmware for the core is available.
Signed-off-by: Beleswar Padhi <b-pa...@ti.com> --- v2: Changelog: 1. Removed 'default = n' line from CONFIG. Link to v1: https://lore.kernel.org/all/20250422095430.363792-2-b-pa...@ti.com/ arch/arm/mach-k3/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/mach-k3/Kconfig b/arch/arm/mach-k3/Kconfig index 1b8c0b1eb96..8448f23c053 100644 --- a/arch/arm/mach-k3/Kconfig +++ b/arch/arm/mach-k3/Kconfig @@ -181,6 +181,13 @@ config K3_REMOTEPROC_PRU imply REMOTEPROC_TI_PRU default y if (SOC_K3_AM642 || SOC_K3_AM654) +config K3_HSM_FW + bool "Load and Boot HSM core" + help + Enabling this will indicate that the system has a HSM (High Security + Module) M4 Core and the firmware for the core is present. When + enabled, HSM core will be booted at R5 SPL execution time. + if CPU_V7R source "arch/arm/mach-k3/r5/Kconfig" endif -- 2.34.1