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) <[email protected]>
> ---
> 
> 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 <[email protected]>

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to