Skip to contentSkip to conversation

Kconfig: Remove an impossible condition

PATCH In review Samuel Holland 2 participants 2 messages Jan 22, 2023 – Apr 28, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Kconfig: Remove an impossible condition

ARCH_SUNXI selects BINMAN, so the condition "!BINMAN && ARCH_SUNXI" is impossible to satisfy.

---

 Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Kconfig +1 -1
index a75cce7e28..f810646e8a 100644
@@ -459,7 +459,7 @@ config BUILD_TARGET
 	default "u-boot-with-spl.kwb" if ARMADA_32BIT && SPL
 	default "u-boot-elf.srec" if RCAR_GEN3
 	default "u-boot.itb" if !BINMAN && SPL_LOAD_FIT && (ARCH_ROCKCHIP || \
-				ARCH_SUNXI || RISCV || ARCH_ZYNQMP)
+				RISCV || ARCH_ZYNQMP)
 	default "u-boot.kwb" if (ARCH_KIRKWOOD || ARMADA_32BIT) && !SPL
 	default "u-boot-with-spl.bin" if MPC85xx && !E500MC && !E5500 && !E6500 && SPL
 	default "u-boot-with-spl.bin" if ARCH_AT91 && SPL_NAND_SUPPORT
Signature · 1 line
2.37.4
Acked-by on v1 1/1
#1 lore raw
Quoted 2 lines · On Sun, 22 Jan 2023 11:23:51 -0600 Samuel Holland <[email protected]> wrote:

ARCH_SUNXI selects BINMAN, so the condition "!BINMAN && ARCH_SUNXI" is impossible to satisfy.

Indeed the generic ARCH_SUNXI entry in arch/arm/Kconfig selects BINMAN, so that looks fine. The same seems to be true for ARCH_ROCKCHIP, btw. Anyway, for that patch:

Quoted 1 line

Queued for sunxi/master.

Cheers,
Andre

Quoted 18 lines

---

 Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Kconfig +1 -1
index a75cce7e28..f810646e8a 100644
@@ -459,7 +459,7 @@ config BUILD_TARGET
 	default "u-boot-with-spl.kwb" if ARMADA_32BIT && SPL
 	default "u-boot-elf.srec" if RCAR_GEN3
 	default "u-boot.itb" if !BINMAN && SPL_LOAD_FIT && (ARCH_ROCKCHIP || \
-				ARCH_SUNXI || RISCV || ARCH_ZYNQMP)
+				RISCV || ARCH_ZYNQMP)
 	default "u-boot.kwb" if (ARCH_KIRKWOOD || ARMADA_32BIT) && !SPL
 	default "u-boot-with-spl.bin" if MPC85xx && !E500MC && !E5500 && !E6500 && SPL
 	default "u-boot-with-spl.bin" if ARCH_AT91 && SPL_NAND_SUPPORT