[PATCH] rockchip: imply most symbols for ARCH_ROCKCHIP
Kever Yang
kever.yang at rock-chips.com
Sat Nov 1 09:01:26 CET 2025
On 2025/10/29 19:34, Quentin Schulz wrote:
> From: Quentin Schulz <quentin.schulz at cherry.de>
>
> 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 <quentin.schulz at cherry.de>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>
Thanks,
- Kever
> ---
> 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
>
> ---
> base-commit: 4cad9faf8d2887b8851f0ced5194ffbaa92ca71e
> change-id: 20251029-arch-rockchip-imply-dc2a843a1767
>
> Best regards,
More information about the U-Boot
mailing list