summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/config_cmd_all.h2
-rw-r--r--include/config_cmd_default.h1
-rw-r--r--include/config_distro_defaults.h1
-rw-r--r--include/configs/B4860QDS.h2
-rw-r--r--include/configs/BSC9131RDB.h1
-rw-r--r--include/configs/BSC9132QDS.h2
-rw-r--r--include/configs/C29XPCIE.h2
-rw-r--r--include/configs/CPCI2DP.h1
-rw-r--r--include/configs/M5208EVBE.h1
-rw-r--r--include/configs/M52277EVB.h1
-rw-r--r--include/configs/M5235EVB.h1
-rw-r--r--include/configs/M5249EVB.h1
-rw-r--r--include/configs/M5253EVBE.h1
-rw-r--r--include/configs/M5272C3.h1
-rw-r--r--include/configs/M5275EVB.h1
-rw-r--r--include/configs/M5282EVB.h1
-rw-r--r--include/configs/M53017EVB.h1
-rw-r--r--include/configs/M5329EVB.h1
-rw-r--r--include/configs/M5373EVB.h1
-rw-r--r--include/configs/M54418TWR.h1
-rw-r--r--include/configs/M54451EVB.h1
-rw-r--r--include/configs/M54455EVB.h1
-rw-r--r--include/configs/M5475EVB.h1
-rw-r--r--include/configs/M5485EVB.h1
-rw-r--r--include/configs/MPC8308RDB.h1
-rw-r--r--include/configs/MPC8349ITX.h1
-rw-r--r--include/configs/MPC8536DS.h2
-rw-r--r--include/configs/MPC8540ADS.h1
-rw-r--r--include/configs/MPC8541CDS.h1
-rw-r--r--include/configs/MPC8544DS.h2
-rw-r--r--include/configs/MPC8548CDS.h1
-rw-r--r--include/configs/MPC8555CDS.h1
-rw-r--r--include/configs/MPC8560ADS.h1
-rw-r--r--include/configs/MPC8568MDS.h1
-rw-r--r--include/configs/MPC8569MDS.h1
-rw-r--r--include/configs/MPC8572DS.h2
-rw-r--r--include/configs/MPC8610HPCD.h1
-rw-r--r--include/configs/MigoR.h1
-rw-r--r--include/configs/P1010RDB.h2
-rw-r--r--include/configs/P1022DS.h2
-rw-r--r--include/configs/P1023RDB.h2
-rw-r--r--include/configs/P2041RDB.h2
-rw-r--r--include/configs/PMC440.h1
-rw-r--r--include/configs/T102xQDS.h2
-rw-r--r--include/configs/T102xRDB.h2
-rw-r--r--include/configs/T1040QDS.h2
-rw-r--r--include/configs/T104xRDB.h2
-rw-r--r--include/configs/T208xQDS.h2
-rw-r--r--include/configs/T208xRDB.h2
-rw-r--r--include/configs/T4240RDB.h2
-rw-r--r--include/configs/UCP1020.h2
-rw-r--r--include/configs/a3m071.h1
-rw-r--r--include/configs/alpr.h1
-rw-r--r--include/configs/am3517_crane.h1
-rw-r--r--include/configs/am43xx_evm.h1
-rw-r--r--include/configs/amcc-common.h2
-rw-r--r--include/configs/amcore.h1
-rw-r--r--include/configs/ap325rxa.h1
-rw-r--r--include/configs/ap_sh4a_4a.h1
-rw-r--r--include/configs/apalis_t30.h2
-rw-r--r--include/configs/apf27.h1
-rw-r--r--include/configs/apx4devkit.h1
-rw-r--r--include/configs/aristainetos-common.h2
-rw-r--r--include/configs/armadillo-800eva.h1
-rw-r--r--include/configs/aspenite.h1
-rw-r--r--include/configs/astro_mcf5373l.h1
-rw-r--r--include/configs/at91-sama5_common.h1
-rw-r--r--include/configs/at91sam9rlek.h1
-rw-r--r--include/configs/atstk1003.h1
-rw-r--r--include/configs/atstk1004.h1
-rw-r--r--include/configs/balloon3.h1
-rw-r--r--include/configs/bcm28155_ap.h1
-rw-r--r--include/configs/bct-brettl2.h1
-rw-r--r--include/configs/beagle_x15.h1
-rw-r--r--include/configs/beaver.h1
-rw-r--r--include/configs/bf518f-ezbrd.h1
-rw-r--r--include/configs/bf525-ucr2.h1
-rw-r--r--include/configs/bf526-ezbrd.h1
-rw-r--r--include/configs/bf527-ezkit.h1
-rw-r--r--include/configs/bf537-minotaur.h2
-rw-r--r--include/configs/bf537-pnav.h1
-rw-r--r--include/configs/bf537-srv1.h2
-rw-r--r--include/configs/bf537-stamp.h1
-rw-r--r--include/configs/bf561-acvilon.h1
-rw-r--r--include/configs/bf609-ezkit.h1
-rw-r--r--include/configs/bfin_adi_common.h2
-rw-r--r--include/configs/bg0900.h2
-rw-r--r--include/configs/blackstamp.h1
-rw-r--r--include/configs/bur_am335x_common.h1
-rw-r--r--include/configs/calimain.h1
-rw-r--r--include/configs/cardhu.h1
-rw-r--r--include/configs/cm-bf527.h1
-rw-r--r--include/configs/cm-bf537e.h1
-rw-r--r--include/configs/cm-bf537u.h1
-rw-r--r--include/configs/cm_t54.h1
-rw-r--r--include/configs/cmi_mpc5xx.h1
-rw-r--r--include/configs/colibri_pxa270.h1
-rw-r--r--include/configs/colibri_t20.h2
-rw-r--r--include/configs/colibri_t30.h2
-rw-r--r--include/configs/colibri_vf.h1
-rw-r--r--include/configs/controlcenterd.h2
-rw-r--r--include/configs/corenet_ds.h2
-rw-r--r--include/configs/da830evm.h1
-rw-r--r--include/configs/da850evm.h1
-rw-r--r--include/configs/dalmore.h1
-rw-r--r--include/configs/davinci_dm6467evm.h1
-rw-r--r--include/configs/dbau1x00.h1
-rw-r--r--include/configs/dig297.h1
-rw-r--r--include/configs/dnp5370.h2
-rw-r--r--include/configs/dra7xx_evm.h1
-rw-r--r--include/configs/duovero.h1
-rw-r--r--include/configs/ea20.h1
-rw-r--r--include/configs/eb_cpu5282.h1
-rw-r--r--include/configs/ecovec.h1
-rw-r--r--include/configs/embestmx6boards.h1
-rw-r--r--include/configs/enbw_cmc.h1
-rw-r--r--include/configs/espt.h1
-rw-r--r--include/configs/ethernut5.h1
-rw-r--r--include/configs/exynos4-common.h2
-rw-r--r--include/configs/flea3.h1
-rw-r--r--include/configs/fx12mm.h1
-rw-r--r--include/configs/gr_ep2s60.h1
-rw-r--r--include/configs/grsim.h1
-rw-r--r--include/configs/gw_ventana.h2
-rw-r--r--include/configs/h2200.h1
-rw-r--r--include/configs/harmony.h1
-rw-r--r--include/configs/hrcon.h1
-rw-r--r--include/configs/ip04.h1
-rw-r--r--include/configs/ipam390.h1
-rw-r--r--include/configs/jetson-tk1.h1
-rw-r--r--include/configs/jornada.h1
-rw-r--r--include/configs/km/keymile-common.h1
-rw-r--r--include/configs/km/kmp204x-common.h1
-rw-r--r--include/configs/lp8x4x.h1
-rw-r--r--include/configs/ls1021aqds.h2
-rw-r--r--include/configs/ls1021atwr.h2
-rw-r--r--include/configs/ls2085a_common.h1
-rw-r--r--include/configs/ls2085aqds.h1
-rw-r--r--include/configs/ls2085ardb.h1
-rw-r--r--include/configs/lsxl.h1
-rw-r--r--include/configs/lwmon5.h1
-rw-r--r--include/configs/m28evk.h2
-rw-r--r--include/configs/m53evk.h2
-rw-r--r--include/configs/mcx.h1
-rw-r--r--include/configs/medcom-wide.h1
-rw-r--r--include/configs/microblaze-generic.h1
-rw-r--r--include/configs/mimc200.h1
-rw-r--r--include/configs/motionpro.h1
-rw-r--r--include/configs/mpc8308_p1m.h1
-rw-r--r--include/configs/ms7722se.h1
-rw-r--r--include/configs/munices.h1
-rw-r--r--include/configs/mx23_olinuxino.h1
-rw-r--r--include/configs/mx23evk.h1
-rw-r--r--include/configs/mx25pdk.h2
-rw-r--r--include/configs/mx28evk.h2
-rw-r--r--include/configs/mx35pdk.h1
-rw-r--r--include/configs/mx51_efikamx.h1
-rw-r--r--include/configs/mx51evk.h1
-rw-r--r--include/configs/mx53ard.h2
-rw-r--r--include/configs/mx53evk.h1
-rw-r--r--include/configs/mx53loco.h1
-rw-r--r--include/configs/mx53smd.h1
-rw-r--r--include/configs/mx6cuboxi.h2
-rw-r--r--include/configs/mx6qarm2.h1
-rw-r--r--include/configs/mx6sabre_common.h2
-rw-r--r--include/configs/mx6slevk.h1
-rw-r--r--include/configs/mx6sxsabresd.h1
-rw-r--r--include/configs/nhk8815.h1
-rw-r--r--include/configs/nitrogen6x.h2
-rw-r--r--include/configs/nokia_rx51.h1
-rw-r--r--include/configs/novena.h2
-rw-r--r--include/configs/nyan-big.h1
-rw-r--r--include/configs/odroid.h1
-rw-r--r--include/configs/omap3_beagle.h1
-rw-r--r--include/configs/omap3_cairo.h2
-rw-r--r--include/configs/omap3_evm_quick_mmc.h1
-rw-r--r--include/configs/omap3_evm_quick_nand.h1
-rw-r--r--include/configs/omap3_igep00x0.h1
-rw-r--r--include/configs/omap3_logic.h2
-rw-r--r--include/configs/omap3_mvblx.h1
-rw-r--r--include/configs/omap3_pandora.h1
-rw-r--r--include/configs/omap3_sdp3430.h1
-rw-r--r--include/configs/omap3_zoom1.h1
-rw-r--r--include/configs/omap4_panda.h1
-rw-r--r--include/configs/omap5_uevm.h1
-rw-r--r--include/configs/omapl138_lcdk.h1
-rw-r--r--include/configs/origen.h1
-rw-r--r--include/configs/ot1200.h2
-rw-r--r--include/configs/p1_p2_rdb_pc.h2
-rw-r--r--include/configs/p1_twr.h2
-rw-r--r--include/configs/p3p440.h1
-rw-r--r--include/configs/palmld.h1
-rw-r--r--include/configs/palmtc.h1
-rw-r--r--include/configs/palmtreo680.h1
-rw-r--r--include/configs/paz00.h1
-rw-r--r--include/configs/pcs440ep.h1
-rw-r--r--include/configs/platinum.h1
-rw-r--r--include/configs/plutux.h1
-rw-r--r--include/configs/qemu-ppce500.h2
-rw-r--r--include/configs/qong.h2
-rw-r--r--include/configs/r0p7734.h1
-rw-r--r--include/configs/r2dplus.h1
-rw-r--r--include/configs/r7780mp.h1
-rw-r--r--include/configs/rcar-gen2-common.h1
-rw-r--r--include/configs/rsk7203.h1
-rw-r--r--include/configs/s5p_goni.h1
-rw-r--r--include/configs/sc_sps_1.h2
-rw-r--r--include/configs/scb9328.h1
-rw-r--r--include/configs/seaboard.h1
-rw-r--r--include/configs/secomx6quq7.h2
-rw-r--r--include/configs/sh7752evb.h1
-rw-r--r--include/configs/sh7753evb.h1
-rw-r--r--include/configs/sh7757lcr.h1
-rw-r--r--include/configs/sh7763rdp.h1
-rw-r--r--include/configs/sh7785lcr.h1
-rw-r--r--include/configs/shmin.h1
-rw-r--r--include/configs/siemens-am33x-common.h1
-rw-r--r--include/configs/smdkv310.h1
-rw-r--r--include/configs/socfpga_arria5.h2
-rw-r--r--include/configs/socfpga_cyclone5.h2
-rw-r--r--include/configs/spear-common.h1
-rw-r--r--include/configs/stamp9g20.h1
-rw-r--r--include/configs/stv0991.h1
-rw-r--r--include/configs/sunxi-common.h1
-rw-r--r--include/configs/t4qds.h2
-rw-r--r--include/configs/tam3517-common.h1
-rw-r--r--include/configs/tbs2910.h2
-rw-r--r--include/configs/tcm-bf518.h1
-rw-r--r--include/configs/tcm-bf537.h1
-rw-r--r--include/configs/tec-ng.h1
-rw-r--r--include/configs/tec.h1
-rw-r--r--include/configs/tegra-common.h1
-rw-r--r--include/configs/ti814x_evm.h1
-rw-r--r--include/configs/ti_am335x_common.h1
-rw-r--r--include/configs/ti_omap4_common.h1
-rw-r--r--include/configs/ti_omap5_common.h1
-rw-r--r--include/configs/titanium.h1
-rw-r--r--include/configs/tqma6.h2
-rw-r--r--include/configs/tricorder.h1
-rw-r--r--include/configs/trimslice.h1
-rw-r--r--include/configs/tx25.h1
-rw-r--r--include/configs/udoo.h2
-rw-r--r--include/configs/uniphier.h2
-rw-r--r--include/configs/vct.h2
-rw-r--r--include/configs/venice2.h1
-rw-r--r--include/configs/ventana.h1
-rw-r--r--include/configs/versatile.h1
-rw-r--r--include/configs/vexpress_aemv8a.h1
-rw-r--r--include/configs/vexpress_common.h1
-rw-r--r--include/configs/vf610twr.h1
-rw-r--r--include/configs/vision2.h1
-rw-r--r--include/configs/vpac270.h1
-rw-r--r--include/configs/wandboard.h2
-rw-r--r--include/configs/warp.h1
-rw-r--r--include/configs/whistler.h1
-rw-r--r--include/configs/woodburn_common.h1
-rw-r--r--include/configs/x600.h1
-rw-r--r--include/configs/x86-common.h1
-rw-r--r--include/configs/xilinx-ppc.h1
-rw-r--r--include/configs/xpedite1000.h1
-rw-r--r--include/configs/xpedite517x.h1
-rw-r--r--include/configs/xpedite520x.h1
-rw-r--r--include/configs/xpedite537x.h1
-rw-r--r--include/configs/xpedite550x.h1
-rw-r--r--include/configs/zeus.h1
-rw-r--r--include/configs/zipitz2.h1
-rw-r--r--include/configs/zmx25.h1
267 files changed, 1 insertions, 328 deletions
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index 2c2a05bce1..4d9f63d471 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -66,7 +66,6 @@
#define CONFIG_CMD_MMC /* MMC support */
#define CONFIG_CMD_MTDPARTS /* mtd parts support */
#define CONFIG_CMD_NAND /* NAND support */
-#define CONFIG_CMD_NET /* bootp, tftpboot, rarpboot */
#define CONFIG_CMD_NFS /* NFS support */
#define CONFIG_CMD_ONENAND /* OneNAND support */
#define CONFIG_CMD_PCI /* pciinfo */
@@ -83,7 +82,6 @@
#define CONFIG_CMD_SAVES /* save S record dump */
#define CONFIG_CMD_SCSI /* SCSI Support */
#define CONFIG_CMD_SDRAM /* SDRAM DIMM SPD info printout */
-#define CONFIG_CMD_SETEXPR /* setexpr support */
#define CONFIG_CMD_SETGETDCR /* DCR support on 4xx */
#define CONFIG_CMD_SNTP /* SNTP support */
#define CONFIG_CMD_SOURCE /* "source" command support */
diff --git a/include/config_cmd_default.h b/include/config_cmd_default.h
index e79a13be8b..b915c2f2b3 100644
--- a/include/config_cmd_default.h
+++ b/include/config_cmd_default.h
@@ -33,7 +33,6 @@
#define CONFIG_CMD_LOADS /* loads */
#define CONFIG_CMD_MEMORY /* md mm nm mw cp cmp crc base loop */
#define CONFIG_CMD_MISC /* Misc functions like sleep etc*/
-#define CONFIG_CMD_NET /* bootp, tftpboot, rarpboot */
#define CONFIG_CMD_NFS /* NFS support */
#define CONFIG_CMD_RUN /* run command in env variable */
#define CONFIG_CMD_SAVEENV /* saveenv */
diff --git a/include/config_distro_defaults.h b/include/config_distro_defaults.h
index 5eea5cf900..bd8fbcafc2 100644
--- a/include/config_distro_defaults.h
+++ b/include/config_distro_defaults.h
@@ -49,7 +49,6 @@
#define CONFIG_CMD_FAT
#define CONFIG_CMD_FS_GENERIC
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_PXE
diff --git a/include/configs/B4860QDS.h b/include/configs/B4860QDS.h
index dca1ca5abd..82b7ba6d6d 100644
--- a/include/configs/B4860QDS.h
+++ b/include/configs/B4860QDS.h
@@ -770,11 +770,9 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_CMD_MII
#define CONFIG_CMD_PING
#define CONFIG_CMD_REGINFO
-#define CONFIG_CMD_SETEXPR
#ifdef CONFIG_PCI
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_NET
#endif
/* Hash command with SHA acceleration supported in hardware */
diff --git a/include/configs/BSC9131RDB.h b/include/configs/BSC9131RDB.h
index 047ed8b1bb..ec4979634a 100644
--- a/include/configs/BSC9131RDB.h
+++ b/include/configs/BSC9131RDB.h
@@ -353,7 +353,6 @@ extern unsigned long get_sdram_size(void);
#define CONFIG_DOS_PARTITION
#define CONFIG_CMD_PING
#define CONFIG_CMD_REGINFO
-#define CONFIG_CMD_SETEXPR
/*
* Miscellaneous configurable options
diff --git a/include/configs/BSC9132QDS.h b/include/configs/BSC9132QDS.h
index ceee0e4d49..65a7067a03 100644
--- a/include/configs/BSC9132QDS.h
+++ b/include/configs/BSC9132QDS.h
@@ -92,7 +92,6 @@
#define CONFIG_FSL_PCIE_RESET /* need PCIe reset errata */
#define CONFIG_SYS_PCI_64BIT /* enable 64-bit PCI resources */
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PCI
#define CONFIG_E1000 /* E1000 pci Ethernet card*/
@@ -592,7 +591,6 @@ combinations. this should be removed later
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_MII
#define CONFIG_CMD_PING
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_REGINFO
#if defined(CONFIG_MMC) || defined(CONFIG_USB_EHCI)
diff --git a/include/configs/C29XPCIE.h b/include/configs/C29XPCIE.h
index 7c45c3617a..dc3efbaa6c 100644
--- a/include/configs/C29XPCIE.h
+++ b/include/configs/C29XPCIE.h
@@ -99,7 +99,6 @@
#define CONFIG_FSL_PCIE_RESET /* need PCIe reset errata */
#define CONFIG_SYS_PCI_64BIT /* enable 64-bit PCI resources */
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PCI
#define CONFIG_E1000
@@ -505,7 +504,6 @@
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_MII
#define CONFIG_CMD_PING
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_REGINFO
/* Hash command with SHA acceleration supported in hardware */
diff --git a/include/configs/CPCI2DP.h b/include/configs/CPCI2DP.h
index 845ed81a46..3ccb9a725c 100644
--- a/include/configs/CPCI2DP.h
+++ b/include/configs/CPCI2DP.h
@@ -62,7 +62,6 @@
#define CONFIG_CMD_BSP
#define CONFIG_CMD_EEPROM
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
#undef CONFIG_WATCHDOG /* watchdog disabled */
diff --git a/include/configs/M5208EVBE.h b/include/configs/M5208EVBE.h
index d0f4d758b7..03fa5e68f1 100644
--- a/include/configs/M5208EVBE.h
+++ b/include/configs/M5208EVBE.h
@@ -31,7 +31,6 @@
#define CONFIG_CMD_MEMORY
#define CONFIG_CMD_MISC
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/M52277EVB.h b/include/configs/M52277EVB.h
index ce33ba429f..04e52f22f8 100644
--- a/include/configs/M52277EVB.h
+++ b/include/configs/M52277EVB.h
@@ -49,7 +49,6 @@
#define CONFIG_CMD_LOADS
#define CONFIG_CMD_MEMORY
#define CONFIG_CMD_MISC
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
#define CONFIG_CMD_REGINFO
#undef CONFIG_CMD_USB
diff --git a/include/configs/M5235EVB.h b/include/configs/M5235EVB.h
index a76632494c..8bf4e5318f 100644
--- a/include/configs/M5235EVB.h
+++ b/include/configs/M5235EVB.h
@@ -46,7 +46,6 @@
#define CONFIG_CMD_MEMORY
#define CONFIG_CMD_MISC
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PCI
#define CONFIG_CMD_PING
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/M5249EVB.h b/include/configs/M5249EVB.h
index 6167ea1ed5..b4fa5afe9b 100644
--- a/include/configs/M5249EVB.h
+++ b/include/configs/M5249EVB.h
@@ -41,7 +41,6 @@
*/
#include <config_cmd_default.h>
#define CONFIG_CMD_CACHE
-#undef CONFIG_CMD_NET
#define CONFIG_SYS_LONGHELP /* undef to save memory */
diff --git a/include/configs/M5253EVBE.h b/include/configs/M5253EVBE.h
index 64dc64de2b..0bfa946cde 100644
--- a/include/configs/M5253EVBE.h
+++ b/include/configs/M5253EVBE.h
@@ -51,7 +51,6 @@
*/
#include <config_cmd_default.h>
#define CONFIG_CMD_CACHE
-#undef CONFIG_CMD_NET
#define CONFIG_CMD_LOADB
#define CONFIG_CMD_LOADS
#define CONFIG_CMD_EXT2
diff --git a/include/configs/M5272C3.h b/include/configs/M5272C3.h
index 9946108c12..f5cd0a0d11 100644
--- a/include/configs/M5272C3.h
+++ b/include/configs/M5272C3.h
@@ -60,7 +60,6 @@
#define CONFIG_CMD_CACHE
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_MISC
#define CONFIG_CMD_ELF
diff --git a/include/configs/M5275EVB.h b/include/configs/M5275EVB.h
index 14ccddb28d..3660dda5a8 100644
--- a/include/configs/M5275EVB.h
+++ b/include/configs/M5275EVB.h
@@ -60,7 +60,6 @@
#define CONFIG_CMD_CACHE
#define CONFIG_CMD_PING
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_ELF
#define CONFIG_CMD_FLASH
#define CONFIG_CMD_I2C
diff --git a/include/configs/M5282EVB.h b/include/configs/M5282EVB.h
index 4d3390b1f0..aeba9c0f02 100644
--- a/include/configs/M5282EVB.h
+++ b/include/configs/M5282EVB.h
@@ -49,7 +49,6 @@
*/
#include <config_cmd_default.h>
#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_MII
diff --git a/include/configs/M53017EVB.h b/include/configs/M53017EVB.h
index e2dd8e5555..65adadc69d 100644
--- a/include/configs/M53017EVB.h
+++ b/include/configs/M53017EVB.h
@@ -37,7 +37,6 @@
#define CONFIG_CMD_MEMORY
#define CONFIG_CMD_MISC
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/M5329EVB.h b/include/configs/M5329EVB.h
index 5a7597c239..16ef80b2aa 100644
--- a/include/configs/M5329EVB.h
+++ b/include/configs/M5329EVB.h
@@ -37,7 +37,6 @@
#define CONFIG_CMD_MEMORY
#define CONFIG_CMD_MISC
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/M5373EVB.h b/include/configs/M5373EVB.h
index 7550c571b8..e3c36a65f5 100644
--- a/include/configs/M5373EVB.h
+++ b/include/configs/M5373EVB.h
@@ -37,7 +37,6 @@
#define CONFIG_CMD_MEMORY
#define CONFIG_CMD_MISC
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/M54418TWR.h b/include/configs/M54418TWR.h
index 25b3cdac42..b59ecbb95a 100644
--- a/include/configs/M54418TWR.h
+++ b/include/configs/M54418TWR.h
@@ -53,7 +53,6 @@
#define CONFIG_CMD_MISC
#define CONFIG_CMD_MII
#undef CONFIG_CMD_NAND
-#define CONFIG_CMD_NET
#define CONFIG_CMD_NFS
#define CONFIG_CMD_PING
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/M54451EVB.h b/include/configs/M54451EVB.h
index f3cade380e..d26ad9125c 100644
--- a/include/configs/M54451EVB.h
+++ b/include/configs/M54451EVB.h
@@ -52,7 +52,6 @@
#define CONFIG_CMD_MEMORY
#define CONFIG_CMD_MISC
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_NFS
#define CONFIG_CMD_PING
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/M54455EVB.h b/include/configs/M54455EVB.h
index b708001251..b735a26f0c 100644
--- a/include/configs/M54455EVB.h
+++ b/include/configs/M54455EVB.h
@@ -55,7 +55,6 @@
#define CONFIG_CMD_MEMORY
#define CONFIG_CMD_MISC
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#undef CONFIG_CMD_PCI
#define CONFIG_CMD_PING
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/M5475EVB.h b/include/configs/M5475EVB.h
index 658c170c92..427ccf03c3 100644
--- a/include/configs/M5475EVB.h
+++ b/include/configs/M5475EVB.h
@@ -39,7 +39,6 @@
#define CONFIG_CMD_MEMORY
#define CONFIG_CMD_MISC
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PCI
#define CONFIG_CMD_PING
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/M5485EVB.h b/include/configs/M5485EVB.h
index efb64a14ce..26a16eca03 100644
--- a/include/configs/M5485EVB.h
+++ b/include/configs/M5485EVB.h
@@ -39,7 +39,6 @@
#define CONFIG_CMD_MEMORY
#define CONFIG_CMD_MISC
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PCI
#define CONFIG_CMD_PING
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/MPC8308RDB.h b/include/configs/MPC8308RDB.h
index 1ab23796cf..9b196ad2e4 100644
--- a/include/configs/MPC8308RDB.h
+++ b/include/configs/MPC8308RDB.h
@@ -453,7 +453,6 @@
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_I2C
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PCI
#define CONFIG_CMD_PING
diff --git a/include/configs/MPC8349ITX.h b/include/configs/MPC8349ITX.h
index 245712504c..720406821b 100644
--- a/include/configs/MPC8349ITX.h
+++ b/include/configs/MPC8349ITX.h
@@ -501,7 +501,6 @@ boards, we say we have two, but don't display a message if we find only one. */
#define CONFIG_CMD_CACHE
#define CONFIG_CMD_DATE
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_SDRAM
diff --git a/include/configs/MPC8536DS.h b/include/configs/MPC8536DS.h
index d41eeb59b6..f57afff3c4 100644
--- a/include/configs/MPC8536DS.h
+++ b/include/configs/MPC8536DS.h
@@ -644,12 +644,10 @@
#define CONFIG_CMD_MII
#define CONFIG_CMD_ELF
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_REGINFO
#if defined(CONFIG_PCI)
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_NET
#endif
#undef CONFIG_WATCHDOG /* watchdog disabled */
diff --git a/include/configs/MPC8540ADS.h b/include/configs/MPC8540ADS.h
index b388168a11..ff9a67de57 100644
--- a/include/configs/MPC8540ADS.h
+++ b/include/configs/MPC8540ADS.h
@@ -354,7 +354,6 @@
#define CONFIG_CMD_I2C
#define CONFIG_CMD_ELF
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_SETEXPR
#if defined(CONFIG_PCI)
#define CONFIG_CMD_PCI
diff --git a/include/configs/MPC8541CDS.h b/include/configs/MPC8541CDS.h
index 609c5bb3be..6b7f78403b 100644
--- a/include/configs/MPC8541CDS.h
+++ b/include/configs/MPC8541CDS.h
@@ -373,7 +373,6 @@ extern unsigned long get_clock_freq(void);
#define CONFIG_CMD_MII
#define CONFIG_CMD_ELF
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_REGINFO
#if defined(CONFIG_PCI)
diff --git a/include/configs/MPC8544DS.h b/include/configs/MPC8544DS.h
index 479589e385..ad2c52cb36 100644
--- a/include/configs/MPC8544DS.h
+++ b/include/configs/MPC8544DS.h
@@ -389,12 +389,10 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
#define CONFIG_CMD_MII
#define CONFIG_CMD_ELF
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_REGINFO
#if defined(CONFIG_PCI)
#define CONFIG_CMD_PCI
- #define CONFIG_CMD_NET
#define CONFIG_CMD_SCSI
#define CONFIG_CMD_EXT2
#endif
diff --git a/include/configs/MPC8548CDS.h b/include/configs/MPC8548CDS.h
index fb28512340..f49b1e5745 100644
--- a/include/configs/MPC8548CDS.h
+++ b/include/configs/MPC8548CDS.h
@@ -498,7 +498,6 @@ extern unsigned long get_clock_freq(void);
#define CONFIG_CMD_MII
#define CONFIG_CMD_ELF
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_REGINFO
#if defined(CONFIG_PCI)
diff --git a/include/configs/MPC8555CDS.h b/include/configs/MPC8555CDS.h
index 48b55b59e3..15b6e6c709 100644
--- a/include/configs/MPC8555CDS.h
+++ b/include/configs/MPC8555CDS.h
@@ -371,7 +371,6 @@ extern unsigned long get_clock_freq(void);
#define CONFIG_CMD_MII
#define CONFIG_CMD_ELF
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_REGINFO
#if defined(CONFIG_PCI)
diff --git a/include/configs/MPC8560ADS.h b/include/configs/MPC8560ADS.h
index 92f0b7fe30..2250c2fe01 100644
--- a/include/configs/MPC8560ADS.h
+++ b/include/configs/MPC8560ADS.h
@@ -390,7 +390,6 @@
#define CONFIG_CMD_I2C
#define CONFIG_CMD_ELF
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_REGINFO
#if defined(CONFIG_PCI)
diff --git a/include/configs/MPC8568MDS.h b/include/configs/MPC8568MDS.h
index 57fc37b9bc..91bf267165 100644
--- a/include/configs/MPC8568MDS.h
+++ b/include/configs/MPC8568MDS.h
@@ -393,7 +393,6 @@ extern unsigned long get_clock_freq(void);
#define CONFIG_CMD_MII
#define CONFIG_CMD_ELF
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_REGINFO
#if defined(CONFIG_PCI)
diff --git a/include/configs/MPC8569MDS.h b/include/configs/MPC8569MDS.h
index e624c717ff..4cb586d43c 100644
--- a/include/configs/MPC8569MDS.h
+++ b/include/configs/MPC8569MDS.h
@@ -484,7 +484,6 @@ extern unsigned long get_clock_freq(void);
#define CONFIG_CMD_MII
#define CONFIG_CMD_ELF
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_REGINFO
#if defined(CONFIG_PCI)
diff --git a/include/configs/MPC8572DS.h b/include/configs/MPC8572DS.h
index 7b3ddbadf2..943c575e50 100644
--- a/include/configs/MPC8572DS.h
+++ b/include/configs/MPC8572DS.h
@@ -601,12 +601,10 @@
#define CONFIG_CMD_I2C
#define CONFIG_CMD_MII
#define CONFIG_CMD_ELF
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_REGINFO
#if defined(CONFIG_PCI)
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_NET
#define CONFIG_CMD_SCSI
#define CONFIG_CMD_EXT2
#endif
diff --git a/include/configs/MPC8610HPCD.h b/include/configs/MPC8610HPCD.h
index cae133bf58..4b99fc3632 100644
--- a/include/configs/MPC8610HPCD.h
+++ b/include/configs/MPC8610HPCD.h
@@ -294,7 +294,6 @@
#define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
-#define CONFIG_CMD_NET
#define CONFIG_PCI_PNP /* do pci plug-and-play */
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/MigoR.h b/include/configs/MigoR.h
index 88df94f112..d10bd2a985 100644
--- a/include/configs/MigoR.h
+++ b/include/configs/MigoR.h
@@ -17,7 +17,6 @@
#define CONFIG_CMD_LOADS
#define CONFIG_CMD_FLASH
#define CONFIG_CMD_MEMORY
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_NFS
#define CONFIG_CMD_SDRAM
diff --git a/include/configs/P1010RDB.h b/include/configs/P1010RDB.h
index ccf3ce3bac..37bb42b28f 100644
--- a/include/configs/P1010RDB.h
+++ b/include/configs/P1010RDB.h
@@ -184,7 +184,6 @@
#define CONFIG_FSL_PCIE_RESET /* need PCIe reset errata */
#define CONFIG_SYS_PCI_64BIT /* enable 64-bit PCI resources */
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PCI
#define CONFIG_E1000 /* E1000 pci Ethernet card*/
@@ -822,7 +821,6 @@ extern unsigned long get_sdram_size(void);
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_MII
#define CONFIG_CMD_PING
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_REGINFO
#undef CONFIG_WATCHDOG /* watchdog disabled */
diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h
index 795e3b5e18..0f5915daea 100644
--- a/include/configs/P1022DS.h
+++ b/include/configs/P1022DS.h
@@ -688,12 +688,10 @@
#define CONFIG_CMD_I2C
#define CONFIG_CMD_MII
#define CONFIG_CMD_PING
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_REGINFO
#ifdef CONFIG_PCI
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_NET
#endif
/*
diff --git a/include/configs/P1023RDB.h b/include/configs/P1023RDB.h
index d65c461fda..233995c227 100644
--- a/include/configs/P1023RDB.h
+++ b/include/configs/P1023RDB.h
@@ -276,12 +276,10 @@ extern unsigned long get_clock_freq(void);
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_PING
#define CONFIG_CMD_MII
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_REGINFO
#if defined(CONFIG_PCI)
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_NET
#endif
/*
diff --git a/include/configs/P2041RDB.h b/include/configs/P2041RDB.h
index f99da6562a..c78a421ce5 100644
--- a/include/configs/P2041RDB.h
+++ b/include/configs/P2041RDB.h
@@ -629,11 +629,9 @@ unsigned long get_board_sys_clk(unsigned long dummy);
#define CONFIG_CMD_I2C
#define CONFIG_CMD_MII
#define CONFIG_CMD_PING
-#define CONFIG_CMD_SETEXPR
#ifdef CONFIG_PCI
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_NET
#endif
/*
diff --git a/include/configs/PMC440.h b/include/configs/PMC440.h
index c29429d368..b8d4dc5eb8 100644
--- a/include/configs/PMC440.h
+++ b/include/configs/PMC440.h
@@ -283,7 +283,6 @@
#define CONFIG_CMD_I2C
#define CONFIG_CMD_MII
#define CONFIG_CMD_NAND
-#define CONFIG_CMD_NET
#define CONFIG_CMD_NFS
#define CONFIG_CMD_PCI
#define CONFIG_CMD_PING
diff --git a/include/configs/T102xQDS.h b/include/configs/T102xQDS.h
index 2927043df4..0f8b61412a 100644
--- a/include/configs/T102xQDS.h
+++ b/include/configs/T102xQDS.h
@@ -862,11 +862,9 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_CMD_MII
#define CONFIG_CMD_PING
#define CONFIG_CMD_REGINFO
-#define CONFIG_CMD_SETEXPR
#ifdef CONFIG_PCI
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_NET
#endif
/*
diff --git a/include/configs/T102xRDB.h b/include/configs/T102xRDB.h
index deff617ed4..5ada99f96a 100644
--- a/include/configs/T102xRDB.h
+++ b/include/configs/T102xRDB.h
@@ -868,12 +868,10 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_CMD_PING
#define CONFIG_CMD_ECHO
#define CONFIG_CMD_REGINFO
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_BDI
#ifdef CONFIG_PCI
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_NET
#endif
/*
diff --git a/include/configs/T1040QDS.h b/include/configs/T1040QDS.h
index faf8c9dc7e..6cc4cdb82d 100644
--- a/include/configs/T1040QDS.h
+++ b/include/configs/T1040QDS.h
@@ -736,11 +736,9 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_CMD_MII
#define CONFIG_CMD_PING
#define CONFIG_CMD_REGINFO
-#define CONFIG_CMD_SETEXPR
#ifdef CONFIG_PCI
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_NET
#endif
/* Hash command with SHA acceleration supported in hardware */
diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h
index 6cc95ef2d1..262aeaf32f 100644
--- a/include/configs/T104xRDB.h
+++ b/include/configs/T104xRDB.h
@@ -760,11 +760,9 @@
#define CONFIG_CMD_MII
#define CONFIG_CMD_PING
#define CONFIG_CMD_REGINFO
-#define CONFIG_CMD_SETEXPR
#ifdef CONFIG_PCI
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_NET
#endif
/* Hash command with SHA acceleration supported in hardware */
diff --git a/include/configs/T208xQDS.h b/include/configs/T208xQDS.h
index bad3613b51..93d72f79a0 100644
--- a/include/configs/T208xQDS.h
+++ b/include/configs/T208xQDS.h
@@ -804,13 +804,11 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_CMD_I2C
#define CONFIG_CMD_MII
#define CONFIG_CMD_PING
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_REGINFO
#define CONFIG_CMD_BDI
#ifdef CONFIG_PCI
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_NET
#endif
/* Hash command with SHA acceleration supported in hardware */
diff --git a/include/configs/T208xRDB.h b/include/configs/T208xRDB.h
index 107efdc1f0..37b1ce20f5 100644
--- a/include/configs/T208xRDB.h
+++ b/include/configs/T208xRDB.h
@@ -759,13 +759,11 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_CMD_I2C
#define CONFIG_CMD_PING
#define CONFIG_CMD_ECHO
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_REGINFO
#define CONFIG_CMD_BDI
#ifdef CONFIG_PCI
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_NET
#endif
/* Hash command with SHA acceleration supported in hardware */
diff --git a/include/configs/T4240RDB.h b/include/configs/T4240RDB.h
index 2a222493da..a128d53446 100644
--- a/include/configs/T4240RDB.h
+++ b/include/configs/T4240RDB.h
@@ -329,11 +329,9 @@
#define CONFIG_CMD_I2C
#define CONFIG_CMD_MII
#define CONFIG_CMD_PING
-#define CONFIG_CMD_SETEXPR
#ifdef CONFIG_PCI
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_NET
#endif
/*
diff --git a/include/configs/UCP1020.h b/include/configs/UCP1020.h
index 57e0c6c747..ec52d6a768 100644
--- a/include/configs/UCP1020.h
+++ b/include/configs/UCP1020.h
@@ -424,7 +424,6 @@
#define CONFIG_PCI_PNP /* do pci plug-and-play */
#define CONFIG_E1000 /* Defind e1000 pci Ethernet card*/
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_NET
#define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
#define CONFIG_DOS_PARTITION
@@ -505,7 +504,6 @@
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_MII
#define CONFIG_CMD_PING
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_REGINFO
#define CONFIG_CMD_ERRATA
#define CONFIG_CMD_CRAMFS
diff --git a/include/configs/a3m071.h b/include/configs/a3m071.h
index d23d2c4cc5..f8cea62b59 100644
--- a/include/configs/a3m071.h
+++ b/include/configs/a3m071.h
@@ -60,7 +60,6 @@
#define CONFIG_BOOTP_SERVERIP
#define CONFIG_NET_RETRY_COUNT 3
#define CONFIG_CMD_LINK_LOCAL
-#define CONFIG_LIB_RAND
#define CONFIG_NETCONSOLE
#define CONFIG_SYS_CONSOLE_IS_IN_ENV
#define CONFIG_CMD_PING
diff --git a/include/configs/alpr.h b/include/configs/alpr.h
index 2782e559f5..0f125dce09 100644
--- a/include/configs/alpr.h
+++ b/include/configs/alpr.h
@@ -228,7 +228,6 @@
#undef CONFIG_CMD_LOADS
#define CONFIG_CMD_MII
#define CONFIG_CMD_NAND
-#define CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
#define CONFIG_CMD_PCI
diff --git a/include/configs/am3517_crane.h b/include/configs/am3517_crane.h
index c3c9169d05..9b31b9c590 100644
--- a/include/configs/am3517_crane.h
+++ b/include/configs/am3517_crane.h
@@ -150,7 +150,6 @@
#define CONFIG_SYS_OMAP24_I2C_SLAVE 1
#define CONFIG_SYS_I2C_OMAP34XX
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
/*
* Board NAND Info.
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index 331fdac0f1..a0e86ea710 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -306,7 +306,6 @@
#endif
/* CPSW Ethernet */
-#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_PING
#define CONFIG_CMD_MII
diff --git a/include/configs/amcc-common.h b/include/configs/amcc-common.h
index 9e7f37dda9..9d6146a5a3 100644
--- a/include/configs/amcc-common.h
+++ b/include/configs/amcc-common.h
@@ -67,11 +67,9 @@
#define CONFIG_CMD_I2C
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_NFS
#define CONFIG_CMD_PING
#define CONFIG_CMD_REGINFO
-#define CONFIG_CMD_SETEXPR
/*
* Miscellaneous configurable options
diff --git a/include/configs/amcore.h b/include/configs/amcore.h
index 5a06311d60..5e197bec26 100644
--- a/include/configs/amcore.h
+++ b/include/configs/amcore.h
@@ -24,7 +24,6 @@
#include <config_cmd_default.h>
#undef CONFIG_CMD_AES
#undef CONFIG_CMD_BOOTD
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
#undef CONFIG_CMD_FPGA
#undef CONFIG_CMD_XIMG
diff --git a/include/configs/ap325rxa.h b/include/configs/ap325rxa.h
index 462b2e2910..573c98f481 100644
--- a/include/configs/ap325rxa.h
+++ b/include/configs/ap325rxa.h
@@ -18,7 +18,6 @@
#define CONFIG_CMD_LOADS
#define CONFIG_CMD_FLASH
#define CONFIG_CMD_MEMORY
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_NFS
#define CONFIG_CMD_SDRAM
diff --git a/include/configs/ap_sh4a_4a.h b/include/configs/ap_sh4a_4a.h
index 4282d70266..5b95dd3676 100644
--- a/include/configs/ap_sh4a_4a.h
+++ b/include/configs/ap_sh4a_4a.h
@@ -20,7 +20,6 @@
#define CONFIG_CMD_FLASH
#define CONFIG_CMD_MEMORY
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_MII
#define CONFIG_CMD_NFS
diff --git a/include/configs/apalis_t30.h b/include/configs/apalis_t30.h
index 6d38853ed0..aba9ba621c 100644
--- a/include/configs/apalis_t30.h
+++ b/include/configs/apalis_t30.h
@@ -57,11 +57,9 @@
#define CONFIG_E1000_NO_NVM
/* General networking support */
-#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
/* Miscellaneous commands */
-#define CONFIG_CMD_SETEXPR
#define CONFIG_FAT_WRITE
/* Increase console I/O buffer size */
diff --git a/include/configs/apf27.h b/include/configs/apf27.h
index 403692d517..7554023834 100644
--- a/include/configs/apf27.h
+++ b/include/configs/apf27.h
@@ -86,7 +86,6 @@
#define CONFIG_CMD_NAND_TRIMFFS
#define CONFIG_CMD_NFS /* NFS support */
#define CONFIG_CMD_PING /* ping support */
-#define CONFIG_CMD_SETEXPR /* setexpr support */
#define CONFIG_CMD_UBI
#define CONFIG_CMD_UBIFS
diff --git a/include/configs/apx4devkit.h b/include/configs/apx4devkit.h
index d1f18bc45c..de14d11eab 100644
--- a/include/configs/apx4devkit.h
+++ b/include/configs/apx4devkit.h
@@ -34,7 +34,6 @@
#define CONFIG_CMD_MII
#define CONFIG_CMD_MMC
#define CONFIG_CMD_NAND
-#define CONFIG_CMD_NET
#define CONFIG_CMD_NFS
#define CONFIG_CMD_PING
#define CONFIG_CMD_SAVEENV
diff --git a/include/configs/aristainetos-common.h b/include/configs/aristainetos-common.h
index 1abaabf7e3..eb50639c53 100644
--- a/include/configs/aristainetos-common.h
+++ b/include/configs/aristainetos-common.h
@@ -35,7 +35,6 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
@@ -57,7 +56,6 @@
/* Command definition */
#define CONFIG_CMD_BMODE
-#define CONFIG_CMD_SETEXPR
#define CONFIG_EXTRA_ENV_SETTINGS \
"script=u-boot.scr\0" \
diff --git a/include/configs/armadillo-800eva.h b/include/configs/armadillo-800eva.h
index 72469f35b2..14b07810d2 100644
--- a/include/configs/armadillo-800eva.h
+++ b/include/configs/armadillo-800eva.h
@@ -21,7 +21,6 @@
#define CONFIG_CMD_SDRAM
#define CONFIG_CMD_RUN
#define CONFIG_CMD_LOADS
-#define CONFIG_CMD_NET
#define CONFIG_CMD_MII
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
diff --git a/include/configs/aspenite.h b/include/configs/aspenite.h
index 47760ef7ba..f4cf1c0980 100644
--- a/include/configs/aspenite.h
+++ b/include/configs/aspenite.h
@@ -42,7 +42,6 @@
#define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */
#include <config_cmd_default.h>
#define CONFIG_CMD_I2C
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
/*
* mv-common.h should be defined after CMD configs since it used them
diff --git a/include/configs/astro_mcf5373l.h b/include/configs/astro_mcf5373l.h
index 7b9ff8fb23..bd0919ead9 100644
--- a/include/configs/astro_mcf5373l.h
+++ b/include/configs/astro_mcf5373l.h
@@ -69,7 +69,6 @@
#define CONFIG_CMD_MEMORY
#define CONFIG_CMD_MISC
#define CONFIG_CMD_XIMG
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
#if ENABLE_JFFS
#define CONFIG_CMD_JFFS2
diff --git a/include/configs/at91-sama5_common.h b/include/configs/at91-sama5_common.h
index 94981e7753..9289964364 100644
--- a/include/configs/at91-sama5_common.h
+++ b/include/configs/at91-sama5_common.h
@@ -54,7 +54,6 @@
#undef CONFIG_CMD_LOADS
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
-#define CONFIG_CMD_SETEXPR
#ifdef CONFIG_SYS_USE_MMC
#define CONFIG_BOOTARGS \
diff --git a/include/configs/at91sam9rlek.h b/include/configs/at91sam9rlek.h
index e43795bc3e..637d150fd4 100644
--- a/include/configs/at91sam9rlek.h
+++ b/include/configs/at91sam9rlek.h
@@ -82,7 +82,6 @@
#undef CONFIG_CMD_IMI
#undef CONFIG_CMD_IMLS
#undef CONFIG_CMD_LOADS
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
#undef CONFIG_CMD_SOURCE
#undef CONFIG_CMD_USB
diff --git a/include/configs/atstk1003.h b/include/configs/atstk1003.h
index 63704b1987..b2ad30ec90 100644
--- a/include/configs/atstk1003.h
+++ b/include/configs/atstk1003.h
@@ -103,7 +103,6 @@
#define CONFIG_CMD_MMC
#undef CONFIG_CMD_FPGA
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
#undef CONFIG_CMD_SETGETDCR
#undef CONFIG_CMD_XIMG
diff --git a/include/configs/atstk1004.h b/include/configs/atstk1004.h
index 331a60d76a..19f049a519 100644
--- a/include/configs/atstk1004.h
+++ b/include/configs/atstk1004.h
@@ -103,7 +103,6 @@
#define CONFIG_CMD_MMC
#undef CONFIG_CMD_FPGA
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
#undef CONFIG_CMD_SETGETDCR
#undef CONFIG_CMD_XIMG
diff --git a/include/configs/balloon3.h b/include/configs/balloon3.h
index 848a15832f..60981f9f56 100644
--- a/include/configs/balloon3.h
+++ b/include/configs/balloon3.h
@@ -48,7 +48,6 @@
*/
#include <config_cmd_default.h>
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
#undef CONFIG_CMD_ENV
#undef CONFIG_CMD_IMLS
diff --git a/include/configs/bcm28155_ap.h b/include/configs/bcm28155_ap.h
index 104577995e..900dc42fc3 100644
--- a/include/configs/bcm28155_ap.h
+++ b/include/configs/bcm28155_ap.h
@@ -134,7 +134,6 @@
#define CONFIG_CMD_BOOTZ
#define CONFIG_FAT_WRITE
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
#endif /* __BCM28155_AP_H */
diff --git a/include/configs/bct-brettl2.h b/include/configs/bct-brettl2.h
index 0d9fe57ba9..36637aef95 100644
--- a/include/configs/bct-brettl2.h
+++ b/include/configs/bct-brettl2.h
@@ -73,7 +73,6 @@
#define CONFIG_GATEWAYIP 192.168.233.1
#define CONFIG_SERVERIP 192.168.233.53
#define CONFIG_ROOTPATH "/romfs/brettl2"
-#define CONFIG_LIB_RAND
#endif
diff --git a/include/configs/beagle_x15.h b/include/configs/beagle_x15.h
index 4aa8550921..369f7b82e6 100644
--- a/include/configs/beagle_x15.h
+++ b/include/configs/beagle_x15.h
@@ -45,7 +45,6 @@
/* CPSW Ethernet */
#define CONFIG_CMD_NFS
-#define CONFIG_CMD_NET /* 'bootp' and 'tftp' */
#define CONFIG_CMD_DHCP
#define CONFIG_BOOTP_DNS /* Configurable parts of CMD_DHCP */
#define CONFIG_BOOTP_DNS2
diff --git a/include/configs/beaver.h b/include/configs/beaver.h
index 58013c6c9b..84541b9c6e 100644
--- a/include/configs/beaver.h
+++ b/include/configs/beaver.h
@@ -85,7 +85,6 @@
#define CONFIG_RTL8169
/* General networking support */
-#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
#include "tegra-common-usb-gadget.h"
diff --git a/include/configs/bf518f-ezbrd.h b/include/configs/bf518f-ezbrd.h
index dcd19e4db8..0df463f5b6 100644
--- a/include/configs/bf518f-ezbrd.h
+++ b/include/configs/bf518f-ezbrd.h
@@ -87,7 +87,6 @@
#endif
#define CONFIG_HOSTNAME bf518f-ezbrd
#define CONFIG_PHY_ADDR 3
-#define CONFIG_LIB_RAND
/*
* Flash Settings
diff --git a/include/configs/bf525-ucr2.h b/include/configs/bf525-ucr2.h
index 008f4b5ec8..0ac3a09406 100644
--- a/include/configs/bf525-ucr2.h
+++ b/include/configs/bf525-ucr2.h
@@ -96,7 +96,6 @@
/* this sets up the default list of enabled commands */
#include <config_cmd_default.h>
-#undef CONFIG_CMD_NET /* bootp, tftpboot, rarpboot */
#undef CONFIG_CMD_NFS
#undef CONFIG_CMD_IMLS
diff --git a/include/configs/bf526-ezbrd.h b/include/configs/bf526-ezbrd.h
index ad5fa53160..83f57cdcf9 100644
--- a/include/configs/bf526-ezbrd.h
+++ b/include/configs/bf526-ezbrd.h
@@ -85,7 +85,6 @@
#define CONFIG_NETCONSOLE 1
#endif
#define CONFIG_HOSTNAME bf526-ezbrd
-#define CONFIG_LIB_RAND
/*
* Flash Settings
diff --git a/include/configs/bf527-ezkit.h b/include/configs/bf527-ezkit.h
index b23a250e0a..32ac961b67 100644
--- a/include/configs/bf527-ezkit.h
+++ b/include/configs/bf527-ezkit.h
@@ -83,7 +83,6 @@
#define CONFIG_NETCONSOLE 1
#endif
#define CONFIG_HOSTNAME bf527-ezkit
-#define CONFIG_LIB_RAND
/*
* Flash Settings
diff --git a/include/configs/bf537-minotaur.h b/include/configs/bf537-minotaur.h
index e705d08b3a..53b7ab51b8 100644
--- a/include/configs/bf537-minotaur.h
+++ b/include/configs/bf537-minotaur.h
@@ -87,7 +87,6 @@
#define CONFIG_SYS_AUTOLOAD "no"
#define CONFIG_ROOTPATH "/romfs"
-#define CONFIG_LIB_RAND
/*
* Flash Settings
@@ -153,7 +152,6 @@
# define CONFIG_CMD_DHCP
# define CONFIG_CMD_PING
#else
-# undef CONFIG_CMD_NET
# undef CONFIG_CMD_NFS
#endif
diff --git a/include/configs/bf537-pnav.h b/include/configs/bf537-pnav.h
index be11a85bc0..850c5164da 100644
--- a/include/configs/bf537-pnav.h
+++ b/include/configs/bf537-pnav.h
@@ -65,7 +65,6 @@
#define CONFIG_RMII
#endif
#define CONFIG_HOSTNAME bf537-pnav
-#define CONFIG_LIB_RAND
/*
* Flash Settings
diff --git a/include/configs/bf537-srv1.h b/include/configs/bf537-srv1.h
index 9a7edf36b6..2da5d29302 100644
--- a/include/configs/bf537-srv1.h
+++ b/include/configs/bf537-srv1.h
@@ -86,7 +86,6 @@
#define CONFIG_SYS_AUTOLOAD "no"
#define CONFIG_ROOTPATH "/romfs"
-#define CONFIG_LIB_RAND
/*
* Flash Settings
@@ -152,7 +151,6 @@
# define CONFIG_CMD_DHCP
# define CONFIG_CMD_PING
#else
-# undef CONFIG_CMD_NET
# undef CONFIG_CMD_NFS
#endif
diff --git a/include/configs/bf537-stamp.h b/include/configs/bf537-stamp.h
index 41f1b1f071..84ef4ed4c2 100644
--- a/include/configs/bf537-stamp.h
+++ b/include/configs/bf537-stamp.h
@@ -65,7 +65,6 @@
#define CONFIG_NETCONSOLE 1
#endif
#define CONFIG_HOSTNAME bf537-stamp
-#define CONFIG_LIB_RAND
/*
* Flash Settings
diff --git a/include/configs/bf561-acvilon.h b/include/configs/bf561-acvilon.h
index 03f3cec9db..299c4c29dc 100644
--- a/include/configs/bf561-acvilon.h
+++ b/include/configs/bf561-acvilon.h
@@ -76,7 +76,6 @@
* Network Settings
*/
#define ADI_CMDS_NETWORK 1
-#define CONFIG_CMD_NET
#define CONFIG_CMD_MII
#define CONFIG_CMD_DATE
#define CONFIG_CMD_DTT
diff --git a/include/configs/bf609-ezkit.h b/include/configs/bf609-ezkit.h
index 7507d57527..7032ef91dd 100644
--- a/include/configs/bf609-ezkit.h
+++ b/include/configs/bf609-ezkit.h
@@ -74,7 +74,6 @@
#define CONFIG_PHY_ADDR 1
#define CONFIG_DW_PORTS 1
#define CONFIG_DW_ALTDESCRIPTOR
-#define CONFIG_CMD_NET
#define CONFIG_CMD_MII
#define CONFIG_MII
#define CONFIG_PHYLIB
diff --git a/include/configs/bfin_adi_common.h b/include/configs/bfin_adi_common.h
index 143d3ddd2d..1c9d584578 100644
--- a/include/configs/bfin_adi_common.h
+++ b/include/configs/bfin_adi_common.h
@@ -17,7 +17,6 @@
# define CONFIG_BOOTP_DNS
# define CONFIG_BOOTP_NTPSERVER
# define CONFIG_BOOTP_RANDOM_DELAY
-# define CONFIG_LIB_RAND
# define CONFIG_KEEP_SERVERADDR
# define CONFIG_CMD_DNS
# define CONFIG_CMD_PING
@@ -26,7 +25,6 @@
# endif
# else
# undef CONFIG_CMD_BOOTD
-# undef CONFIG_CMD_NET
# undef CONFIG_CMD_NFS
# endif
# ifdef CONFIG_LIBATA
diff --git a/include/configs/bg0900.h b/include/configs/bg0900.h
index 507d972f34..910f699ee5 100644
--- a/include/configs/bg0900.h
+++ b/include/configs/bg0900.h
@@ -22,11 +22,9 @@
#define CONFIG_CMD_MII
#define CONFIG_CMD_NAND
#define CONFIG_CMD_NAND_TRIMFFS
-#define CONFIG_CMD_NET
#define CONFIG_CMD_NFS
#define CONFIG_CMD_PING
#define CONFIG_CMD_SAVEENV
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_SF
#define CONFIG_CMD_SPI
diff --git a/include/configs/blackstamp.h b/include/configs/blackstamp.h
index 28bc653442..ee526afab1 100644
--- a/include/configs/blackstamp.h
+++ b/include/configs/blackstamp.h
@@ -108,7 +108,6 @@
# define CONFIG_CMD_DHCP
# define CONFIG_CMD_PING
#else
-# undef CONFIG_CMD_NET
#endif
#ifdef CONFIG_SYS_I2C_SOFT
diff --git a/include/configs/bur_am335x_common.h b/include/configs/bur_am335x_common.h
index 639e5a0cab..99c142ae02 100644
--- a/include/configs/bur_am335x_common.h
+++ b/include/configs/bur_am335x_common.h
@@ -61,7 +61,6 @@
#define CONFIG_BAUDRATE 115200
/* Network defines */
-#define CONFIG_CMD_NET /* 'bootp' and 'tftp' */
#define CONFIG_CMD_DHCP
#define CONFIG_BOOTP_DNS /* Configurable parts of CMD_DHCP */
#define CONFIG_BOOTP_SEND_HOSTNAME
diff --git a/include/configs/calimain.h b/include/configs/calimain.h
index 44c947f618..5169b41b4f 100644
--- a/include/configs/calimain.h
+++ b/include/configs/calimain.h
@@ -325,7 +325,6 @@
#define CONFIG_CMD_GPIO
#ifndef CONFIG_DRIVER_TI_EMAC
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_DHCP
#undef CONFIG_CMD_MII
#undef CONFIG_CMD_PING
diff --git a/include/configs/cardhu.h b/include/configs/cardhu.h
index 55de464acb..c76a426db8 100644
--- a/include/configs/cardhu.h
+++ b/include/configs/cardhu.h
@@ -87,7 +87,6 @@
#define CONFIG_RTL8169
/* General networking support */
-#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
#include "tegra-common-post.h"
diff --git a/include/configs/cm-bf527.h b/include/configs/cm-bf527.h
index 387f1cb767..e9e4e1414a 100644
--- a/include/configs/cm-bf527.h
+++ b/include/configs/cm-bf527.h
@@ -83,7 +83,6 @@
#define CONFIG_NETCONSOLE 1
#endif
#define CONFIG_HOSTNAME cm-bf527
-#define CONFIG_LIB_RAND
/*
* Flash Settings
diff --git a/include/configs/cm-bf537e.h b/include/configs/cm-bf537e.h
index 95afd51217..0eebe56503 100644
--- a/include/configs/cm-bf537e.h
+++ b/include/configs/cm-bf537e.h
@@ -71,7 +71,6 @@
#define CONFIG_NETCONSOLE 1
#endif
#define CONFIG_HOSTNAME cm-bf537e
-#define CONFIG_LIB_RAND
/*
* Flash Settings
diff --git a/include/configs/cm-bf537u.h b/include/configs/cm-bf537u.h
index 4df4a05c7d..3a2d72626c 100644
--- a/include/configs/cm-bf537u.h
+++ b/include/configs/cm-bf537u.h
@@ -69,7 +69,6 @@
#define CONFIG_NETCONSOLE 1
#endif
#define CONFIG_HOSTNAME cm-bf537u
-#define CONFIG_LIB_RAND
/*
* Flash Settings
diff --git a/include/configs/cm_t54.h b/include/configs/cm_t54.h
index 0cd4aec7e2..a129f68814 100644
--- a/include/configs/cm_t54.h
+++ b/include/configs/cm_t54.h
@@ -90,7 +90,6 @@
/* Enabled commands */
#define CONFIG_CMD_DHCP /* DHCP Support */
-#define CONFIG_CMD_NET /* bootp, tftpboot, rarpboot */
#define CONFIG_CMD_PING
/* USB Networking options */
diff --git a/include/configs/cmi_mpc5xx.h b/include/configs/cmi_mpc5xx.h
index 32cecbdc9c..9bc3795d91 100644
--- a/include/configs/cmi_mpc5xx.h
+++ b/include/configs/cmi_mpc5xx.h
@@ -46,7 +46,6 @@
*/
#include <config_cmd_default.h>
-#undef CONFIG_CMD_NET /* disabeled - causes compile errors */
#undef CONFIG_CMD_NFS
#define CONFIG_CMD_MEMORY
diff --git a/include/configs/colibri_pxa270.h b/include/configs/colibri_pxa270.h
index 7fc364e838..6f25fdba77 100644
--- a/include/configs/colibri_pxa270.h
+++ b/include/configs/colibri_pxa270.h
@@ -56,7 +56,6 @@
#undef CONFIG_CMD_LOADB /* Both together */
#undef CONFIG_CMD_LOADS /* saves 10 KB */
-#define CONFIG_CMD_NET
#define CONFIG_CMD_ENV
#undef CONFIG_CMD_IMLS
#define CONFIG_CMD_MMC
diff --git a/include/configs/colibri_t20.h b/include/configs/colibri_t20.h
index c17f245a17..a3f27e36a1 100644
--- a/include/configs/colibri_t20.h
+++ b/include/configs/colibri_t20.h
@@ -41,7 +41,6 @@
#define CONFIG_USB_ETHER_ASIX
/* General networking support */
-#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
/* NAND support */
@@ -60,7 +59,6 @@
#define CONFIG_CMD_CACHE
/* Miscellaneous commands */
-#define CONFIG_CMD_SETEXPR
#define CONFIG_FAT_WRITE
/* Increase console I/O buffer size */
diff --git a/include/configs/colibri_t30.h b/include/configs/colibri_t30.h
index ee6fa1c830..4655668082 100644
--- a/include/configs/colibri_t30.h
+++ b/include/configs/colibri_t30.h
@@ -50,11 +50,9 @@
#define CONFIG_USB_ETHER_ASIX
/* General networking support */
-#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
/* Miscellaneous commands */
-#define CONFIG_CMD_SETEXPR
#define CONFIG_FAT_WRITE
/* Increase console I/O buffer size */
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h
index 804291dfaa..4dec42a953 100644
--- a/include/configs/colibri_vf.h
+++ b/include/configs/colibri_vf.h
@@ -92,7 +92,6 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define IMX_FEC_BASE ENET1_BASE_ADDR
diff --git a/include/configs/controlcenterd.h b/include/configs/controlcenterd.h
index bfcfa0c8c9..9cab9fb8f9 100644
--- a/include/configs/controlcenterd.h
+++ b/include/configs/controlcenterd.h
@@ -405,9 +405,7 @@
#define CONFIG_CMD_FAT
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_REGINFO
/*
diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h
index 8e27ae4b72..bf765afc11 100644
--- a/include/configs/corenet_ds.h
+++ b/include/configs/corenet_ds.h
@@ -630,12 +630,10 @@
#define CONFIG_CMD_I2C
#define CONFIG_CMD_MII
#define CONFIG_CMD_PING
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_REGINFO
#ifdef CONFIG_PCI
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_NET
#endif
/*
diff --git a/include/configs/da830evm.h b/include/configs/da830evm.h
index 0bdcef7006..ab5226b5fa 100644
--- a/include/configs/da830evm.h
+++ b/include/configs/da830evm.h
@@ -188,7 +188,6 @@
#endif
#ifndef CONFIG_DRIVER_TI_EMAC
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_DHCP
#undef CONFIG_CMD_MII
#undef CONFIG_CMD_PING
diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
index e5a612cfc6..37a485b0a9 100644
--- a/include/configs/da850evm.h
+++ b/include/configs/da850evm.h
@@ -309,7 +309,6 @@
#endif
#ifndef CONFIG_DRIVER_TI_EMAC
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_DHCP
#undef CONFIG_CMD_MII
#undef CONFIG_CMD_PING
diff --git a/include/configs/dalmore.h b/include/configs/dalmore.h
index 5f5eb3b313..e702a50380 100644
--- a/include/configs/dalmore.h
+++ b/include/configs/dalmore.h
@@ -72,7 +72,6 @@
#define CONFIG_USB_ETHER_ASIX
/* General networking support */
-#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
#include "tegra-common-post.h"
diff --git a/include/configs/davinci_dm6467evm.h b/include/configs/davinci_dm6467evm.h
index 2c5a837f66..b02e73c02a 100644
--- a/include/configs/davinci_dm6467evm.h
+++ b/include/configs/davinci_dm6467evm.h
@@ -71,7 +71,6 @@ extern unsigned int davinci_arm_clk_get(void);
#define CONFIG_BOOTP_DNS2
#define CONFIG_BOOTP_SEND_HOSTNAME
#define CONFIG_NET_RETRY_COUNT 10
-#define CONFIG_CMD_NET
/* Flash & Environment */
#define CONFIG_SYS_NO_FLASH
diff --git a/include/configs/dbau1x00.h b/include/configs/dbau1x00.h
index 70aa699c4a..ea55084a31 100644
--- a/include/configs/dbau1x00.h
+++ b/include/configs/dbau1x00.h
@@ -90,7 +90,6 @@
#define CONFIG_CMD_FLASH
#define CONFIG_CMD_LOADB
-#define CONFIG_CMD_NET
#undef CONFIG_CMD_I2C
#undef CONFIG_CMD_IDE
diff --git a/include/configs/dig297.h b/include/configs/dig297.h
index 932640112b..5ec3c99799 100644
--- a/include/configs/dig297.h
+++ b/include/configs/dig297.h
@@ -122,7 +122,6 @@
#undef CONFIG_CMD_FPGA /* FPGA configuration Support */
#undef CONFIG_CMD_IMI /* iminfo */
#undef CONFIG_CMD_IMLS /* List all found images */
-#define CONFIG_CMD_NET /* bootp, tftpboot, rarpboot */
#undef CONFIG_CMD_NFS /* NFS support */
#define CONFIG_SYS_NO_FLASH
diff --git a/include/configs/dnp5370.h b/include/configs/dnp5370.h
index 3f1f9f3846..3cbd67f6b0 100644
--- a/include/configs/dnp5370.h
+++ b/include/configs/dnp5370.h
@@ -56,7 +56,6 @@
#define CONFIG_CMD_MII
#define CONFIG_CMD_PING
-#define CONFIG_LIB_RAND
#endif
/*
@@ -123,7 +122,6 @@
#include <config_cmd_default.h>
#ifndef CONFIG_BFIN_MAC
-# undef CONFIG_CMD_NET
# undef CONFIG_CMD_NFS
#endif
diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
index d79612b8bf..77edc21d9c 100644
--- a/include/configs/dra7xx_evm.h
+++ b/include/configs/dra7xx_evm.h
@@ -100,7 +100,6 @@
#define CONFIG_HSMMC2_8BIT
/* CPSW Ethernet */
-#define CONFIG_CMD_NET /* 'bootp' and 'tftp' */
#define CONFIG_CMD_DHCP
#define CONFIG_BOOTP_DNS /* Configurable parts of CMD_DHCP */
#define CONFIG_BOOTP_DNS2
diff --git a/include/configs/duovero.h b/include/configs/duovero.h
index e68f415c20..6e53da573d 100644
--- a/include/configs/duovero.h
+++ b/include/configs/duovero.h
@@ -45,7 +45,6 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
-#define CONFIG_CMD_NET
#define CONFIG_SMC911X
#define CONFIG_SMC911X_32_BIT
diff --git a/include/configs/ea20.h b/include/configs/ea20.h
index fc02b30af7..1e522c3b6b 100644
--- a/include/configs/ea20.h
+++ b/include/configs/ea20.h
@@ -165,7 +165,6 @@
#endif
#ifndef CONFIG_DRIVER_TI_EMAC
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_DHCP
#undef CONFIG_CMD_MII
#undef CONFIG_CMD_PING
diff --git a/include/configs/eb_cpu5282.h b/include/configs/eb_cpu5282.h
index e2b93268b4..5f6148e754 100644
--- a/include/configs/eb_cpu5282.h
+++ b/include/configs/eb_cpu5282.h
@@ -72,7 +72,6 @@
#define CONFIG_CMD_I2C
#define CONFIG_CMD_LED
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_MCFTMR
diff --git a/include/configs/ecovec.h b/include/configs/ecovec.h
index e26591c14f..358314c240 100644
--- a/include/configs/ecovec.h
+++ b/include/configs/ecovec.h
@@ -32,7 +32,6 @@
#define CONFIG_CMD_FLASH
#define CONFIG_CMD_MEMORY
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_MII
#define CONFIG_CMD_NFS
diff --git a/include/configs/embestmx6boards.h b/include/configs/embestmx6boards.h
index 56950e05db..5dfd56ca21 100644
--- a/include/configs/embestmx6boards.h
+++ b/include/configs/embestmx6boards.h
@@ -81,7 +81,6 @@
#undef CONFIG_CMD_FPGA
#define CONFIG_CMD_BMODE
-#define CONFIG_CMD_SETEXPR
#define CONFIG_ARP_TIMEOUT 200UL
diff --git a/include/configs/enbw_cmc.h b/include/configs/enbw_cmc.h
index cdea4a8546..3be17f166f 100644
--- a/include/configs/enbw_cmc.h
+++ b/include/configs/enbw_cmc.h
@@ -262,7 +262,6 @@
#endif
#ifndef CONFIG_DRIVER_TI_EMAC
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_DHCP
#undef CONFIG_CMD_MII
#undef CONFIG_CMD_PING
diff --git a/include/configs/espt.h b/include/configs/espt.h
index de16be70b2..f717954484 100644
--- a/include/configs/espt.h
+++ b/include/configs/espt.h
@@ -20,7 +20,6 @@
#define CONFIG_CMD_SDRAM
#define CONFIG_CMD_FLASH
#define CONFIG_CMD_MEMORY
-#define CONFIG_CMD_NET
#define CONFIG_CMD_MII
#define CONFIG_CMD_PING
#define CONFIG_CMD_ENV
diff --git a/include/configs/ethernut5.h b/include/configs/ethernut5.h
index b79000e706..2b638bf733 100644
--- a/include/configs/ethernut5.h
+++ b/include/configs/ethernut5.h
@@ -129,7 +129,6 @@
#define CONFIG_CMD_RARP
#define CONFIG_CMD_REISER
#define CONFIG_CMD_SAVES
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_SF
#define CONFIG_CMD_SNTP
#define CONFIG_CMD_UBI
diff --git a/include/configs/exynos4-common.h b/include/configs/exynos4-common.h
index dbe05e433e..f6b0a6ff2b 100644
--- a/include/configs/exynos4-common.h
+++ b/include/configs/exynos4-common.h
@@ -24,14 +24,12 @@
#undef CONFIG_CMD_FPGA
#undef CONFIG_CMD_MISC
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
#undef CONFIG_CMD_XIMG
#undef CONFIG_CMD_ONENAND
#undef CONFIG_CMD_MTDPARTS
#define CONFIG_CMD_DFU
#define CONFIG_CMD_GPT
-#define CONFIG_CMD_SETEXPR
/* USB Composite download gadget - g_dnl */
#define CONFIG_USBDOWNLOAD_GADGET
diff --git a/include/configs/flea3.h b/include/configs/flea3.h
index 5f7cad8346..846b86889b 100644
--- a/include/configs/flea3.h
+++ b/include/configs/flea3.h
@@ -87,7 +87,6 @@
#define CONFIG_CMD_I2C
#define CONFIG_CMD_SPI
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_NET_RETRY_COUNT 100
#define CONFIG_BOOTDELAY 3
diff --git a/include/configs/fx12mm.h b/include/configs/fx12mm.h
index d0083fd6f6..f1cbc8eca7 100644
--- a/include/configs/fx12mm.h
+++ b/include/configs/fx12mm.h
@@ -24,7 +24,6 @@
#define CONFIG_CMD_MTDPARTS
#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
#define CONFIG_FLASH_CFI_MTD
-#undef CONFIG_CMD_NET
/* sdram */
#define CONFIG_SYS_SDRAM_SIZE_MB 64
diff --git a/include/configs/gr_ep2s60.h b/include/configs/gr_ep2s60.h
index 7c320eeb64..dd8653a879 100644
--- a/include/configs/gr_ep2s60.h
+++ b/include/configs/gr_ep2s60.h
@@ -259,6 +259,7 @@
/* USE GRETH Ethernet Driver */
#define CONFIG_GRETH 1
+#endif
#define CONFIG_PHY_ADDR 0x00
diff --git a/include/configs/grsim.h b/include/configs/grsim.h
index 21b4f5e5d4..6c52a17ee4 100644
--- a/include/configs/grsim.h
+++ b/include/configs/grsim.h
@@ -59,7 +59,6 @@
#define CONFIG_CMD_LOADB /* loadb */
#define CONFIG_CMD_LOADS /* loads */
#define CONFIG_CMD_MISC /* Misc functions like sleep etc */
-#define CONFIG_CMD_NET /* bootp, tftpboot, rarpboot */
#define CONFIG_CMD_REGINFO
#define CONFIG_CMD_RUN /* run command in env variable */
#define CONFIG_CMD_SETGETDCR /* DCR support on 4xx */
diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h
index 406bf2e53d..6b8c82d2b8 100644
--- a/include/configs/gw_ventana.h
+++ b/include/configs/gw_ventana.h
@@ -162,10 +162,8 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_BMODE /* set eFUSE shadow for a boot dev and reset */
#define CONFIG_CMD_HDMIDETECT /* detect HDMI output device */
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_GSC
#define CONFIG_CMD_EECONFIG /* Gateworks EEPROM config cmd */
#define CONFIG_CMD_UBI
diff --git a/include/configs/h2200.h b/include/configs/h2200.h
index 109cee985b..c00b951ac4 100644
--- a/include/configs/h2200.h
+++ b/include/configs/h2200.h
@@ -145,7 +145,6 @@
#define CONFIG_USB_DEV_PULLUP_GPIO 33
/* USB VBUS GPIO 3 */
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_BOOTDELAY 2
diff --git a/include/configs/harmony.h b/include/configs/harmony.h
index ad3dcdb7ba..99a63d6998 100644
--- a/include/configs/harmony.h
+++ b/include/configs/harmony.h
@@ -58,7 +58,6 @@
#define CONFIG_USB_ETHER_SMSC95XX
/* General networking support */
-#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
/* LCD support */
diff --git a/include/configs/hrcon.h b/include/configs/hrcon.h
index e7df9ad92a..2916987cf2 100644
--- a/include/configs/hrcon.h
+++ b/include/configs/hrcon.h
@@ -475,7 +475,6 @@ int fpga_gpio_get(unsigned int bus, int pin);
#define CONFIG_CMD_I2C
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PCI
#define CONFIG_CMD_PING
diff --git a/include/configs/ip04.h b/include/configs/ip04.h
index 2bd81fc5cf..73bbcb6b69 100644
--- a/include/configs/ip04.h
+++ b/include/configs/ip04.h
@@ -77,7 +77,6 @@
#define DM9000_IO CONFIG_DM9000_BASE
#define DM9000_DATA (CONFIG_DM9000_BASE + 2)
-#define CONFIG_LIB_RAND
/*
* Flash Settings
diff --git a/include/configs/ipam390.h b/include/configs/ipam390.h
index 664a2b25f3..16bc373dd3 100644
--- a/include/configs/ipam390.h
+++ b/include/configs/ipam390.h
@@ -270,7 +270,6 @@
#endif
#ifndef CONFIG_DRIVER_TI_EMAC
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_DHCP
#undef CONFIG_CMD_MII
#undef CONFIG_CMD_PING
diff --git a/include/configs/jetson-tk1.h b/include/configs/jetson-tk1.h
index aeafbd5a6c..606e6b4c55 100644
--- a/include/configs/jetson-tk1.h
+++ b/include/configs/jetson-tk1.h
@@ -73,7 +73,6 @@
#define CONFIG_RTL8169
/* General networking support */
-#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
#include "tegra-common-usb-gadget.h"
diff --git a/include/configs/jornada.h b/include/configs/jornada.h
index 7e18d8e7b5..dd30ba2c93 100644
--- a/include/configs/jornada.h
+++ b/include/configs/jornada.h
@@ -46,7 +46,6 @@
#include <config_cmd_default.h>
#define CONFIG_CMD_FLASH
#define CONFIG_CMD_JFFS2
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
#undef CONFIG_CMD_FPGA
#undef CONFIG_CMD_MISC
diff --git a/include/configs/km/keymile-common.h b/include/configs/km/keymile-common.h
index 517f46a3a3..56499018ad 100644
--- a/include/configs/km/keymile-common.h
+++ b/include/configs/km/keymile-common.h
@@ -27,7 +27,6 @@
#define CONFIG_CMD_I2C
#define CONFIG_CMD_JFFS2
#define CONFIG_CMD_MTDPARTS
-#define CONFIG_CMD_SETEXPR
#undef CONFIG_WATCHDOG /* disable platform specific watchdog */
diff --git a/include/configs/km/kmp204x-common.h b/include/configs/km/kmp204x-common.h
index b70b5b19f5..686d2f3285 100644
--- a/include/configs/km/kmp204x-common.h
+++ b/include/configs/km/kmp204x-common.h
@@ -406,7 +406,6 @@ int get_scl(void);
* additionnal command line configuration.
*/
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_NET
#define CONFIG_CMD_ERRATA
/* we don't need flash support */
diff --git a/include/configs/lp8x4x.h b/include/configs/lp8x4x.h
index a26937265a..e3dd5e022c 100644
--- a/include/configs/lp8x4x.h
+++ b/include/configs/lp8x4x.h
@@ -46,7 +46,6 @@
*/
#include <config_cmd_default.h>
-#define CONFIG_CMD_NET
#define CONFIG_CMD_ENV
#undef CONFIG_CMD_IMLS
#define CONFIG_CMD_MMC
diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h
index 1a41a2fdba..c7f503371d 100644
--- a/include/configs/ls1021aqds.h
+++ b/include/configs/ls1021aqds.h
@@ -531,13 +531,11 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_E1000
#define CONFIG_PCI_SCAN_SHOW
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_NET
#endif
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMDLINE_TAG
#define CONFIG_CMDLINE_EDITING
diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
index 8ea428e898..cc8c936001 100644
--- a/include/configs/ls1021atwr.h
+++ b/include/configs/ls1021atwr.h
@@ -348,13 +348,11 @@
#define CONFIG_E1000
#define CONFIG_PCI_SCAN_SHOW
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_NET
#endif
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMDLINE_TAG
#define CONFIG_CMDLINE_EDITING
diff --git a/include/configs/ls2085a_common.h b/include/configs/ls2085a_common.h
index e270fc8c19..547026ee3f 100644
--- a/include/configs/ls2085a_common.h
+++ b/include/configs/ls2085a_common.h
@@ -213,7 +213,6 @@ unsigned long long get_qixis_addr(void);
#define CONFIG_CMD_LOADB
#define CONFIG_CMD_MEMORY
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_SAVEENV
#define CONFIG_CMD_RUN
diff --git a/include/configs/ls2085aqds.h b/include/configs/ls2085aqds.h
index 711d529624..a0f44d9076 100644
--- a/include/configs/ls2085aqds.h
+++ b/include/configs/ls2085aqds.h
@@ -309,7 +309,6 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_E1000
#define CONFIG_PCI_SCAN_SHOW
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_NET
#endif
/* MMC */
diff --git a/include/configs/ls2085ardb.h b/include/configs/ls2085ardb.h
index d1c2548a23..1d7f2c99be 100644
--- a/include/configs/ls2085ardb.h
+++ b/include/configs/ls2085ardb.h
@@ -274,7 +274,6 @@ unsigned long get_board_sys_clk(void);
#define CONFIG_E1000
#define CONFIG_PCI_SCAN_SHOW
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_NET
#endif
/* MMC */
diff --git a/include/configs/lsxl.h b/include/configs/lsxl.h
index 490f84eb75..7d22173943 100644
--- a/include/configs/lsxl.h
+++ b/include/configs/lsxl.h
@@ -37,7 +37,6 @@
#define CONFIG_MISC_INIT_R
#define CONFIG_SHOW_BOOT_PROGRESS
-#define CONFIG_LIB_RAND
#define CONFIG_KIRKWOOD_GPIO
#define CONFIG_OF_LIBFDT
diff --git a/include/configs/lwmon5.h b/include/configs/lwmon5.h
index d43db5288e..799850a5a1 100644
--- a/include/configs/lwmon5.h
+++ b/include/configs/lwmon5.h
@@ -440,7 +440,6 @@
#define CONFIG_CMD_I2C
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_NFS
#define CONFIG_CMD_PING
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h
index dbc00ce713..eba1b2f7b4 100644
--- a/include/configs/m28evk.h
+++ b/include/configs/m28evk.h
@@ -40,10 +40,8 @@
#define CONFIG_CMD_MMC
#define CONFIG_CMD_NAND
#define CONFIG_CMD_NAND_TRIMFFS
-#define CONFIG_CMD_NET
#define CONFIG_CMD_NFS
#define CONFIG_CMD_PING
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_SF
#define CONFIG_CMD_SPI
#define CONFIG_CMD_USB
diff --git a/include/configs/m53evk.h b/include/configs/m53evk.h
index 0cc1282281..2d2b2263ac 100644
--- a/include/configs/m53evk.h
+++ b/include/configs/m53evk.h
@@ -44,10 +44,8 @@
#define CONFIG_CMD_MII
#define CONFIG_CMD_MMC
#define CONFIG_CMD_NAND
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_SATA
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_USB
#define CONFIG_VIDEO
diff --git a/include/configs/mcx.h b/include/configs/mcx.h
index de7792a469..3405c83bf0 100644
--- a/include/configs/mcx.h
+++ b/include/configs/mcx.h
@@ -152,7 +152,6 @@
#define CONFIG_RTC_DS1337
#define CONFIG_SYS_I2C_RTC_ADDR 0x68
-#define CONFIG_CMD_NET
#define CONFIG_CMD_MII
#define CONFIG_CMD_NFS
/*
diff --git a/include/configs/medcom-wide.h b/include/configs/medcom-wide.h
index f721a4d6a2..b5d72e3966 100644
--- a/include/configs/medcom-wide.h
+++ b/include/configs/medcom-wide.h
@@ -46,7 +46,6 @@
#define CONFIG_USB_ETHER_SMSC95XX
/* General networking support */
-#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
/* LCD support */
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index b84eead661..db463c0b2e 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -260,7 +260,6 @@
#endif
#ifndef CONFIG_SYS_ENET
-# undef CONFIG_CMD_NET
# undef CONFIG_CMD_NFS
#else
# define CONFIG_CMD_PING
diff --git a/include/configs/mimc200.h b/include/configs/mimc200.h
index 2fd3addc1a..e8e5ae73ec 100644
--- a/include/configs/mimc200.h
+++ b/include/configs/mimc200.h
@@ -102,7 +102,6 @@
#define CONFIG_CMD_FAT
#define CONFIG_CMD_JFFS2
#define CONFIG_CMD_MMC
-#define CONFIG_CMD_NET
#define CONFIG_ATMEL_USART
#define CONFIG_MACB
diff --git a/include/configs/motionpro.h b/include/configs/motionpro.h
index 4d648c8a14..96a6b89232 100644
--- a/include/configs/motionpro.h
+++ b/include/configs/motionpro.h
@@ -48,7 +48,6 @@
#define CONFIG_CMD_IMMAP
#define CONFIG_CMD_JFFS2
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/mpc8308_p1m.h b/include/configs/mpc8308_p1m.h
index d2ef1af62c..195bc18996 100644
--- a/include/configs/mpc8308_p1m.h
+++ b/include/configs/mpc8308_p1m.h
@@ -403,7 +403,6 @@
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_I2C
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PCI
#define CONFIG_CMD_PING
diff --git a/include/configs/ms7722se.h b/include/configs/ms7722se.h
index 1c8ada6c03..fb5fcc6e7e 100644
--- a/include/configs/ms7722se.h
+++ b/include/configs/ms7722se.h
@@ -14,7 +14,6 @@
#define CONFIG_CMD_FLASH
#define CONFIG_CMD_JFFS2
-#define CONFIG_CMD_NET
#define CONFIG_CMD_NFS
#define CONFIG_CMD_PING
#define CONFIG_CMD_SDRAM
diff --git a/include/configs/munices.h b/include/configs/munices.h
index e65a14af23..535bf2a2f6 100644
--- a/include/configs/munices.h
+++ b/include/configs/munices.h
@@ -31,7 +31,6 @@
#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_ELF
#define CONFIG_CMD_IMMAP
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/mx23_olinuxino.h b/include/configs/mx23_olinuxino.h
index e377fea24a..65203a0a21 100644
--- a/include/configs/mx23_olinuxino.h
+++ b/include/configs/mx23_olinuxino.h
@@ -23,7 +23,6 @@
#define CONFIG_CMD_GPIO
#define CONFIG_CMD_LED
#define CONFIG_CMD_MMC
-#define CONFIG_CMD_NET
#define CONFIG_CMD_USB
/* Memory configuration */
diff --git a/include/configs/mx23evk.h b/include/configs/mx23evk.h
index b496892f06..273b7d3a33 100644
--- a/include/configs/mx23evk.h
+++ b/include/configs/mx23evk.h
@@ -16,7 +16,6 @@
/* U-Boot Commands */
#define CONFIG_SYS_NO_FLASH
#include <config_cmd_default.h>
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
#define CONFIG_DISPLAY_CPUINFO
diff --git a/include/configs/mx25pdk.h b/include/configs/mx25pdk.h
index bfbfc68a13..5f61eb157b 100644
--- a/include/configs/mx25pdk.h
+++ b/include/configs/mx25pdk.h
@@ -94,7 +94,6 @@
#define CONFIG_FEC_MXC
#define CONFIG_FEC_MXC_PHYADDR 0x1f
#define CONFIG_MII
-#define CONFIG_CMD_NET
#define CONFIG_ENV_OVERWRITE
/* ESDHC driver */
@@ -127,7 +126,6 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_BOOTDELAY 1
diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h
index 9daa0bf540..03ff885fe0 100644
--- a/include/configs/mx28evk.h
+++ b/include/configs/mx28evk.h
@@ -28,11 +28,9 @@
#define CONFIG_CMD_GPIO
#define CONFIG_CMD_MII
#define CONFIG_CMD_MMC
-#define CONFIG_CMD_NET
#define CONFIG_CMD_NFS
#define CONFIG_CMD_PING
#define CONFIG_CMD_SAVEENV
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_SF
#define CONFIG_CMD_SPI
#define CONFIG_CMD_USB
diff --git a/include/configs/mx35pdk.h b/include/configs/mx35pdk.h
index 244a9ab56b..4c71360e8a 100644
--- a/include/configs/mx35pdk.h
+++ b/include/configs/mx35pdk.h
@@ -94,7 +94,6 @@
#define CONFIG_CMD_I2C
#define CONFIG_CMD_SPI
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_NET_RETRY_COUNT 100
#define CONFIG_CMD_DATE
diff --git a/include/configs/mx51_efikamx.h b/include/configs/mx51_efikamx.h
index fce7ead977..e3386ac52b 100644
--- a/include/configs/mx51_efikamx.h
+++ b/include/configs/mx51_efikamx.h
@@ -41,7 +41,6 @@
#define CONFIG_CMD_FAT
#define CONFIG_CMD_EXT2
#define CONFIG_CMD_IDE
-#define CONFIG_CMD_NET
#define CONFIG_CMD_DATE
#undef CONFIG_CMD_IMLS
diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h
index b0c97171ed..61e8a9800f 100644
--- a/include/configs/mx51evk.h
+++ b/include/configs/mx51evk.h
@@ -92,7 +92,6 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
/* USB Configs */
#define CONFIG_CMD_USB
diff --git a/include/configs/mx53ard.h b/include/configs/mx53ard.h
index 7c3dc20bc3..220d4b807d 100644
--- a/include/configs/mx53ard.h
+++ b/include/configs/mx53ard.h
@@ -68,7 +68,6 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
/* allow to overwrite serial and ethaddr */
#define CONFIG_ENV_OVERWRITE
@@ -79,7 +78,6 @@
#include <config_cmd_default.h>
#undef CONFIG_CMD_IMLS
-#define CONFIG_CMD_SETEXPR
#define CONFIG_BOOTDELAY 3
diff --git a/include/configs/mx53evk.h b/include/configs/mx53evk.h
index 22a9fc4bab..4af9f7ed58 100644
--- a/include/configs/mx53evk.h
+++ b/include/configs/mx53evk.h
@@ -72,7 +72,6 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_DATE
/* Miscellaneous commands */
diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
index a56e72e271..db551a948c 100644
--- a/include/configs/mx53loco.h
+++ b/include/configs/mx53loco.h
@@ -57,7 +57,6 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
/* USB Configs */
#define CONFIG_CMD_USB
diff --git a/include/configs/mx53smd.h b/include/configs/mx53smd.h
index 0785491cf1..dcc86b4c37 100644
--- a/include/configs/mx53smd.h
+++ b/include/configs/mx53smd.h
@@ -62,7 +62,6 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
/* allow to overwrite serial and ethaddr */
#define CONFIG_ENV_OVERWRITE
diff --git a/include/configs/mx6cuboxi.h b/include/configs/mx6cuboxi.h
index 21c3f960ae..3f99512bce 100644
--- a/include/configs/mx6cuboxi.h
+++ b/include/configs/mx6cuboxi.h
@@ -31,7 +31,6 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RGMII
@@ -81,7 +80,6 @@
"fi;"
/* Command definition */
-#define CONFIG_CMD_SETEXPR
#define CONFIG_MXC_UART_BASE UART1_BASE
#define CONFIG_CONSOLE_DEV "ttymxc0"
diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h
index 20b1f9c52f..86a03160dd 100644
--- a/include/configs/mx6qarm2.h
+++ b/include/configs/mx6qarm2.h
@@ -26,7 +26,6 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h
index 6a37ae7384..c8c9f812f8 100644
--- a/include/configs/mx6sabre_common.h
+++ b/include/configs/mx6sabre_common.h
@@ -32,7 +32,6 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
@@ -56,7 +55,6 @@
/* Command definition */
#define CONFIG_CMD_BMODE
-#define CONFIG_CMD_SETEXPR
#ifdef CONFIG_SUPPORT_EMMC_BOOT
#define EMMC_ENV \
diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h
index 2b8bb2a50d..4b5c637136 100644
--- a/include/configs/mx6slevk.h
+++ b/include/configs/mx6slevk.h
@@ -41,7 +41,6 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h
index 46e126276c..63ec7c6e92 100644
--- a/include/configs/mx6sxsabresd.h
+++ b/include/configs/mx6sxsabresd.h
@@ -140,7 +140,6 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_FEC_MXC
#define CONFIG_MII
diff --git a/include/configs/nhk8815.h b/include/configs/nhk8815.h
index 52cde4110c..8a6d2562be 100644
--- a/include/configs/nhk8815.h
+++ b/include/configs/nhk8815.h
@@ -19,7 +19,6 @@
/* commands */
#include <config_cmd_default.h>
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_NFS
diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h
index 9313b9ff3d..beaa11932c 100644
--- a/include/configs/nitrogen6x.h
+++ b/include/configs/nitrogen6x.h
@@ -76,7 +76,6 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
@@ -105,7 +104,6 @@
/* Miscellaneous commands */
#define CONFIG_CMD_BMODE
-#define CONFIG_CMD_SETEXPR
/* Framebuffer and LCD */
#define CONFIG_VIDEO
diff --git a/include/configs/nokia_rx51.h b/include/configs/nokia_rx51.h
index 152a6e564b..d1bb1a182a 100644
--- a/include/configs/nokia_rx51.h
+++ b/include/configs/nokia_rx51.h
@@ -155,7 +155,6 @@
/* commands not needed from config_cmd_default.h */
#undef CONFIG_CMD_FPGA /* FPGA configuration Support */
#undef CONFIG_CMD_IMI /* iminfo */
-#undef CONFIG_CMD_NET /* bootp, tftpboot, rarpboot */
#undef CONFIG_CMD_NFS /* NFS support */
#undef CONFIG_CMD_SAVEENV /* saveenv */
#undef CONFIG_CMD_SETGETDCR /* DCR support on 4xx */
diff --git a/include/configs/novena.h b/include/configs/novena.h
index 1f9326961c..1dc9d83c2c 100644
--- a/include/configs/novena.h
+++ b/include/configs/novena.h
@@ -26,11 +26,9 @@
#define CONFIG_CMD_I2C
#define CONFIG_CMD_FUSE
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PCI
#define CONFIG_CMD_PING
#define CONFIG_CMD_SATA
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_TIME
#define CONFIG_CMD_USB
#define CONFIG_VIDEO
diff --git a/include/configs/nyan-big.h b/include/configs/nyan-big.h
index caca98b5a9..a92112f870 100644
--- a/include/configs/nyan-big.h
+++ b/include/configs/nyan-big.h
@@ -74,7 +74,6 @@
#define CONFIG_USB_ETHER_ASIX
/* General networking support */
-#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
#define CONFIG_FIT
diff --git a/include/configs/odroid.h b/include/configs/odroid.h
index 3874baa940..69be496c07 100644
--- a/include/configs/odroid.h
+++ b/include/configs/odroid.h
@@ -198,7 +198,6 @@
#define CONFIG_USB_STORAGE
#define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 3
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_USB_HOST_ETHER
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
index f25a940789..709528be4b 100644
--- a/include/configs/omap3_beagle.h
+++ b/include/configs/omap3_beagle.h
@@ -109,7 +109,6 @@
#define CONFIG_USB_STORAGE /* USB storage support */
#define CONFIG_CMD_NAND /* NAND support */
#define CONFIG_CMD_LED /* LED support */
-#define CONFIG_CMD_SETEXPR /* Evaluate expressions */
#define CONFIG_CMD_GPIO /* Enable gpio command */
#define CONFIG_CMD_DHCP
diff --git a/include/configs/omap3_cairo.h b/include/configs/omap3_cairo.h
index 20826790fa..ed7956694b 100644
--- a/include/configs/omap3_cairo.h
+++ b/include/configs/omap3_cairo.h
@@ -62,13 +62,11 @@
/* commands to include */
#include <config_cmd_default.h>
-#define CONFIG_CMD_SETEXPR /* Evaluate expressions */
#define CONFIG_CMD_NAND_LOCK_UNLOCK
/* Disable some commands */
#undef CONFIG_CMD_FPGA /* FPGA configuration Support */
#undef CONFIG_CMD_IMI /* iminfo */
-#undef CONFIG_CMD_NET /* bootp, tftpboot, rarpboot */
/*
* TWL4030
diff --git a/include/configs/omap3_evm_quick_mmc.h b/include/configs/omap3_evm_quick_mmc.h
index a7acc1becb..27cd9bed5c 100644
--- a/include/configs/omap3_evm_quick_mmc.h
+++ b/include/configs/omap3_evm_quick_mmc.h
@@ -28,7 +28,6 @@
* When revision is statically configured via CONFIG_STATIC_BOARD_REV,
* this option can be removed. Generated binary is leaner by ~16Kbytes.
*/
-#define CONFIG_CMD_NET
/* ----------------------------------------------------------------------------
* Supported U-boot features
diff --git a/include/configs/omap3_evm_quick_nand.h b/include/configs/omap3_evm_quick_nand.h
index c6cad93889..124e8c6641 100644
--- a/include/configs/omap3_evm_quick_nand.h
+++ b/include/configs/omap3_evm_quick_nand.h
@@ -27,7 +27,6 @@
* When revision is statically configured via CONFIG_STATIC_BOARD_REV,
* this option can be removed. Generated binary is leaner by ~16Kbytes.
*/
-#define CONFIG_CMD_NET
/* ----------------------------------------------------------------------------
* Supported U-boot features
diff --git a/include/configs/omap3_igep00x0.h b/include/configs/omap3_igep00x0.h
index a5e7d8f6a4..8aecb571b8 100644
--- a/include/configs/omap3_igep00x0.h
+++ b/include/configs/omap3_igep00x0.h
@@ -75,7 +75,6 @@
#endif
#if (CONFIG_MACH_TYPE == MACH_TYPE_IGEP0020) || \
(CONFIG_MACH_TYPE == MACH_TYPE_IGEP0032)
-#define CONFIG_CMD_NET /* bootp, tftpboot, rarpboot */
#endif
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_PING
diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h
index 13cd35b16a..6783f68cee 100644
--- a/include/configs/omap3_logic.h
+++ b/include/configs/omap3_logic.h
@@ -106,10 +106,8 @@
#define CONFIG_CMD_MMC /* MMC support */
#define CONFIG_CMD_NAND /* NAND support */
#define CONFIG_CMD_NAND_LOCK_UNLOCK /* nand (un)lock commands */
-#define CONFIG_CMD_NET /* bootp, tftpboot, rarpboot */
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
-#define CONFIG_CMD_SETEXPR /* Evaluate expressions */
#undef CONFIG_CMD_FLASH /* flinfo, erase, protect */
#undef CONFIG_CMD_FPGA /* FPGA configuration Support */
diff --git a/include/configs/omap3_mvblx.h b/include/configs/omap3_mvblx.h
index b61297f9ee..10d1f77c9d 100644
--- a/include/configs/omap3_mvblx.h
+++ b/include/configs/omap3_mvblx.h
@@ -124,7 +124,6 @@
#define CONFIG_CMD_EEPROM
#define CONFIG_CMD_IMI /* iminfo */
#undef CONFIG_CMD_IMLS /* List all found images */
-#define CONFIG_CMD_NET /* bootp, tftpboot, rarpboot */
#define CONFIG_CMD_NFS /* NFS support */
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_PING
diff --git a/include/configs/omap3_pandora.h b/include/configs/omap3_pandora.h
index 8d3531c828..a8af1c5309 100644
--- a/include/configs/omap3_pandora.h
+++ b/include/configs/omap3_pandora.h
@@ -64,7 +64,6 @@
#undef CONFIG_CMD_FPGA /* FPGA configuration Support */
#undef CONFIG_CMD_IMI /* iminfo */
#undef CONFIG_CMD_IMLS /* List all found images */
-#undef CONFIG_CMD_NET /* bootp, tftpboot, rarpboot */
#undef CONFIG_CMD_NFS /* NFS support */
/*
diff --git a/include/configs/omap3_sdp3430.h b/include/configs/omap3_sdp3430.h
index 1ca79d4ee4..d97e4d4536 100644
--- a/include/configs/omap3_sdp3430.h
+++ b/include/configs/omap3_sdp3430.h
@@ -158,7 +158,6 @@
#define CONFIG_CMD_I2C /* I2C serial bus support */
#define CONFIG_CMD_JFFS2 /* JFFS2 Support */
#define CONFIG_CMD_MMC /* MMC support */
-#define CONFIG_CMD_NET
/* Disabled commands */
#undef CONFIG_CMD_FPGA /* FPGA configuration Support */
diff --git a/include/configs/omap3_zoom1.h b/include/configs/omap3_zoom1.h
index 611cd5e1a3..36a52a93b5 100644
--- a/include/configs/omap3_zoom1.h
+++ b/include/configs/omap3_zoom1.h
@@ -82,7 +82,6 @@
#undef CONFIG_CMD_FPGA /* FPGA configuration Support */
#undef CONFIG_CMD_IMI /* iminfo */
#undef CONFIG_CMD_IMLS /* List all found images */
-#define CONFIG_CMD_NET /* bootp, tftpboot, rarpboot */
#define CONFIG_CMD_NFS /* NFS support */
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
diff --git a/include/configs/omap4_panda.h b/include/configs/omap4_panda.h
index e97c5e30da..3313f96fef 100644
--- a/include/configs/omap4_panda.h
+++ b/include/configs/omap4_panda.h
@@ -37,7 +37,6 @@
#define CONFIG_CMD_DHCP
#include <configs/ti_omap4_common.h>
-#define CONFIG_CMD_NET
/* GPIO */
#define CONFIG_CMD_GPIO
diff --git a/include/configs/omap5_uevm.h b/include/configs/omap5_uevm.h
index 0ca4e82e0f..4215156063 100644
--- a/include/configs/omap5_uevm.h
+++ b/include/configs/omap5_uevm.h
@@ -59,7 +59,6 @@
/* Enabled commands */
#define CONFIG_CMD_DHCP /* DHCP Support */
-#define CONFIG_CMD_NET /* bootp, tftpboot, rarpboot */
#define CONFIG_CMD_NFS /* NFS support */
/* USB Networking options */
diff --git a/include/configs/omapl138_lcdk.h b/include/configs/omapl138_lcdk.h
index 68b401066e..ab5475e047 100644
--- a/include/configs/omapl138_lcdk.h
+++ b/include/configs/omapl138_lcdk.h
@@ -245,7 +245,6 @@
#endif
#ifndef CONFIG_DRIVER_TI_EMAC
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_DHCP
#undef CONFIG_CMD_MII
#undef CONFIG_CMD_PING
diff --git a/include/configs/origen.h b/include/configs/origen.h
index 8f1e25696e..5d43229de7 100644
--- a/include/configs/origen.h
+++ b/include/configs/origen.h
@@ -60,7 +60,6 @@
#define CONFIG_CMD_FS_GENERIC
#define CONFIG_CMD_BOOTZ
#define CONFIG_SUPPORT_RAW_INITRD
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
/* MMC SPL */
diff --git a/include/configs/ot1200.h b/include/configs/ot1200.h
index 699b037b94..2bbf2b9a5f 100644
--- a/include/configs/ot1200.h
+++ b/include/configs/ot1200.h
@@ -102,7 +102,6 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
@@ -124,7 +123,6 @@
/* Miscellaneous commands */
#define CONFIG_CMD_BMODE
-#define CONFIG_CMD_SETEXPR
#define CONFIG_PREBOOT ""
diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h
index a5f97176ce..b51379e779 100644
--- a/include/configs/p1_p2_rdb_pc.h
+++ b/include/configs/p1_p2_rdb_pc.h
@@ -775,7 +775,6 @@
#define CONFIG_PCI_PNP /* do pci plug-and-play */
#define CONFIG_E1000 /* Defind e1000 pci Ethernet card*/
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_NET
#define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
#define CONFIG_DOS_PARTITION
@@ -906,7 +905,6 @@
#define CONFIG_CMD_MII
#define CONFIG_CMD_DATE
#define CONFIG_CMD_ELF
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_REGINFO
/*
diff --git a/include/configs/p1_twr.h b/include/configs/p1_twr.h
index 9864c15d83..322e0748bc 100644
--- a/include/configs/p1_twr.h
+++ b/include/configs/p1_twr.h
@@ -306,7 +306,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
#define CONFIG_PCI_PNP /* do pci plug-and-play */
#define CONFIG_E1000 /* Defind e1000 pci Ethernet card*/
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_NET
#define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
#define CONFIG_DOS_PARTITION
@@ -435,7 +434,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
#define CONFIG_CMD_I2C
#define CONFIG_CMD_MII
#define CONFIG_CMD_ELF
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_REGINFO
/*
diff --git a/include/configs/p3p440.h b/include/configs/p3p440.h
index 225567bd90..4433c7c122 100644
--- a/include/configs/p3p440.h
+++ b/include/configs/p3p440.h
@@ -181,7 +181,6 @@
#define CONFIG_CMD_I2C
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_NFS
#define CONFIG_CMD_PCI
#define CONFIG_CMD_PING
diff --git a/include/configs/palmld.h b/include/configs/palmld.h
index 7dbc9aee3a..b54c016637 100644
--- a/include/configs/palmld.h
+++ b/include/configs/palmld.h
@@ -52,7 +52,6 @@
*/
#include <config_cmd_default.h>
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
#define CONFIG_CMD_ENV
#undef CONFIG_CMD_IMLS
diff --git a/include/configs/palmtc.h b/include/configs/palmtc.h
index 75506b22f3..965200a158 100644
--- a/include/configs/palmtc.h
+++ b/include/configs/palmtc.h
@@ -56,7 +56,6 @@
*/
#include <config_cmd_default.h>
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
#define CONFIG_CMD_ENV
#define CONFIG_CMD_MMC
diff --git a/include/configs/palmtreo680.h b/include/configs/palmtreo680.h
index bd0f44b0d8..38178151fe 100644
--- a/include/configs/palmtreo680.h
+++ b/include/configs/palmtreo680.h
@@ -43,7 +43,6 @@
#include <config_cmd_default.h>
#undef CONFIG_CMD_FPGA
#undef CONFIG_CMD_LOADS
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
#undef CONFIG_CMD_IMLS
#undef CONFIG_CMD_FLASH
diff --git a/include/configs/paz00.h b/include/configs/paz00.h
index 284419ffc8..0bdeccc5a9 100644
--- a/include/configs/paz00.h
+++ b/include/configs/paz00.h
@@ -53,7 +53,6 @@
#define CONFIG_USB_ETHER_ASIX
/* General networking support */
-#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
/* LCD support */
diff --git a/include/configs/pcs440ep.h b/include/configs/pcs440ep.h
index e6e06f2d2e..3cadf34135 100644
--- a/include/configs/pcs440ep.h
+++ b/include/configs/pcs440ep.h
@@ -260,7 +260,6 @@
#define CONFIG_CMD_IDE
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_NFS
#define CONFIG_CMD_PCI
#define CONFIG_CMD_PING
diff --git a/include/configs/platinum.h b/include/configs/platinum.h
index 5ab22e7d5f..fd1946160a 100644
--- a/include/configs/platinum.h
+++ b/include/configs/platinum.h
@@ -29,7 +29,6 @@
#define CONFIG_CMD_MTDPARTS
#define CONFIG_CMD_NAND
#define CONFIG_CMD_NAND_TRIMFFS
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_TIME
#define CONFIG_CMD_UBI
diff --git a/include/configs/plutux.h b/include/configs/plutux.h
index 6878ed7995..7f7ea9754b 100644
--- a/include/configs/plutux.h
+++ b/include/configs/plutux.h
@@ -46,7 +46,6 @@
#define CONFIG_USB_ETHER_SMSC95XX
/* General networking support */
-#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
/* support the new (FDT-based) image format */
diff --git a/include/configs/qemu-ppce500.h b/include/configs/qemu-ppce500.h
index 70718497fb..f678021aac 100644
--- a/include/configs/qemu-ppce500.h
+++ b/include/configs/qemu-ppce500.h
@@ -167,11 +167,9 @@ extern unsigned long long get_phys_ccsrbar_addr_early(void);
#define CONFIG_CMD_GREPENV
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_PING
-#define CONFIG_CMD_SETEXPR
#ifdef CONFIG_PCI
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_NET
#endif
/*
diff --git a/include/configs/qong.h b/include/configs/qong.h
index d383fe878f..8a9847e58d 100644
--- a/include/configs/qong.h
+++ b/include/configs/qong.h
@@ -119,9 +119,7 @@
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_MII
#define CONFIG_CMD_NAND
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_SPI
#define CONFIG_CMD_UNZIP
diff --git a/include/configs/r0p7734.h b/include/configs/r0p7734.h
index a71709bc7c..708647ece8 100644
--- a/include/configs/r0p7734.h
+++ b/include/configs/r0p7734.h
@@ -20,7 +20,6 @@
#define CONFIG_CMD_FLASH
#define CONFIG_CMD_MEMORY
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_MII
#define CONFIG_CMD_NFS
diff --git a/include/configs/r2dplus.h b/include/configs/r2dplus.h
index 24d0c34db6..5371a65938 100644
--- a/include/configs/r2dplus.h
+++ b/include/configs/r2dplus.h
@@ -16,7 +16,6 @@
#define CONFIG_CMD_CACHE
#define CONFIG_CMD_FLASH
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_IDE
#define CONFIG_CMD_EXT2
diff --git a/include/configs/r7780mp.h b/include/configs/r7780mp.h
index 8156724f7f..9c62a04dbf 100644
--- a/include/configs/r7780mp.h
+++ b/include/configs/r7780mp.h
@@ -23,7 +23,6 @@
#define CONFIG_CMD_FLASH
#define CONFIG_CMD_MEMORY
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_SAVEENV
#define CONFIG_CMD_NFS
diff --git a/include/configs/rcar-gen2-common.h b/include/configs/rcar-gen2-common.h
index c33f1cb880..3845e60b35 100644
--- a/include/configs/rcar-gen2-common.h
+++ b/include/configs/rcar-gen2-common.h
@@ -18,7 +18,6 @@
#define CONFIG_CMD_SDRAM
#define CONFIG_CMD_RUN
#define CONFIG_CMD_LOADS
-#define CONFIG_CMD_NET
#define CONFIG_CMD_MII
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
diff --git a/include/configs/rsk7203.h b/include/configs/rsk7203.h
index e7f73872ee..fc8e96735b 100644
--- a/include/configs/rsk7203.h
+++ b/include/configs/rsk7203.h
@@ -15,7 +15,6 @@
#define CONFIG_RSK7203 1
#define CONFIG_CMD_FLASH
-#define CONFIG_CMD_NET
#define CONFIG_CMD_NFS
#define CONFIG_CMD_PING
#define CONFIG_CMD_SAVEENV
diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h
index 8fadc68239..16770f0594 100644
--- a/include/configs/s5p_goni.h
+++ b/include/configs/s5p_goni.h
@@ -66,7 +66,6 @@
#undef CONFIG_CMD_FPGA
#undef CONFIG_CMD_MISC
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
#undef CONFIG_CMD_XIMG
#define CONFIG_CMD_CACHE
diff --git a/include/configs/sc_sps_1.h b/include/configs/sc_sps_1.h
index 16d2e2d22b..0c4ca21a2d 100644
--- a/include/configs/sc_sps_1.h
+++ b/include/configs/sc_sps_1.h
@@ -27,10 +27,8 @@
#define CONFIG_CMD_GPIO
#define CONFIG_CMD_MII
#define CONFIG_CMD_MMC
-#define CONFIG_CMD_NET
#define CONFIG_CMD_NFS
#define CONFIG_CMD_PING
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_USB
/* Memory configuration */
diff --git a/include/configs/scb9328.h b/include/configs/scb9328.h
index 6cac99e042..ecb372f941 100644
--- a/include/configs/scb9328.h
+++ b/include/configs/scb9328.h
@@ -32,7 +32,6 @@
*/
#include <config_cmd_default.h>
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h
index 78ff651d06..fdeffb5ab3 100644
--- a/include/configs/seaboard.h
+++ b/include/configs/seaboard.h
@@ -57,7 +57,6 @@
#define CONFIG_USB_ETHER_ASIX
/* General networking support */
-#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
/* Enable keyboard */
diff --git a/include/configs/secomx6quq7.h b/include/configs/secomx6quq7.h
index 72b13a63ac..114d1fdb67 100644
--- a/include/configs/secomx6quq7.h
+++ b/include/configs/secomx6quq7.h
@@ -23,7 +23,6 @@
/* Command definition */
#define CONFIG_CMD_BMODE
-#define CONFIG_CMD_SETEXPR
#define CONFIG_SYS_MEMTEST_START 0x10000000
#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + 500 * SZ_1M)
@@ -36,7 +35,6 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
diff --git a/include/configs/sh7752evb.h b/include/configs/sh7752evb.h
index 2d509a9b9c..d7bc751eab 100644
--- a/include/configs/sh7752evb.h
+++ b/include/configs/sh7752evb.h
@@ -17,7 +17,6 @@
#define CONFIG_SYS_LDSCRIPT "board/renesas/sh7752evb/u-boot.lds"
#define CONFIG_CMD_MEMORY
-#define CONFIG_CMD_NET
#define CONFIG_CMD_MII
#define CONFIG_CMD_PING
#define CONFIG_CMD_NFS
diff --git a/include/configs/sh7753evb.h b/include/configs/sh7753evb.h
index c31dd7a174..2124e0f3dd 100644
--- a/include/configs/sh7753evb.h
+++ b/include/configs/sh7753evb.h
@@ -17,7 +17,6 @@
#define CONFIG_SYS_LDSCRIPT "board/renesas/sh7753evb/u-boot.lds"
#define CONFIG_CMD_MEMORY
-#define CONFIG_CMD_NET
#define CONFIG_CMD_MII
#define CONFIG_CMD_PING
#define CONFIG_CMD_NFS
diff --git a/include/configs/sh7757lcr.h b/include/configs/sh7757lcr.h
index 36afd5f70a..fd6a1df48a 100644
--- a/include/configs/sh7757lcr.h
+++ b/include/configs/sh7757lcr.h
@@ -18,7 +18,6 @@
#define CONFIG_SYS_LDSCRIPT "board/renesas/sh7757lcr/u-boot.lds"
#define CONFIG_CMD_MEMORY
-#define CONFIG_CMD_NET
#define CONFIG_CMD_MII
#define CONFIG_CMD_PING
#define CONFIG_CMD_NFS
diff --git a/include/configs/sh7763rdp.h b/include/configs/sh7763rdp.h
index 2438318fca..27ad96e484 100644
--- a/include/configs/sh7763rdp.h
+++ b/include/configs/sh7763rdp.h
@@ -20,7 +20,6 @@
#define CONFIG_CMD_SDRAM
#define CONFIG_CMD_FLASH
#define CONFIG_CMD_MEMORY
-#define CONFIG_CMD_NET
#define CONFIG_CMD_MII
#define CONFIG_CMD_PING
#define CONFIG_CMD_SAVEENV
diff --git a/include/configs/sh7785lcr.h b/include/configs/sh7785lcr.h
index 2723eaf2d3..9f42ae1513 100644
--- a/include/configs/sh7785lcr.h
+++ b/include/configs/sh7785lcr.h
@@ -16,7 +16,6 @@
#define CONFIG_CMD_FLASH
#define CONFIG_CMD_MEMORY
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_NFS
#define CONFIG_CMD_SDRAM
diff --git a/include/configs/shmin.h b/include/configs/shmin.h
index 4d38f6c554..8c02afedd2 100644
--- a/include/configs/shmin.h
+++ b/include/configs/shmin.h
@@ -18,7 +18,6 @@
#define CONFIG_CMD_FLASH
#define CONFIG_CMD_MEMORY
#define CONFIG_CMD_SDRAM
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_NFS
#define CONFIG_CMD_ENV
diff --git a/include/configs/siemens-am33x-common.h b/include/configs/siemens-am33x-common.h
index c7affd6f3a..61f51070f6 100644
--- a/include/configs/siemens-am33x-common.h
+++ b/include/configs/siemens-am33x-common.h
@@ -290,7 +290,6 @@
/* Unsupported features */
#undef CONFIG_USE_IRQ
-#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_PING
#define CONFIG_DRIVER_TI_CPSW
diff --git a/include/configs/smdkv310.h b/include/configs/smdkv310.h
index 655025c912..d26e5ecd6f 100644
--- a/include/configs/smdkv310.h
+++ b/include/configs/smdkv310.h
@@ -45,7 +45,6 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_ELF
#define CONFIG_CMD_DHCP
-#define CONFIG_CMD_NET
/* MMC SPL */
#define CONFIG_SKIP_LOWLEVEL_INIT
diff --git a/include/configs/socfpga_arria5.h b/include/configs/socfpga_arria5.h
index b8e1c47651..70ee4c91fa 100644
--- a/include/configs/socfpga_arria5.h
+++ b/include/configs/socfpga_arria5.h
@@ -31,9 +31,7 @@
#define CONFIG_CMD_GREPENV
#define CONFIG_CMD_MII
#define CONFIG_CMD_MMC
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_USB
#define CONFIG_CMD_USB_MASS_STORAGE
diff --git a/include/configs/socfpga_cyclone5.h b/include/configs/socfpga_cyclone5.h
index 1227711f32..e321381622 100644
--- a/include/configs/socfpga_cyclone5.h
+++ b/include/configs/socfpga_cyclone5.h
@@ -31,9 +31,7 @@
#define CONFIG_CMD_GREPENV
#define CONFIG_CMD_MII
#define CONFIG_CMD_MMC
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_USB
#define CONFIG_CMD_USB_MASS_STORAGE
diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h
index 409cf54172..59455abce2 100644
--- a/include/configs/spear-common.h
+++ b/include/configs/spear-common.h
@@ -109,7 +109,6 @@
#define CONFIG_CMD_MEMORY
#define CONFIG_CMD_RUN
#define CONFIG_CMD_SAVES
-#define CONFIG_CMD_NET
#define CONFIG_CMD_MII
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
diff --git a/include/configs/stamp9g20.h b/include/configs/stamp9g20.h
index 01085dc5c1..5d51abfc01 100644
--- a/include/configs/stamp9g20.h
+++ b/include/configs/stamp9g20.h
@@ -248,7 +248,6 @@
# define CONFIG_CMD_DHCP
#else
# undef CONFIG_CMD_BOOTD
-# undef CONFIG_CMD_NET
# undef CONFIG_CMD_NFS
#endif /* CONFIG_MACB */
diff --git a/include/configs/stv0991.h b/include/configs/stv0991.h
index e75e6616ca..888d29cd0f 100644
--- a/include/configs/stv0991.h
+++ b/include/configs/stv0991.h
@@ -54,7 +54,6 @@
#define CONFIG_MII
#define CONFIG_PHYLIB
-#define CONFIG_CMD_NET
#define CONFIG_DW_ALTDESCRIPTOR
#define CONFIG_PHY_MICREL
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index aad22f7e55..07db736d31 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -134,7 +134,6 @@
#endif
#define CONFIG_CMD_MEMORY
-#define CONFIG_CMD_SETEXPR
#define CONFIG_SETUP_MEMORY_TAGS
#define CONFIG_CMDLINE_TAG
diff --git a/include/configs/t4qds.h b/include/configs/t4qds.h
index 75609b9f61..fd208b1bac 100644
--- a/include/configs/t4qds.h
+++ b/include/configs/t4qds.h
@@ -284,11 +284,9 @@
#define CONFIG_CMD_I2C
#define CONFIG_CMD_MII
#define CONFIG_CMD_PING
-#define CONFIG_CMD_SETEXPR
#ifdef CONFIG_PCI
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_NET
#endif
/*
diff --git a/include/configs/tam3517-common.h b/include/configs/tam3517-common.h
index 2d12e86566..30bc2be74d 100644
--- a/include/configs/tam3517-common.h
+++ b/include/configs/tam3517-common.h
@@ -110,7 +110,6 @@
#define CONFIG_CMD_I2C /* I2C serial bus support */
#define CONFIG_CMD_MII
#define CONFIG_CMD_MMC /* MMC support */
-#define CONFIG_CMD_NET
#define CONFIG_CMD_NFS
#define CONFIG_CMD_NAND /* NAND support */
#define CONFIG_CMD_PING
diff --git a/include/configs/tbs2910.h b/include/configs/tbs2910.h
index 13a6e06b5d..e1c993783b 100644
--- a/include/configs/tbs2910.h
+++ b/include/configs/tbs2910.h
@@ -51,7 +51,6 @@
/* *** Command definition *** */
#define CONFIG_CMD_BMODE
-#define CONFIG_CMD_SETEXPR
#define CONFIG_CMD_MEMTEST
#define CONFIG_CMD_TIME
@@ -69,7 +68,6 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
diff --git a/include/configs/tcm-bf518.h b/include/configs/tcm-bf518.h
index e726b29da5..1e74535b5c 100644
--- a/include/configs/tcm-bf518.h
+++ b/include/configs/tcm-bf518.h
@@ -66,7 +66,6 @@
#define CONFIG_NETCONSOLE 1
#endif
#define CONFIG_HOSTNAME tcm-bf518
-#define CONFIG_LIB_RAND
/*
* Flash Settings
diff --git a/include/configs/tcm-bf537.h b/include/configs/tcm-bf537.h
index 33265801a6..a8947c5934 100644
--- a/include/configs/tcm-bf537.h
+++ b/include/configs/tcm-bf537.h
@@ -71,7 +71,6 @@
#define CONFIG_NETCONSOLE 1
#endif
#define CONFIG_HOSTNAME tcm-bf537
-#define CONFIG_LIB_RAND
/*
* Flash Settings
diff --git a/include/configs/tec-ng.h b/include/configs/tec-ng.h
index cfa7fb12d7..cfee2c3b84 100644
--- a/include/configs/tec-ng.h
+++ b/include/configs/tec-ng.h
@@ -57,7 +57,6 @@
#define CONFIG_USB_ETHER_SMSC95XX
/* General networking support */
-#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
/* Tag support */
diff --git a/include/configs/tec.h b/include/configs/tec.h
index 13c24c960c..3b543eba6b 100644
--- a/include/configs/tec.h
+++ b/include/configs/tec.h
@@ -46,7 +46,6 @@
#define CONFIG_USB_ETHER_SMSC95XX
/* General networking support */
-#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
/* LCD support */
diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h
index 7ae1792354..0bac9ad5c4 100644
--- a/include/configs/tegra-common.h
+++ b/include/configs/tegra-common.h
@@ -76,7 +76,6 @@
#undef CONFIG_CMD_IMI
#undef CONFIG_CMD_IMLS
#undef CONFIG_CMD_NFS /* NFS support */
-#undef CONFIG_CMD_NET /* network support */
/* turn on command-line edit/hist/auto */
#define CONFIG_COMMAND_HISTORY
diff --git a/include/configs/ti814x_evm.h b/include/configs/ti814x_evm.h
index dcc2bdc7f6..1dbd6c8d3f 100644
--- a/include/configs/ti814x_evm.h
+++ b/include/configs/ti814x_evm.h
@@ -216,7 +216,6 @@
#undef CONFIG_USE_IRQ
/* Ethernet */
-#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_PING
#define CONFIG_CMD_MII
diff --git a/include/configs/ti_am335x_common.h b/include/configs/ti_am335x_common.h
index 20a55f4aa8..4d2ae280e7 100644
--- a/include/configs/ti_am335x_common.h
+++ b/include/configs/ti_am335x_common.h
@@ -34,7 +34,6 @@
#define CONFIG_SYS_NS16550_CLK 48000000
/* Network defines. */
-#define CONFIG_CMD_NET /* 'bootp' and 'tftp' */
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_MII
#define CONFIG_BOOTP_DNS /* Configurable parts of CMD_DHCP */
diff --git a/include/configs/ti_omap4_common.h b/include/configs/ti_omap4_common.h
index 1c93aab1a7..6c3380441d 100644
--- a/include/configs/ti_omap4_common.h
+++ b/include/configs/ti_omap4_common.h
@@ -79,7 +79,6 @@
#define CONFIG_SYS_CONSOLE_IS_IN_ENV 1
/* Per-Soc commands */
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
/*
diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h
index 33834912fc..4faffef047 100644
--- a/include/configs/ti_omap5_common.h
+++ b/include/configs/ti_omap5_common.h
@@ -58,7 +58,6 @@
#define CONFIG_SYS_NS16550_CLK 48000000
/* Per-SoC commands */
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
/*
diff --git a/include/configs/titanium.h b/include/configs/titanium.h
index 7490fa8bed..49aa3c7de3 100644
--- a/include/configs/titanium.h
+++ b/include/configs/titanium.h
@@ -43,7 +43,6 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
diff --git a/include/configs/tqma6.h b/include/configs/tqma6.h
index 4c93c9bbb9..4859e03890 100644
--- a/include/configs/tqma6.h
+++ b/include/configs/tqma6.h
@@ -100,7 +100,6 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_FEC_MXC
#define IMX_FEC_BASE ENET_BASE_ADDR
@@ -116,7 +115,6 @@
/* Command definition */
#define CONFIG_CMD_BMODE
#define CONFIG_CMD_ITEST
-#define CONFIG_CMD_SETEXPR
/* place code in last 4 MiB of RAM */
#if defined(CONFIG_MX6DL) || defined(CONFIG_MX6S)
diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h
index 7426bde8a0..b004d099e1 100644
--- a/include/configs/tricorder.h
+++ b/include/configs/tricorder.h
@@ -162,7 +162,6 @@
#define CONFIG_CMD_UBIFS /* UBIFS commands */
#define CONFIG_LZO /* LZO is needed for UBIFS */
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
#undef CONFIG_CMD_FPGA /* FPGA configuration Support */
#undef CONFIG_CMD_IMI /* iminfo */
diff --git a/include/configs/trimslice.h b/include/configs/trimslice.h
index 81be8a2204..848ef33f20 100644
--- a/include/configs/trimslice.h
+++ b/include/configs/trimslice.h
@@ -69,7 +69,6 @@
#define CONFIG_RTL8169
/* General networking support */
-#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
#include "tegra-common-post.h"
diff --git a/include/configs/tx25.h b/include/configs/tx25.h
index 118f5bae72..622bd53440 100644
--- a/include/configs/tx25.h
+++ b/include/configs/tx25.h
@@ -132,7 +132,6 @@
#define CONFIG_FEC_MXC
#define CONFIG_FEC_MXC_PHYADDR 0x1f
#define CONFIG_MII
-#define CONFIG_CMD_NET
#define CONFIG_BOARD_LATE_INIT
#define CONFIG_ENV_OVERWRITE
diff --git a/include/configs/udoo.h b/include/configs/udoo.h
index fce2b9b3e6..910bf01688 100644
--- a/include/configs/udoo.h
+++ b/include/configs/udoo.h
@@ -39,7 +39,6 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
@@ -52,7 +51,6 @@
/* Command definition */
#define CONFIG_CMD_BMODE
-#define CONFIG_CMD_SETEXPR
#define CONFIG_SYS_MEMTEST_START 0x10000000
#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + 500 * SZ_1M)
diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
index 850083c110..8510472d95 100644
--- a/include/configs/uniphier.h
+++ b/include/configs/uniphier.h
@@ -250,8 +250,6 @@
/* Open Firmware flat tree */
#define CONFIG_OF_LIBFDT
-#define CONFIG_LIB_RAND
-
#define CONFIG_HAVE_ARM_SECURE
/* Memory Size & Mapping */
diff --git a/include/configs/vct.h b/include/configs/vct.h
index 88e58ec54b..ed9378eae8 100644
--- a/include/configs/vct.h
+++ b/include/configs/vct.h
@@ -98,7 +98,6 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_SNTP
#else
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
#endif
@@ -312,7 +311,6 @@ int vct_gpio_get(int pin);
#undef CONFIG_CMD_LOADY
#undef CONFIG_CMD_MII
#undef CONFIG_CMD_MISC
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_PING
#undef CONFIG_CMD_REGINFO
#undef CONFIG_CMD_SNTP
diff --git a/include/configs/venice2.h b/include/configs/venice2.h
index 4594002424..bfe5298bf5 100644
--- a/include/configs/venice2.h
+++ b/include/configs/venice2.h
@@ -60,7 +60,6 @@
#define CONFIG_USB_ETHER_ASIX
/* General networking support */
-#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
#include "tegra-common-usb-gadget.h"
diff --git a/include/configs/ventana.h b/include/configs/ventana.h
index 62bec9955e..3f1ebcd552 100644
--- a/include/configs/ventana.h
+++ b/include/configs/ventana.h
@@ -44,7 +44,6 @@
#define CONFIG_USB_ETHER_ASIX
/* General networking support */
-#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
/* USB keyboard */
diff --git a/include/configs/versatile.h b/include/configs/versatile.h
index 900b89c997..8c3774a735 100644
--- a/include/configs/versatile.h
+++ b/include/configs/versatile.h
@@ -86,7 +86,6 @@
#define CONFIG_CMD_FLASH
#define CONFIG_CMD_IMI
#define CONFIG_CMD_MEMORY
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_SAVEENV
diff --git a/include/configs/vexpress_aemv8a.h b/include/configs/vexpress_aemv8a.h
index f7bb7236b7..b81dfce7aa 100644
--- a/include/configs/vexpress_aemv8a.h
+++ b/include/configs/vexpress_aemv8a.h
@@ -155,7 +155,6 @@
#define CONFIG_CMD_LOADB
#define CONFIG_CMD_MEMORY
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_SAVEENV
#define CONFIG_CMD_RUN
diff --git a/include/configs/vexpress_common.h b/include/configs/vexpress_common.h
index 989e755279..db78c85663 100644
--- a/include/configs/vexpress_common.h
+++ b/include/configs/vexpress_common.h
@@ -162,7 +162,6 @@
#define CONFIG_CMD_FLASH
#define CONFIG_CMD_IMI
#define CONFIG_CMD_MEMORY
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_SAVEENV
#define CONFIG_CMD_RUN
diff --git a/include/configs/vf610twr.h b/include/configs/vf610twr.h
index aa310411bf..dde65ed988 100644
--- a/include/configs/vf610twr.h
+++ b/include/configs/vf610twr.h
@@ -90,7 +90,6 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
diff --git a/include/configs/vision2.h b/include/configs/vision2.h
index 3f35076f9e..41680c4caf 100644
--- a/include/configs/vision2.h
+++ b/include/configs/vision2.h
@@ -114,7 +114,6 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
/* allow to overwrite serial and ethaddr */
#define CONFIG_ENV_OVERWRITE
diff --git a/include/configs/vpac270.h b/include/configs/vpac270.h
index 887433b16f..0886ba3a9c 100644
--- a/include/configs/vpac270.h
+++ b/include/configs/vpac270.h
@@ -69,7 +69,6 @@
*/
#include <config_cmd_default.h>
-#define CONFIG_CMD_NET
#define CONFIG_CMD_ENV
#undef CONFIG_CMD_IMLS
#define CONFIG_CMD_MMC
diff --git a/include/configs/wandboard.h b/include/configs/wandboard.h
index 69590ad884..0144e16131 100644
--- a/include/configs/wandboard.h
+++ b/include/configs/wandboard.h
@@ -29,7 +29,6 @@
/* Command definition */
#define CONFIG_CMD_BMODE
-#define CONFIG_CMD_SETEXPR
#define CONFIG_SYS_MEMTEST_START 0x10000000
#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + 500 * SZ_1M)
@@ -58,7 +57,6 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
diff --git a/include/configs/warp.h b/include/configs/warp.h
index 2673948955..e38b425215 100644
--- a/include/configs/warp.h
+++ b/include/configs/warp.h
@@ -30,7 +30,6 @@
#define CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE
/* Command definition */
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
/* Watchdog */
diff --git a/include/configs/whistler.h b/include/configs/whistler.h
index 94f151e9be..13cc3d3c30 100644
--- a/include/configs/whistler.h
+++ b/include/configs/whistler.h
@@ -54,7 +54,6 @@
#define CONFIG_USB_ETHER_ASIX
/* General networking support */
-#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
#include "tegra-common-post.h"
diff --git a/include/configs/woodburn_common.h b/include/configs/woodburn_common.h
index d0895cfdac..e8eabdb115 100644
--- a/include/configs/woodburn_common.h
+++ b/include/configs/woodburn_common.h
@@ -98,7 +98,6 @@
#define CONFIG_CMD_I2C
#define CONFIG_CMD_SPI
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_MMC
#define CONFIG_DOS_PARTITION
diff --git a/include/configs/x600.h b/include/configs/x600.h
index 27a66a53e8..5b63076614 100644
--- a/include/configs/x600.h
+++ b/include/configs/x600.h
@@ -114,7 +114,6 @@
#define CONFIG_CMD_MII
#define CONFIG_CMD_MTDPARTS
#define CONFIG_CMD_NAND
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PING
#define CONFIG_CMD_RUN
#define CONFIG_CMD_SAVES
diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h
index 3e21e09358..bf4758e3b3 100644
--- a/include/configs/x86-common.h
+++ b/include/configs/x86-common.h
@@ -122,7 +122,6 @@
#define CONFIG_CMD_LOADS
#define CONFIG_CMD_MEMORY
#define CONFIG_CMD_MISC
-#define CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
#define CONFIG_CMD_PCI
#define CONFIG_CMD_PING
diff --git a/include/configs/xilinx-ppc.h b/include/configs/xilinx-ppc.h
index ccae703cbc..4f62607ace 100644
--- a/include/configs/xilinx-ppc.h
+++ b/include/configs/xilinx-ppc.h
@@ -38,7 +38,6 @@
#undef CONFIG_CMD_SPI
#undef CONFIG_CMD_I2C
#undef CONFIG_CMD_DTT
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_PING
#undef CONFIG_CMD_DHCP
#undef CONFIG_CMD_EEPROM
diff --git a/include/configs/xpedite1000.h b/include/configs/xpedite1000.h
index 15c9176521..ea747c8e6d 100644
--- a/include/configs/xpedite1000.h
+++ b/include/configs/xpedite1000.h
@@ -199,7 +199,6 @@ extern void out32(unsigned int, unsigned long);
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_JFFS2
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PCI
#define CONFIG_CMD_PING
#define CONFIG_CMD_SAVEENV
diff --git a/include/configs/xpedite517x.h b/include/configs/xpedite517x.h
index 3414230244..a762ec09b3 100644
--- a/include/configs/xpedite517x.h
+++ b/include/configs/xpedite517x.h
@@ -543,7 +543,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
#define CONFIG_CMD_JFFS2
#define CONFIG_CMD_MII
#define CONFIG_CMD_NAND
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PCA953X
#define CONFIG_CMD_PCA953X_INFO
#define CONFIG_CMD_PCI
diff --git a/include/configs/xpedite520x.h b/include/configs/xpedite520x.h
index f966a8ad5e..9484ccb6ae 100644
--- a/include/configs/xpedite520x.h
+++ b/include/configs/xpedite520x.h
@@ -324,7 +324,6 @@
#define CONFIG_CMD_JFFS2
#define CONFIG_CMD_MII
#define CONFIG_CMD_NAND
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PCA953X
#define CONFIG_CMD_PCA953X_INFO
#define CONFIG_CMD_PCI
diff --git a/include/configs/xpedite537x.h b/include/configs/xpedite537x.h
index 988a2e8bfe..0391459a6a 100644
--- a/include/configs/xpedite537x.h
+++ b/include/configs/xpedite537x.h
@@ -396,7 +396,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
#define CONFIG_CMD_JFFS2
#define CONFIG_CMD_MII
#define CONFIG_CMD_NAND
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PCA953X
#define CONFIG_CMD_PCA953X_INFO
#define CONFIG_CMD_PCI
diff --git a/include/configs/xpedite550x.h b/include/configs/xpedite550x.h
index ac3f4f1c84..09c248a4c5 100644
--- a/include/configs/xpedite550x.h
+++ b/include/configs/xpedite550x.h
@@ -380,7 +380,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
#define CONFIG_CMD_JFFS2
#define CONFIG_CMD_MII
#define CONFIG_CMD_NAND
-#define CONFIG_CMD_NET
#define CONFIG_CMD_PCA953X
#define CONFIG_CMD_PCA953X_INFO
#define CONFIG_CMD_PCI
diff --git a/include/configs/zeus.h b/include/configs/zeus.h
index 9ac4a0f04a..cc1b96006a 100644
--- a/include/configs/zeus.h
+++ b/include/configs/zeus.h
@@ -62,7 +62,6 @@
#define CONFIG_CMD_I2C
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NET
#define CONFIG_CMD_NFS
#define CONFIG_CMD_PING
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/zipitz2.h b/include/configs/zipitz2.h
index 1dbbc15256..49ca978a52 100644
--- a/include/configs/zipitz2.h
+++ b/include/configs/zipitz2.h
@@ -64,7 +64,6 @@
*/
#include <config_cmd_default.h>
-#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
#define CONFIG_CMD_ENV
#undef CONFIG_CMD_IMLS
diff --git a/include/configs/zmx25.h b/include/configs/zmx25.h
index 342fa2c40a..d57e665822 100644
--- a/include/configs/zmx25.h
+++ b/include/configs/zmx25.h
@@ -78,7 +78,6 @@
* Command line configuration.
*/
#include <config_cmd_default.h>
-#define CONFIG_CMD_NET
#define CONFIG_CMD_CACHE
/*