[PATCH v10 1/2] spl: remove usage of CMD_BOOTx from image parsing
    Tom Rini 
    trini at konsulko.com
       
    Mon Oct 27 22:20:19 CET 2025
    
    
  
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 <anshuld at ti.com>
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/20251027/745a7741/attachment.sig>
    
    
More information about the U-Boot
mailing list