]> git.baikalelectronics.ru Git - uboot.git/commit
gpio: sunxi: Fix build with CONFIG_SPL_SERIAL=n
authorSamuel Holland <samuel@sholland.org>
Wed, 11 May 2022 00:03:34 +0000 (19:03 -0500)
committerAndre Przywara <andre.przywara@arm.com>
Sun, 26 Jun 2022 10:22:53 +0000 (11:22 +0100)
commit1afba67fcb69e9d4aca28bff306d0f022e221628
tree22bb8351ef0a7e38566c47c894d1c34b9de0088a
parent2c71fc29ce70054537f8e7c1ac13bbfd80440304
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 <samuel@sholland.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
drivers/gpio/Kconfig