diff options
author | Heiko Schocher | 2011-07-15 19:06:42 -0500 |
---|---|---|
committer | Wolfgang Denk | 2011-07-28 09:52:41 -0500 |
commit | 7816f2cf813326505970922021b3ed6490863e78 (patch) | |
tree | 759959ef5f03dcc1973038234866aa07c4e2389a /Makefile | |
parent | b9af6d3d8265e90538c29f7f7871352a30d817c5 (diff) | |
download | u-boot-7816f2cf813326505970922021b3ed6490863e78.tar.gz u-boot-7816f2cf813326505970922021b3ed6490863e78.tar.xz u-boot-7816f2cf813326505970922021b3ed6490863e78.zip |
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 | |||
394 | $(obj)u-boot.dis: $(obj)u-boot | 394 | $(obj)u-boot.dis: $(obj)u-boot |
395 | $(OBJDUMP) -d $< > $@ | 395 | $(OBJDUMP) -d $< > $@ |
396 | 396 | ||
397 | $(obj)u-boot.ubl: $(obj)u-boot-nand.bin | ||
398 | $(obj)tools/mkimage -n $(UBL_CONFIG) -T ublimage \ | ||
399 | -e $(CONFIG_SYS_TEXT_BASE) -d $< $@ | ||
400 | |||
397 | GEN_UBOOT = \ | 401 | GEN_UBOOT = \ |
398 | UNDEF_SYM=`$(OBJDUMP) -x $(LIBBOARD) $(LIBS) | \ | 402 | UNDEF_SYM=`$(OBJDUMP) -x $(LIBBOARD) $(LIBS) | \ |
399 | sed -n -e 's/.*\($(SYM_PREFIX)__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\ | 403 | sed -n -e 's/.*\($(SYM_PREFIX)__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\ |
@@ -1102,6 +1106,7 @@ clobber: clean | |||
1102 | @rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL-y) | 1106 | @rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL-y) |
1103 | @rm -f $(obj)u-boot.kwb | 1107 | @rm -f $(obj)u-boot.kwb |
1104 | @rm -f $(obj)u-boot.imx | 1108 | @rm -f $(obj)u-boot.imx |
1109 | @rm -f $(obj)u-boot.ubl | ||
1105 | @rm -f $(obj)tools/{env/crc32.c,inca-swap-bytes} | 1110 | @rm -f $(obj)tools/{env/crc32.c,inca-swap-bytes} |
1106 | @rm -f $(obj)arch/powerpc/cpu/mpc824x/bedbug_603e.c | 1111 | @rm -f $(obj)arch/powerpc/cpu/mpc824x/bedbug_603e.c |
1107 | @rm -fr $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm | 1112 | @rm -fr $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm |