On Mon, Oct 27, 2025 at 07:47:02PM +0530, Anshul Dalal wrote:

> Using CMD_* configs from spl doesn't make logical sense. Therefore
> this patch replaces the checks for CMD_BOOTx with newly added library
> symbols LIB_BOOT[IMZ] and SPL_LIB_BOOT[IMZ] which are enabled by their
> respective CMD_* or SPL_* counterparts.
> 
> On platforms with non-secure falcon mode, SPL_BOOTZ is enabled by
> default for 32-bit ARM systems and SPL_BOOTI is enabled by default for
> 64-bit ARM and RISCV.
> 
> The respective C files (image.c/zimage.c) are compiled based on library
> symbols $(PHASE_)LIB_BOOTx instead which are in turn selected by both
> CMD_BOOTx and SPL_BOOTx as required.
> 
> Signed-off-by: Anshul Dalal <[email protected]>

Reviewed-by: Tom Rini <[email protected]>

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to