configs: verdin-am62: Drop unused or redundant config options
PATCH 1/1 configs: verdin-am62: Drop unused or redundant config options
From: Emanuele Ghidoli <[email protected]>
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.
--- configs/verdin-am62_a53_defconfig | 7 ------- configs/verdin-am62_r5_defconfig | 6 ------ 2 files changed, 13 deletions(-)
configs/verdin-am62_a53_defconfig +0 -7
@@ -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"
configs/verdin-am62_r5_defconfig +0 -6
@@ -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
Signature · 1 line
2.43.0
Quoted 10 lines · Emanuele Ghidoli
From: Emanuele Ghidoli <[email protected]>
Several
Kconfigoptions 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 <[email protected]>
Quoted 8 lines · Emanuele Ghidoli
Several
Kconfigoptions 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.
[...]
Applied to u-boot/next, thanks!
[1/1] configs: verdin-am62: Drop unused or redundant config options
commit: df8dbc87a2570e99ba73d8e0a097797126040568
Signature · 1 line
Tom