From 3b3ea2c56ec4bc5588281fd103c744e608f8b25c Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Mon, 26 Feb 2018 16:01:02 +0100 Subject: 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 Signed-off-by: Tom Rini --- include/configs/topic_miami.h | 3 --- include/env_callback.h | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'include') diff --git a/include/configs/topic_miami.h b/include/configs/topic_miami.h index 400a7fc4a4d..e32fab25137 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 5c4a30c2dee..48da32a67b6 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," \ -- cgit v1.2.3