Correct ih_os for u-boot.img
authoraneeshv <aneesh@ti.com>
Sat, 16 Jul 2011 02:53:20 +0000 (02:53 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 28 Jul 2011 15:17:36 +0000 (17:17 +0200)
Provide appropriate '-O u-boot' while doing mkimage
for u-boot.img

Signed-off-by: Aneesh V <aneesh@ti.com>
Makefile

index 53bffd0..ac757e6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -375,7 +375,7 @@ $(obj)u-boot.ldr.srec:      $(obj)u-boot.ldr
 
 $(obj)u-boot.img:      $(obj)u-boot.bin
                $(obj)tools/mkimage -A $(ARCH) -T firmware -C none \
-               -a $(CONFIG_SYS_TEXT_BASE) -e 0 \
+               -O u-boot -a $(CONFIG_SYS_TEXT_BASE) -e 0 \
                -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \
                        sed -e 's/"[     ]*$$/ for $(BOARD) board"/') \
                -d $< $@