[PATCH v2] mach-sc5xx: generate U-Boot proper in ADI ldr format

Philip Molloy philip at philipmolloy.com
Thu Aug 14 15:28:13 CEST 2025


From: Philip Molloy <philip.molloy at analog.com>

Generating an ldr boot stream containing U-Boot Proper was never added
to U-Boot because it is done by the ADI Yocto layer. Add it to U-Boot to
support projects that do not use that layer.

Signed-off-by: Philip Molloy <philip.molloy at analog.com>
---
Changes in v2:
- Fix typo in commit message
- Link to v1: https://lore.kernel.org/u-boot/20250814135456.2496908-1-philip@philipmolloy.com/
---
 arch/arm/mach-sc5xx/config.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/mach-sc5xx/config.mk b/arch/arm/mach-sc5xx/config.mk
index e7e4c9a1181..266d2e3a777 100644
--- a/arch/arm/mach-sc5xx/config.mk
+++ b/arch/arm/mach-sc5xx/config.mk
@@ -12,5 +12,7 @@ ifdef CONFIG_XPL_BUILD
 INPUTS-y += $(obj)/u-boot-spl.ldr
 endif
 
+INPUTS-y += u-boot.ldr
+
 LDR_FLAGS += --bcode=$(CONFIG_SC_BOOT_MODE)
 LDR_FLAGS += --use-vmas
-- 
2.50.1




More information about the U-Boot mailing list