[PATCH] boot: Update default on USE_SPL_FIT_GENERATOR

Tom Rini trini at konsulko.com
Tue Feb 1 01:03:15 CET 2022


The use of CONFIG_SPL_FIT_GENERATOR is deprecated and should not be
used.  Start by changing the current default option from enabled to only
enabled for the platforms still using it.

Cc: Simon Glass <sjg at chromium.org>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
This change completes the migration for a number of platforms that were
tripping the warning before but not actually using a generator.
---
 boot/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/boot/Kconfig b/boot/Kconfig
index c8d5906cd304..38fc64595ca7 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -275,7 +275,7 @@ config SPL_FIT_SOURCE
 
 config USE_SPL_FIT_GENERATOR
 	bool "Use a script to generate the .its script"
-	default y if SPL_FIT && (!ARCH_SUNXI && !RISCV)
+	default y if SPL_FIT && SPL_LOAD_FIT && (ARCH_ROCKCHIP || ARCH_ZYNQMP)
 
 config SPL_FIT_GENERATOR
 	string ".its file generator script for U-Boot FIT image"
-- 
2.25.1



More information about the U-Boot mailing list