[PATCH] gpio: sunxi: Fix build with CONFIG_SPL_SERIAL=n

Andre Przywara andre.przywara at arm.com
Mon Jun 27 02:11:26 CEST 2022


On Tue, 10 May 2022 19:03:34 -0500
Samuel Holland <samuel at sholland.org> wrote:

> This driver uses simple_strtol(), so it needs SPL_STRTO. Before commit
> 88ca8e26958b6 ("disk: Add an option for partitions in SPL"), SPL_STRTO
> was always selected indirectly. Now it is not, so select it here.
> 
> Signed-off-by: Samuel Holland <samuel at sholland.org>

Applied to sunxi/master, for v2022.07.

Thanks,
Andre

> ---
> 
>  drivers/gpio/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index 89068c7800..b955543e97 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -347,6 +347,7 @@ config SANDBOX_GPIO_COUNT
>  config SUNXI_GPIO
>  	bool "Allwinner GPIO driver"
>  	depends on ARCH_SUNXI
> +	select SPL_STRTO if SPL
>  	help
>  	  Support the GPIO device in Allwinner SoCs.
>  



More information about the U-Boot mailing list