diff mbox series

[08/22] sunxi: Downgrade driver selections to implications

Message ID 20221101050835.2421-9-samuel@sholland.org
State Deferred
Delegated to: Tom Rini
Headers show
Series sunxi: Prepare platform Kconfig to support multiple architectures | expand

Commit Message

Samuel Holland Nov. 1, 2022, 5:08 a.m. UTC
While not especially likely, it is plausible that someone wants to build
U-Boot without GPIO or UART support. Don't force building these drivers.

Signed-off-by: Samuel Holland <samuel@sholland.org>
---

 board/sunxi/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index 056ccb6f74..b301ba998e 100644
--- a/board/sunxi/Kconfig
+++ b/board/sunxi/Kconfig
@@ -16,8 +16,6 @@  config BOARD_SUNXI
 	select OF_BOARD_SETUP
 	select PINCTRL
 	select SPL_SEPARATE_BSS if SPL
-	select SUNXI_GPIO if GPIO
-	select SYS_NS16550 if SERIAL
 	select SUPPORT_SPL
 	select SYS_RELOC_GD_ENV_ADDR
 	select USB if DISTRO_DEFAULTS
@@ -39,6 +37,8 @@  config BOARD_SUNXI
 	imply SPL_MMC if MMC
 	imply SPL_POWER
 	imply SPL_SERIAL
+	imply SUNXI_GPIO
+	imply SYS_NS16550
 	imply SYSRESET
 	imply SYSRESET_WATCHDOG
 	imply SYSRESET_WATCHDOG_AUTO