]> git.ipfire.org Git - people/ms/u-boot.git/blob - net/Kconfig
Convert CONFIG_BOOTP_BOOTPATH et al to Kconfig
[people/ms/u-boot.git] / net / Kconfig
1 #
2 # Network configuration
3 #
4
5 menuconfig NET
6 bool "Networking support"
7
8 if NET
9
10 config 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
18 config NETCONSOLE
19 bool "NetConsole support"
20 help
21 Support the 'nc' input/output device for networked console.
22 See README.NetConsole for details.
23
24 config 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
34 config BOOTP_BOOTPATH
35 bool "Enable BOOTP BOOTPATH"
36
37 config BOOTP_DNS
38 bool "Enable bootp DNS"
39
40 config BOOTP_GATEWAY
41 bool "Enable BOOTP gateway"
42
43 config BOOTP_HOSTNAME
44 bool "Enable BOOTP hostname"
45
46 config BOOTP_PXE
47 bool "Enable BOOTP PXE"
48
49 config BOOTP_SUBNETMASK
50 bool "Enable BOOTP subnetmask"
51
52 config BOOTP_PXE_CLIENTARCH
53 hex
54 default 0x16 if ARM64
55 default 0x15 if ARM
56 default 0 if X86
57
58 config 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
65 endif # if NET