blob: c393269f270b58b84e1a8369a1c673978ff2a7f3 [file] [log] [blame]
Masahiro Yamadaf3e12b72014-09-16 16:32:58 +09001#
2# Network configuration
3#
4
5menuconfig NET
6 bool "Networking support"
7
8if NET
9
Joe Hershberger2dc2b5d2015-05-04 14:55:13 -050010config NET_RANDOM_ETHADDR
11 bool "Random ethaddr if unset"
Michal Simek2c1b1db2015-05-25 11:37:22 +020012 select LIB_RAND
Joe Hershberger2dc2b5d2015-05-04 14:55:13 -050013 help
14 Selecting this will allow the Ethernet interface to function
15 even when the ethaddr variable for that interface is unset.
16 A new MAC address will be generated on every boot and it will
17 not be added to the environment.
18
Bernhard Nortmanndeea30d2015-09-14 15:29:46 +020019config NETCONSOLE
20 bool "NetConsole support"
21 help
22 Support the 'nc' input/output device for networked console.
23 See README.NetConsole for details.
24
Albert ARIBAUD \(3ADEV\)83006852015-10-12 00:02:57 +020025config NET_TFTP_VARS
26 bool "Control TFTP timeout and count through environment"
27 default y
28 help
29 If set, allows controlling the TFTP timeout through the
30 environment variable tftptimeout, and the TFTP maximum
31 timeout count through the variable tftptimeoutcountmax.
32 If unset, timeout and maximum are hard-defined as 1 second
33 and 10 timouts per TFTP transfer.
34
Alexander Graf4c71c512016-05-06 21:01:03 +020035config BOOTP_PXE_CLIENTARCH
36 hex
Alexander Graf6b99b632016-05-06 21:01:04 +020037 default 0x16 if ARM64
38 default 0x15 if ARM
Alexander Graf4c71c512016-05-06 21:01:03 +020039 default 0 if X86
40
41config BOOTP_VCI_STRING
42 string
43 default "U-Boot.armv7" if CPU_V7 || CPU_V7M
44 default "U-Boot.armv8" if ARM64
45 default "U-Boot.arm" if ARM
46 default "U-Boot"
47
Alexander Graf0a212be2016-05-06 21:01:05 +020048config SPL_NET_VCI_STRING
49 string
50
Masahiro Yamadaf3e12b72014-09-16 16:32:58 +090051endif # if NET