summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile
diff options
context:
space:
mode:
authorJan Luebbe <jlu@pengutronix.de>2012-09-28 18:29:43 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-10-02 08:22:30 +0200
commit93ca711e64d7a4d79aee15b4ce415688f5415fda (patch)
treec4197291232609480276c1f3ea626818274321be /scripts/Makefile
parent3fc5a7545729d5b12399df970f5470e3494a616e (diff)
downloadbarebox-93ca711e64d7a4d79aee15b4ce415688f5415fda.tar.gz
barebox-93ca711e64d7a4d79aee15b4ce415688f5415fda.tar.xz
scripts: add tool to create image for SPI boot on AM35xx
Booting from SPI on an AM35xx (and possibly other TI SOCs) requires a special format: - 32 bit image size in big-endian - 32 bit load address in big-endian - binary image converted from little- to big-endian The mk-am35xx-spi-image tool converts barebox.bin to this format. Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts/Makefile')
-rw-r--r--scripts/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
index 7ca5e2973d..55ccdac539 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -9,7 +9,7 @@ hostprogs-y += bin2c
hostprogs-y += mkimage
hostprogs-y += bareboxenv
hostprogs-$(CONFIG_ARCH_NETX) += gen_netx_image
-hostprogs-$(CONFIG_ARCH_OMAP) += omap_signGP
+hostprogs-$(CONFIG_ARCH_OMAP) += omap_signGP mk-am35xx-spi-image
hostprogs-$(CONFIG_ARCH_S5PCxx) += s5p_cksum
hostprogs-$(CONFIG_ARCH_DAVINCI) += mkublheader