Masahiro Yamada | ed36323 | 2014-09-16 16:32:58 +0900 | [diff] [blame] | 1 | # |
| 2 | # Network configuration |
| 3 | # |
| 4 | |
| 5 | menuconfig NET |
| 6 | bool "Networking support" |
Michal Simek | 3b3ea2c | 2018-02-26 16:01:02 +0100 | [diff] [blame] | 7 | default y |
Masahiro Yamada | ed36323 | 2014-09-16 16:32:58 +0900 | [diff] [blame] | 8 | |
| 9 | if NET |
| 10 | |
Joe Hershberger | bef1014 | 2015-05-04 14:55:13 -0500 | [diff] [blame] | 11 | config NET_RANDOM_ETHADDR |
| 12 | bool "Random ethaddr if unset" |
| 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 | 2666074 | 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\) | f5fb734 | 2015-10-12 00:02:57 +0200 | [diff] [blame] | 25 | config NET_TFTP_VARS |
| 26 | bool "Control TFTP timeout and count through environment" |
Michal Simek | 3b3ea2c | 2018-02-26 16:01:02 +0100 | [diff] [blame] | 27 | depends on CMD_NET |
Albert ARIBAUD \(3ADEV\) | f5fb734 | 2015-10-12 00:02:57 +0200 | [diff] [blame] | 28 | default y |
| 29 | help |
| 30 | If set, allows controlling the TFTP timeout through the |
| 31 | environment variable tftptimeout, and the TFTP maximum |
| 32 | timeout count through the variable tftptimeoutcountmax. |
| 33 | If unset, timeout and maximum are hard-defined as 1 second |
| 34 | and 10 timouts per TFTP transfer. |
| 35 | |
Adam Ford | d021e94 | 2018-02-06 07:58:59 -0600 | [diff] [blame] | 36 | config BOOTP_BOOTPATH |
| 37 | bool "Enable BOOTP BOOTPATH" |
Michal Simek | 3b3ea2c | 2018-02-26 16:01:02 +0100 | [diff] [blame] | 38 | depends on CMD_NET |
Adam Ford | d021e94 | 2018-02-06 07:58:59 -0600 | [diff] [blame] | 39 | |
| 40 | config BOOTP_DNS |
| 41 | bool "Enable bootp DNS" |
Michal Simek | 3b3ea2c | 2018-02-26 16:01:02 +0100 | [diff] [blame] | 42 | depends on CMD_NET |
Adam Ford | d021e94 | 2018-02-06 07:58:59 -0600 | [diff] [blame] | 43 | |
| 44 | config BOOTP_GATEWAY |
| 45 | bool "Enable BOOTP gateway" |
Michal Simek | 3b3ea2c | 2018-02-26 16:01:02 +0100 | [diff] [blame] | 46 | depends on CMD_NET |
Adam Ford | d021e94 | 2018-02-06 07:58:59 -0600 | [diff] [blame] | 47 | |
| 48 | config BOOTP_HOSTNAME |
| 49 | bool "Enable BOOTP hostname" |
Michal Simek | 3b3ea2c | 2018-02-26 16:01:02 +0100 | [diff] [blame] | 50 | depends on CMD_NET |
Adam Ford | d021e94 | 2018-02-06 07:58:59 -0600 | [diff] [blame] | 51 | |
| 52 | config BOOTP_PXE |
| 53 | bool "Enable BOOTP PXE" |
Michal Simek | 3b3ea2c | 2018-02-26 16:01:02 +0100 | [diff] [blame] | 54 | depends on CMD_NET |
Adam Ford | d021e94 | 2018-02-06 07:58:59 -0600 | [diff] [blame] | 55 | |
| 56 | config BOOTP_SUBNETMASK |
| 57 | bool "Enable BOOTP subnetmask" |
Michal Simek | 3b3ea2c | 2018-02-26 16:01:02 +0100 | [diff] [blame] | 58 | depends on CMD_NET |
| 59 | depends on CMD_NET |
Adam Ford | d021e94 | 2018-02-06 07:58:59 -0600 | [diff] [blame] | 60 | |
Alexander Graf | 0dac6b4 | 2016-05-06 21:01:03 +0200 | [diff] [blame] | 61 | config BOOTP_PXE_CLIENTARCH |
| 62 | hex |
Michal Simek | 3b3ea2c | 2018-02-26 16:01:02 +0100 | [diff] [blame] | 63 | depends on CMD_NET |
Alexander Graf | fa96f37 | 2016-05-06 21:01:04 +0200 | [diff] [blame] | 64 | default 0x16 if ARM64 |
| 65 | default 0x15 if ARM |
Alexander Graf | 0dac6b4 | 2016-05-06 21:01:03 +0200 | [diff] [blame] | 66 | default 0 if X86 |
| 67 | |
| 68 | config BOOTP_VCI_STRING |
| 69 | string |
Michal Simek | 3b3ea2c | 2018-02-26 16:01:02 +0100 | [diff] [blame] | 70 | depends on CMD_NET |
Alexander Graf | 0dac6b4 | 2016-05-06 21:01:03 +0200 | [diff] [blame] | 71 | default "U-Boot.armv7" if CPU_V7 || CPU_V7M |
| 72 | default "U-Boot.armv8" if ARM64 |
| 73 | default "U-Boot.arm" if ARM |
| 74 | default "U-Boot" |
| 75 | |
Masahiro Yamada | ed36323 | 2014-09-16 16:32:58 +0900 | [diff] [blame] | 76 | endif # if NET |