From eb92fd0831e073a401954ada3efe59a81137e6d9 Mon Sep 17 00:00:00 2001 From: Quentin Schulz Date: Wed, 29 Oct 2025 12:34:25 +0100 Subject: [PATCH] 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 Reviewed-by: Kever Yang Reviewed-by: Simon Glass --- arch/arm/Kconfig | 26 +++++++++++++------------- 1 file 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 -- 2.47.3