blob: 143c4416cddde25128f5beef73ededdf7d522374 [file] [log] [blame]
Masahiro Yamadaed363232014-09-16 16:32:58 +09001#
2# Network configuration
3#
4
5menuconfig NET
6 bool "Networking support"
Michal Simek3b3ea2c2018-02-26 16:01:02 +01007 default y
Masahiro Yamadaed363232014-09-16 16:32:58 +09008
9if NET
10
Joe Hershbergerbef10142015-05-04 14:55:13 -050011config NET_RANDOM_ETHADDR
12 bool "Random ethaddr if unset"
13 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 Nortmann26660742015-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\)f5fb7342015-10-12 00:02:57 +020025config NET_TFTP_VARS
26 bool "Control TFTP timeout and count through environment"
Michal Simek3b3ea2c2018-02-26 16:01:02 +010027 depends on CMD_NET
Albert ARIBAUD \(3ADEV\)f5fb7342015-10-12 00:02:57 +020028 default y
29 help
30 If set, allows controlling the TFTP timeout through the
31 environment variable tftptimeout, and the TFTP maximum
32 timeout count through the variable tftptimeoutcountmax.
33 If unset, timeout and maximum are hard-defined as 1 second
34 and 10 timouts per TFTP transfer.
35
Adam Fordd021e942018-02-06 07:58:59 -060036config BOOTP_BOOTPATH
37 bool "Enable BOOTP BOOTPATH"
Michal Simek3b3ea2c2018-02-26 16:01:02 +010038 depends on CMD_NET
Adam Fordd021e942018-02-06 07:58:59 -060039
40config BOOTP_DNS
41 bool "Enable bootp DNS"
Michal Simek3b3ea2c2018-02-26 16:01:02 +010042 depends on CMD_NET
Adam Fordd021e942018-02-06 07:58:59 -060043
44config BOOTP_GATEWAY
45 bool "Enable BOOTP gateway"
Michal Simek3b3ea2c2018-02-26 16:01:02 +010046 depends on CMD_NET
Adam Fordd021e942018-02-06 07:58:59 -060047
48config BOOTP_HOSTNAME
49 bool "Enable BOOTP hostname"
Michal Simek3b3ea2c2018-02-26 16:01:02 +010050 depends on CMD_NET
Adam Fordd021e942018-02-06 07:58:59 -060051
52config BOOTP_PXE
53 bool "Enable BOOTP PXE"
Michal Simek3b3ea2c2018-02-26 16:01:02 +010054 depends on CMD_NET
Adam Fordd021e942018-02-06 07:58:59 -060055
56config BOOTP_SUBNETMASK
57 bool "Enable BOOTP subnetmask"
Michal Simek3b3ea2c2018-02-26 16:01:02 +010058 depends on CMD_NET
59 depends on CMD_NET
Adam Fordd021e942018-02-06 07:58:59 -060060
Alexander Graf0dac6b42016-05-06 21:01:03 +020061config BOOTP_PXE_CLIENTARCH
62 hex
Michal Simek3b3ea2c2018-02-26 16:01:02 +010063 depends on CMD_NET
Alexander Graffa96f372016-05-06 21:01:04 +020064 default 0x16 if ARM64
65 default 0x15 if ARM
Alexander Graf0dac6b42016-05-06 21:01:03 +020066 default 0 if X86
67
68config BOOTP_VCI_STRING
69 string
Michal Simek3b3ea2c2018-02-26 16:01:02 +010070 depends on CMD_NET
Alexander Graf0dac6b42016-05-06 21:01:03 +020071 default "U-Boot.armv7" if CPU_V7 || CPU_V7M
72 default "U-Boot.armv8" if ARM64
73 default "U-Boot.arm" if ARM
74 default "U-Boot"
75
Masahiro Yamadaed363232014-09-16 16:32:58 +090076endif # if NET