summaryrefslogtreecommitdiff
path: root/include/net.h
diff options
context:
space:
mode:
authorJacob Stiffler <j-stiffler@ti.com>2015-09-30 14:12:05 (GMT)
committerJoe Hershberger <joe.hershberger@ni.com>2015-10-29 19:05:47 (GMT)
commit11a69ff85b0a459f4ac096ae054d0b527d44b095 (patch)
treea96043e6a1b55f1c142d4badb7ed2fe781fe0bd8 /include/net.h
parent6617f87668dec898470224fe9fb22c0807649a1c (diff)
downloadu-boot-fsl-qoriq-11a69ff85b0a459f4ac096ae054d0b527d44b095.tar.xz
net: Increase the size of the net_boot_file_name buffer
The net_boot_file_name buffer is used as storage for the bootfilename command line argument to network boot commands such as tftp and nfs. Increase the size of this buffer to 1024 bytes as the current size of 128 bytes is restrictive for arbitrary paths on the server. Signed-off-by: Jacob Stiffler <j-stiffler@ti.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include/net.h')
-rw-r--r--include/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net.h b/include/net.h
index 1aabd74..ebed29a 100644
--- a/include/net.h
+++ b/include/net.h
@@ -516,7 +516,7 @@ enum proto_t {
TFTPSRV, TFTPPUT, LINKLOCAL
};
-extern char net_boot_file_name[128];/* Boot File name */
+extern char net_boot_file_name[1024];/* Boot File name */
/* The actual transferred size of the bootfile (in bytes) */
extern u32 net_boot_file_size;
/* Boot file size in blocks as reported by the DHCP server */