SREC files do not need gap fill: The load address is specified in the file.
On the other hand, it can't be avoided in a .bin object. It has no
information about memory location.

diff in v2:
-Change comment (wd)

Signed-off-by: Ricardo Ribalda Delgado <[EMAIL PROTECTED]>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 3869e79..c8c02dd 100644
--- a/Makefile
+++ b/Makefile
@@ -295,7 +295,7 @@ $(obj)u-boot.hex:   $(obj)u-boot
                $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@
 
 $(obj)u-boot.srec:     $(obj)u-boot
-               $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@
+               $(OBJCOPY) -O srec $< $@
 
 $(obj)u-boot.bin:      $(obj)u-boot
                $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
-- 
1.5.6.5

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to