diff options
author | Samuel Holland | 2022-05-10 19:03:34 -0500 |
---|---|---|
committer | Andre Przywara | 2022-06-26 11:22:53 +0100 |
commit | 957a3b982082627ac474fd1c88a5cfc0a28543ae (patch) | |
tree | 22bb8351ef0a7e38566c47c894d1c34b9de0088a | |
parent | 006ef34bd436fbd3ea42cdf7de66d1a665527a4b (diff) |
gpio: sunxi: Fix build with CONFIG_SPL_SERIAL=n
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@sholland.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
-rw-r--r-- | drivers/gpio/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 149a62ffe61..d7f37f0471c 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. |