summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Schulz <[email protected]>2025-10-29 12:34:25 +0100
committerTom Rini <[email protected]>2025-11-02 12:15:23 -0600
commiteb92fd0831e073a401954ada3efe59a81137e6d9 (patch)
tree272879075260196994ae1036e06c9cb49f22b58d
parent07436b5778fc7b920d9c93f8aa4c14987b17a443 (diff)
rockchip: imply most symbols for ARCH_ROCKCHIP
Forcing all those symbols on means we cannot make the binary smaller or with unnecessary features or drivers disabled. This is especially useful for security, auditing and certification where less code built means less to look at (and less surface attack) and less to patch, but also for making binary images smaller which typically means faster boot. It is possible to have boards without MMC, NAND or SPI flashes, without anything on SPI or I2C buses, nothing to control over PWM or GPIO or for which we have no interest in regulator control or serial output so make it possible to remove all that if desired. No intended change in default selected symbols. Signed-off-by: Quentin Schulz <[email protected]> Reviewed-by: Kever Yang <[email protected]> Reviewed-by: Simon Glass <[email protected]>
-rw-r--r--arch/arm/Kconfig26
1 files changed, 13 insertions, 13 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index ef834542bd4..4ee74d5cdd8 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -2072,30 +2072,30 @@ config ARCH_ROCKCHIP
bool "Support Rockchip SoCs"
select BINMAN if SPL_OPTEE || SPL
select DM
- select DM_GPIO
- select DM_I2C
- select DM_PWM
- select DM_REGULATOR
- select DM_SERIAL
- select DM_SPI
- select DM_SPI_FLASH
select DM_USB_GADGET if USB_DWC3_GADGET
select ENABLE_ARM_SOC_BOOT0_HOOK
select OF_CONTROL
- select MMC
- select MTD
- select SPI
select SPL_DM if SPL
- select SPL_DM_SPI if SPL
- select SPL_DM_SPI_FLASH if SPL
select SYS_MALLOC_F
select SYS_THUMB_BUILD if !ARM64
imply ADC
+ imply BOOTSTD_DEFAULTS
imply CMD_DM
imply DEBUG_UART_BOARD_INIT
- imply BOOTSTD_DEFAULTS
+ imply DM_GPIO
+ imply DM_I2C
+ imply DM_PWM
+ imply DM_REGULATOR
+ imply DM_SERIAL
+ imply DM_SPI
+ imply DM_SPI_FLASH
imply FAT_WRITE
+ imply MMC
+ imply MTD
imply SARADC_ROCKCHIP
+ imply SPI
+ imply SPL_DM_SPI if SPL
+ imply SPL_DM_SPI_FLASH if SPL
imply SPL_SYSRESET
imply SPL_SYS_MALLOC_SIMPLE
imply SYS_NS16550