[PATCH 04/16] board: ti: Exclude cape detection from XPL builds
Kory Maincent
kory.maincent at bootlin.com
Fri Oct 3 18:33:44 CEST 2025
Disable cape detection functionality in XPL (eXtended Program Loader)
images to reduce size and complexity in the early boot stage.
Signed-off-by: Kory Maincent <kory.maincent at bootlin.com>
---
board/ti/common/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/board/ti/common/Makefile b/board/ti/common/Makefile
index caf6b9fa8c1..ec8d314c332 100644
--- a/board/ti/common/Makefile
+++ b/board/ti/common/Makefile
@@ -2,6 +2,8 @@
# Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/
obj-${CONFIG_TI_I2C_BOARD_DETECT} += board_detect.o
+ifndef CONFIG_XPL_BUILD
obj-${CONFIG_CMD_EXTENSION} += cape_detect.o
+endif
obj-${CONFIG_OF_LIBFDT} += fdt_ops.o
obj-${CONFIG_ARCH_K3} += k3-ddr.o
--
2.43.0
More information about the U-Boot
mailing list