xref: /rk3399_rockchip-uboot/net/Kconfig (revision 61269371229b5981bc6e192da2bb53bab7324ba5)
1ed36323fSMasahiro Yamada#
2ed36323fSMasahiro Yamada# Network configuration
3ed36323fSMasahiro Yamada#
4ed36323fSMasahiro Yamada
5ed36323fSMasahiro Yamadamenuconfig NET
6ed36323fSMasahiro Yamada	bool "Networking support"
7ed36323fSMasahiro Yamada
8ed36323fSMasahiro Yamadaif NET
9ed36323fSMasahiro Yamada
10bef1014bSJoe Hershbergerconfig NET_RANDOM_ETHADDR
11bef1014bSJoe Hershberger	bool "Random ethaddr if unset"
12*61269371SJoseph Chen	imply LIB_RAND
13bef1014bSJoe Hershberger	help
14bef1014bSJoe Hershberger	  Selecting this will allow the Ethernet interface to function
15bef1014bSJoe Hershberger	  even when the ethaddr variable for that interface is unset.
16bef1014bSJoe Hershberger	  A new MAC address will be generated on every boot and it will
17bef1014bSJoe Hershberger	  not be added to the environment.
18bef1014bSJoe Hershberger
1926660748SBernhard Nortmannconfig NETCONSOLE
2026660748SBernhard Nortmann	bool "NetConsole support"
2126660748SBernhard Nortmann	help
2226660748SBernhard Nortmann	  Support the 'nc' input/output device for networked console.
2326660748SBernhard Nortmann	  See README.NetConsole for details.
2426660748SBernhard Nortmann
25f5fb7346SAlbert ARIBAUD \(3ADEV\)config NET_TFTP_VARS
26f5fb7346SAlbert ARIBAUD \(3ADEV\)	bool "Control TFTP timeout and count through environment"
27f5fb7346SAlbert ARIBAUD \(3ADEV\)	default y
28f5fb7346SAlbert ARIBAUD \(3ADEV\)	help
29f5fb7346SAlbert ARIBAUD \(3ADEV\)	  If set, allows controlling the TFTP timeout through the
30f5fb7346SAlbert ARIBAUD \(3ADEV\)	  environment variable tftptimeout, and the TFTP maximum
31f5fb7346SAlbert ARIBAUD \(3ADEV\)	  timeout count through the variable tftptimeoutcountmax.
32f5fb7346SAlbert ARIBAUD \(3ADEV\)	  If unset, timeout and maximum are hard-defined as 1 second
33f5fb7346SAlbert ARIBAUD \(3ADEV\)	  and 10 timouts per TFTP transfer.
34f5fb7346SAlbert ARIBAUD \(3ADEV\)
350dac6b4eSAlexander Grafconfig BOOTP_PXE_CLIENTARCH
360dac6b4eSAlexander Graf	hex
37fa96f37eSAlexander Graf        default 0x16 if ARM64
38fa96f37eSAlexander Graf        default 0x15 if ARM
390dac6b4eSAlexander Graf        default 0 if X86
400dac6b4eSAlexander Graf
410dac6b4eSAlexander Grafconfig BOOTP_VCI_STRING
420dac6b4eSAlexander Graf	string
430dac6b4eSAlexander Graf	default "U-Boot.armv7" if CPU_V7 || CPU_V7M
440dac6b4eSAlexander Graf	default "U-Boot.armv8" if ARM64
450dac6b4eSAlexander Graf	default "U-Boot.arm" if ARM
460dac6b4eSAlexander Graf	default "U-Boot"
470dac6b4eSAlexander Graf
48ed36323fSMasahiro Yamadaendif   # if NET
49