]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: k3: Kconfig: Enable fTPM and RPMB support
authorShiva Tripathi <s-tripathi1@ti.com>
Wed, 25 Feb 2026 11:24:38 +0000 (16:54 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 10 Mar 2026 18:35:18 +0000 (12:35 -0600)
Enable firmware TPM (fTPM) support via OP-TEE for K3 platforms with
MMC hardware. This provides TPM 2.0 functionality through
Microsoft's fTPM Trusted Application running in OP-TEE secure world,
using eMMC RPMB as persistent storage.

fTPM support in U-Boot provides the foundation for measured boot
and disk encryption use cases.

The ARM64 condition ensures these apply only to A53/A72 cores and the
MMC condition ensures fTPM is enabled only on platforms with eMMC
hardware support.

Signed-off-by: Shiva Tripathi <s-tripathi1@ti.com>
Acked-by: Andrew Davis <afd@ti.com>
arch/arm/Kconfig
board/ti/common/Kconfig

index 0012808663b3f441f5b2742463b0ad5515ea4950..03416c55265c32d5c1ec59088efc0a7298d1deb6 100644 (file)
@@ -834,6 +834,9 @@ config ARCH_K3
        imply DM_RNG if ARM64
        imply TEE if ARM64
        imply OPTEE if ARM64
+       imply TPM if ARM64 && MMC
+       imply TPM2_FTPM_TEE if ARM64 && MMC
+       imply SUPPORT_EMMC_RPMB if ARM64 && MMC
 
 config ARCH_OMAP2PLUS
        bool "TI OMAP2+"
index 409454813f35da900fc9f5bd1e930724a761fc70..149909093b38ce6ad21dd362ae653fbe2a5f612d 100644 (file)
@@ -61,4 +61,6 @@ config TI_COMMON_CMD_OPTIONS
        imply CMD_SPL
        imply CMD_TIME
        imply CMD_USB if USB
+       imply CMD_TPM if TPM
+       imply CMD_OPTEE_RPMB if OPTEE && SUPPORT_EMMC_RPMB