arm, Makefile: Concatenation of u-boot-spl.bin and u-boot.img
Subsystems (2)
PATCH 2/3 arm, Makefile: Concatenation of u-boot-spl.bin and u-boot.img
Concatenation of u-boot-spl.bin and u-boot.img for NXP layerscape platform SoC: LS1088A/LS2080A and their variants
New Kconfig option added SPL_USE_HEADER for the same
--- Makefile | 14 +++++++++++++- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 7 +++++++ 2 files changed, 20 insertions(+), 1 deletion(-)
Makefile +13 -1
@@ -989,8 +989,20 @@ u-boot.dis: u-boot ifdef CONFIG_TPL SPL_PAYLOAD := tpl/u-boot-with-tpl.bin else +ifdef CONFIG_OF_CONTROL +ifeq ($(CONFIG_SPL_USE_HEADER),y) +SPL_PAYLOAD := u-boot-dtb.img +else +SPL_PAYLOAD := u-boot-dtb.bin +endif #ifeq ($(CONFIG_SPL_USE_HEADER),y) +else +ifeq ($(CONFIG_SPL_USE_HEADER),y) +SPL_PAYLOAD := u-boot.img +else SPL_PAYLOAD := u-boot.bin -endif +endif #ifeq ($(CONFIG_SPL_USE_HEADER),y) +endif #ifdef CONFIG_OF_CONTROL +endif #ifdef CONFIG_TPL OBJCOPYFLAGS_u-boot-with-spl.bin = -I binary -O binary \ --pad-to=$(CONFIG_SPL_PAD_TO)
arch/arm/cpu/armv8/fsl-layerscape/Kconfig +7 -0
@@ -54,6 +54,7 @@ config ARCH_LS1088A bool select ARMV8_SET_SMPEN select FSL_LSCH3 + select SPL_USE_HEADER select SYS_FSL_DDR select SYS_FSL_DDR_LE select SYS_FSL_DDR_VER_50
@@ -405,6 +406,12 @@ config SYS_FSL_ERRATUM_A009660 config SYS_FSL_ERRATUM_A009929 bool +config SPL_USE_HEADER + bool + depends on ARCH_LS1088A || ARCH_LS2080A + default y if ARCH_LS1088A + default y if ARCH_LS2080A + config SYS_MC_RSV_MEM_ALIGN hex "Management Complex reserved memory alignment" depends on RESV_RAM
Signature · 1 line
2.7.4
PATCH 2/3 arm, Makefile: Concatenation of u-boot-spl.bin and u-boot.img
Quoted 10 lines · Ashish Kumar
Concatenation of u-boot-spl.bin and u-boot.img for NXP layerscape platform SoC: LS1088A/LS2080A and their variants
New
Kconfigoption addedSPL_USE_HEADERfor the sameSigned-off-by Ashish Kumar <[email protected]>--- Makefile | 14 +++++++++++++- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 7 +++++++ 2 files changed, 20 insertions(+), 1 deletion(-)
Ashish,
Please do NOT post on both internal and upstream mailing lists in the same thread. Any reply from outside will cause issue.
York
PATCH 2/3 arm, Makefile: Concatenation of u-boot-spl.bin and u-boot.img
In reply to Ashish KumarQuoted 4 lines · Ashish Kumar
Concatenation of u-boot-spl.bin and u-boot.img for NXP layerscape platform SoC: LS1088A/LS2080A and their variants
New
Kconfigoption addedSPL_USE_HEADERfor the same
I think the logic should be reversed. By default, let's use the image with header. For exceptions, use raw image.
York