summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Shadura <andrew.shadura@collabora.co.uk>2016-05-24 15:56:20 +0200
committerStefano Babic <sbabic@denx.de>2016-06-07 18:13:07 +0200
commitc26ffd9b3cc20143058bb8917a137f8a25249d9a (patch)
tree35bc5edff24650fc543c79efa87bb80e3e183f67
parentfc44902a0d447d561a6a30c8d3e3e1ecf535ff9d (diff)
downloadu-boot-imx-c26ffd9b3cc20143058bb8917a137f8a25249d9a.zip
u-boot-imx-c26ffd9b3cc20143058bb8917a137f8a25249d9a.tar.gz
u-boot-imx-c26ffd9b3cc20143058bb8917a137f8a25249d9a.tar.bz2
board: ge: bx50v3: make network support optional and disabled by default
The network support is only useful for development and shouldn't be enabled in production, so it has to be disabled in U-boot by default. Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk>
-rw-r--r--configs/ge_b450v3_defconfig4
-rw-r--r--configs/ge_b650v3_defconfig4
-rw-r--r--configs/ge_b850v3_defconfig4
-rw-r--r--include/configs/ge_bx50v3.h2
4 files changed, 5 insertions, 9 deletions
diff --git a/configs/ge_b450v3_defconfig b/configs/ge_b450v3_defconfig
index 98bf52e..a8628d2 100644
--- a/configs/ge_b450v3_defconfig
+++ b/configs/ge_b450v3_defconfig
@@ -9,9 +9,7 @@ CONFIG_CMD_MMC=y
CONFIG_CMD_SF=y
CONFIG_CMD_I2C=y
CONFIG_CMD_GPIO=y
-CONFIG_CMD_DHCP=y
-CONFIG_CMD_MII=y
-CONFIG_CMD_PING=y
+CONFIG_CMD_NET=n
CONFIG_CMD_CACHE=y
CONFIG_CMD_EXT2=y
CONFIG_CMD_EXT4=y
diff --git a/configs/ge_b650v3_defconfig b/configs/ge_b650v3_defconfig
index b66c98b..ce39521 100644
--- a/configs/ge_b650v3_defconfig
+++ b/configs/ge_b650v3_defconfig
@@ -9,9 +9,7 @@ CONFIG_CMD_MMC=y
CONFIG_CMD_SF=y
CONFIG_CMD_I2C=y
CONFIG_CMD_GPIO=y
-CONFIG_CMD_DHCP=y
-CONFIG_CMD_MII=y
-CONFIG_CMD_PING=y
+CONFIG_CMD_NET=n
CONFIG_CMD_CACHE=y
CONFIG_CMD_EXT2=y
CONFIG_CMD_EXT4=y
diff --git a/configs/ge_b850v3_defconfig b/configs/ge_b850v3_defconfig
index 1cd126a..d2f6f86 100644
--- a/configs/ge_b850v3_defconfig
+++ b/configs/ge_b850v3_defconfig
@@ -9,9 +9,7 @@ CONFIG_CMD_MMC=y
CONFIG_CMD_SF=y
CONFIG_CMD_I2C=y
CONFIG_CMD_GPIO=y
-CONFIG_CMD_DHCP=y
-CONFIG_CMD_MII=y
-CONFIG_CMD_PING=y
+CONFIG_CMD_NET=n
CONFIG_CMD_CACHE=y
CONFIG_CMD_EXT2=y
CONFIG_CMD_EXT4=y
diff --git a/include/configs/ge_bx50v3.h b/include/configs/ge_bx50v3.h
index 602763f..ccaa2b4 100644
--- a/include/configs/ge_bx50v3.h
+++ b/include/configs/ge_bx50v3.h
@@ -103,6 +103,7 @@
#endif
/* Networking Configs */
+#ifdef CONFIG_NET
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
@@ -111,6 +112,7 @@
#define CONFIG_FEC_MXC_PHYADDR 4
#define CONFIG_PHYLIB
#define CONFIG_PHY_ATHEROS
+#endif
/* Serial Flash */
#ifdef CONFIG_CMD_SF