summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--nand_spl/board/ads5125/Makefile1
2 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c13428f4e9..6e48f5c1ee 100644
--- a/Makefile
+++ b/Makefile
@@ -340,11 +340,14 @@ $(obj)u-boot.sha1: $(obj)u-boot.bin
$(obj)tools/ubsha1 $(obj)u-boot.bin
$(obj)u-boot-second.bin:$(obj)u-boot.bin
+ chmod +x $(PWD)/add-uboot-head
$(PWD)/add-uboot-head $< $@
$(obj)u-boot-second-scrip.txt:$(obj)u-boot-second.bin
+ chmod +x $(PWD)/nand_program_block1_uboot
$(PWD)/nand_program_block1_uboot $< $@
$(obj)u-boot-scrip.txt:$(obj)u-boot.bin
+ chmod +x $(PWD)/nand_flash_program
$(PWD)/nand_flash_program $< $@
$(obj)u-boot.dis: $(obj)u-boot
diff --git a/nand_spl/board/ads5125/Makefile b/nand_spl/board/ads5125/Makefile
index 7e349665fc..d797f5ffa4 100644
--- a/nand_spl/board/ads5125/Makefile
+++ b/nand_spl/board/ads5125/Makefile
@@ -54,6 +54,7 @@ $(nandobj)u-boot-spl.bin: $(nandobj)u-boot-spl
$(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
$(nandobj)loader-script-5125.txt:$(nandobj)u-boot-spl-2k.bin
+ chmod +x $(TOPDIR)/nand_load_program
$(TOPDIR)/nand_load_program $< $@
$(nandobj)u-boot-spl: $(OBJS)