aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMichal Simek2018-02-26 09:01:02 -0600
committerTom Rini2018-02-27 15:25:30 -0600
commit3b3ea2c56ec4bc5588281fd103c744e608f8b25c (patch)
tree5c6d19993bdbd2676602444223011a0e29fb7e7e /net
parent4bafceff0e9e5a36908031e41c69a6b37e82da58 (diff)
downloadu-boot-3b3ea2c56ec4bc5588281fd103c744e608f8b25c.tar.gz
u-boot-3b3ea2c56ec4bc5588281fd103c744e608f8b25c.tar.xz
u-boot-3b3ea2c56ec4bc5588281fd103c744e608f8b25c.zip
Kconfig: cmd: Make networking command dependent on NET
Enable networking command only when NET is enabled. And remove selecting NET for CMD_NET Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'net')
-rw-r--r--net/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/Kconfig b/net/Kconfig
index 184b7c15d4..143c4416cd 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -4,6 +4,7 @@
4 4
5menuconfig NET 5menuconfig NET
6 bool "Networking support" 6 bool "Networking support"
7 default y
7 8
8if NET 9if NET
9 10
@@ -23,6 +24,7 @@ config NETCONSOLE
23 24
24config NET_TFTP_VARS 25config NET_TFTP_VARS
25 bool "Control TFTP timeout and count through environment" 26 bool "Control TFTP timeout and count through environment"
27 depends on CMD_NET
26 default y 28 default y
27 help 29 help
28 If set, allows controlling the TFTP timeout through the 30 If set, allows controlling the TFTP timeout through the
@@ -33,30 +35,39 @@ config NET_TFTP_VARS
33 35
34config BOOTP_BOOTPATH 36config BOOTP_BOOTPATH
35 bool "Enable BOOTP BOOTPATH" 37 bool "Enable BOOTP BOOTPATH"
38 depends on CMD_NET
36 39
37config BOOTP_DNS 40config BOOTP_DNS
38 bool "Enable bootp DNS" 41 bool "Enable bootp DNS"
42 depends on CMD_NET
39 43
40config BOOTP_GATEWAY 44config BOOTP_GATEWAY
41 bool "Enable BOOTP gateway" 45 bool "Enable BOOTP gateway"
46 depends on CMD_NET
42 47
43config BOOTP_HOSTNAME 48config BOOTP_HOSTNAME
44 bool "Enable BOOTP hostname" 49 bool "Enable BOOTP hostname"
50 depends on CMD_NET
45 51
46config BOOTP_PXE 52config BOOTP_PXE
47 bool "Enable BOOTP PXE" 53 bool "Enable BOOTP PXE"
54 depends on CMD_NET
48 55
49config BOOTP_SUBNETMASK 56config BOOTP_SUBNETMASK
50 bool "Enable BOOTP subnetmask" 57 bool "Enable BOOTP subnetmask"
58 depends on CMD_NET
59 depends on CMD_NET
51 60
52config BOOTP_PXE_CLIENTARCH 61config BOOTP_PXE_CLIENTARCH
53 hex 62 hex
63 depends on CMD_NET
54 default 0x16 if ARM64 64 default 0x16 if ARM64
55 default 0x15 if ARM 65 default 0x15 if ARM
56 default 0 if X86 66 default 0 if X86
57 67
58config BOOTP_VCI_STRING 68config BOOTP_VCI_STRING
59 string 69 string
70 depends on CMD_NET
60 default "U-Boot.armv7" if CPU_V7 || CPU_V7M 71 default "U-Boot.armv7" if CPU_V7 || CPU_V7M
61 default "U-Boot.armv8" if ARM64 72 default "U-Boot.armv8" if ARM64
62 default "U-Boot.arm" if ARM 73 default "U-Boot.arm" if ARM