[U-Boot] [u-boot][PATCH] tftp: Remove command repetition.

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.belisko@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]" );

Dear Marek Belisko,
In message 1313348911-10817-1-git-send-email-marek.belisko@open-nandra.com you wrote:
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.
Why don't you consider this useful?
It makes an excellent test for the network drivers to repeatedly download a file.
NAK.
Best regards,
Wolfgang Denk
participants (2)
-
Marek Belisko
-
Wolfgang Denk