[PATCH 1/4] arm: mach-k3: Add config option for booting HSM core

Kumar, Udit u-kumar1 at ti.com
Tue Apr 22 16:37:29 CEST 2025


On 4/22/2025 3:24 PM, Beleswar Padhi wrote:
> 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.

Config option can not indicate firmware is available for core.

Thic could be

Add a config option which allows load of HSM firmware and booting of HSM core.


>
> Signed-off-by: Beleswar Padhi <b-padhi at ti.com>
> ---
>   arch/arm/mach-k3/Kconfig | 8 ++++++++
>   1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm/mach-k3/Kconfig b/arch/arm/mach-k3/Kconfig
> index 1b8c0b1eb96..b787d2da244 100644
> --- a/arch/arm/mach-k3/Kconfig
> +++ b/arch/arm/mach-k3/Kconfig
> @@ -181,6 +181,14 @@ 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"
> +	default n
> +	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


More information about the U-Boot mailing list