mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 05:42:58 +00:00
f5fb734672
TFTP source and destination port variable names are 'tftpsrcp' and 'tftpdstp' in the code, but 'tftpsrcport' and 'tftpdstport' in the README file. Fix the README. Add environment variable 'tftptimeoutcountmax'. As per the comments about the global variable tftp_timeout_count_max, make sure tftptimeoutcountmax is nonnegative. Introduce configuration option CONFIG_NET_TFTP_VARS, which controls whether environment variables tftpblocksize, tftptimeout, and tftptimoueoutcountmax are read by the TFTP client code. CONFIG_NET_TFTP_VARS defaults to y but can be set to n by targets with to tight size contraints. Make bf527-ezkit set CONFIG_NET_TFTP_VARS to n to keep the target size below limit.
35 lines
933 B
Text
35 lines
933 B
Text
#
|
|
# Network configuration
|
|
#
|
|
|
|
menuconfig NET
|
|
bool "Networking support"
|
|
|
|
if NET
|
|
|
|
config NET_RANDOM_ETHADDR
|
|
bool "Random ethaddr if unset"
|
|
select LIB_RAND
|
|
help
|
|
Selecting this will allow the Ethernet interface to function
|
|
even when the ethaddr variable for that interface is unset.
|
|
A new MAC address will be generated on every boot and it will
|
|
not be added to the environment.
|
|
|
|
config NETCONSOLE
|
|
bool "NetConsole support"
|
|
help
|
|
Support the 'nc' input/output device for networked console.
|
|
See README.NetConsole for details.
|
|
|
|
config NET_TFTP_VARS
|
|
bool "Control TFTP timeout and count through environment"
|
|
default y
|
|
help
|
|
If set, allows controlling the TFTP timeout through the
|
|
environment variable tftptimeout, and the TFTP maximum
|
|
timeout count through the variable tftptimeoutcountmax.
|
|
If unset, timeout and maximum are hard-defined as 1 second
|
|
and 10 timouts per TFTP transfer.
|
|
|
|
endif # if NET
|