diff mbox

[boot,script,generator] Run tftpboot not tftp for network downloads

Message ID 1403717590-4686-1-git-send-email-swarren@wwwdotorg.org
State Accepted, archived
Headers show

Commit Message

Stephen Warren June 25, 2014, 5:33 p.m. UTC
From: Stephen Warren <swarren@nvidia.com>

"tftp" only works because it's an abbreviation of "tftpboot", and is
unique within the typical set of enabled commands on Tegra devices. Fix
the script to use the full command name "tftpboot" so that it works
even when other TFTP-related commands (such as tftpput) are enabled.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
I'll apply this immediately.

 gen-uboot-script.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/gen-uboot-script.py b/gen-uboot-script.py
index 46847e50834a..a60aed0d598f 100755
--- a/gen-uboot-script.py
+++ b/gen-uboot-script.py
@@ -103,7 +103,7 @@  else:
 
 if args.type == 'net':
     f.write('dhcp\n')
-    load='tftp'
+    load='tftpboot'
     prefix=''
 else:
     load='load ${devtype} ${devnum}:${rootpart}'