[PATCH 3/4] xilinx: mbv: Disable CPU driver in SPL
Michal Simek
michal.simek at amd.com
Thu Apr 30 14:03:46 CEST 2026
Disable CONFIG_SPL_CPU to remove the CPU driver from SPL. The CPU
driver provides runtime CPU information and enumeration which is not
needed during the early SPL boot phase, saving significant code space.
spl/u-boot-spl: all -922 data -208 rodata -100 text -614
Signed-off-by: Michal Simek <michal.simek at amd.com>
---
configs/xilinx_mbv32_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/xilinx_mbv32_defconfig b/configs/xilinx_mbv32_defconfig
index 9d0111fe8e53..9538769f17f8 100644
--- a/configs/xilinx_mbv32_defconfig
+++ b/configs/xilinx_mbv32_defconfig
@@ -36,6 +36,7 @@ CONFIG_SPL_SYS_MALLOC=y
CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80000000
CONFIG_SPL_SYS_MALLOC_SIZE=0x200000
+# CONFIG_SPL_CPU is not set
# CONFIG_CMD_MII is not set
CONFIG_CMD_SNTP=y
CONFIG_CMD_TIMER=y
--
2.43.0
base-commit: 6ada697cef076eaed1971c4877c402a91ad5cb48
branch: debian-sent3
More information about the U-Boot
mailing list