summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2010-01-20 18:19:10 +0100
committerWolfgang Denk <wd@denx.de>2010-01-25 23:58:29 +0100
commit8edcde5e4e2e7f6bc7e277011fed71e64fd9d294 (patch)
treee498caa8211ff573cc727b1e72bbb82d17efbdee /Makefile
parenta21fb981d533ac6d323a01c7fa2cda20f2d36de5 (diff)
downloadu-boot-imx-8edcde5e4e2e7f6bc7e277011fed71e64fd9d294.zip
u-boot-imx-8edcde5e4e2e7f6bc7e277011fed71e64fd9d294.tar.gz
u-boot-imx-8edcde5e4e2e7f6bc7e277011fed71e64fd9d294.tar.bz2
mkimage: Add Freescale imx Boot Image support (imximage)
This patch adds support for "imximage" (MX Boot Image) to the mkimage utility. The imximage is used on the Freescales's MX.25, MX.35 and MX.51 processors. Further details under doc/README.imximage. This patch was tested on a Freescale mx51evk board. Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0f60925..722b976 100644
--- a/Makefile
+++ b/Makefile
@@ -324,6 +324,10 @@ $(obj)u-boot.img: $(obj)u-boot.bin
sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \
-d $< $@
+$(obj)u-boot.imx: $(obj)u-boot.bin
+ $(obj)tools/mkimage -n $(IMX_CONFIG) -T imximage \
+ -e $(TEXT_BASE) -d $< $@
+
$(obj)u-boot.kwb: $(obj)u-boot.bin
$(obj)tools/mkimage -n $(KWD_CONFIG) -T kwbimage \
-a $(TEXT_BASE) -e $(TEXT_BASE) -d $< $@