[PATCH v4 04/11] arm: mach-k3: Add config option for packaging HSM firmware

Simon Glass sjg at chromium.org
Thu Apr 30 01:46:58 CEST 2026


Hi Beleswar,

On 2026-04-25T03:37:39, Padhi, Beleswar <b-padhi at ti.com> wrote:
> arm: mach-k3: Add config option for packaging HSM firmware
>
> 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-padhi at 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
> @@ -198,6 +198,13 @@ config K3_REMOTEPROC_PRU
> +config K3_HSM_FW
> +     bool "Package firmware for 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 available. When
> +       enabled, the firmware for HSM core will be packaged inside tispl.bin.

Since this option only makes sense on SoCs that actually have an HSM
core, a 'depends on SOC_K3_J721S2 || SOC_K3_J784S4 || SOC_K3_J722S'
would prevent it from being offered on unrelated K3 configurations -
compare to how K3_DM_FW gates itself. What do you think?

Reviewed-by: Simon Glass <sjg at chromium.org>

Regards,
Simon


More information about the U-Boot mailing list