xref: /openbmc/u-boot/net/Kconfig (revision bb4059a5)
1#
2# Network configuration
3#
4
5menuconfig NET
6	bool "Networking support"
7
8if NET
9
10config 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
18config NETCONSOLE
19	bool "NetConsole support"
20	help
21	  Support the 'nc' input/output device for networked console.
22	  See README.NetConsole for details.
23
24config 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
34config BOOTP_PXE_CLIENTARCH
35	hex
36        default 0x16 if ARM64
37        default 0x15 if ARM
38        default 0 if X86
39
40config BOOTP_VCI_STRING
41	string
42	default "U-Boot.armv7" if CPU_V7 || CPU_V7M
43	default "U-Boot.armv8" if ARM64
44	default "U-Boot.arm" if ARM
45	default "U-Boot"
46
47endif   # if NET
48