xref: /openbmc/u-boot/net/Kconfig (revision 03bf9d58)
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	select LIB_RAND
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	default y
28	help
29	  If set, allows controlling the TFTP timeout through the
30	  environment variable tftptimeout, and the TFTP maximum
31	  timeout count through the variable tftptimeoutcountmax.
32	  If unset, timeout and maximum are hard-defined as 1 second
33	  and 10 timouts per TFTP transfer.
34
35config BOOTP_PXE_CLIENTARCH
36	hex
37        default 0x16 if ARM64
38        default 0x15 if ARM
39        default 0 if X86
40
41config BOOTP_VCI_STRING
42	string
43	default "U-Boot.armv7" if CPU_V7 || CPU_V7M
44	default "U-Boot.armv8" if ARM64
45	default "U-Boot.arm" if ARM
46	default "U-Boot"
47
48endif   # if NET
49