summaryrefslogtreecommitdiff
path: root/net/Kconfig
blob: 184b7c15d460a7a4455c2e01398b519798bf3393 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#
# Network configuration
#

menuconfig NET
	bool "Networking support"

if NET

config NET_RANDOM_ETHADDR
	bool "Random ethaddr if unset"
	help
	  Selecting this will allow the Ethernet interface to function
	  even when the ethaddr variable for that interface is unset.
	  A new MAC address will be generated on every boot and it will
	  not be added to the environment.

config NETCONSOLE
	bool "NetConsole support"
	help
	  Support the 'nc' input/output device for networked console.
	  See README.NetConsole for details.

config NET_TFTP_VARS
	bool "Control TFTP timeout and count through environment"
	default y
	help
	  If set, allows controlling the TFTP timeout through the
	  environment variable tftptimeout, and the TFTP maximum
	  timeout count through the variable tftptimeoutcountmax.
	  If unset, timeout and maximum are hard-defined as 1 second
	  and 10 timouts per TFTP transfer.

config BOOTP_BOOTPATH
	bool "Enable BOOTP BOOTPATH"

config BOOTP_DNS
	bool "Enable bootp DNS"

config BOOTP_GATEWAY
	bool "Enable BOOTP gateway"

config BOOTP_HOSTNAME
	bool "Enable BOOTP hostname"

config BOOTP_PXE
	bool "Enable BOOTP PXE"

config BOOTP_SUBNETMASK
	bool "Enable BOOTP subnetmask"

config BOOTP_PXE_CLIENTARCH
	hex
        default 0x16 if ARM64
        default 0x15 if ARM
        default 0 if X86

config BOOTP_VCI_STRING
	string
	default "U-Boot.armv7" if CPU_V7 || CPU_V7M
	default "U-Boot.armv8" if ARM64
	default "U-Boot.arm" if ARM
	default "U-Boot"

endif   # if NET