Skip to contentSkip to conversation

boot: Update default on USE_SPL_FIT_GENERATOR

PATCH In review Tom Rini 2 participants 5 messages Feb 1, 2022 – Feb 8, 2022

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 boot: Update default on USE_SPL_FIT_GENERATOR

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.

---
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(-)
boot/Kconfig +1 -1
index c8d5906cd304..38fc64595ca7 100644
@@ -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"
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw

Hi Tom,

Quoted 5 lines · Tom Rini

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.

Quoted 8 lines

---
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(-)

This landed in spam so I missed it. I have a similar patch in my series if I ever get time to finish it. But we can deal with any conflict later.

Regards,
Simon

author
#2 lore raw
Quoted 17 lines · Simon Glass

Hi Tom,

Quoted 5 lines · Tom Rini

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.

Quoted 8 lines

---
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(-)
Quoted 5 lines

This landed in spam so I missed it. I have a similar patch in my series if I ever get time to finish it. But we can deal with any conflict later.

OK. Now that the first iMX PR has come through I _think_ the implicitly depended on binman patches there have come in and so this patch won't break anything. I'll pick this up soon along with other Kconfig migration/etc patches in the next day or two.

Signature · 1 line
Tom
author
#3 lore raw
Quoted 20 lines · Tom Rini
Quoted 19 lines · Simon Glass

Hi Tom,

Quoted 5 lines · Tom Rini

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.

Quoted 8 lines

---
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(-)
Quoted 8 lines
Quoted 3 lines

This landed in spam so I missed it. I have a similar patch in my series if I ever get time to finish it. But we can deal with any conflict later.

OK. Now that the first iMX PR has come through I _think_ the implicitly depended on binman patches there have come in and so this patch won't break anything. I'll pick this up soon along with other Kconfig migration/etc patches in the next day or two.

So, I was wrong. There's still:
configs/cgtqmx8_defconfig configs/imx8mm-icore-mx8mm-ctouch2_defconfig configs/imx8mm-icore-mx8mm-edimm2.2_defconfig configs/imx8qm_rom7720_a1_4G_defconfig
that need migration and only the last of which has a patch that I see right now:
https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
but I assume the other 3 could be done fairly quickly.

Signature · 1 line
Tom
#4 lore raw

Hi Tom,

Quoted 31 lines · Tom Rini
Quoted 20 lines · Tom Rini
Quoted 19 lines · Simon Glass

Hi Tom,

Quoted 5 lines · Tom Rini

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.

Quoted 8 lines

---
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(-)
Quoted 8 lines
Quoted 3 lines

This landed in spam so I missed it. I have a similar patch in my series if I ever get time to finish it. But we can deal with any conflict later.

OK. Now that the first iMX PR has come through I _think_ the implicitly depended on binman patches there have come in and so this patch won't break anything. I'll pick this up soon along with other Kconfig migration/etc patches in the next day or two.

Quoted 9 lines

So, I was wrong. There's still:
configs/cgtqmx8_defconfig configs/imx8mm-icore-mx8mm-ctouch2_defconfig configs/imx8mm-icore-mx8mm-edimm2.2_defconfig configs/imx8qm_rom7720_a1_4G_defconfig
that need migration and only the last of which has a patch that I see right now:
https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
but I assume the other 3 could be done fairly quickly.

See the cover letter for the series I just sent for another one that is hidden in a Makefile.

My series disables the IMX8 stuff which might be good enough since it is easy to migrate.

Regards,
Simon