xref: /OK3568_Linux_fs/u-boot/net/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun#
2*4882a593Smuzhiyun# Network configuration
3*4882a593Smuzhiyun#
4*4882a593Smuzhiyun
5*4882a593Smuzhiyunmenuconfig NET
6*4882a593Smuzhiyun	bool "Networking support"
7*4882a593Smuzhiyun
8*4882a593Smuzhiyunif NET
9*4882a593Smuzhiyun
10*4882a593Smuzhiyunconfig NET_RANDOM_ETHADDR
11*4882a593Smuzhiyun	bool "Random ethaddr if unset"
12*4882a593Smuzhiyun	imply LIB_RAND
13*4882a593Smuzhiyun	help
14*4882a593Smuzhiyun	  Selecting this will allow the Ethernet interface to function
15*4882a593Smuzhiyun	  even when the ethaddr variable for that interface is unset.
16*4882a593Smuzhiyun	  A new MAC address will be generated on every boot and it will
17*4882a593Smuzhiyun	  not be added to the environment.
18*4882a593Smuzhiyun
19*4882a593Smuzhiyunconfig NETCONSOLE
20*4882a593Smuzhiyun	bool "NetConsole support"
21*4882a593Smuzhiyun	help
22*4882a593Smuzhiyun	  Support the 'nc' input/output device for networked console.
23*4882a593Smuzhiyun	  See README.NetConsole for details.
24*4882a593Smuzhiyun
25*4882a593Smuzhiyunconfig NET_TFTP_VARS
26*4882a593Smuzhiyun	bool "Control TFTP timeout and count through environment"
27*4882a593Smuzhiyun	default y
28*4882a593Smuzhiyun	help
29*4882a593Smuzhiyun	  If set, allows controlling the TFTP timeout through the
30*4882a593Smuzhiyun	  environment variable tftptimeout, and the TFTP maximum
31*4882a593Smuzhiyun	  timeout count through the variable tftptimeoutcountmax.
32*4882a593Smuzhiyun	  If unset, timeout and maximum are hard-defined as 1 second
33*4882a593Smuzhiyun	  and 10 timouts per TFTP transfer.
34*4882a593Smuzhiyun
35*4882a593Smuzhiyunconfig BOOTP_PXE_CLIENTARCH
36*4882a593Smuzhiyun	hex
37*4882a593Smuzhiyun        default 0x16 if ARM64
38*4882a593Smuzhiyun        default 0x15 if ARM
39*4882a593Smuzhiyun        default 0 if X86
40*4882a593Smuzhiyun
41*4882a593Smuzhiyunconfig BOOTP_VCI_STRING
42*4882a593Smuzhiyun	string
43*4882a593Smuzhiyun	default "U-Boot.armv7" if CPU_V7 || CPU_V7M
44*4882a593Smuzhiyun	default "U-Boot.armv8" if ARM64
45*4882a593Smuzhiyun	default "U-Boot.arm" if ARM
46*4882a593Smuzhiyun	default "U-Boot"
47*4882a593Smuzhiyun
48*4882a593Smuzhiyunendif   # if NET
49