diff options
author | Michal Simek <michal.simek@xilinx.com> | 2018-02-26 16:01:02 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-02-27 16:25:30 -0500 |
commit | 3b3ea2c56ec4bc5588281fd103c744e608f8b25c (patch) | |
tree | 5c6d19993bdbd2676602444223011a0e29fb7e7e /include | |
parent | 4bafceff0e9e5a36908031e41c69a6b37e82da58 (diff) | |
download | u-boot-3b3ea2c56ec4bc5588281fd103c744e608f8b25c.tar.gz |
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.h | 3 | ||||
-rw-r--r-- | include/env_callback.h | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/include/configs/topic_miami.h b/include/configs/topic_miami.h index 400a7fc4a4..e32fab2513 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 5c4a30c2de..48da32a67b 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," \ |