aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2018-02-26 16:01:02 +0100
committerTom Rini <trini@konsulko.com>2018-02-27 16:25:30 -0500
commit3b3ea2c56ec4bc5588281fd103c744e608f8b25c (patch)
tree5c6d19993bdbd2676602444223011a0e29fb7e7e /include
parent4bafceff0e9e5a36908031e41c69a6b37e82da58 (diff)
downloadu-boot-3b3ea2c56ec4bc5588281fd103c744e608f8b25c.zip
u-boot-3b3ea2c56ec4bc5588281fd103c744e608f8b25c.tar.gz
u-boot-3b3ea2c56ec4bc5588281fd103c744e608f8b25c.tar.bz2
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 'include')
-rw-r--r--include/configs/topic_miami.h3
-rw-r--r--include/env_callback.h2
2 files changed, 1 insertions, 4 deletions
diff --git a/include/configs/topic_miami.h b/include/configs/topic_miami.h
index 400a7fc..e32fab2 100644
--- a/include/configs/topic_miami.h
+++ b/include/configs/topic_miami.h
@@ -133,7 +133,4 @@
"fi; fi; run $modeboot"
#undef CONFIG_DISPLAY_BOARDINFO
-/* Further tweaks to reduce image size */
-#undef CONFIG_CMD_NET
-
#endif /* __CONFIG_TOPIC_MIAMI_H */
diff --git a/include/env_callback.h b/include/env_callback.h
index 5c4a30c..48da32a 100644
--- a/include/env_callback.h
+++ b/include/env_callback.h
@@ -45,7 +45,7 @@
#define DNS_CALLBACK
#endif
-#ifdef CONFIG_NET
+#ifdef CONFIG_CMD_NET
#define NET_CALLBACKS \
"bootfile:bootfile," \
"ipaddr:ipaddr," \