uboot-d1: add bootloader for upcoming d1 target
[openwrt/staging/mans0n.git] / package / boot / uboot-d1 / patches / 0061-sunxi-Downgrade-driver-selections-to-implications.patch
1 From 6c8707fcd3372015829a1e8b8d5e8030c5806382 Mon Sep 17 00:00:00 2001
2 From: Samuel Holland <samuel@sholland.org>
3 Date: Sat, 6 Aug 2022 00:10:46 -0500
4 Subject: [PATCH 61/90] sunxi: Downgrade driver selections to implications
5
6 While not especially likely, it is plausible that someone wants to build
7 U-Boot without GPIO or UART support. Don't force building these drivers.
8
9 Signed-off-by: Samuel Holland <samuel@sholland.org>
10 ---
11 board/sunxi/Kconfig | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
13
14 --- a/board/sunxi/Kconfig
15 +++ b/board/sunxi/Kconfig
16 @@ -16,8 +16,6 @@ config BOARD_SUNXI
17 select OF_BOARD_SETUP
18 select PINCTRL
19 select SPL_SEPARATE_BSS if SPL
20 - select SUNXI_GPIO if GPIO
21 - select SYS_NS16550 if SERIAL
22 select SUPPORT_SPL
23 select SYS_RELOC_GD_ENV_ADDR
24 select USB if DISTRO_DEFAULTS
25 @@ -39,6 +37,8 @@ config BOARD_SUNXI
26 imply SPL_MMC if MMC
27 imply SPL_POWER
28 imply SPL_SERIAL
29 + imply SUNXI_GPIO
30 + imply SYS_NS16550
31 imply SYSRESET
32 imply SYSRESET_WATCHDOG
33 imply SYSRESET_WATCHDOG_AUTO