[PATCH] Kconfig: Remove an impossible condition

Andre Przywara andre.przywara at arm.com
Fri Apr 28 02:31:54 CEST 2023


On Sun, 22 Jan 2023 11:23:51 -0600
Samuel Holland <samuel at sholland.org> 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:

> Signed-off-by: Samuel Holland <samuel at sholland.org>

Acked-by: Andre Przywara <andre.przywara at arm.com>

Queued for sunxi/master.

Cheers,
Andre

> ---
> 
>  Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Kconfig b/Kconfig
> index a75cce7e28..f810646e8a 100644
> --- a/Kconfig
> +++ b/Kconfig
> @@ -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



More information about the U-Boot mailing list