[PATCH 04/22] sunxi: Hide image type selection if SPL is disabled

Andre Przywara andre.przywara at arm.com
Fri Nov 11 02:12:35 CET 2022


On Tue,  1 Nov 2022 00:08:16 -0500
Samuel Holland <samuel at sholland.org> wrote:

> This choice is meaningless when SPL is disabled. Hide it to avoid any
> possible confusion.
> 
> Signed-off-by: Samuel Holland <samuel at sholland.org>

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

Cheers,
Andre

> ---
> 
>  board/sunxi/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
> index 084a8b0c6c..42f61df5c5 100644
> --- a/board/sunxi/Kconfig
> +++ b/board/sunxi/Kconfig
> @@ -1,5 +1,6 @@
>  choice
>  	prompt "SPL Image Type"
> +	depends on SPL
>  	default SPL_IMAGE_TYPE_SUNXI_EGON
>  
>  config SPL_IMAGE_TYPE_SUNXI_EGON



More information about the U-Boot mailing list