blob: 184b7c15d460a7a4455c2e01398b519798bf3393 [file] [log] [blame]
Masahiro Yamadaed363232014-09-16 16:32:58 +09001#
2# Network configuration
3#
4
5menuconfig NET
6 bool "Networking support"
7
8if NET
9
Joe Hershbergerbef10142015-05-04 14:55:13 -050010config NET_RANDOM_ETHADDR
11 bool "Random ethaddr if unset"
12 help
13 Selecting this will allow the Ethernet interface to function
14 even when the ethaddr variable for that interface is unset.
15 A new MAC address will be generated on every boot and it will
16 not be added to the environment.
17
Bernhard Nortmann26660742015-09-14 15:29:46 +020018config NETCONSOLE
19 bool "NetConsole support"
20 help
21 Support the 'nc' input/output device for networked console.
22 See README.NetConsole for details.
23
Albert ARIBAUD \(3ADEV\)f5fb7342015-10-12 00:02:57 +020024config NET_TFTP_VARS
25 bool "Control TFTP timeout and count through environment"
26 default y
27 help
28 If set, allows controlling the TFTP timeout through the
29 environment variable tftptimeout, and the TFTP maximum
30 timeout count through the variable tftptimeoutcountmax.
31 If unset, timeout and maximum are hard-defined as 1 second
32 and 10 timouts per TFTP transfer.
33
Adam Fordd021e942018-02-06 07:58:59 -060034config BOOTP_BOOTPATH
35 bool "Enable BOOTP BOOTPATH"
36
37config BOOTP_DNS
38 bool "Enable bootp DNS"
39
40config BOOTP_GATEWAY
41 bool "Enable BOOTP gateway"
42
43config BOOTP_HOSTNAME
44 bool "Enable BOOTP hostname"
45
46config BOOTP_PXE
47 bool "Enable BOOTP PXE"
48
49config BOOTP_SUBNETMASK
50 bool "Enable BOOTP subnetmask"
51
Alexander Graf0dac6b42016-05-06 21:01:03 +020052config BOOTP_PXE_CLIENTARCH
53 hex
Alexander Graffa96f372016-05-06 21:01:04 +020054 default 0x16 if ARM64
55 default 0x15 if ARM
Alexander Graf0dac6b42016-05-06 21:01:03 +020056 default 0 if X86
57
58config BOOTP_VCI_STRING
59 string
60 default "U-Boot.armv7" if CPU_V7 || CPU_V7M
61 default "U-Boot.armv8" if ARM64
62 default "U-Boot.arm" if ARM
63 default "U-Boot"
64
Masahiro Yamadaed363232014-09-16 16:32:58 +090065endif # if NET