[PATCH v4 02/20] board: ti: Exclude cape detection from XPL builds

Tom Rini trini at konsulko.com
Wed Oct 22 18:20:06 CEST 2025


On Wed, Oct 22, 2025 at 05:20:13PM +0200, Kory Maincent (TI.com) wrote:

> Disable cape detection functionality in XPL (eXtended Program Loader)
> images to reduce size and complexity in the early boot stage.

If you have to v5, just say "xPL" as it's shorthand for SPL/TPL/VPL. If
you don't, I'll try and fix it up when applying (and some for other
parts of the series).

> Signed-off-by: Kory Maincent (TI.com) <kory.maincent at bootlin.com>
> ---
> 
> Changes in v2:
> - Use PHASE macro instead of XPL check.
> - Check SUPPORT_EXTENSION_SCAN instead of CONFIG_CMD_EXTENSION
> ---
>  board/ti/common/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/board/ti/common/Makefile b/board/ti/common/Makefile
> index caf6b9fa8c1..f58935b4103 100644
> --- a/board/ti/common/Makefile
> +++ b/board/ti/common/Makefile
> @@ -2,6 +2,6 @@
>  # Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/
>  
>  obj-${CONFIG_TI_I2C_BOARD_DETECT} += board_detect.o
> -obj-${CONFIG_CMD_EXTENSION} += cape_detect.o
> +obj-${CONFIG_$(PHASE_)SUPPORT_EXTENSION_SCAN} += cape_detect.o
>  obj-${CONFIG_OF_LIBFDT} += fdt_ops.o
>  obj-${CONFIG_ARCH_K3} += k3-ddr.o

This is correct because if falcon mode requires cape support too,
SPL_SUPPORT_EXTENSION_SCAN can be introduced and this will work as
expected.

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20251022/cb4aef44/attachment.sig>


More information about the U-Boot mailing list