Skip to content
Snippets Groups Projects
Commit 85bfe48b authored by Cooper Jr., Franklin's avatar Cooper Jr., Franklin Committed by Tom Rini
Browse files

ARM: keystone2: Allow to build with all image formats


u-boot.bin is a copy of:
u-boot-fit-dtb.bin if CONFIG_FIT_EMBED is enabled,
u-boot-dtb.bin if CONFIG_OF_SEPARATE is enabled,
u-boot-nodtb.bin if DT is not enabled.
So, use u-boot.bin to to generate keystone images instead of
u-boot-dtb.bin

Signed-off-by: default avatarFranklin S Cooper Jr <fcooper@ti.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent 6f59fb07
No related branches found
No related tags found
No related merge requests found
...@@ -22,13 +22,13 @@ spl/u-boot-spl.gph: spl/u-boot-spl.bin FORCE ...@@ -22,13 +22,13 @@ spl/u-boot-spl.gph: spl/u-boot-spl.bin FORCE
OBJCOPYFLAGS_u-boot-spi.gph = -I binary -O binary --pad-to=$(CONFIG_SPL_PAD_TO) \ OBJCOPYFLAGS_u-boot-spi.gph = -I binary -O binary --pad-to=$(CONFIG_SPL_PAD_TO) \
--gap-fill=0 --gap-fill=0
u-boot-spi.gph: spl/u-boot-spl.gph u-boot-dtb.img FORCE u-boot-spi.gph: spl/u-boot-spl.gph u-boot.img FORCE
$(call if_changed,pad_cat) $(call if_changed,pad_cat)
ifndef CONFIG_SPL_BUILD ifndef CONFIG_SPL_BUILD
MKIMAGEFLAGS_MLO = -A $(ARCH) -T gpimage -C none \ MKIMAGEFLAGS_MLO = -A $(ARCH) -T gpimage -C none \
-a $(CONFIG_SYS_TEXT_BASE) -e $(CONFIG_SYS_TEXT_BASE) -n U-Boot -a $(CONFIG_SYS_TEXT_BASE) -e $(CONFIG_SYS_TEXT_BASE) -n U-Boot
MLO: u-boot-dtb.bin FORCE MLO: u-boot.bin FORCE
$(call if_changed,mkimage) $(call if_changed,mkimage)
@dd if=/dev/zero bs=8 count=1 2>/dev/null >> $@ @dd if=/dev/zero bs=8 count=1 2>/dev/null >> $@
endif endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment