[PATCH 17/18] Kconfig: Enable FIT_SIGNATURE if ARM64

Manorit Chawdhry m-chawdhry at ti.com
Fri Jul 14 07:52:40 CEST 2023


Enabling FIT_SIGNATURE required the old authentication method to be
disabled so disable this for K3 SOCs and enable FIT_SIGNATURE for K3
Platforms.

Signed-off-by: Kamlesh Gurudasani <kamlesh at ti.com>
[ cleanup the patch ]
Signed-off-by: Manorit Chawdhry <m-chawdhry at ti.com>
---
 arch/arm/Kconfig | 1 +
 boot/Kconfig     | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 3b9ab6d94101..851eef8a1314 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -799,6 +799,7 @@ config ARCH_K3
 	select SUPPORT_SPL
 	select FIT
 	select REGEX
+	select FIT_SIGNATURE if ARM64
 
 config ARCH_OMAP2PLUS
 	bool "TI OMAP2+"
diff --git a/boot/Kconfig b/boot/Kconfig
index a643a3d12863..5ca4499d9c5a 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -125,8 +125,7 @@ config FIT_BEST_MATCH
 config FIT_IMAGE_POST_PROCESS
 	bool "Enable post-processing of FIT artifacts after loading by U-Boot"
 	depends on FIT
-	depends on TI_SECURE_DEVICE || SOCFPGA_SECURE_VAB_AUTH
-	default y if TI_SECURE_DEVICE
+	depends on SOCFPGA_SECURE_VAB_AUTH
 	help
 	  Allows doing any sort of manipulation to blobs after they got extracted
 	  from FIT images like stripping off headers or modifying the size of the

-- 
2.40.1



More information about the U-Boot mailing list