diff mbox series

[17/18] Kconfig: Enable FIT_SIGNATURE if ARM64

Message ID 20230713-b4-upstream-fit-image-support-v1-17-bbc529335471@ti.com
State Accepted
Commit 86fab110248f3dcff77ac22b5c352d5e49225619
Delegated to: Tom Rini
Headers show
Series K3 HS Support along with fixes | expand

Commit Message

Manorit Chawdhry July 14, 2023, 5:52 a.m. UTC
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@ti.com>
[ cleanup the patch ]
Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
---
 arch/arm/Kconfig | 1 +
 boot/Kconfig     | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

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