xref: /openbmc/u-boot/net/Kconfig (revision d6aed541)
1#
2# Network configuration
3#
4
5menuconfig NET
6	bool "Networking support"
7	default y
8
9if NET
10
11config 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
19config NETCONSOLE
20	bool "NetConsole support"
21	help
22	  Support the 'nc' input/output device for networked console.
23	  See README.NetConsole for details.
24
25config NET_TFTP_VARS
26	bool "Control TFTP timeout and count through environment"
27	depends on CMD_NET
28	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
36config BOOTP_BOOTPATH
37	bool "Enable BOOTP BOOTPATH"
38	depends on CMD_NET
39
40config BOOTP_DNS
41	bool "Enable bootp DNS"
42	depends on CMD_NET
43
44config BOOTP_GATEWAY
45	bool "Enable BOOTP gateway"
46	depends on CMD_NET
47
48config BOOTP_HOSTNAME
49	bool "Enable BOOTP hostname"
50	depends on CMD_NET
51
52config BOOTP_PXE
53	bool "Enable BOOTP PXE"
54	depends on CMD_NET
55
56config BOOTP_SUBNETMASK
57	bool "Enable BOOTP subnetmask"
58	depends on CMD_NET
59	depends on CMD_NET
60
61config BOOTP_PXE_CLIENTARCH
62	hex
63	depends on CMD_NET
64        default 0x16 if ARM64
65        default 0x15 if ARM
66        default 0 if X86
67
68config BOOTP_VCI_STRING
69	string
70	depends on CMD_NET
71	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
76endif   # if NET
77