[PATCH RFT v1 02/17] arm: Kconfig: add per device symbols for TI_SECURE

Anshul Dalal anshuld at ti.com
Thu Sep 11 15:13:58 CEST 2025


The TI_SECURE_DEVICE config symbols enables support for HS devices. When
enabled some insecure options are disabled such as falcon mode. Even
though falcon mode can be enabled for k3 devices securely.

Thus to allow for more granular disablement of options, this patch
introduces two new hidden symbols for legacy and k3 architectures.

Signed-off-by: Anshul Dalal <anshuld at ti.com>
---
 arch/arm/Kconfig | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 40368abc297..68df62c1d01 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -2255,9 +2255,17 @@ config TFABOOT
 	  Enabling this option will make a U-Boot binary that is relying
 	  on other firmware layers to provide secure functionality.
 
+config TI_SECURE_DEVICE_K2_OMAP2PLUS
+	bool
+
+config TI_SECURE_DEVICE_K3
+	bool
+
 config TI_SECURE_DEVICE
 	bool "HS Device Type Support"
 	depends on ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_K3
+	select TI_SECURE_DEVICE_K2_OMAP2PLUS if ARCH_KEYSTONE || ARCH_OMAP2PLUS
+	select TI_SECURE_DEVICE_K3 if ARCH_K3
 	help
 	  If a high secure (HS) device type is being used, this config
 	  must be set. This option impacts various aspects of the
-- 
2.51.0



More information about the U-Boot mailing list