Commit d36d8859 authored by Christian Riesch's avatar Christian Riesch Committed by Albert ARIBAUD

arm, davinci: Add support for generating AIS images to the Makefile

Signed-off-by: default avatarChristian Riesch <>
Cc: Stefano Babic <>
Cc: Heiko Schocher <>
Cc: Mike Frysinger <>
parent d1be8f92
......@@ -35,6 +35,7 @@
......@@ -429,6 +429,18 @@ $(obj)u-boot.ubl: $(obj)spl/u-boot-spl.bin $(obj)u-boot.bin
rm $(obj)u-boot-ubl.bin
rm $(obj)spl/u-boot-spl-pad.bin
$(obj)u-boot.ais: $(obj)spl/u-boot-spl.bin $(obj)u-boot.bin
$(obj)tools/mkimage -s -n /dev/null -T aisimage \
-d $(obj)spl/u-boot-spl.bin \
$(OBJCOPY) ${OBJCFLAGS} -I binary \
--pad-to=$(CONFIG_SPL_MAX_SIZE) -O binary \
$(obj)spl/u-boot-spl.ais $(obj)spl/u-boot-spl-pad.ais
cat $(obj)spl/u-boot-spl-pad.ais $(obj)u-boot.bin > \
rm $(obj)spl/u-boot-spl{,-pad}.ais
$(obj) $(obj)u-boot.bin $(obj)spl/u-boot-spl.bin
elftosb -zdf imx28 -c $(TOPDIR)/board/$(BOARDDIR)/ \
-o $(obj)
......@@ -762,6 +774,7 @@ clobber: tidy
@rm -f $(obj)u-boot.kwb
@rm -f $(obj)u-boot.imx
@rm -f $(obj)u-boot.ubl
@rm -f $(obj)u-boot.ais
@rm -f $(obj)u-boot.dtb
@rm -f $(obj)
@rm -f $(obj)tools/inca-swap-bytes
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment