From: Emanuele Ghidoli Date: Tue, 6 May 2025 07:08:59 +0000 (+0200) Subject: configs: verdin-am62: Drop unused or redundant config options X-Git-Tag: v2025.10-rc1~118^2~78 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=df8dbc87a2570e99ba73d8e0a097797126040568;p=thirdparty%2Fu-boot.git configs: verdin-am62: Drop unused or redundant config options Several Kconfig options are enabled but unused or unnecessary for our use case. These include features such as SPL FAT support, YMODEM, and USB keyboard. Some R5-specific configurations are not used at all, as U-Boot proper is not executed on that core. Cleaning them up helps reduce build size and simplifies maintenance. Signed-off-by: Emanuele Ghidoli Reviewed-by: Francesco Dolcini --- diff --git a/configs/verdin-am62_a53_defconfig b/configs/verdin-am62_a53_defconfig index 4bdcb4b6c46..c299c9fe4ad 100644 --- a/configs/verdin-am62_a53_defconfig +++ b/configs/verdin-am62_a53_defconfig @@ -1,5 +1,4 @@ CONFIG_ARM=y -CONFIG_SKIP_LOWLEVEL_INIT=y CONFIG_ARCH_K3=y CONFIG_SYS_MALLOC_LEN=0x2000000 CONFIG_SYS_MALLOC_F_LEN=0x8000 @@ -28,8 +27,6 @@ CONFIG_SYS_BOOTM_LEN=0x40000000 CONFIG_SYS_LOAD_ADDR=0x88200000 CONFIG_SPL_SIZE_LIMIT=0x40000 CONFIG_SPL_SIZE_LIMIT_PROVIDE_STACK=0x800 -CONFIG_SPL_FS_FAT=y -CONFIG_SPL_LIBDISK_SUPPORT=y CONFIG_SYS_MEMTEST_START=0x80000000 CONFIG_SYS_MEMTEST_END=0xB0000000 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set @@ -53,13 +50,11 @@ CONFIG_SPL_SYS_MMCSD_RAW_MODE=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x1400 CONFIG_SPL_DMA=y CONFIG_SPL_ENV_SUPPORT=y -CONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img" CONFIG_SPL_I2C=y CONFIG_SPL_DM_MAILBOX=y CONFIG_SPL_POWER_DOMAIN=y CONFIG_SPL_RAM_DEVICE=y CONFIG_SPL_THERMAL=y -CONFIG_SPL_YMODEM_SUPPORT=y CONFIG_SYS_PROMPT="Verdin AM62 # " CONFIG_CMD_ADTIMG=y CONFIG_CMD_ASKENV=y @@ -192,8 +187,6 @@ CONFIG_USB_DWC3_GENERIC=y CONFIG_SPL_USB_DWC3_GENERIC=y CONFIG_SPL_USB_DWC3_AM62=y CONFIG_USB_DWC3_AM62=y -CONFIG_USB_KEYBOARD=y -CONFIG_USB_HOST_ETHER=y CONFIG_USB_GADGET=y CONFIG_SPL_USB_GADGET=y CONFIG_USB_GADGET_MANUFACTURER="Toradex" diff --git a/configs/verdin-am62_r5_defconfig b/configs/verdin-am62_r5_defconfig index f9580e697ff..6d662f2febf 100644 --- a/configs/verdin-am62_r5_defconfig +++ b/configs/verdin-am62_r5_defconfig @@ -47,14 +47,8 @@ CONFIG_SPL_DM_MAILBOX=y CONFIG_SPL_DM_RESET=y CONFIG_SPL_POWER_DOMAIN=y CONFIG_SPL_RAM_DEVICE=y -CONFIG_SPL_YMODEM_SUPPORT=y -CONFIG_HUSH_PARSER=y -CONFIG_CMD_ASKENV=y CONFIG_CMD_DFU=y -CONFIG_CMD_GPT=y -CONFIG_CMD_MMC=y # CONFIG_CMD_SETEXPR is not set -CONFIG_CMD_TIME=y CONFIG_OF_CONTROL=y CONFIG_SPL_OF_CONTROL=y CONFIG_SPL_MULTI_DTB_FIT=y