Masahiro Yamada | f3e12b7 | 2014-09-16 16:32:58 +0900 | [diff] [blame] | 1 | # |
| 2 | # Network configuration |
| 3 | # |
| 4 | |
| 5 | menuconfig NET |
| 6 | bool "Networking support" |
| 7 | |
| 8 | if NET |
| 9 | |
Joe Hershberger | 2dc2b5d | 2015-05-04 14:55:13 -0500 | [diff] [blame] | 10 | config NET_RANDOM_ETHADDR |
| 11 | bool "Random ethaddr if unset" |
Michal Simek | 2c1b1db | 2015-05-25 11:37:22 +0200 | [diff] [blame] | 12 | select LIB_RAND |
Joe Hershberger | 2dc2b5d | 2015-05-04 14:55:13 -0500 | [diff] [blame] | 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 | |
Bernhard Nortmann | deea30d | 2015-09-14 15:29:46 +0200 | [diff] [blame] | 19 | config NETCONSOLE |
| 20 | bool "NetConsole support" |
| 21 | help |
| 22 | Support the 'nc' input/output device for networked console. |
| 23 | See README.NetConsole for details. |
| 24 | |
Albert ARIBAUD \(3ADEV\) | 8300685 | 2015-10-12 00:02:57 +0200 | [diff] [blame] | 25 | config 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 | |
Alexander Graf | 4c71c51 | 2016-05-06 21:01:03 +0200 | [diff] [blame] | 35 | config BOOTP_PXE_CLIENTARCH |
| 36 | hex |
Alexander Graf | 6b99b63 | 2016-05-06 21:01:04 +0200 | [diff] [blame] | 37 | default 0x16 if ARM64 |
| 38 | default 0x15 if ARM |
Alexander Graf | 4c71c51 | 2016-05-06 21:01:03 +0200 | [diff] [blame] | 39 | default 0 if X86 |
| 40 | |
| 41 | config 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 | |
Alexander Graf | 0a212be | 2016-05-06 21:01:05 +0200 | [diff] [blame] | 48 | config SPL_NET_VCI_STRING |
| 49 | string |
| 50 | |
Masahiro Yamada | f3e12b7 | 2014-09-16 16:32:58 +0900 | [diff] [blame] | 51 | endif # if NET |