uboot-d1: add bootloader for upcoming d1 target
[openwrt/staging/mans0n.git] / package / boot / uboot-d1 / patches / 0055-sunxi-Remove-unnecessary-Kconfig-selections.patch
1 From 891fef47500dbf4aecb16e08c1d8ade3fbc8caec Mon Sep 17 00:00:00 2001
2 From: Samuel Holland <samuel@sholland.org>
3 Date: Thu, 4 Aug 2022 23:22:05 -0500
4 Subject: [PATCH 55/90] sunxi: Remove unnecessary Kconfig selections
5
6 Two of these selections are redundant and have no effect:
7 - DM_KEYBOARD is selected by USB_KEYBOARD
8 - DM_MMC is selected by MMC
9
10 This selection has no effect by default and is unnecessarily strong:
11 - USB_STORAGE is implied by DISTRO_DEFAULTS
12
13 Signed-off-by: Samuel Holland <samuel@sholland.org>
14 ---
15 arch/arm/Kconfig | 3 ---
16 1 file changed, 3 deletions(-)
17
18 --- a/arch/arm/Kconfig
19 +++ b/arch/arm/Kconfig
20 @@ -1100,8 +1100,6 @@ config ARCH_SUNXI
21 select DM_I2C if I2C
22 select DM_SPI if SPI
23 select DM_SPI_FLASH if SPI
24 - select DM_KEYBOARD
25 - select DM_MMC if MMC
26 select DM_SCSI if SCSI
27 select DM_SERIAL
28 select GPIO_EXTRA_HEADER
29 @@ -1119,7 +1117,6 @@ config ARCH_SUNXI
30 select SYS_THUMB_BUILD if !ARM64
31 select USB if DISTRO_DEFAULTS
32 select USB_KEYBOARD if DISTRO_DEFAULTS && USB_HOST
33 - select USB_STORAGE if DISTRO_DEFAULTS && USB_HOST
34 select SPL_USE_TINY_PRINTF
35 select USE_PREBOOT
36 select SYS_RELOC_GD_ENV_ADDR