From: Samuel Holland Date: Wed, 11 May 2022 00:03:34 +0000 (-0500) Subject: gpio: sunxi: Fix build with CONFIG_SPL_SERIAL=n X-Git-Tag: baikal/mips/sdk5.9~3^2~16^2~3 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=1afba67fcb69e9d4aca28bff306d0f022e221628;p=uboot.git gpio: sunxi: Fix build with CONFIG_SPL_SERIAL=n This driver uses simple_strtol(), so it needs SPL_STRTO. Before commit 62bcde047894f ("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 Reviewed-by: Andre Przywara Signed-off-by: Andre Przywara --- diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 149a62ffe6..d7f37f0471 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -365,6 +365,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.