Lot of commands in u-boot have repeat command flag but not all are
very usefull. Remove this flag for tftp to avoid repeated file download
when user press enter.

Signed-off-by: Marek Belisko <marek.beli...@open-nandra.com>
---
 common/cmd_net.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/common/cmd_net.c b/common/cmd_net.c
index 973fa21..522b435 100644
--- a/common/cmd_net.c
+++ b/common/cmd_net.c
@@ -47,7 +47,7 @@ int do_tftpb (cmd_tbl_t *cmdtp, int flag, int argc, char * 
const argv[])
 }
 
 U_BOOT_CMD(
-       tftpboot,       3,      1,      do_tftpb,
+       tftpboot,       3,      0,      do_tftpb,
        "boot image via network using TFTP protocol",
        "[loadAddress] [[hostIPaddr:]bootfilename]"
 );
-- 
1.7.4.1

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

Reply via email to