diff options
author | Heiko Schocher <hs@denx.de> | 2011-07-16 00:06:42 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-07-28 16:52:41 +0200 |
commit | 7816f2cf813326505970922021b3ed6490863e78 (patch) | |
tree | 759959ef5f03dcc1973038234866aa07c4e2389a /Makefile | |
parent | b9af6d3d8265e90538c29f7f7871352a30d817c5 (diff) | |
download | u-boot-7816f2cf813326505970922021b3ed6490863e78.zip u-boot-7816f2cf813326505970922021b3ed6490863e78.tar.gz u-boot-7816f2cf813326505970922021b3ed6490863e78.tar.bz2 |
mkimage: add UBL header support for booting davinci cpus
creating an u-boot.ubl file, which contains the UBL Header
needed for booting from NAND with the RBL from TI. For more
information read doc/README.ublimage.
Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -394,6 +394,10 @@ $(obj)u-boot.sha1: $(obj)u-boot.bin $(obj)u-boot.dis: $(obj)u-boot $(OBJDUMP) -d $< > $@ +$(obj)u-boot.ubl: $(obj)u-boot-nand.bin + $(obj)tools/mkimage -n $(UBL_CONFIG) -T ublimage \ + -e $(CONFIG_SYS_TEXT_BASE) -d $< $@ + GEN_UBOOT = \ UNDEF_SYM=`$(OBJDUMP) -x $(LIBBOARD) $(LIBS) | \ sed -n -e 's/.*\($(SYM_PREFIX)__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\ @@ -1102,6 +1106,7 @@ clobber: clean @rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL-y) @rm -f $(obj)u-boot.kwb @rm -f $(obj)u-boot.imx + @rm -f $(obj)u-boot.ubl @rm -f $(obj)tools/{env/crc32.c,inca-swap-bytes} @rm -f $(obj)arch/powerpc/cpu/mpc824x/bedbug_603e.c @rm -fr $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm |