mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
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>
This commit is contained in:

committed by
Joe Hershberger

parent
6617f87668
commit
11a69ff85b
@ -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 */
|
||||
|
Reference in New Issue
Block a user