summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/10m50_devboard.h1
-rw-r--r--include/configs/3c120_devboard.h1
-rw-r--r--include/configs/B4860QDS.h3
-rw-r--r--include/configs/BSC9131RDB.h3
-rw-r--r--include/configs/BSC9132QDS.h4
-rw-r--r--include/configs/C29XPCIE.h1
-rw-r--r--include/configs/CPCI4052.h2
-rw-r--r--include/configs/M5208EVBE.h2
-rw-r--r--include/configs/M52277EVB.h1
-rw-r--r--include/configs/M5235EVB.h2
-rw-r--r--include/configs/M5249EVB.h1
-rw-r--r--include/configs/M5253DEMO.h3
-rw-r--r--include/configs/M5253EVBE.h3
-rw-r--r--include/configs/M5272C3.h2
-rw-r--r--include/configs/M5275EVB.h2
-rw-r--r--include/configs/M5282EVB.h2
-rw-r--r--include/configs/M53017EVB.h2
-rw-r--r--include/configs/M5329EVB.h2
-rw-r--r--include/configs/M5373EVB.h2
-rw-r--r--include/configs/M54418TWR.h2
-rw-r--r--include/configs/M54451EVB.h2
-rw-r--r--include/configs/M54455EVB.h4
-rw-r--r--include/configs/M5475EVB.h2
-rw-r--r--include/configs/M5485EVB.h2
-rw-r--r--include/configs/MIP405.h3
-rw-r--r--include/configs/MPC8308RDB.h3
-rw-r--r--include/configs/MPC8313ERDB.h1
-rw-r--r--include/configs/MPC8315ERDB.h2
-rw-r--r--include/configs/MPC8323ERDB.h1
-rw-r--r--include/configs/MPC832XEMDS.h1
-rw-r--r--include/configs/MPC8349EMDS.h1
-rw-r--r--include/configs/MPC8349ITX.h3
-rw-r--r--include/configs/MPC837XEMDS.h5
-rw-r--r--include/configs/MPC837XERDB.h5
-rw-r--r--include/configs/MPC8536DS.h5
-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.h4
-rw-r--r--include/configs/MPC8572DS.h2
-rw-r--r--include/configs/MPC8610HPCD.h2
-rw-r--r--include/configs/MPC8641HPCN.h1
-rw-r--r--include/configs/P1010RDB.h4
-rw-r--r--include/configs/P1022DS.h6
-rw-r--r--include/configs/P1023RDB.h4
-rw-r--r--include/configs/P2041RDB.h8
-rw-r--r--include/configs/PIP405.h3
-rw-r--r--include/configs/PLU405.h2
-rw-r--r--include/configs/PMC405DE.h1
-rw-r--r--include/configs/PMC440.h2
-rw-r--r--include/configs/T102xQDS.h7
-rw-r--r--include/configs/T102xRDB.h6
-rw-r--r--include/configs/T1040QDS.h7
-rw-r--r--include/configs/T104xRDB.h7
-rw-r--r--include/configs/T208xQDS.h7
-rw-r--r--include/configs/T208xRDB.h6
-rw-r--r--include/configs/T4240QDS.h5
-rw-r--r--include/configs/T4240RDB.h8
-rw-r--r--include/configs/TQM5200.h5
-rw-r--r--include/configs/TQM823L.h2
-rw-r--r--include/configs/TQM823M.h2
-rw-r--r--include/configs/TQM834x.h2
-rw-r--r--include/configs/TQM850L.h2
-rw-r--r--include/configs/TQM850M.h2
-rw-r--r--include/configs/TQM855L.h2
-rw-r--r--include/configs/TQM855M.h2
-rw-r--r--include/configs/TQM860L.h2
-rw-r--r--include/configs/TQM860M.h2
-rw-r--r--include/configs/TQM862L.h2
-rw-r--r--include/configs/TQM862M.h2
-rw-r--r--include/configs/TQM866M.h2
-rw-r--r--include/configs/TQM885D.h3
-rw-r--r--include/configs/UCP1020.h5
-rw-r--r--include/configs/VCMA9.h2
-rw-r--r--include/configs/VOM405.h1
-rw-r--r--include/configs/a3m071.h2
-rw-r--r--include/configs/a4m072.h2
-rw-r--r--include/configs/ac14xx.h3
-rw-r--r--include/configs/adp-ag101p.h4
-rw-r--r--include/configs/alt.h1
-rw-r--r--include/configs/am335x_evm.h1
-rw-r--r--include/configs/am3517_crane.h4
-rw-r--r--include/configs/am3517_evm.h9
-rw-r--r--include/configs/am43xx_evm.h4
-rw-r--r--include/configs/am57xx_evm.h1
-rw-r--r--include/configs/amcc-common.h4
-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.h1
-rw-r--r--include/configs/apf27.h6
-rw-r--r--include/configs/apx4devkit.h5
-rw-r--r--include/configs/aria.h2
-rw-r--r--include/configs/aristainetos-common.h1
-rw-r--r--include/configs/armadillo-800eva.h2
-rw-r--r--include/configs/astro_mcf5373l.h1
-rw-r--r--include/configs/at91-sama5_common.h1
-rw-r--r--include/configs/at91rm9200ek.h4
-rw-r--r--include/configs/at91sam9260ek.h4
-rw-r--r--include/configs/at91sam9261ek.h1
-rw-r--r--include/configs/at91sam9263ek.h9
-rw-r--r--include/configs/at91sam9m10g45ek.h4
-rw-r--r--include/configs/at91sam9n12ek.h3
-rw-r--r--include/configs/at91sam9rlek.h4
-rw-r--r--include/configs/at91sam9x5ek.h4
-rw-r--r--include/configs/atngw100.h4
-rw-r--r--include/configs/atngw100mkii.h5
-rw-r--r--include/configs/atstk1002.h4
-rw-r--r--include/configs/axs101.h2
-rw-r--r--include/configs/baltos.h1
-rw-r--r--include/configs/bamboo.h2
-rw-r--r--include/configs/bav335x.h2
-rw-r--r--include/configs/bayleybay.h1
-rw-r--r--include/configs/bcm28155_ap.h5
-rw-r--r--include/configs/bcm_ep_board.h5
-rw-r--r--include/configs/beaver.h1
-rw-r--r--include/configs/bf537-minotaur.h1
-rw-r--r--include/configs/bf537-srv1.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.h8
-rw-r--r--include/configs/bg0900.h3
-rw-r--r--include/configs/blackstamp.h1
-rw-r--r--include/configs/blackvme.h2
-rw-r--r--include/configs/calimain.h3
-rw-r--r--include/configs/canmb.h2
-rw-r--r--include/configs/canyonlands.h2
-rw-r--r--include/configs/cardhu.h1
-rw-r--r--include/configs/cgtqmx6eval.h4
-rw-r--r--include/configs/clearfog.h7
-rw-r--r--include/configs/cm5200.h3
-rw-r--r--include/configs/cm_fx6.h1
-rw-r--r--include/configs/cm_t35.h5
-rw-r--r--include/configs/cm_t3517.h5
-rw-r--r--include/configs/cobra5272.h2
-rw-r--r--include/configs/colibri_pxa270.h1
-rw-r--r--include/configs/colibri_t20.h3
-rw-r--r--include/configs/colibri_t30.h1
-rw-r--r--include/configs/colibri_vf.h11
-rw-r--r--include/configs/conga-qeval20-qa3-e3845.h1
-rw-r--r--include/configs/controlcenterd.h4
-rw-r--r--include/configs/corenet_ds.h7
-rw-r--r--include/configs/corvus.h3
-rw-r--r--include/configs/crownbay.h1
-rw-r--r--include/configs/cyrus.h7
-rw-r--r--include/configs/da850evm.h6
-rw-r--r--include/configs/dalmore.h1
-rw-r--r--include/configs/db-88f6720.h5
-rw-r--r--include/configs/db-88f6820-gp.h6
-rw-r--r--include/configs/db-mv784mp-gp.h5
-rw-r--r--include/configs/dbau1x00.h2
-rw-r--r--include/configs/devkit3250.h3
-rw-r--r--include/configs/devkit8000.h4
-rw-r--r--include/configs/digsy_mtc.h4
-rw-r--r--include/configs/dnp5370.h2
-rw-r--r--include/configs/dockstar.h3
-rw-r--r--include/configs/dra7xx_evm.h2
-rw-r--r--include/configs/draco.h1
-rw-r--r--include/configs/dragonboard410c.h2
-rw-r--r--include/configs/dreamplug.h2
-rw-r--r--include/configs/e2220-1170.h1
-rw-r--r--include/configs/ea20.h3
-rw-r--r--include/configs/eb_cpu5282.h1
-rw-r--r--include/configs/ecovec.h3
-rw-r--r--include/configs/edb93xx.h6
-rw-r--r--include/configs/edminiv2.h1
-rw-r--r--include/configs/espt.h1
-rw-r--r--include/configs/ethernut5.h6
-rw-r--r--include/configs/exynos-common.h4
-rw-r--r--include/configs/exynos4-common.h2
-rw-r--r--include/configs/flea3.h2
-rw-r--r--include/configs/galileo.h1
-rw-r--r--include/configs/ge_bx50v3.h8
-rw-r--r--include/configs/goflexhome.h2
-rw-r--r--include/configs/gose.h1
-rw-r--r--include/configs/gplugd.h5
-rw-r--r--include/configs/gr_ep2s60.h2
-rw-r--r--include/configs/grasshopper.h1
-rw-r--r--include/configs/gw_ventana.h2
-rw-r--r--include/configs/harmony.h1
-rw-r--r--include/configs/hikey.h2
-rw-r--r--include/configs/hrcon.h3
-rw-r--r--include/configs/ib62x0.h2
-rw-r--r--include/configs/icon.h2
-rw-r--r--include/configs/iconnect.h3
-rw-r--r--include/configs/ids8313.h1
-rw-r--r--include/configs/imx27lite-common.h5
-rw-r--r--include/configs/inka4x0.h2
-rw-r--r--include/configs/intip.h2
-rw-r--r--include/configs/iocon.h1
-rw-r--r--include/configs/ipam390.h3
-rw-r--r--include/configs/ipek01.h2
-rw-r--r--include/configs/jetson-tk1.h1
-rw-r--r--include/configs/k2g_evm.h1
-rw-r--r--include/configs/katmai.h2
-rw-r--r--include/configs/kc1.h2
-rw-r--r--include/configs/km/keymile-common.h3
-rw-r--r--include/configs/km/km_arm.h1
-rw-r--r--include/configs/koelsch.h1
-rw-r--r--include/configs/kwb.h4
-rw-r--r--include/configs/kzm9g.h2
-rw-r--r--include/configs/lacie_kw.h2
-rw-r--r--include/configs/lager.h1
-rw-r--r--include/configs/legoev3.h5
-rw-r--r--include/configs/ls1021aqds.h8
-rw-r--r--include/configs/ls1021atwr.h8
-rw-r--r--include/configs/ls1043a_common.h3
-rw-r--r--include/configs/ls1043aqds.h6
-rw-r--r--include/configs/ls1043ardb.h2
-rw-r--r--include/configs/ls2080a_common.h3
-rw-r--r--include/configs/ls2080a_simu.h2
-rw-r--r--include/configs/ls2080aqds.h6
-rw-r--r--include/configs/ls2080ardb.h5
-rw-r--r--include/configs/lsxl.h4
-rw-r--r--include/configs/lwmon5.h3
-rw-r--r--include/configs/m28evk.h9
-rw-r--r--include/configs/m53evk.h8
-rw-r--r--include/configs/ma5d4evk.h10
-rw-r--r--include/configs/manroland/common.h2
-rw-r--r--include/configs/mcx.h6
-rw-r--r--include/configs/mecp5123.h4
-rw-r--r--include/configs/medcom-wide.h1
-rw-r--r--include/configs/meesc.h2
-rw-r--r--include/configs/microblaze-generic.h5
-rw-r--r--include/configs/minnowmax.h1
-rw-r--r--include/configs/motionpro.h3
-rw-r--r--include/configs/mpc5121ads.h4
-rw-r--r--include/configs/mpc8308_p1m.h1
-rw-r--r--include/configs/mpr2.h1
-rw-r--r--include/configs/ms7720se.h2
-rw-r--r--include/configs/munices.h1
-rw-r--r--include/configs/mv-common.h2
-rw-r--r--include/configs/mv-plug-common.h3
-rw-r--r--include/configs/mx23_olinuxino.h4
-rw-r--r--include/configs/mx23evk.h5
-rw-r--r--include/configs/mx25pdk.h7
-rw-r--r--include/configs/mx28evk.h8
-rw-r--r--include/configs/mx31pdk.h2
-rw-r--r--include/configs/mx35pdk.h6
-rw-r--r--include/configs/mx51evk.h6
-rw-r--r--include/configs/mx53ard.h6
-rw-r--r--include/configs/mx53evk.h3
-rw-r--r--include/configs/mx53loco.h8
-rw-r--r--include/configs/mx53smd.h4
-rw-r--r--include/configs/mx6_common.h8
-rw-r--r--include/configs/mx6cuboxi.h1
-rw-r--r--include/configs/mx6qarm2.h1
-rw-r--r--include/configs/mx6sabre_common.h3
-rw-r--r--include/configs/mx6slevk.h1
-rw-r--r--include/configs/mx6sxsabreauto.h1
-rw-r--r--include/configs/mx6sxsabresd.h1
-rw-r--r--include/configs/mx6ul_14x14_evk.h2
-rw-r--r--include/configs/mx7_common.h7
-rw-r--r--include/configs/mx7dsabresd.h3
-rw-r--r--include/configs/nas220.h4
-rw-r--r--include/configs/nitrogen6x.h2
-rw-r--r--include/configs/nokia_rx51.h5
-rw-r--r--include/configs/novena.h2
-rw-r--r--include/configs/nsa310s.h2
-rw-r--r--include/configs/nyan-big.h1
-rw-r--r--include/configs/o2dnt-common.h2
-rw-r--r--include/configs/odroid.h1
-rw-r--r--include/configs/odroid_xu3.h4
-rw-r--r--include/configs/omap3_beagle.h3
-rw-r--r--include/configs/omap3_evm.h4
-rw-r--r--include/configs/omap3_evm_common.h1
-rw-r--r--include/configs/omap3_evm_quick_mmc.h2
-rw-r--r--include/configs/omap3_igep00x0.h1
-rw-r--r--include/configs/omap3_logic.h3
-rw-r--r--include/configs/omap3_overo.h1
-rw-r--r--include/configs/omap3_pandora.h1
-rw-r--r--include/configs/omap5_uevm.h1
-rw-r--r--include/configs/omapl138_lcdk.h6
-rw-r--r--include/configs/openrd.h2
-rw-r--r--include/configs/openrisc-generic.h2
-rw-r--r--include/configs/origen.h3
-rw-r--r--include/configs/ot1200.h1
-rw-r--r--include/configs/p1_p2_rdb_pc.h4
-rw-r--r--include/configs/p1_twr.h4
-rw-r--r--include/configs/p2371-0000.h1
-rw-r--r--include/configs/p2371-2180.h1
-rw-r--r--include/configs/p2571.h1
-rw-r--r--include/configs/paz00.h1
-rw-r--r--include/configs/pb1x00.h2
-rw-r--r--include/configs/pcm030.h1
-rw-r--r--include/configs/pcm052.h5
-rw-r--r--include/configs/pdm360ng.h2
-rw-r--r--include/configs/pengwyn.h2
-rw-r--r--include/configs/pic32mzdask.h8
-rw-r--r--include/configs/picosam9g45.h4
-rw-r--r--include/configs/platinum.h1
-rw-r--r--include/configs/plutux.h1
-rw-r--r--include/configs/pm9261.h1
-rw-r--r--include/configs/pm9263.h1
-rw-r--r--include/configs/pm9g45.h1
-rw-r--r--include/configs/pogo_e02.h3
-rw-r--r--include/configs/porter.h1
-rw-r--r--include/configs/pxa-common.h2
-rw-r--r--include/configs/qemu-mips.h2
-rw-r--r--include/configs/qemu-mips64.h2
-rw-r--r--include/configs/qemu-ppce500.h3
-rw-r--r--include/configs/r0p7734.h1
-rw-r--r--include/configs/r2dplus.h2
-rw-r--r--include/configs/r7780mp.h1
-rw-r--r--include/configs/rastaban.h1
-rw-r--r--include/configs/rcar-gen2-common.h6
-rw-r--r--include/configs/rk3036_common.h7
-rw-r--r--include/configs/rk3288_common.h7
-rw-r--r--include/configs/rpi.h1
-rw-r--r--include/configs/rsk7203.h1
-rw-r--r--include/configs/s5p_goni.h8
-rw-r--r--include/configs/sama5d2_xplained.h2
-rw-r--r--include/configs/sama5d3_xplained.h5
-rw-r--r--include/configs/sama5d3xek.h3
-rw-r--r--include/configs/sama5d4_xplained.h2
-rw-r--r--include/configs/sama5d4ek.h2
-rw-r--r--include/configs/sandbox.h6
-rw-r--r--include/configs/sansa_fuze_plus.h4
-rw-r--r--include/configs/sbc8349.h1
-rw-r--r--include/configs/sbc8548.h1
-rw-r--r--include/configs/sc_sps_1.h6
-rw-r--r--include/configs/seaboard.h1
-rw-r--r--include/configs/secomx6quq7.h1
-rw-r--r--include/configs/sequoia.h1
-rw-r--r--include/configs/sh7752evb.h3
-rw-r--r--include/configs/sh7753evb.h3
-rw-r--r--include/configs/sh7757lcr.h3
-rw-r--r--include/configs/sh7763rdp.h1
-rw-r--r--include/configs/sh7785lcr.h2
-rw-r--r--include/configs/sheevaplug.h1
-rw-r--r--include/configs/siemens-am33x-common.h7
-rw-r--r--include/configs/silk.h1
-rw-r--r--include/configs/smartweb.h2
-rw-r--r--include/configs/smdk2410.h3
-rw-r--r--include/configs/smdkc100.h2
-rw-r--r--include/configs/smdkv310.h2
-rw-r--r--include/configs/snapper9260.h2
-rw-r--r--include/configs/sniper.h2
-rw-r--r--include/configs/socfpga_arria5_socdk.h13
-rw-r--r--include/configs/socfpga_cyclone5_socdk.h13
-rw-r--r--include/configs/socfpga_de0_nano_soc.h13
-rw-r--r--include/configs/socfpga_mcvevk.h13
-rw-r--r--include/configs/socfpga_sockit.h13
-rw-r--r--include/configs/socfpga_socrates.h13
-rw-r--r--include/configs/socfpga_sr1500.h12
-rw-r--r--include/configs/socrates.h2
-rw-r--r--include/configs/spear-common.h1
-rw-r--r--include/configs/stout.h1
-rw-r--r--include/configs/strider.h3
-rw-r--r--include/configs/sunxi-common.h3
-rw-r--r--include/configs/t4qds.h3
-rw-r--r--include/configs/tam3517-common.h5
-rw-r--r--include/configs/tao3530.h4
-rw-r--r--include/configs/taurus.h3
-rw-r--r--include/configs/tbs2910.h2
-rw-r--r--include/configs/tec-ng.h1
-rw-r--r--include/configs/tec.h1
-rw-r--r--include/configs/tegra-common-post.h13
-rw-r--r--include/configs/tegra-common-usb-gadget.h2
-rw-r--r--include/configs/tegra-common.h1
-rw-r--r--include/configs/theadorable.h6
-rw-r--r--include/configs/thuban.h1
-rw-r--r--include/configs/ti814x_evm.h5
-rw-r--r--include/configs/ti816x_evm.h3
-rw-r--r--include/configs/ti_am335x_common.h1
-rw-r--r--include/configs/ti_armv7_common.h8
-rw-r--r--include/configs/ti_armv7_keystone2.h1
-rw-r--r--include/configs/titanium.h1
-rw-r--r--include/configs/tqma6.h2
-rw-r--r--include/configs/tricorder.h3
-rw-r--r--include/configs/trimslice.h1
-rw-r--r--include/configs/ts4800.h6
-rw-r--r--include/configs/tseries.h6
-rw-r--r--include/configs/udoo.h1
-rw-r--r--include/configs/uniphier.h3
-rw-r--r--include/configs/usb_a9263.h1
-rw-r--r--include/configs/usbarmory.h1
-rw-r--r--include/configs/v38b.h3
-rw-r--r--include/configs/vct.h5
-rw-r--r--include/configs/ve8313.h1
-rw-r--r--include/configs/venice2.h1
-rw-r--r--include/configs/ventana.h1
-rw-r--r--include/configs/vexpress_aemv8a.h3
-rw-r--r--include/configs/vexpress_common.h1
-rw-r--r--include/configs/vf610twr.h5
-rw-r--r--include/configs/vinco.h3
-rw-r--r--include/configs/vme8349.h1
-rw-r--r--include/configs/wandboard.h1
-rw-r--r--include/configs/warp.h2
-rw-r--r--include/configs/warp7.h2
-rw-r--r--include/configs/whistler.h1
-rw-r--r--include/configs/woodburn_common.h6
-rw-r--r--include/configs/work_92105.h1
-rw-r--r--include/configs/x600.h4
-rw-r--r--include/configs/x86-common.h6
-rw-r--r--include/configs/xfi3.h4
-rw-r--r--include/configs/xilinx-ppc.h2
-rw-r--r--include/configs/xilinx_zynqmp.h9
-rw-r--r--include/configs/xpedite1000.h2
-rw-r--r--include/configs/xpedite517x.h2
-rw-r--r--include/configs/xpedite520x.h2
-rw-r--r--include/configs/xpedite537x.h2
-rw-r--r--include/configs/xpedite550x.h2
-rw-r--r--include/configs/xpress.h3
-rw-r--r--include/configs/yosemite.h2
-rw-r--r--include/configs/zipitz2.h4
-rw-r--r--include/configs/zmx25.h2
-rw-r--r--include/configs/zynq-common.h9
411 files changed, 0 insertions, 1279 deletions
diff --git a/include/configs/10m50_devboard.h b/include/configs/10m50_devboard.h
index 2076ef0add9..7eb9e982846 100644
--- a/include/configs/10m50_devboard.h
+++ b/include/configs/10m50_devboard.h
@@ -33,7 +33,6 @@
* NET options
*/
#define CONFIG_SYS_RX_ETH_BUFFER 0
-#define CONFIG_CMD_MII
#define CONFIG_PHY_GIGE
#define CONFIG_SYS_FAULT_ECHO_LINK_DOWN
#define CONFIG_PHY_MARVELL
diff --git a/include/configs/3c120_devboard.h b/include/configs/3c120_devboard.h
index 802ac75219b..6489de3e777 100644
--- a/include/configs/3c120_devboard.h
+++ b/include/configs/3c120_devboard.h
@@ -36,7 +36,6 @@
* NET options
*/
#define CONFIG_SYS_RX_ETH_BUFFER 0
-#define CONFIG_CMD_MII
#define CONFIG_PHY_GIGE
#define CONFIG_SYS_FAULT_ECHO_LINK_DOWN
#define CONFIG_PHY_MARVELL
diff --git a/include/configs/B4860QDS.h b/include/configs/B4860QDS.h
index a9c6272b78f..94c8253e60d 100644
--- a/include/configs/B4860QDS.h
+++ b/include/configs/B4860QDS.h
@@ -736,9 +736,7 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_CMD_DATE
#define CONFIG_CMD_EEPROM
#define CONFIG_CMD_ERRATA
-#define CONFIG_CMD_GREPENV
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#ifdef CONFIG_PCI
@@ -763,7 +761,6 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_USB_STORAGE
#define CONFIG_USB_EHCI_FSL
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
-#define CONFIG_CMD_EXT2
#endif
#endif
diff --git a/include/configs/BSC9131RDB.h b/include/configs/BSC9131RDB.h
index 07070cd36bc..b092933757e 100644
--- a/include/configs/BSC9131RDB.h
+++ b/include/configs/BSC9131RDB.h
@@ -314,10 +314,7 @@ extern unsigned long get_sdram_size(void);
* Command line configuration.
*/
#define CONFIG_CMD_ERRATA
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#define CONFIG_DOS_PARTITION
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/BSC9132QDS.h b/include/configs/BSC9132QDS.h
index 1eb2ff6756a..3a733795ae2 100644
--- a/include/configs/BSC9132QDS.h
+++ b/include/configs/BSC9132QDS.h
@@ -498,7 +498,6 @@ combinations. this should be removed later
#define CONFIG_MMC
#ifdef CONFIG_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_DOS_PARTITION
#define CONFIG_FSL_ESDHC
#define CONFIG_GENERIC_MMC
@@ -555,12 +554,9 @@ combinations. this should be removed later
#define CONFIG_CMD_DATE
#define CONFIG_CMD_ERRATA
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#if defined(CONFIG_MMC) || defined(CONFIG_USB_EHCI)
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
diff --git a/include/configs/C29XPCIE.h b/include/configs/C29XPCIE.h
index 16004176699..4d14c8ba376 100644
--- a/include/configs/C29XPCIE.h
+++ b/include/configs/C29XPCIE.h
@@ -471,7 +471,6 @@
*/
#define CONFIG_CMD_ERRATA
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
/* Hash command with SHA acceleration supported in hardware */
diff --git a/include/configs/CPCI4052.h b/include/configs/CPCI4052.h
index de6ff7f7449..b66b3ff7efd 100644
--- a/include/configs/CPCI4052.h
+++ b/include/configs/CPCI4052.h
@@ -68,9 +68,7 @@
#define CONFIG_CMD_PCI
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_IDE
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_MII
#define CONFIG_CMD_BSP
#define CONFIG_CMD_EEPROM
diff --git a/include/configs/M5208EVBE.h b/include/configs/M5208EVBE.h
index cc7aeb821c0..2b2e4e7a5ad 100644
--- a/include/configs/M5208EVBE.h
+++ b/include/configs/M5208EVBE.h
@@ -22,8 +22,6 @@
#define CONFIG_WATCHDOG_TIMEOUT 5000
/* Command line configuration */
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#define CONFIG_MCFFEC
diff --git a/include/configs/M52277EVB.h b/include/configs/M52277EVB.h
index 133f15cd285..85b1c1544e8 100644
--- a/include/configs/M52277EVB.h
+++ b/include/configs/M52277EVB.h
@@ -37,7 +37,6 @@
#define CONFIG_BOOTP_HOSTNAME
/* Command line configuration */
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_DATE
#define CONFIG_CMD_JFFS2
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/M5235EVB.h b/include/configs/M5235EVB.h
index b5d49b5d5e9..bacd8e0f32d 100644
--- a/include/configs/M5235EVB.h
+++ b/include/configs/M5235EVB.h
@@ -35,8 +35,6 @@
#define CONFIG_BOOTP_HOSTNAME
/* Command line configuration */
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_MII
#define CONFIG_CMD_PCI
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/M5249EVB.h b/include/configs/M5249EVB.h
index e29cb24ceec..735c4da22cd 100644
--- a/include/configs/M5249EVB.h
+++ b/include/configs/M5249EVB.h
@@ -39,7 +39,6 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_CACHE
#define CONFIG_SYS_LONGHELP /* undef to save memory */
diff --git a/include/configs/M5253DEMO.h b/include/configs/M5253DEMO.h
index ada212c8033..7c06fcea39b 100644
--- a/include/configs/M5253DEMO.h
+++ b/include/configs/M5253DEMO.h
@@ -39,9 +39,6 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_IDE
#ifdef CONFIG_CMD_IDE
diff --git a/include/configs/M5253EVBE.h b/include/configs/M5253EVBE.h
index e5aa1c7ae04..d14f979cdde 100644
--- a/include/configs/M5253EVBE.h
+++ b/include/configs/M5253EVBE.h
@@ -48,9 +48,6 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_IDE
/* ATA */
diff --git a/include/configs/M5272C3.h b/include/configs/M5272C3.h
index fcb0587c9d3..0753dc3afad 100644
--- a/include/configs/M5272C3.h
+++ b/include/configs/M5272C3.h
@@ -56,8 +56,6 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_MII
#define CONFIG_BOOTDELAY 5
#define CONFIG_MCFFEC
diff --git a/include/configs/M5275EVB.h b/include/configs/M5275EVB.h
index 5f3ec3f237f..1709cccf896 100644
--- a/include/configs/M5275EVB.h
+++ b/include/configs/M5275EVB.h
@@ -55,8 +55,6 @@
#define CONFIG_BOOTP_HOSTNAME
/* Available command configuration */
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_MII
#define CONFIG_MCFFEC
#ifdef CONFIG_MCFFEC
diff --git a/include/configs/M5282EVB.h b/include/configs/M5282EVB.h
index 344272305eb..8131ea0ee1f 100644
--- a/include/configs/M5282EVB.h
+++ b/include/configs/M5282EVB.h
@@ -47,8 +47,6 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_MII
#define CONFIG_MCFFEC
#ifdef CONFIG_MCFFEC
diff --git a/include/configs/M53017EVB.h b/include/configs/M53017EVB.h
index c90ea27aee1..81e28f09241 100644
--- a/include/configs/M53017EVB.h
+++ b/include/configs/M53017EVB.h
@@ -27,9 +27,7 @@
#define CONFIG_WATCHDOG_TIMEOUT 5000
/* Command line configuration */
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#define CONFIG_SYS_UNIFY_CACHE
diff --git a/include/configs/M5329EVB.h b/include/configs/M5329EVB.h
index 0e0e109e0ac..661063ce5d9 100644
--- a/include/configs/M5329EVB.h
+++ b/include/configs/M5329EVB.h
@@ -27,9 +27,7 @@
#define CONFIG_WATCHDOG_TIMEOUT 5000 /* timeout in milliseconds, max timeout is 6.71sec */
/* Command line configuration */
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#ifdef CONFIG_NANDFLASH_SIZE
diff --git a/include/configs/M5373EVB.h b/include/configs/M5373EVB.h
index 39733f99241..f0cf715ee26 100644
--- a/include/configs/M5373EVB.h
+++ b/include/configs/M5373EVB.h
@@ -27,9 +27,7 @@
#define CONFIG_WATCHDOG_TIMEOUT 3360 /* timeout in ms, max is 3.36 sec */
/* Command line configuration */
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#ifdef CONFIG_NANDFLASH_SIZE
diff --git a/include/configs/M54418TWR.h b/include/configs/M54418TWR.h
index 933b8cd737f..e10c3e19294 100644
--- a/include/configs/M54418TWR.h
+++ b/include/configs/M54418TWR.h
@@ -38,11 +38,9 @@
#define CONFIG_BOOTP_HOSTNAME
/* Command line configuration */
-#define CONFIG_CMD_CACHE
#undef CONFIG_CMD_DATE
#undef CONFIG_CMD_JFFS2
#undef CONFIG_CMD_UBI
-#define CONFIG_CMD_MII
#undef CONFIG_CMD_NAND
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/M54451EVB.h b/include/configs/M54451EVB.h
index 3b01bd633ef..00bdbd18242 100644
--- a/include/configs/M54451EVB.h
+++ b/include/configs/M54451EVB.h
@@ -39,10 +39,8 @@
#define CONFIG_BOOTP_HOSTNAME
/* Command line configuration */
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_DATE
#undef CONFIG_CMD_JFFS2
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
/* Network configuration */
diff --git a/include/configs/M54455EVB.h b/include/configs/M54455EVB.h
index 8a7cea5177a..f32dd3660a2 100644
--- a/include/configs/M54455EVB.h
+++ b/include/configs/M54455EVB.h
@@ -39,13 +39,9 @@
#define CONFIG_BOOTP_HOSTNAME
/* Command line configuration */
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_IDE
#define CONFIG_CMD_JFFS2
-#define CONFIG_CMD_MII
#undef CONFIG_CMD_PCI
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/M5475EVB.h b/include/configs/M5475EVB.h
index ff8420fd2ec..5fa9683e2c8 100644
--- a/include/configs/M5475EVB.h
+++ b/include/configs/M5475EVB.h
@@ -29,9 +29,7 @@
#define CONFIG_WATCHDOG_TIMEOUT 5000 /* timeout in milliseconds, max timeout is 6.71sec */
/* Command line configuration */
-#define CONFIG_CMD_CACHE
#undef CONFIG_CMD_DATE
-#define CONFIG_CMD_MII
#define CONFIG_CMD_PCI
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/M5485EVB.h b/include/configs/M5485EVB.h
index 9c83d17727c..9a23e22bfaf 100644
--- a/include/configs/M5485EVB.h
+++ b/include/configs/M5485EVB.h
@@ -29,9 +29,7 @@
#define CONFIG_WATCHDOG_TIMEOUT 5000 /* timeout in milliseconds, max timeout is 6.71sec */
/* Command line configuration */
-#define CONFIG_CMD_CACHE
#undef CONFIG_CMD_DATE
-#define CONFIG_CMD_MII
#define CONFIG_CMD_PCI
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/MIP405.h b/include/configs/MIP405.h
index 7c4509f61ea..75a26edb25b 100644
--- a/include/configs/MIP405.h
+++ b/include/configs/MIP405.h
@@ -47,14 +47,11 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_DATE
#define CONFIG_CMD_EEPROM
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_IDE
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_JFFS2
-#define CONFIG_CMD_MII
#define CONFIG_CMD_PCI
#define CONFIG_CMD_REGINFO
#define CONFIG_CMD_SAVES
diff --git a/include/configs/MPC8308RDB.h b/include/configs/MPC8308RDB.h
index 422f223ea71..e3e3b4414d8 100644
--- a/include/configs/MPC8308RDB.h
+++ b/include/configs/MPC8308RDB.h
@@ -31,9 +31,7 @@
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
#define CONFIG_SYS_FSL_ESDHC_USE_PIO
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
@@ -430,7 +428,6 @@
* Command line configuration.
*/
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_MII
#define CONFIG_CMD_PCI
#define CONFIG_CMDLINE_EDITING 1 /* add command line history */
diff --git a/include/configs/MPC8313ERDB.h b/include/configs/MPC8313ERDB.h
index 4b7a7732f89..fda894e1198 100644
--- a/include/configs/MPC8313ERDB.h
+++ b/include/configs/MPC8313ERDB.h
@@ -475,7 +475,6 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_MII
#define CONFIG_CMD_DATE
#define CONFIG_CMD_PCI
diff --git a/include/configs/MPC8315ERDB.h b/include/configs/MPC8315ERDB.h
index d29519df5a0..41b40cb2d18 100644
--- a/include/configs/MPC8315ERDB.h
+++ b/include/configs/MPC8315ERDB.h
@@ -425,7 +425,6 @@
#define CONFIG_LBA48
#define CONFIG_CMD_SATA
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT2
#endif
/*
@@ -458,7 +457,6 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_MII
#define CONFIG_CMD_DATE
#define CONFIG_CMD_PCI
diff --git a/include/configs/MPC8323ERDB.h b/include/configs/MPC8323ERDB.h
index f815b201fe6..5c40e5b3eac 100644
--- a/include/configs/MPC8323ERDB.h
+++ b/include/configs/MPC8323ERDB.h
@@ -327,7 +327,6 @@
* Command line configuration.
*/
#define CONFIG_CMD_EEPROM
-#define CONFIG_CMD_ASKENV
#if defined(CONFIG_PCI)
#define CONFIG_CMD_PCI
diff --git a/include/configs/MPC832XEMDS.h b/include/configs/MPC832XEMDS.h
index 38bb613d657..4a1cebb5d60 100644
--- a/include/configs/MPC832XEMDS.h
+++ b/include/configs/MPC832XEMDS.h
@@ -409,7 +409,6 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_ASKENV
#if defined(CONFIG_PCI)
#define CONFIG_CMD_PCI
diff --git a/include/configs/MPC8349EMDS.h b/include/configs/MPC8349EMDS.h
index b3a3bc57c91..3518b3fd3b0 100644
--- a/include/configs/MPC8349EMDS.h
+++ b/include/configs/MPC8349EMDS.h
@@ -476,7 +476,6 @@
* Command line configuration.
*/
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_MII
#if defined(CONFIG_PCI)
#define CONFIG_CMD_PCI
diff --git a/include/configs/MPC8349ITX.h b/include/configs/MPC8349ITX.h
index 9b3c6ea85b8..8161903f805 100644
--- a/include/configs/MPC8349ITX.h
+++ b/include/configs/MPC8349ITX.h
@@ -487,7 +487,6 @@ boards, we say we have two, but don't display a message if we find only one. */
/*
* Command line configuration.
*/
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_DATE
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_SDRAM
@@ -495,7 +494,6 @@ boards, we say we have two, but don't display a message if we find only one. */
#if defined(CONFIG_COMPACT_FLASH) || defined(CONFIG_SATA_SIL3114) \
|| defined(CONFIG_USB_STORAGE)
#define CONFIG_DOS_PARTITION
- #define CONFIG_CMD_FAT
#define CONFIG_SUPPORT_VFAT
#endif
@@ -508,7 +506,6 @@ boards, we say we have two, but don't display a message if we find only one. */
#endif
#if defined(CONFIG_SATA_SIL3114) || defined(CONFIG_USB_STORAGE)
- #define CONFIG_CMD_EXT2
#endif
#ifdef CONFIG_PCI
diff --git a/include/configs/MPC837XEMDS.h b/include/configs/MPC837XEMDS.h
index 7f26ecbfefa..28ed9c03b94 100644
--- a/include/configs/MPC837XEMDS.h
+++ b/include/configs/MPC837XEMDS.h
@@ -445,7 +445,6 @@ extern int board_pci_host_broken(void);
#define CONFIG_LBA48
#define CONFIG_CMD_SATA
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT2
#endif
/*
@@ -478,7 +477,6 @@ extern int board_pci_host_broken(void);
/*
* Command line configuration.
*/
-#define CONFIG_CMD_MII
#define CONFIG_CMD_DATE
#if defined(CONFIG_PCI)
@@ -496,10 +494,7 @@ extern int board_pci_host_broken(void);
#define CONFIG_FSL_ESDHC
#define CONFIG_FSL_ESDHC_PIN_MUX
#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC83xx_ESDHC_ADDR
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
diff --git a/include/configs/MPC837XERDB.h b/include/configs/MPC837XERDB.h
index ebf30e788cb..fa131e23fbd 100644
--- a/include/configs/MPC837XERDB.h
+++ b/include/configs/MPC837XERDB.h
@@ -456,7 +456,6 @@
#define CONFIG_LBA48
#define CONFIG_CMD_SATA
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT2
#endif
/*
@@ -489,7 +488,6 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_MII
#define CONFIG_CMD_DATE
#if defined(CONFIG_PCI)
@@ -507,10 +505,7 @@
#define CONFIG_FSL_ESDHC
#define CONFIG_FSL_ESDHC_PIN_MUX
#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC83xx_ESDHC_ADDR
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
diff --git a/include/configs/MPC8536DS.h b/include/configs/MPC8536DS.h
index f22ba9b052e..8cc7f023919 100644
--- a/include/configs/MPC8536DS.h
+++ b/include/configs/MPC8536DS.h
@@ -549,7 +549,6 @@
#define CONFIG_LBA48
#define CONFIG_CMD_SATA
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT2
#endif
#if defined(CONFIG_TSEC_ENET)
@@ -617,7 +616,6 @@
* Command line configuration.
*/
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_REGINFO
@@ -632,7 +630,6 @@
#ifdef CONFIG_MMC
#define CONFIG_FSL_ESDHC
#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC85xx_ESDHC_ADDR
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
#endif
@@ -651,8 +648,6 @@
#endif
#if defined(CONFIG_MMC) || defined(CONFIG_USB_EHCI)
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
diff --git a/include/configs/MPC8541CDS.h b/include/configs/MPC8541CDS.h
index 4f496335bf5..d827d2ab0b9 100644
--- a/include/configs/MPC8541CDS.h
+++ b/include/configs/MPC8541CDS.h
@@ -354,7 +354,6 @@ extern unsigned long get_clock_freq(void);
/*
* Command line configuration.
*/
-#define CONFIG_CMD_MII
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/MPC8544DS.h b/include/configs/MPC8544DS.h
index 435bdc859e2..6202dffaa50 100644
--- a/include/configs/MPC8544DS.h
+++ b/include/configs/MPC8544DS.h
@@ -368,14 +368,12 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
/*
* Command line configuration.
*/
-#define CONFIG_CMD_MII
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_REGINFO
#if defined(CONFIG_PCI)
#define CONFIG_CMD_PCI
#define CONFIG_CMD_SCSI
- #define CONFIG_CMD_EXT2
#endif
/*
diff --git a/include/configs/MPC8548CDS.h b/include/configs/MPC8548CDS.h
index 0fdf9397ae8..dd07dc4fb5e 100644
--- a/include/configs/MPC8548CDS.h
+++ b/include/configs/MPC8548CDS.h
@@ -480,7 +480,6 @@ extern unsigned long get_clock_freq(void);
/*
* Command line configuration.
*/
-#define CONFIG_CMD_MII
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/MPC8555CDS.h b/include/configs/MPC8555CDS.h
index 56f6ef57c59..c68e1d83d1d 100644
--- a/include/configs/MPC8555CDS.h
+++ b/include/configs/MPC8555CDS.h
@@ -351,7 +351,6 @@ extern unsigned long get_clock_freq(void);
/*
* Command line configuration.
*/
-#define CONFIG_CMD_MII
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/MPC8560ADS.h b/include/configs/MPC8560ADS.h
index c049d8d40f7..fb76dd1aead 100644
--- a/include/configs/MPC8560ADS.h
+++ b/include/configs/MPC8560ADS.h
@@ -378,7 +378,6 @@
#endif
#if defined(CONFIG_ETHER_ON_FCC)
- #define CONFIG_CMD_MII
#endif
#undef CONFIG_WATCHDOG /* watchdog disabled */
diff --git a/include/configs/MPC8568MDS.h b/include/configs/MPC8568MDS.h
index d42191b09c6..09e32ebcd70 100644
--- a/include/configs/MPC8568MDS.h
+++ b/include/configs/MPC8568MDS.h
@@ -372,7 +372,6 @@ extern unsigned long get_clock_freq(void);
/*
* Command line configuration.
*/
-#define CONFIG_CMD_MII
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/MPC8569MDS.h b/include/configs/MPC8569MDS.h
index 37156cb47a4..923159b9043 100644
--- a/include/configs/MPC8569MDS.h
+++ b/include/configs/MPC8569MDS.h
@@ -466,7 +466,6 @@ extern unsigned long get_clock_freq(void);
/*
* Command line configuration.
*/
-#define CONFIG_CMD_MII
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_REGINFO
@@ -482,10 +481,7 @@ extern unsigned long get_clock_freq(void);
#define CONFIG_FSL_ESDHC
#define CONFIG_FSL_ESDHC_PIN_MUX
#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC85xx_ESDHC_ADDR
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
diff --git a/include/configs/MPC8572DS.h b/include/configs/MPC8572DS.h
index 00db9b7de9e..9144f321e09 100644
--- a/include/configs/MPC8572DS.h
+++ b/include/configs/MPC8572DS.h
@@ -572,13 +572,11 @@
*/
#define CONFIG_CMD_ERRATA
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#if defined(CONFIG_PCI)
#define CONFIG_CMD_PCI
#define CONFIG_CMD_SCSI
-#define CONFIG_CMD_EXT2
#endif
/*
diff --git a/include/configs/MPC8610HPCD.h b/include/configs/MPC8610HPCD.h
index b6539b8a4b7..88ca4f30489 100644
--- a/include/configs/MPC8610HPCD.h
+++ b/include/configs/MPC8610HPCD.h
@@ -446,12 +446,10 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_MII
#if defined(CONFIG_PCI)
#define CONFIG_CMD_PCI
#define CONFIG_CMD_SCSI
-#define CONFIG_CMD_EXT2
#endif
#define CONFIG_WATCHDOG /* watchdog enabled */
diff --git a/include/configs/MPC8641HPCN.h b/include/configs/MPC8641HPCN.h
index b2e2f362372..3569849c52b 100644
--- a/include/configs/MPC8641HPCN.h
+++ b/include/configs/MPC8641HPCN.h
@@ -613,7 +613,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
#if defined(CONFIG_PCI)
#define CONFIG_CMD_PCI
#define CONFIG_CMD_SCSI
- #define CONFIG_CMD_EXT2
#endif
#undef CONFIG_WATCHDOG /* watchdog disabled */
diff --git a/include/configs/P1010RDB.h b/include/configs/P1010RDB.h
index 87726a4ba9b..5719e86f1bc 100644
--- a/include/configs/P1010RDB.h
+++ b/include/configs/P1010RDB.h
@@ -718,7 +718,6 @@ extern unsigned long get_sdram_size(void);
#define CONFIG_MMC
#ifdef CONFIG_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_DOS_PARTITION
#define CONFIG_FSL_ESDHC
#define CONFIG_GENERIC_MMC
@@ -789,15 +788,12 @@ extern unsigned long get_sdram_size(void);
#define CONFIG_CMD_DATE
#define CONFIG_CMD_ERRATA
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#undef CONFIG_WATCHDOG /* watchdog disabled */
#if defined(CONFIG_MMC) || defined(CONFIG_USB_EHCI) \
|| defined(CONFIG_FSL_SATA)
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h
index 5a7bef99212..8b29951c985 100644
--- a/include/configs/P1022DS.h
+++ b/include/configs/P1022DS.h
@@ -552,20 +552,16 @@
#define CONFIG_LBA48
#define CONFIG_CMD_SATA
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT2
#endif
#define CONFIG_MMC
#ifdef CONFIG_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_FSL_ESDHC
#define CONFIG_GENERIC_MMC
#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC85xx_ESDHC_ADDR
#endif
#if defined(CONFIG_MMC) || defined(CONFIG_USB_EHCI)
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
@@ -659,7 +655,6 @@
*/
#define CONFIG_CMD_ERRATA
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#ifdef CONFIG_PCI
@@ -677,7 +672,6 @@
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
#define CONFIG_USB_EHCI_FSL
#define CONFIG_USB_STORAGE
-#define CONFIG_CMD_FAT
#endif
#endif
diff --git a/include/configs/P1023RDB.h b/include/configs/P1023RDB.h
index 74cb57dc63e..fcbe288472e 100644
--- a/include/configs/P1023RDB.h
+++ b/include/configs/P1023RDB.h
@@ -253,7 +253,6 @@ extern unsigned long get_clock_freq(void);
* Command line configuration.
*/
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#if defined(CONFIG_PCI)
@@ -271,9 +270,6 @@ extern unsigned long get_clock_freq(void);
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
#define CONFIG_USB_EHCI_FSL
#define CONFIG_USB_STORAGE
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
#endif
diff --git a/include/configs/P2041RDB.h b/include/configs/P2041RDB.h
index 43709e8025f..b7a08e0a30d 100644
--- a/include/configs/P2041RDB.h
+++ b/include/configs/P2041RDB.h
@@ -568,7 +568,6 @@ unsigned long get_board_sys_clk(unsigned long dummy);
#define CONFIG_LBA48
#define CONFIG_CMD_SATA
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT2
#endif
#ifdef CONFIG_FMAN_ENET
@@ -601,9 +600,7 @@ unsigned long get_board_sys_clk(unsigned long dummy);
* Command line configuration.
*/
#define CONFIG_CMD_ERRATA
-#define CONFIG_CMD_GREPENV
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#ifdef CONFIG_PCI
#define CONFIG_CMD_PCI
@@ -622,18 +619,13 @@ unsigned long get_board_sys_clk(unsigned long dummy);
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
#endif
-#define CONFIG_CMD_EXT2
-
#define CONFIG_MMC
#ifdef CONFIG_MMC
#define CONFIG_FSL_ESDHC
#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC85xx_ESDHC_ADDR
#define CONFIG_SYS_FSL_ESDHC_BROKEN_TIMEOUT
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
diff --git a/include/configs/PIP405.h b/include/configs/PIP405.h
index 7d7e2d0ac75..4bd06a45bf6 100644
--- a/include/configs/PIP405.h
+++ b/include/configs/PIP405.h
@@ -39,15 +39,12 @@
*/
#define CONFIG_CMD_IDE
#define CONFIG_CMD_PCI
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_EEPROM
#define CONFIG_CMD_REGINFO
#define CONFIG_CMD_FDC
#define CONFIG_CMD_SCSI
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_MII
#define CONFIG_CMD_SDRAM
#define CONFIG_CMD_SAVES
#define CONFIG_CMD_BSP
diff --git a/include/configs/PLU405.h b/include/configs/PLU405.h
index a868ec960fa..71a03756d4f 100644
--- a/include/configs/PLU405.h
+++ b/include/configs/PLU405.h
@@ -61,10 +61,8 @@
#define CONFIG_CMD_PCI
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_IDE
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_NAND
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_MII
#define CONFIG_CMD_EEPROM
#define CONFIG_MAC_PARTITION
diff --git a/include/configs/PMC405DE.h b/include/configs/PMC405DE.h
index 03c8fb9aec1..a622578bd2b 100644
--- a/include/configs/PMC405DE.h
+++ b/include/configs/PMC405DE.h
@@ -58,7 +58,6 @@
#define CONFIG_CMD_DATE
#define CONFIG_CMD_EEPROM
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#define CONFIG_CMD_PCI
#undef CONFIG_WATCHDOG /* watchdog disabled */
diff --git a/include/configs/PMC440.h b/include/configs/PMC440.h
index e5555cc4f3b..005fa2a5c1a 100644
--- a/include/configs/PMC440.h
+++ b/include/configs/PMC440.h
@@ -271,8 +271,6 @@
#define CONFIG_CMD_DATE
#define CONFIG_CMD_DTT
#define CONFIG_CMD_EEPROM
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_MII
#define CONFIG_CMD_NAND
#define CONFIG_CMD_PCI
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/T102xQDS.h b/include/configs/T102xQDS.h
index 22f42f032be..12260aaf62a 100644
--- a/include/configs/T102xQDS.h
+++ b/include/configs/T102xQDS.h
@@ -667,7 +667,6 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_LBA48
#define CONFIG_CMD_SATA
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT2
#endif
/*
@@ -680,7 +679,6 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_USB_STORAGE
#define CONFIG_USB_EHCI_FSL
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
-#define CONFIG_CMD_EXT2
#endif
/*
@@ -690,10 +688,7 @@ unsigned long get_board_ddr_clk(void);
#ifdef CONFIG_MMC
#define CONFIG_FSL_ESDHC
#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC85xx_ESDHC_ADDR
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
@@ -830,9 +825,7 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_CMD_DATE
#define CONFIG_CMD_EEPROM
#define CONFIG_CMD_ERRATA
-#define CONFIG_CMD_GREPENV
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#ifdef CONFIG_PCI
diff --git a/include/configs/T102xRDB.h b/include/configs/T102xRDB.h
index 7b6625f244e..74274cac571 100644
--- a/include/configs/T102xRDB.h
+++ b/include/configs/T102xRDB.h
@@ -673,7 +673,6 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_USB_STORAGE
#define CONFIG_USB_EHCI_FSL
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
-#define CONFIG_CMD_EXT2
#endif
/*
@@ -683,10 +682,7 @@ unsigned long get_board_ddr_clk(void);
#ifdef CONFIG_MMC
#define CONFIG_FSL_ESDHC
#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC85xx_ESDHC_ADDR
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
@@ -829,9 +825,7 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_CMD_DATE
#define CONFIG_CMD_EEPROM
#define CONFIG_CMD_ERRATA
-#define CONFIG_CMD_GREPENV
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#ifdef CONFIG_PCI
diff --git a/include/configs/T1040QDS.h b/include/configs/T1040QDS.h
index da06bfd27a3..4c1175d426e 100644
--- a/include/configs/T1040QDS.h
+++ b/include/configs/T1040QDS.h
@@ -548,7 +548,6 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_LBA48
#define CONFIG_CMD_SATA
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT2
#endif
/*
@@ -563,7 +562,6 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_USB_STORAGE
#define CONFIG_USB_EHCI_FSL
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
-#define CONFIG_CMD_EXT2
#endif
#endif
@@ -573,10 +571,7 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_FSL_ESDHC
#define CONFIG_FSL_ESDHC_USE_PERIPHERAL_CLK
#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC85xx_ESDHC_ADDR
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#define CONFIG_FSL_ESDHC_ADAPTER_IDENT
#endif
@@ -703,9 +698,7 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_CMD_DATE
#define CONFIG_CMD_EEPROM
#define CONFIG_CMD_ERRATA
-#define CONFIG_CMD_GREPENV
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#ifdef CONFIG_PCI
diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h
index e58691b386b..9a3965fa413 100644
--- a/include/configs/T104xRDB.h
+++ b/include/configs/T104xRDB.h
@@ -606,7 +606,6 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_rcw.cfg
#define CONFIG_LBA48
#define CONFIG_CMD_SATA
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT2
#endif
/*
@@ -621,7 +620,6 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_rcw.cfg
#define CONFIG_USB_STORAGE
#define CONFIG_USB_EHCI_FSL
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
-#define CONFIG_CMD_EXT2
#endif
#endif
@@ -630,10 +628,7 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_rcw.cfg
#ifdef CONFIG_MMC
#define CONFIG_FSL_ESDHC
#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC85xx_ESDHC_ADDR
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
@@ -769,9 +764,7 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_rcw.cfg
#define CONFIG_CMD_DATE
#endif
#define CONFIG_CMD_ERRATA
-#define CONFIG_CMD_GREPENV
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#ifdef CONFIG_PCI
diff --git a/include/configs/T208xQDS.h b/include/configs/T208xQDS.h
index 6f81368ab20..85df388b6f9 100644
--- a/include/configs/T208xQDS.h
+++ b/include/configs/T208xQDS.h
@@ -713,7 +713,6 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_LBA48
#define CONFIG_CMD_SATA
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT2
#endif
/*
@@ -723,7 +722,6 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_USB_STORAGE
#define CONFIG_USB_EHCI_FSL
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
-#define CONFIG_CMD_EXT2
#define CONFIG_HAS_FSL_DR_USB
#endif
@@ -731,15 +729,12 @@ unsigned long get_board_ddr_clk(void);
* SDHC
*/
#ifdef CONFIG_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_FSL_ESDHC
#define CONFIG_FSL_ESDHC_USE_PERIPHERAL_CLK
#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC85xx_ESDHC_ADDR
#define CONFIG_SYS_FSL_ESDHC_BROKEN_TIMEOUT
#define CONFIG_SYS_FSL_MMC_HAS_CAPBLT_VS33
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#define CONFIG_FSL_ESDHC_ADAPTER_IDENT
#endif
@@ -770,9 +765,7 @@ unsigned long get_board_ddr_clk(void);
* Command line configuration.
*/
#define CONFIG_CMD_ERRATA
-#define CONFIG_CMD_GREPENV
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#ifdef CONFIG_PCI
diff --git a/include/configs/T208xRDB.h b/include/configs/T208xRDB.h
index 508c896d60b..5e2d65975df 100644
--- a/include/configs/T208xRDB.h
+++ b/include/configs/T208xRDB.h
@@ -674,7 +674,6 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_LBA48
#define CONFIG_CMD_SATA
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT2
#endif
/*
@@ -684,7 +683,6 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_USB_STORAGE
#define CONFIG_USB_EHCI_FSL
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
-#define CONFIG_CMD_EXT2
#define CONFIG_HAS_FSL_DR_USB
#endif
@@ -692,14 +690,11 @@ unsigned long get_board_ddr_clk(void);
* SDHC
*/
#ifdef CONFIG_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_FSL_ESDHC
#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC85xx_ESDHC_ADDR
#define CONFIG_SYS_FSL_ESDHC_BROKEN_TIMEOUT
#define CONFIG_SYS_FSL_MMC_HAS_CAPBLT_VS33
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
@@ -727,7 +722,6 @@ unsigned long get_board_ddr_clk(void);
* Command line configuration.
*/
#define CONFIG_CMD_ERRATA
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#ifdef CONFIG_PCI
diff --git a/include/configs/T4240QDS.h b/include/configs/T4240QDS.h
index 1ff6309bfbd..276428f4df3 100644
--- a/include/configs/T4240QDS.h
+++ b/include/configs/T4240QDS.h
@@ -506,7 +506,6 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_LBA48
#define CONFIG_CMD_SATA
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT2
#endif
#ifdef CONFIG_FMAN_ENET
@@ -528,7 +527,6 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_USB_EHCI
#define CONFIG_USB_EHCI_FSL
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
-#define CONFIG_CMD_EXT2
#define CONFIG_HAS_FSL_DR_USB
#define CONFIG_MMC
@@ -537,10 +535,7 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_FSL_ESDHC
#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC85xx_ESDHC_ADDR
#define CONFIG_SYS_FSL_ESDHC_BROKEN_TIMEOUT
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#define CONFIG_SYS_FSL_MMC_HAS_CAPBLT_VS33
#define CONFIG_ESDHC_DETECT_QUIRK \
diff --git a/include/configs/T4240RDB.h b/include/configs/T4240RDB.h
index 495c09c6b13..a0cce858a14 100644
--- a/include/configs/T4240RDB.h
+++ b/include/configs/T4240RDB.h
@@ -282,7 +282,6 @@
#define CONFIG_LBA48
#define CONFIG_CMD_SATA
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT2
#endif
#ifdef CONFIG_FMAN_ENET
@@ -301,9 +300,7 @@
* Command line configuration.
*/
#define CONFIG_CMD_ERRATA
-#define CONFIG_CMD_GREPENV
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#ifdef CONFIG_PCI
#define CONFIG_CMD_PCI
@@ -707,7 +704,6 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_LBA48
#define CONFIG_CMD_SATA
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT2
#endif
#ifdef CONFIG_FMAN_ENET
@@ -723,7 +719,6 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_USB_EHCI
#define CONFIG_USB_EHCI_FSL
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
-#define CONFIG_CMD_EXT2
#define CONFIG_HAS_FSL_DR_USB
#define CONFIG_MMC
@@ -732,10 +727,7 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_FSL_ESDHC
#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC85xx_ESDHC_ADDR
#define CONFIG_SYS_FSL_ESDHC_BROKEN_TIMEOUT
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#define CONFIG_SYS_FSL_MMC_HAS_CAPBLT_VS33
#endif
diff --git a/include/configs/TQM5200.h b/include/configs/TQM5200.h
index d542d2a9918..42ebcf04d1c 100644
--- a/include/configs/TQM5200.h
+++ b/include/configs/TQM5200.h
@@ -128,7 +128,6 @@
#define CONFIG_USB_OHCI_NEW
#define CONFIG_SYS_OHCI_BE_CONTROLLER
#define CONFIG_USB_STORAGE
-#define CONFIG_CMD_FAT
#undef CONFIG_SYS_USB_OHCI_BOARD_INIT
#define CONFIG_SYS_USB_OHCI_CPU_INIT
@@ -161,11 +160,9 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DATE
#define CONFIG_CMD_EEPROM
#define CONFIG_CMD_JFFS2
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#define CONFIG_CMD_BSP
@@ -181,8 +178,6 @@
#if defined(CONFIG_CHARON) || defined(CONFIG_FO300) || \
defined(CONFIG_MINIFAP) || defined(CONFIG_STK52XX)
#define CONFIG_CMD_IDE
- #define CONFIG_CMD_FAT
- #define CONFIG_CMD_EXT2
#endif
#if defined(CONFIG_CHARON) || defined(CONFIG_FO300) || \
diff --git a/include/configs/TQM823L.h b/include/configs/TQM823L.h
index 304dc098d47..395805ca04e 100644
--- a/include/configs/TQM823L.h
+++ b/include/configs/TQM823L.h
@@ -103,9 +103,7 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_EXT2
#define CONFIG_CMD_IDE
#define CONFIG_CMD_JFFS2
diff --git a/include/configs/TQM823M.h b/include/configs/TQM823M.h
index 72cd1e4358a..ec366370ee4 100644
--- a/include/configs/TQM823M.h
+++ b/include/configs/TQM823M.h
@@ -101,9 +101,7 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_EXT2
#define CONFIG_CMD_IDE
#define CONFIG_CMD_JFFS2
diff --git a/include/configs/TQM834x.h b/include/configs/TQM834x.h
index 24ed057f7a7..2aac682a2c8 100644
--- a/include/configs/TQM834x.h
+++ b/include/configs/TQM834x.h
@@ -285,12 +285,10 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DATE
#define CONFIG_CMD_DTT
#define CONFIG_CMD_EEPROM
#define CONFIG_CMD_JFFS2
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#if defined(CONFIG_PCI)
diff --git a/include/configs/TQM850L.h b/include/configs/TQM850L.h
index 2ed153944a8..00c0cc3291b 100644
--- a/include/configs/TQM850L.h
+++ b/include/configs/TQM850L.h
@@ -92,9 +92,7 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_EXT2
#define CONFIG_CMD_IDE
#define CONFIG_CMD_JFFS2
diff --git a/include/configs/TQM850M.h b/include/configs/TQM850M.h
index 469cd3f03e2..ca2602492ec 100644
--- a/include/configs/TQM850M.h
+++ b/include/configs/TQM850M.h
@@ -92,9 +92,7 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_EXT2
#define CONFIG_CMD_IDE
#define CONFIG_CMD_JFFS2
diff --git a/include/configs/TQM855L.h b/include/configs/TQM855L.h
index eb0077b72fe..39cf02e4c4b 100644
--- a/include/configs/TQM855L.h
+++ b/include/configs/TQM855L.h
@@ -94,9 +94,7 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_EXT2
#define CONFIG_CMD_IDE
#define CONFIG_CMD_JFFS2
diff --git a/include/configs/TQM855M.h b/include/configs/TQM855M.h
index b5047133e7a..30bfb8afdd0 100644
--- a/include/configs/TQM855M.h
+++ b/include/configs/TQM855M.h
@@ -123,9 +123,7 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_EXT2
#define CONFIG_CMD_EEPROM
#define CONFIG_CMD_IDE
#define CONFIG_CMD_JFFS2
diff --git a/include/configs/TQM860L.h b/include/configs/TQM860L.h
index dfddd03ab9f..abe49b9c929 100644
--- a/include/configs/TQM860L.h
+++ b/include/configs/TQM860L.h
@@ -94,9 +94,7 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_EXT2
#define CONFIG_CMD_IDE
#define CONFIG_CMD_JFFS2
diff --git a/include/configs/TQM860M.h b/include/configs/TQM860M.h
index 2733849257c..48252c4f981 100644
--- a/include/configs/TQM860M.h
+++ b/include/configs/TQM860M.h
@@ -94,9 +94,7 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_EXT2
#define CONFIG_CMD_IDE
#define CONFIG_CMD_JFFS2
diff --git a/include/configs/TQM862L.h b/include/configs/TQM862L.h
index 9f09319df13..a73395a2709 100644
--- a/include/configs/TQM862L.h
+++ b/include/configs/TQM862L.h
@@ -97,9 +97,7 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_EXT2
#define CONFIG_CMD_IDE
#define CONFIG_CMD_JFFS2
diff --git a/include/configs/TQM862M.h b/include/configs/TQM862M.h
index e76cb647818..3db6fa17404 100644
--- a/include/configs/TQM862M.h
+++ b/include/configs/TQM862M.h
@@ -97,9 +97,7 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_EXT2
#define CONFIG_CMD_IDE
#define CONFIG_CMD_JFFS2
diff --git a/include/configs/TQM866M.h b/include/configs/TQM866M.h
index 0d84ac7fb7e..76c8f7a499b 100644
--- a/include/configs/TQM866M.h
+++ b/include/configs/TQM866M.h
@@ -137,9 +137,7 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_EEPROM
-#define CONFIG_CMD_EXT2
#define CONFIG_CMD_IDE
#define CONFIG_CMD_JFFS2
diff --git a/include/configs/TQM885D.h b/include/configs/TQM885D.h
index 778fcf57b4a..88b97ab3193 100644
--- a/include/configs/TQM885D.h
+++ b/include/configs/TQM885D.h
@@ -133,12 +133,9 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DATE
#define CONFIG_CMD_EEPROM
-#define CONFIG_CMD_EXT2
#define CONFIG_CMD_IDE
-#define CONFIG_CMD_MII
/*
* Miscellaneous configurable options
diff --git a/include/configs/UCP1020.h b/include/configs/UCP1020.h
index ccdfafa0a16..4ae61ca9cde 100644
--- a/include/configs/UCP1020.h
+++ b/include/configs/UCP1020.h
@@ -468,10 +468,8 @@
* Command line configuration.
*/
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#define CONFIG_CMD_DATE
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#define CONFIG_CMD_ERRATA
#define CONFIG_CMD_CRAMFS
@@ -498,15 +496,12 @@
#ifdef CONFIG_MMC
#define CONFIG_FSL_ESDHC
#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC85xx_ESDHC_ADDR
-#define CONFIG_CMD_MMC
#define CONFIG_MMC_SPI
#define CONFIG_CMD_MMC_SPI
#define CONFIG_GENERIC_MMC
#endif
#if defined(CONFIG_MMC) || defined(CONFIG_USB_EHCI) || defined(CONFIG_FSL_SATA)
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
diff --git a/include/configs/VCMA9.h b/include/configs/VCMA9.h
index 5d7874b8e03..4e349d5caa5 100644
--- a/include/configs/VCMA9.h
+++ b/include/configs/VCMA9.h
@@ -48,7 +48,6 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_EEPROM
#define CONFIG_CMD_REGINFO
#define CONFIG_CMD_DATE
@@ -202,7 +201,6 @@
#define MULTI_PURPOSE_SOCKET_ADDR 0x08000000
/* File system */
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_UBI
#define CONFIG_CMD_UBIFS
#define CONFIG_CMD_JFFS2
diff --git a/include/configs/VOM405.h b/include/configs/VOM405.h
index 405ac0d6ae7..d401d3eedb7 100644
--- a/include/configs/VOM405.h
+++ b/include/configs/VOM405.h
@@ -60,7 +60,6 @@
*/
#define CONFIG_CMD_BSP
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#define CONFIG_CMD_EEPROM
#undef CONFIG_WATCHDOG /* watchdog disabled */
diff --git a/include/configs/a3m071.h b/include/configs/a3m071.h
index 47e35c522e1..e0c92d0497b 100644
--- a/include/configs/a3m071.h
+++ b/include/configs/a3m071.h
@@ -45,8 +45,6 @@
* Command line configuration.
*/
#define CONFIG_CMD_BSP
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#define CONFIG_BOOTP_SEND_HOSTNAME
#define CONFIG_BOOTP_SERVERIP
diff --git a/include/configs/a4m072.h b/include/configs/a4m072.h
index 09216d18643..ee1bff858f7 100644
--- a/include/configs/a4m072.h
+++ b/include/configs/a4m072.h
@@ -92,9 +92,7 @@
* Command line configuration.
*/
#define CONFIG_CMD_EEPROM
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_IDE
-#define CONFIG_CMD_MII
#define CONFIG_CMD_DISPLAY
#if defined(CONFIG_PCI)
diff --git a/include/configs/ac14xx.h b/include/configs/ac14xx.h
index efd63a02298..bcf69422350 100644
--- a/include/configs/ac14xx.h
+++ b/include/configs/ac14xx.h
@@ -392,13 +392,10 @@
#define CONFIG_LOADS_ECHO 1
#define CONFIG_SYS_LOADS_BAUD_CHANGE 1
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_EEPROM
#undef CONFIG_CMD_FUSE
#undef CONFIG_CMD_IDE
-#undef CONFIG_CMD_EXT2
#define CONFIG_CMD_JFFS2
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#if defined(CONFIG_PCI)
diff --git a/include/configs/adp-ag101p.h b/include/configs/adp-ag101p.h
index 95fc41eed70..7b9470c801d 100644
--- a/include/configs/adp-ag101p.h
+++ b/include/configs/adp-ag101p.h
@@ -103,19 +103,15 @@
* SD (MMC) controller
*/
#define CONFIG_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_DOS_PARTITION
#define CONFIG_FTSDC010
#define CONFIG_FTSDC010_NUMBER 1
#define CONFIG_FTSDC010_SDIO
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_EXT2
/*
* Command line configuration.
*/
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_DATE
/*
diff --git a/include/configs/alt.h b/include/configs/alt.h
index b8b964461dd..3a81c49b894 100644
--- a/include/configs/alt.h
+++ b/include/configs/alt.h
@@ -90,7 +90,6 @@
/* MMCIF */
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_SH_MMCIF
#define CONFIG_SH_MMCIF_ADDR 0xee200000
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index bee6b837cca..cd8923d7a5d 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -348,7 +348,6 @@
#ifndef CONFIG_SPL_BUILD
#define CONFIG_USB_FUNCTION_DFU
#define CONFIG_DFU_MMC
-#define CONFIG_CMD_DFU
#define DFU_ALT_INFO_MMC \
"dfu_alt_info_mmc=" \
"boot part 0 1;" \
diff --git a/include/configs/am3517_crane.h b/include/configs/am3517_crane.h
index cbfe1bd7997..822e1c8edc7 100644
--- a/include/configs/am3517_crane.h
+++ b/include/configs/am3517_crane.h
@@ -103,7 +103,6 @@
#define CONFIG_USB_STORAGE
#define CONGIG_CMD_STORAGE
-#define CONFIG_CMD_FAT
#ifdef CONFIG_USB_KEYBOARD
#define CONFIG_SYS_USB_EVENT_POLL
@@ -127,11 +126,8 @@
#endif /* CONFIG_USB_AM35X */
/* commands to include */
-#define CONFIG_CMD_EXT2 /* EXT2 Support */
-#define CONFIG_CMD_FAT /* FAT support */
#define CONFIG_CMD_JFFS2 /* JFFS2 Support */
-#define CONFIG_CMD_MMC /* MMC support */
#define CONFIG_CMD_NAND /* NAND support */
#define CONFIG_SYS_NO_FLASH
diff --git a/include/configs/am3517_evm.h b/include/configs/am3517_evm.h
index 2cbf04ea883..6f838708682 100644
--- a/include/configs/am3517_evm.h
+++ b/include/configs/am3517_evm.h
@@ -119,16 +119,7 @@
/* commands to include */
#define CONFIG_CMD_NAND
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_EXT4_WRITE
-#define CONFIG_CMD_FS_GENERIC
#define CONFIG_CMD_PART
-#define CONFIG_CMD_ASKENV
-#define CONFIG_CMD_BOOTZ
-#define CONFIG_CMD_MMC
#define CONFIG_CMD_MTDPARTS
/* I2C */
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index 59a97492ece..5b49988db78 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -11,8 +11,6 @@
#define CONFIG_AM43XX
-#define CONFIG_CMD_FAT
-
#define CONFIG_BOARD_LATE_INIT
#define CONFIG_ARCH_CPU_INIT
#define CONFIG_SYS_CACHELINE_SIZE 32
@@ -149,7 +147,6 @@
/* USB Device Firmware Update support */
#define CONFIG_USB_FUNCTION_DFU
#define CONFIG_DFU_RAM
-#define CONFIG_CMD_DFU
#define CONFIG_DFU_MMC
#define DFU_ALT_INFO_MMC \
@@ -320,7 +317,6 @@
#ifndef CONFIG_SPL_BUILD
/* CPSW Ethernet */
-#define CONFIG_CMD_MII
#define CONFIG_MII
#define CONFIG_BOOTP_DEFAULT
#define CONFIG_BOOTP_DNS
diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h
index 099ecddf623..32d7d4d0bd0 100644
--- a/include/configs/am57xx_evm.h
+++ b/include/configs/am57xx_evm.h
@@ -54,7 +54,6 @@
#define CONFIG_BOOTP_GATEWAY
#define CONFIG_BOOTP_SUBNETMASK
#define CONFIG_NET_RETRY_COUNT 10
-#define CONFIG_CMD_MII
#define CONFIG_DRIVER_TI_CPSW /* Driver for IP block */
#define CONFIG_MII /* Required in net/eth.c */
#define CONFIG_PHY_GIGE /* per-board part of CPSW */
diff --git a/include/configs/amcc-common.h b/include/configs/amcc-common.h
index 89093bd366e..9fa4d162439 100644
--- a/include/configs/amcc-common.h
+++ b/include/configs/amcc-common.h
@@ -50,15 +50,11 @@
/*
* Commands
*/
-#define CONFIG_CMD_ASKENV
#if defined(CONFIG_440)
-#define CONFIG_CMD_CACHE
#endif
#define CONFIG_CMD_DIAG
#define CONFIG_CMD_EEPROM
-#define CONFIG_CMD_GREPENV
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
/*
diff --git a/include/configs/amcore.h b/include/configs/amcore.h
index 3ef7257127c..e819185f77b 100644
--- a/include/configs/amcore.h
+++ b/include/configs/amcore.h
@@ -22,7 +22,6 @@
#define CONFIG_BOOTCOMMAND "bootm ffc20000"
#undef CONFIG_CMD_AES
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_DIAG
/* undef to save memory */
diff --git a/include/configs/ap325rxa.h b/include/configs/ap325rxa.h
index fdcbf31c400..ae58ec8d2ae 100644
--- a/include/configs/ap325rxa.h
+++ b/include/configs/ap325rxa.h
@@ -16,7 +16,6 @@
#define CONFIG_CMD_SDRAM
#define CONFIG_CMD_IDE
-#define CONFIG_CMD_EXT2
#define CONFIG_DOS_PARTITION
#define CONFIG_BAUDRATE 38400
diff --git a/include/configs/ap_sh4a_4a.h b/include/configs/ap_sh4a_4a.h
index d4587059f99..be8feed124e 100644
--- a/include/configs/ap_sh4a_4a.h
+++ b/include/configs/ap_sh4a_4a.h
@@ -18,7 +18,6 @@
#define CONFIG_BOARD_LATE_INIT
#define CONFIG_SYS_TEXT_BASE 0x8BFC0000
-#define CONFIG_CMD_MII
#define CONFIG_CMD_SDRAM
#define CONFIG_CMD_ENV
diff --git a/include/configs/apalis_t30.h b/include/configs/apalis_t30.h
index 9c09087793b..514e9eecf22 100644
--- a/include/configs/apalis_t30.h
+++ b/include/configs/apalis_t30.h
@@ -31,7 +31,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_TEGRA_MMC
-#define CONFIG_CMD_MMC
/* Environment in eMMC, at the end of 2nd "boot sector" */
#define CONFIG_ENV_IS_IN_MMC
diff --git a/include/configs/apf27.h b/include/configs/apf27.h
index f8c91f8fa48..2291647c64f 100644
--- a/include/configs/apf27.h
+++ b/include/configs/apf27.h
@@ -65,16 +65,10 @@
/*
* U-Boot Commands
*/
-#define CONFIG_CMD_ASKENV /* ask for env variable */
#define CONFIG_CMD_BSP /* Board Specific functions */
-#define CONFIG_CMD_CACHE /* icache, dcache */
#define CONFIG_CMD_DATE
#define CONFIG_CMD_EEPROM
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT /* FAT support */
#define CONFIG_CMD_IMX_FUSE /* imx iim fuse */
-#define CONFIG_CMD_MII /* MII support */
-#define CONFIG_CMD_MMC
#define CONFIG_CMD_MTDPARTS /* MTD partition support */
#define CONFIG_CMD_NAND /* NAND support */
#define CONFIG_CMD_NAND_LOCK_UNLOCK
diff --git a/include/configs/apx4devkit.h b/include/configs/apx4devkit.h
index 1f7ef8fc194..bb29f3f5bca 100644
--- a/include/configs/apx4devkit.h
+++ b/include/configs/apx4devkit.h
@@ -24,12 +24,7 @@
#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_MII
-#define CONFIG_CMD_MMC
#define CONFIG_CMD_NAND
/* Memory configuration */
diff --git a/include/configs/aria.h b/include/configs/aria.h
index b69e08e06f6..2d32da1f949 100644
--- a/include/configs/aria.h
+++ b/include/configs/aria.h
@@ -402,12 +402,10 @@
#define CONFIG_LOADS_ECHO 1
#define CONFIG_SYS_LOADS_BAUD_CHANGE 1
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_EEPROM
#undef CONFIG_CMD_FUSE
#undef CONFIG_CMD_IDE
#define CONFIG_CMD_JFFS2
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#if defined(CONFIG_PCI)
diff --git a/include/configs/aristainetos-common.h b/include/configs/aristainetos-common.h
index 8154b2ec651..d87d40cc313 100644
--- a/include/configs/aristainetos-common.h
+++ b/include/configs/aristainetos-common.h
@@ -29,7 +29,6 @@
/* MMC Configs */
#define CONFIG_SYS_FSL_ESDHC_ADDR 0
-#define CONFIG_CMD_MII
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
diff --git a/include/configs/armadillo-800eva.h b/include/configs/armadillo-800eva.h
index e1fe7e69953..681b4e743e6 100644
--- a/include/configs/armadillo-800eva.h
+++ b/include/configs/armadillo-800eva.h
@@ -18,8 +18,6 @@
#define CONFIG_CMD_DFL
#define CONFIG_CMD_SDRAM
-#define CONFIG_CMD_MII
-#define CONFIG_CMD_BOOTZ
#define BOARD_LATE_INIT
diff --git a/include/configs/astro_mcf5373l.h b/include/configs/astro_mcf5373l.h
index 6660eb08298..b08276f32da 100644
--- a/include/configs/astro_mcf5373l.h
+++ b/include/configs/astro_mcf5373l.h
@@ -59,7 +59,6 @@
/* Define which commands should be available at u-boot command prompt */
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_DATE
#if ENABLE_JFFS
#define CONFIG_CMD_JFFS2
diff --git a/include/configs/at91-sama5_common.h b/include/configs/at91-sama5_common.h
index e2608674bdc..dc955b24524 100644
--- a/include/configs/at91-sama5_common.h
+++ b/include/configs/at91-sama5_common.h
@@ -30,7 +30,6 @@
#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_ENV_VARS_UBOOT_CONFIG
-#define CONFIG_CMD_BOOTZ
/* general purpose I/O */
#define CONFIG_AT91_GPIO
diff --git a/include/configs/at91rm9200ek.h b/include/configs/at91rm9200ek.h
index ee3712c450e..2979b25abcc 100644
--- a/include/configs/at91rm9200ek.h
+++ b/include/configs/at91rm9200ek.h
@@ -58,8 +58,6 @@
#define CONFIG_BOARD_EARLY_INIT_F
-#define CONFIG_CMD_BOOTZ
-
/*
* Memory Configuration
*/
@@ -119,8 +117,6 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_MII
/*
* Network Driver Setting
diff --git a/include/configs/at91sam9260ek.h b/include/configs/at91sam9260ek.h
index 2a5301fdfad..9db8d128688 100644
--- a/include/configs/at91sam9260ek.h
+++ b/include/configs/at91sam9260ek.h
@@ -45,8 +45,6 @@
#define CONFIG_BOARD_EARLY_INIT_F
#define CONFIG_DISPLAY_CPUINFO
-#define CONFIG_CMD_BOOTZ
-
/* general purpose I/O */
#define CONFIG_ATMEL_LEGACY /* required until (g)pio is fixed */
#define CONFIG_AT91_GPIO
@@ -77,7 +75,6 @@
* Command line configuration.
*/
#define CONFIG_CMD_NAND 1
-#define CONFIG_CMD_FAT
/*
* SDRAM: 1 bank, min 32, max 128 MB
@@ -128,7 +125,6 @@
#define AT91_SPI_CLK 15000000
#else
/* Enable MMC. The MCCK is conflicted with DataFlash */
-#define CONFIG_CMD_MMC
#endif
#ifdef CONFIG_AT91SAM9G20EK
diff --git a/include/configs/at91sam9261ek.h b/include/configs/at91sam9261ek.h
index 82f90f2aaa7..b369624a2c7 100644
--- a/include/configs/at91sam9261ek.h
+++ b/include/configs/at91sam9261ek.h
@@ -143,7 +143,6 @@
#endif
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
#define CONFIG_USB_STORAGE
-#define CONFIG_CMD_FAT
#define CONFIG_SYS_LOAD_ADDR 0x22000000 /* load address */
diff --git a/include/configs/at91sam9263ek.h b/include/configs/at91sam9263ek.h
index c7fac7fb6a4..f248049e544 100644
--- a/include/configs/at91sam9263ek.h
+++ b/include/configs/at91sam9263ek.h
@@ -45,8 +45,6 @@
#define CONFIG_DISPLAY_CPUINFO
-#define CONFIG_CMD_BOOTZ
-
/*
* Hardware drivers
*/
@@ -92,7 +90,6 @@
* Command line configuration.
*/
#define CONFIG_CMD_NAND 1
-#define CONFIG_CMD_MMC
/* SDRAM */
#define CONFIG_NR_DRAM_BANKS 1
@@ -118,11 +115,6 @@
#define CONFIG_GENERIC_ATMEL_MCI
#endif
-/* FAT */
-#ifdef CONFIG_CMD_FAT
-#define CONFIG_DOS_PARTITION
-#endif
-
/* NOR flash, if populated */
#ifdef CONFIG_SYS_USE_NORFLASH
#define CONFIG_SYS_FLASH_CFI 1
@@ -287,7 +279,6 @@
#define CONFIG_SYS_USB_OHCI_SLOT_NAME "at91sam9263"
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
#define CONFIG_USB_STORAGE 1
-#define CONFIG_CMD_FAT 1
#define CONFIG_SYS_LOAD_ADDR 0x22000000 /* load address */
diff --git a/include/configs/at91sam9m10g45ek.h b/include/configs/at91sam9m10g45ek.h
index 8bc5144c963..18eb01dc8c6 100644
--- a/include/configs/at91sam9m10g45ek.h
+++ b/include/configs/at91sam9m10g45ek.h
@@ -30,8 +30,6 @@
#define CONFIG_BOARD_EARLY_INIT_F
#define CONFIG_DISPLAY_CPUINFO
-#define CONFIG_CMD_BOOTZ
-
/* general purpose I/O */
#define CONFIG_ATMEL_LEGACY /* required until (g)pio is fixed */
#define CONFIG_AT91_GPIO
@@ -103,7 +101,6 @@
#endif
/* MMC */
-#define CONFIG_CMD_MMC
#ifdef CONFIG_CMD_MMC
#define CONFIG_MMC
@@ -112,7 +109,6 @@
#endif
#if defined(CONFIG_CMD_USB) || defined(CONFIG_CMD_MMC)
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
diff --git a/include/configs/at91sam9n12ek.h b/include/configs/at91sam9n12ek.h
index fdebcc285c0..2f8c3774139 100644
--- a/include/configs/at91sam9n12ek.h
+++ b/include/configs/at91sam9n12ek.h
@@ -67,10 +67,7 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_BOOTZ
#define CONFIG_CMD_NAND
-#define CONFIG_CMD_MMC
-#define CONFIG_CMD_FAT
#define CONFIG_NR_DRAM_BANKS 1
#define CONFIG_SYS_SDRAM_BASE 0x20000000
diff --git a/include/configs/at91sam9rlek.h b/include/configs/at91sam9rlek.h
index 6a0392349e2..d178d9d44b4 100644
--- a/include/configs/at91sam9rlek.h
+++ b/include/configs/at91sam9rlek.h
@@ -31,8 +31,6 @@
#define CONFIG_DISPLAY_CPUINFO
-#define CONFIG_CMD_BOOTZ
-
#define CONFIG_ATMEL_LEGACY
#define CONFIG_AT91_GPIO 1
#define CONFIG_AT91_GPIO_PULLUP 1
@@ -111,13 +109,11 @@
#endif
/* MMC */
-#define CONFIG_CMD_MMC
#ifdef CONFIG_CMD_MMC
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_GENERIC_ATMEL_MCI
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
diff --git a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h
index fd87bb79815..251094e60b8 100644
--- a/include/configs/at91sam9x5ek.h
+++ b/include/configs/at91sam9x5ek.h
@@ -26,8 +26,6 @@
#define CONFIG_BOARD_EARLY_INIT_F
#define CONFIG_DISPLAY_CPUINFO
-#define CONFIG_CMD_BOOTZ
-
/* general purpose I/O */
#define CONFIG_ATMEL_LEGACY /* required until (g)pio is fixed */
#define CONFIG_AT91_GPIO
@@ -66,8 +64,6 @@
* Command line configuration.
*/
#define CONFIG_CMD_NAND
-#define CONFIG_CMD_MMC
-#define CONFIG_CMD_FAT
/*
* define CONFIG_USB_EHCI to enable USB Hi-Speed (aka 2.0)
diff --git a/include/configs/atngw100.h b/include/configs/atngw100.h
index a18a2c9a89f..e6f6125dd2c 100644
--- a/include/configs/atngw100.h
+++ b/include/configs/atngw100.h
@@ -80,11 +80,7 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_ASKENV
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_JFFS2
-#define CONFIG_CMD_MMC
#define CONFIG_ATMEL_USART
#define CONFIG_MACB
diff --git a/include/configs/atngw100mkii.h b/include/configs/atngw100mkii.h
index 09e193e7293..fb126329238 100644
--- a/include/configs/atngw100mkii.h
+++ b/include/configs/atngw100mkii.h
@@ -99,12 +99,7 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_ASKENV
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_JFFS2
-#define CONFIG_CMD_MMC
-#define CONFIG_CMD_MII
#define CONFIG_ATMEL_USART
#define CONFIG_MACB
diff --git a/include/configs/atstk1002.h b/include/configs/atstk1002.h
index 62f01a75522..9a647d8446f 100644
--- a/include/configs/atstk1002.h
+++ b/include/configs/atstk1002.h
@@ -101,11 +101,7 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_ASKENV
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_JFFS2
-#define CONFIG_CMD_MMC
#define CONFIG_ATMEL_USART
#define CONFIG_MACB
diff --git a/include/configs/axs101.h b/include/configs/axs101.h
index 006ddb3a732..1bd472969fd 100644
--- a/include/configs/axs101.h
+++ b/include/configs/axs101.h
@@ -105,8 +105,6 @@
/*
* Commands still not supported in Kconfig
*/
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_MMC
#define CONFIG_CMD_NAND
#define CONFIG_AUTO_COMPLETE
diff --git a/include/configs/baltos.h b/include/configs/baltos.h
index 27ab8f75d85..4f3909af044 100644
--- a/include/configs/baltos.h
+++ b/include/configs/baltos.h
@@ -304,7 +304,6 @@
#define CONFIG_PHY_ADDR 0
#define CONFIG_PHY_SMSC
#define CONFIG_MII
-#define CONFIG_CMD_MII
#define CONFIG_PHY_ATHEROS
/* NAND support */
diff --git a/include/configs/bamboo.h b/include/configs/bamboo.h
index d231f7a6325..784bfefdb89 100644
--- a/include/configs/bamboo.h
+++ b/include/configs/bamboo.h
@@ -185,8 +185,6 @@
* Commands additional to the ones defined in amcc-common.h
*/
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_PCI
#define CONFIG_CMD_SDRAM
diff --git a/include/configs/bav335x.h b/include/configs/bav335x.h
index 377fa94106a..e391c91316b 100644
--- a/include/configs/bav335x.h
+++ b/include/configs/bav335x.h
@@ -461,7 +461,6 @@ DEFAULT_LINUX_BOOT_ENV \
#endif
#ifdef CONFIG_USB_MUSB_GADGET
-#define CONFIG_CMD_USB_MASS_STORAGE
#define CONFIG_USB_FUNCTION_MASS_STORAGE
#endif /* CONFIG_USB_MUSB_GADGET */
@@ -480,7 +479,6 @@ DEFAULT_LINUX_BOOT_ENV \
#ifndef CONFIG_SPL_BUILD
#define CONFIG_USB_FUNCTION_DFU
#define CONFIG_DFU_MMC
-#define CONFIG_CMD_DFU
#define DFU_ALT_INFO_MMC \
"dfu_alt_info_mmc=" \
"boot part 0 1;" \
diff --git a/include/configs/bayleybay.h b/include/configs/bayleybay.h
index 92326e1d0ab..8f31436374e 100644
--- a/include/configs/bayleybay.h
+++ b/include/configs/bayleybay.h
@@ -30,7 +30,6 @@
#define CONFIG_SDHCI
#define CONFIG_GENERIC_MMC
#define CONFIG_MMC_SDMA
-#define CONFIG_CMD_MMC
/* Environment configuration */
#define CONFIG_ENV_SECT_SIZE 0x1000
diff --git a/include/configs/bcm28155_ap.h b/include/configs/bcm28155_ap.h
index b9e9dcc3b0c..889e5db74b2 100644
--- a/include/configs/bcm28155_ap.h
+++ b/include/configs/bcm28155_ap.h
@@ -124,11 +124,6 @@
#define CONFIG_BOOTCOMMAND ""
/* Commands */
-#define CONFIG_CMD_ASKENV
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_MMC
-#define CONFIG_CMD_BOOTZ
#define CONFIG_FAT_WRITE
/* Fastboot and USB OTG */
diff --git a/include/configs/bcm_ep_board.h b/include/configs/bcm_ep_board.h
index 4ac4faf2ace..d5888e8a2f6 100644
--- a/include/configs/bcm_ep_board.h
+++ b/include/configs/bcm_ep_board.h
@@ -80,9 +80,6 @@
#define CONFIG_MX_CYCLIC
/* Commands */
-#define CONFIG_CMD_ASKENV
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_FAT
#define CONFIG_FAT_WRITE
/* SHA hashing */
@@ -93,8 +90,6 @@
/* Enable Time Command */
-#define CONFIG_CMD_BOOTZ
-
/* Misc utility code */
#define CONFIG_BOUNCE_BUFFER
#define CONFIG_CRC32_VERIFY
diff --git a/include/configs/beaver.h b/include/configs/beaver.h
index 44e3621d309..a1c2002113a 100644
--- a/include/configs/beaver.h
+++ b/include/configs/beaver.h
@@ -31,7 +31,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_TEGRA_MMC
-#define CONFIG_CMD_MMC
/* Environment in eMMC, at the end of 2nd "boot sector" */
#define CONFIG_ENV_IS_IN_MMC
diff --git a/include/configs/bf537-minotaur.h b/include/configs/bf537-minotaur.h
index a351d1b5ff0..43a90328fed 100644
--- a/include/configs/bf537-minotaur.h
+++ b/include/configs/bf537-minotaur.h
@@ -136,7 +136,6 @@
#endif
#define CONFIG_CMD_BOOTLDR
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_DATE
#define CONFIG_BOOTCOMMAND "run ramboot"
diff --git a/include/configs/bf537-srv1.h b/include/configs/bf537-srv1.h
index cbe752afb33..70553662e7f 100644
--- a/include/configs/bf537-srv1.h
+++ b/include/configs/bf537-srv1.h
@@ -139,7 +139,6 @@
#endif
#define CONFIG_CMD_BOOTLDR
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_DATE
#define CONFIG_BOOTCOMMAND "run flashboot"
diff --git a/include/configs/bf561-acvilon.h b/include/configs/bf561-acvilon.h
index c36be03e7b0..76b891b3772 100644
--- a/include/configs/bf561-acvilon.h
+++ b/include/configs/bf561-acvilon.h
@@ -71,7 +71,6 @@
* Network Settings
*/
#define ADI_CMDS_NETWORK 1
-#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 a62038e235b..4deb2d247ea 100644
--- a/include/configs/bf609-ezkit.h
+++ b/include/configs/bf609-ezkit.h
@@ -72,7 +72,6 @@
#define CONFIG_PHY_ADDR 1
#define CONFIG_DW_PORTS 1
#define CONFIG_DW_ALTDESCRIPTOR
-#define CONFIG_CMD_MII
#define CONFIG_MII
/* i2c Settings */
diff --git a/include/configs/bfin_adi_common.h b/include/configs/bfin_adi_common.h
index 1b35a866b58..88d2ae997ea 100644
--- a/include/configs/bfin_adi_common.h
+++ b/include/configs/bfin_adi_common.h
@@ -17,18 +17,13 @@
# define CONFIG_BOOTP_RANDOM_DELAY
# define CONFIG_KEEP_SERVERADDR
# ifdef CONFIG_BFIN_MAC
-# define CONFIG_CMD_MII
# endif
# endif
# ifdef CONFIG_LIBATA
-# define CONFIG_CMD_FAT
# define CONFIG_CMD_SATA
# define CONFIG_DOS_PARTITION
# endif
# ifdef CONFIG_MMC
-# define CONFIG_CMD_EXT2
-# define CONFIG_CMD_FAT
-# define CONFIG_CMD_MMC
# define CONFIG_DOS_PARTITION
# define CONFIG_SYS_MMC_MAX_BLK_COUNT 127
# endif
@@ -36,8 +31,6 @@
# define CONFIG_CMD_MMC_SPI
# endif
# ifdef CONFIG_USB
-# define CONFIG_CMD_EXT2
-# define CONFIG_CMD_FAT
# define CONFIG_CMD_USB_STORAGE
# define CONFIG_DOS_PARTITION
# endif
@@ -66,7 +59,6 @@
# define CONFIG_JFFS2_SUMMARY
# endif
# define CONFIG_CMD_BOOTLDR
-# define CONFIG_CMD_CACHE
# define CONFIG_CMD_CPLBINFO
# define CONFIG_CMD_KGDB
# define CONFIG_CMD_LDRINFO
diff --git a/include/configs/bg0900.h b/include/configs/bg0900.h
index e48be7a8e3e..6a5bc126b07 100644
--- a/include/configs/bg0900.h
+++ b/include/configs/bg0900.h
@@ -14,9 +14,6 @@
#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_BOOTZ
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_MII
#define CONFIG_CMD_NAND
#define CONFIG_CMD_NAND_TRIMFFS
diff --git a/include/configs/blackstamp.h b/include/configs/blackstamp.h
index 515ed773d56..6eb83a05a7e 100644
--- a/include/configs/blackstamp.h
+++ b/include/configs/blackstamp.h
@@ -103,7 +103,6 @@
#define CONFIG_ENV_OVERWRITE 1
#define CONFIG_CMD_BOOTLDR
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_CPLBINFO
#define CONFIG_CMD_DATE
diff --git a/include/configs/blackvme.h b/include/configs/blackvme.h
index ef906033770..ba90830a1e6 100644
--- a/include/configs/blackvme.h
+++ b/include/configs/blackvme.h
@@ -74,7 +74,6 @@
*/
#define CONFIG_DRIVER_AX88180 1
#define AX88180_BASE 0x2c000000
-#define CONFIG_CMD_MII /* enable probing PHY */
#define CONFIG_HOSTNAME blackvme /* Bfin board */
#define CONFIG_IPADDR 169.254.144.145 /* Bfin board */
@@ -150,7 +149,6 @@
#define CONFIG_AUTO_COMPLETE 1
#define CONFIG_CMD_BOOTLDR
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_CPLBINFO
/*
diff --git a/include/configs/calimain.h b/include/configs/calimain.h
index 37adede08a9..506ad882c8e 100644
--- a/include/configs/calimain.h
+++ b/include/configs/calimain.h
@@ -308,13 +308,10 @@
* U-Boot commands
*/
#define CONFIG_CMD_ENV
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DIAG
-#define CONFIG_CMD_MII
#define CONFIG_CMD_SAVES
#ifndef CONFIG_DRIVER_TI_EMAC
-#undef CONFIG_CMD_MII
#endif
/* additions for new relocation code, must added to all boards */
diff --git a/include/configs/canmb.h b/include/configs/canmb.h
index 028d0a24ec1..31fe5f6b814 100644
--- a/include/configs/canmb.h
+++ b/include/configs/canmb.h
@@ -48,10 +48,8 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DATE
#define CONFIG_CMD_IMMAP
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
/*
diff --git a/include/configs/canyonlands.h b/include/configs/canyonlands.h
index ad9f41839fc..e68e342c125 100644
--- a/include/configs/canyonlands.h
+++ b/include/configs/canyonlands.h
@@ -382,8 +382,6 @@
#elif defined(CONFIG_CANYONLANDS)
#define CONFIG_CMD_DATE
#define CONFIG_CMD_DTT
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_NAND
#define CONFIG_CMD_PCI
#define CONFIG_CMD_SATA
diff --git a/include/configs/cardhu.h b/include/configs/cardhu.h
index 85fd3273c09..7107b7298d5 100644
--- a/include/configs/cardhu.h
+++ b/include/configs/cardhu.h
@@ -34,7 +34,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_TEGRA_MMC
-#define CONFIG_CMD_MMC
/* Environment in eMMC, at the end of 2nd "boot sector" */
#define CONFIG_ENV_IS_IN_MMC
diff --git a/include/configs/cgtqmx6eval.h b/include/configs/cgtqmx6eval.h
index 57dfddeb1b0..dd039369966 100644
--- a/include/configs/cgtqmx6eval.h
+++ b/include/configs/cgtqmx6eval.h
@@ -70,7 +70,6 @@
#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
/* USB Configs */
-#define CONFIG_CMD_FAT
#define CONFIG_USB_EHCI
#define CONFIG_USB_EHCI_MX6
#define CONFIG_USB_STORAGE
@@ -85,11 +84,9 @@
#define CONFIG_USBD_HS
-#define CONFIG_CMD_USB_MASS_STORAGE
#define CONFIG_USB_FUNCTION_MASS_STORAGE
/* USB Device Firmware Update support */
-#define CONFIG_CMD_DFU
#define CONFIG_USB_FUNCTION_DFU
#define CONFIG_DFU_MMC
#define CONFIG_DFU_SF
@@ -130,7 +127,6 @@
#define CONFIG_LIBATA
/* Ethernet */
-#define CONFIG_CMD_MII
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
diff --git a/include/configs/clearfog.h b/include/configs/clearfog.h
index 991121dc055..ffaeedbf398 100644
--- a/include/configs/clearfog.h
+++ b/include/configs/clearfog.h
@@ -25,14 +25,7 @@
* Commands configuration
*/
#define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */
-#define CONFIG_CMD_BOOTZ
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_ENV
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_FS_GENERIC
-#define CONFIG_CMD_MMC
#define CONFIG_CMD_PCI
/* I2C */
diff --git a/include/configs/cm5200.h b/include/configs/cm5200.h
index cdb893162ae..99182f4de39 100644
--- a/include/configs/cm5200.h
+++ b/include/configs/cm5200.h
@@ -23,13 +23,10 @@
/*
* Supported commands
*/
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_BSP
#define CONFIG_CMD_DATE
#define CONFIG_CMD_DIAG
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_JFFS2
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
/*
diff --git a/include/configs/cm_fx6.h b/include/configs/cm_fx6.h
index b36ba14be72..9a125529c6d 100644
--- a/include/configs/cm_fx6.h
+++ b/include/configs/cm_fx6.h
@@ -18,7 +18,6 @@
#define CONFIG_MACH_TYPE 4273
/* CMD */
-#define CONFIG_CMD_GREPENV
/* MMC */
#define CONFIG_SYS_FSL_USDHC_NUM 3
diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h
index aca92888a6e..5d581162cbe 100644
--- a/include/configs/cm_t35.h
+++ b/include/configs/cm_t35.h
@@ -106,9 +106,6 @@
#define CONFIG_SYS_CONSOLE_IS_IN_ENV
/* commands to include */
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_EXT2 /* EXT2 Support */
-#define CONFIG_CMD_FAT /* FAT support */
#define CONFIG_CMD_MTDPARTS /* Enable MTD parts commands */
#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
#define CONFIG_MTD_PARTITIONS
@@ -117,7 +114,6 @@
"1920k(u-boot),256k(u-boot-env),"\
"4m(kernel),-(fs)"
-#define CONFIG_CMD_MMC /* MMC support */
#define CONFIG_CMD_NAND /* NAND support */
#define CONFIG_SYS_NO_FLASH
@@ -191,7 +187,6 @@
"nand read ${loadaddr} 2a0000 400000; " \
"bootm ${loadaddr}\0" \
-#define CONFIG_CMD_BOOTZ
#define CONFIG_BOOTCOMMAND \
"mmc dev ${mmcdev}; if mmc rescan; then " \
"if run loadbootscript; then " \
diff --git a/include/configs/cm_t3517.h b/include/configs/cm_t3517.h
index 1bedea7d539..7cedb6736da 100644
--- a/include/configs/cm_t3517.h
+++ b/include/configs/cm_t3517.h
@@ -119,9 +119,6 @@
#define CONFIG_USB_STORAGE
/* commands to include */
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_EXT2 /* EXT2 Support */
-#define CONFIG_CMD_FAT /* FAT support */
#define CONFIG_CMD_MTDPARTS /* Enable MTD parts commands */
#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
#define CONFIG_MTD_PARTITIONS
@@ -130,7 +127,6 @@
"1920k(u-boot),256k(u-boot-env),"\
"4m(kernel),-(fs)"
-#define CONFIG_CMD_MMC /* MMC support */
#define CONFIG_CMD_NAND /* NAND support */
#define CONFIG_SYS_NO_FLASH
@@ -199,7 +195,6 @@
"nand read ${loadaddr} 2a0000 400000; " \
"bootm ${loadaddr}\0" \
-#define CONFIG_CMD_BOOTZ
#define CONFIG_BOOTCOMMAND \
"mmc dev ${mmcdev}; if mmc rescan; then " \
"if run loadbootscript; then " \
diff --git a/include/configs/cobra5272.h b/include/configs/cobra5272.h
index b291ba43b17..509c8b42fba 100644
--- a/include/configs/cobra5272.h
+++ b/include/configs/cobra5272.h
@@ -120,8 +120,6 @@
* Command line configuration.
*/
-#undef CONFIG_CMD_MII
-
#ifdef CONFIG_MCFFEC
# define CONFIG_MII 1
# define CONFIG_MII_INIT 1
diff --git a/include/configs/colibri_pxa270.h b/include/configs/colibri_pxa270.h
index c38d8880901..5dffc9e186e 100644
--- a/include/configs/colibri_pxa270.h
+++ b/include/configs/colibri_pxa270.h
@@ -54,7 +54,6 @@
* Bootloader Components Configuration
*/
#define CONFIG_CMD_ENV
-#define CONFIG_CMD_MMC
/* I2C support */
#ifdef CONFIG_SYS_I2C
diff --git a/include/configs/colibri_t20.h b/include/configs/colibri_t20.h
index 01fc13d010f..c15f0cb3931 100644
--- a/include/configs/colibri_t20.h
+++ b/include/configs/colibri_t20.h
@@ -30,7 +30,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_TEGRA_MMC
-#define CONFIG_CMD_MMC
/* USB host support */
#define CONFIG_USB_EHCI
@@ -76,7 +75,6 @@
#define CONFIG_ENV_SIZE (SZ_64K)
/* UBI */
-#define CONFIG_CMD_BOOTZ
#define CONFIG_CMD_UBI
#define CONFIG_CMD_UBIFS /* increases size by almost 60 KB */
#define CONFIG_LZO
@@ -84,7 +82,6 @@
#define CONFIG_RBTREE
/* Debug commands */
-#define CONFIG_CMD_CACHE
/* Miscellaneous commands */
#define CONFIG_FAT_WRITE
diff --git a/include/configs/colibri_t30.h b/include/configs/colibri_t30.h
index a34da80618d..7e98166320b 100644
--- a/include/configs/colibri_t30.h
+++ b/include/configs/colibri_t30.h
@@ -31,7 +31,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_TEGRA_MMC
-#define CONFIG_CMD_MMC
/* Environment in eMMC, at the end of 2nd "boot sector" */
#define CONFIG_ENV_IS_IN_MMC
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h
index ea33e7ad396..50f7c21ac2b 100644
--- a/include/configs/colibri_vf.h
+++ b/include/configs/colibri_vf.h
@@ -43,7 +43,6 @@
#define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
#define CONFIG_VERSION_VARIABLE
#define CONFIG_BAUDRATE 115200
-#define CONFIG_CMD_ASKENV
/* NAND support */
#define CONFIG_CMD_NAND
@@ -69,21 +68,15 @@
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_EXT4
#define CONFIG_DOS_PARTITION
#define CONFIG_RBTREE
#define CONFIG_LZO
-#define CONFIG_CMD_FS_GENERIC
-#define CONFIG_CMD_BOOTZ
#define CONFIG_CMD_UBI
#define CONFIG_MTD_UBI_FASTMAP
#define CONFIG_CMD_UBIFS /* increases size by almost 60 KB */
-#define CONFIG_CMD_MII
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define IMX_FEC_BASE ENET1_BASE_ADDR
@@ -213,8 +206,6 @@
#define CONFIG_ENV_OFFSET (12 * 64 * 2048)
#endif
-#define CONFIG_CMD_BOOTZ
-
#define CONFIG_SYS_NO_FLASH
#define CONFIG_SYS_CACHELINE_SIZE 32
@@ -233,7 +224,6 @@
#define CONFIG_TRDX_PID_COLIBRI_VF50IT 0x0019
/* USB DFU */
-#define CONFIG_CMD_DFU
#define CONFIG_USB_FUNCTION_DFU
#define CONFIG_DFU_NAND
#define CONFIG_DFU_MMC
@@ -242,6 +232,5 @@
/* USB Storage */
#define CONFIG_USB_STORAGE
#define CONFIG_USB_FUNCTION_MASS_STORAGE
-#define CONFIG_CMD_USB_MASS_STORAGE
#endif /* __CONFIG_H */
diff --git a/include/configs/conga-qeval20-qa3-e3845.h b/include/configs/conga-qeval20-qa3-e3845.h
index 556d44e59ec..4c37d5e38bc 100644
--- a/include/configs/conga-qeval20-qa3-e3845.h
+++ b/include/configs/conga-qeval20-qa3-e3845.h
@@ -32,7 +32,6 @@
#define CONFIG_SDHCI
#define CONFIG_GENERIC_MMC
#define CONFIG_MMC_SDMA
-#define CONFIG_CMD_MMC
#undef CONFIG_USB_MAX_CONTROLLER_COUNT
#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
diff --git a/include/configs/controlcenterd.h b/include/configs/controlcenterd.h
index 9d1c6ae05f9..1bb8d93ba06 100644
--- a/include/configs/controlcenterd.h
+++ b/include/configs/controlcenterd.h
@@ -224,7 +224,6 @@
*/
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_FSL_ESDHC
#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC85xx_ESDHC_ADDR
@@ -377,10 +376,7 @@
#ifndef CONFIG_TRAILBLAZER
#define CONFIG_CMD_ERRATA
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
/*
diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h
index 1ab2efb16b1..96f17d3e7c3 100644
--- a/include/configs/corenet_ds.h
+++ b/include/configs/corenet_ds.h
@@ -579,7 +579,6 @@
#define CONFIG_LBA48
#define CONFIG_CMD_SATA
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT2
#endif
#ifdef CONFIG_FMAN_ENET
@@ -611,9 +610,7 @@
* Command line configuration.
*/
#define CONFIG_CMD_ERRATA
-#define CONFIG_CMD_GREPENV
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#ifdef CONFIG_PCI
@@ -631,17 +628,13 @@
#define CONFIG_USB_EHCI
#define CONFIG_USB_EHCI_FSL
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
-#define CONFIG_CMD_EXT2
#endif
#ifdef CONFIG_MMC
#define CONFIG_FSL_ESDHC
#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC85xx_ESDHC_ADDR
#define CONFIG_SYS_FSL_ESDHC_BROKEN_TIMEOUT
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
diff --git a/include/configs/corvus.h b/include/configs/corvus.h
index fffcd951bc6..8b3c7153f02 100644
--- a/include/configs/corvus.h
+++ b/include/configs/corvus.h
@@ -39,8 +39,6 @@
#define CONFIG_BOARD_EARLY_INIT_F
#define CONFIG_DISPLAY_CPUINFO
-#define CONFIG_CMD_BOOTZ
-
/* general purpose I/O */
#define CONFIG_ATMEL_LEGACY /* required until (g)pio is fixed */
#define CONFIG_AT91_GPIO
@@ -115,7 +113,6 @@
#define CONFIG_MTD_PARTITIONS
/* DFU class support */
-#define CONFIG_CMD_DFU
#define CONFIG_USB_FUNCTION_DFU
#define CONFIG_DFU_NAND
#define CONFIG_SYS_DFU_DATA_BUF_SIZE (SZ_1M)
diff --git a/include/configs/crownbay.h b/include/configs/crownbay.h
index 432f2f66759..49ed3efda9c 100644
--- a/include/configs/crownbay.h
+++ b/include/configs/crownbay.h
@@ -32,7 +32,6 @@
#define CONFIG_SDHCI
#define CONFIG_GENERIC_MMC
#define CONFIG_MMC_SDMA
-#define CONFIG_CMD_MMC
/* Environment configuration */
#define CONFIG_ENV_SECT_SIZE 0x1000
diff --git a/include/configs/cyrus.h b/include/configs/cyrus.h
index d1927b56137..4280c9cfb40 100644
--- a/include/configs/cyrus.h
+++ b/include/configs/cyrus.h
@@ -413,7 +413,6 @@
#define CONFIG_LBA48
#define CONFIG_CMD_SATA
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT2
#endif
#ifdef CONFIG_FMAN_ENET
@@ -433,9 +432,7 @@
* Command line configuration.
*/
#define CONFIG_CMD_ERRATA
-#define CONFIG_CMD_GREPENV
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#ifdef CONFIG_PCI
@@ -453,7 +450,6 @@
#define CONFIG_USB_EHCI
#define CONFIG_USB_EHCI_FSL
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
-#define CONFIG_CMD_EXT2
#define CONFIG_EHCI_IS_TDI
#define CONFIG_USB_KEYBOARD
#define CONFIG_SYS_STDIO_DEREGISTER
@@ -467,10 +463,7 @@
#define CONFIG_FSL_ESDHC
#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC85xx_ESDHC_ADDR
#define CONFIG_SYS_FSL_ESDHC_BROKEN_TIMEOUT
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
index 94663327105..af220febf49 100644
--- a/include/configs/da850evm.h
+++ b/include/configs/da850evm.h
@@ -285,9 +285,7 @@
* U-Boot commands
*/
#define CONFIG_CMD_ENV
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DIAG
-#define CONFIG_CMD_MII
#define CONFIG_CMD_SAVES
#ifdef CONFIG_CMD_BDI
@@ -295,7 +293,6 @@
#endif
#ifndef CONFIG_DRIVER_TI_EMAC
-#undef CONFIG_CMD_MII
#endif
#ifdef CONFIG_USE_NAND
@@ -336,9 +333,6 @@
*/
#ifdef CONFIG_MMC
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_MMC
#endif
#ifndef CONFIG_DIRECT_NOR_BOOT
diff --git a/include/configs/dalmore.h b/include/configs/dalmore.h
index 40dc35c0c6b..82b1f2c9023 100644
--- a/include/configs/dalmore.h
+++ b/include/configs/dalmore.h
@@ -27,7 +27,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_TEGRA_MMC
-#define CONFIG_CMD_MMC
/* Environment in eMMC, at the end of 2nd "boot sector" */
#define CONFIG_ENV_IS_IN_MMC
diff --git a/include/configs/db-88f6720.h b/include/configs/db-88f6720.h
index f8454cffb51..01c7895f42b 100644
--- a/include/configs/db-88f6720.h
+++ b/include/configs/db-88f6720.h
@@ -24,12 +24,7 @@
* Commands configuration
*/
#define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_ENV
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_FS_GENERIC
/* I2C */
#define CONFIG_SYS_I2C
diff --git a/include/configs/db-88f6820-gp.h b/include/configs/db-88f6820-gp.h
index d31e74fa503..d84dde39c10 100644
--- a/include/configs/db-88f6820-gp.h
+++ b/include/configs/db-88f6820-gp.h
@@ -25,13 +25,7 @@
* Commands configuration
*/
#define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_ENV
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_FS_GENERIC
-#define CONFIG_CMD_MMC
#define CONFIG_CMD_PCI
#define CONFIG_CMD_SCSI
diff --git a/include/configs/db-mv784mp-gp.h b/include/configs/db-mv784mp-gp.h
index 66b723d14e9..d6acbbc6eee 100644
--- a/include/configs/db-mv784mp-gp.h
+++ b/include/configs/db-mv784mp-gp.h
@@ -26,12 +26,7 @@
* Commands configuration
*/
#define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_ENV
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_FS_GENERIC
#define CONFIG_CMD_NAND
#define CONFIG_CMD_PCI
#define CONFIG_CMD_SATA
diff --git a/include/configs/dbau1x00.h b/include/configs/dbau1x00.h
index f9f30b1be3f..eb0a87cd592 100644
--- a/include/configs/dbau1x00.h
+++ b/include/configs/dbau1x00.h
@@ -73,8 +73,6 @@
* Command line configuration.
*/
#undef CONFIG_CMD_BEDBUG
-#undef CONFIG_CMD_FAT
-#undef CONFIG_CMD_MII
#ifdef CONFIG_DBAU1550
diff --git a/include/configs/devkit3250.h b/include/configs/devkit3250.h
index 4114f9eba60..913b9481f23 100644
--- a/include/configs/devkit3250.h
+++ b/include/configs/devkit3250.h
@@ -82,7 +82,6 @@
#define CONFIG_PHYLIB
#define CONFIG_PHY_ADDR 0x1F
#define CONFIG_SYS_FAULT_ECHO_LINK_DOWN
-#define CONFIG_CMD_MII
/*
* NOR Flash
@@ -126,7 +125,6 @@
#define CONFIG_USB_OHCI_LPC32XX
#define CONFIG_USB_ISP1301_I2C_ADDR 0x2d
#define CONFIG_USB_STORAGE
-#define CONFIG_CMD_FAT
/*
* U-Boot General Configurations
@@ -174,7 +172,6 @@
/*
* U-Boot Commands
*/
-#define CONFIG_CMD_CACHE
/*
* Boot Linux
diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
index 6acd2fe7570..5112ef37b97 100644
--- a/include/configs/devkit8000.h
+++ b/include/configs/devkit8000.h
@@ -99,12 +99,8 @@
#define CONFIG_CMD_JFFS2 /* JFFS2 Support */
#define CONFIG_CMD_NAND_LOCK_UNLOCK /* nand (un)lock commands */
-#undef CONFIG_CMD_ASKENV
-#undef CONFIG_CMD_BOOTZ
#undef CONFIG_SUPPORT_RAW_INITRD
#undef CONFIG_FAT_WRITE
-#undef CONFIG_CMD_EXT4
-#undef CONFIG_CMD_FS_GENERIC
/* BOOTP/DHCP options */
#define CONFIG_BOOTP_SUBNETMASK
diff --git a/include/configs/digsy_mtc.h b/include/configs/digsy_mtc.h
index 0bf5088051b..18804d43fd8 100644
--- a/include/configs/digsy_mtc.h
+++ b/include/configs/digsy_mtc.h
@@ -101,15 +101,11 @@
#ifdef CONFIG_VIDEO
#define CONFIG_CMD_BMP
#endif
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_DATE
#define CONFIG_CMD_DIAG
#define CONFIG_CMD_EEPROM
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_IDE
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#define CONFIG_CMD_PCI
#define CONFIG_CMD_REGINFO
#define CONFIG_CMD_SAVES
diff --git a/include/configs/dnp5370.h b/include/configs/dnp5370.h
index c0c0de9eb63..0a7bc8a08bc 100644
--- a/include/configs/dnp5370.h
+++ b/include/configs/dnp5370.h
@@ -53,8 +53,6 @@
#define CONFIG_PHY_ADDR 0
#define CONFIG_RMII 1
-#define CONFIG_CMD_MII
-
#endif
/*
diff --git a/include/configs/dockstar.h b/include/configs/dockstar.h
index e54321b616c..cd05857e889 100644
--- a/include/configs/dockstar.h
+++ b/include/configs/dockstar.h
@@ -30,7 +30,6 @@
*/
#define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */
#define CONFIG_CMD_ENV
-#define CONFIG_CMD_MII
#define CONFIG_CMD_NAND
/*
* mv-common.h should be defined after CMD configs since it used them
@@ -87,8 +86,6 @@
/*
* File system
*/
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_JFFS2
#define CONFIG_CMD_UBI
#define CONFIG_CMD_UBIFS
diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
index 8d6ed058e09..79b6c099512 100644
--- a/include/configs/dra7xx_evm.h
+++ b/include/configs/dra7xx_evm.h
@@ -148,7 +148,6 @@
#define CONFIG_BOOTP_GATEWAY
#define CONFIG_BOOTP_SUBNETMASK
#define CONFIG_NET_RETRY_COUNT 10
-#define CONFIG_CMD_MII
#define CONFIG_DRIVER_TI_CPSW /* Driver for IP block */
#define CONFIG_MII /* Required in net/eth.c */
#define CONFIG_PHY_GIGE /* per-board part of CPSW */
@@ -224,7 +223,6 @@
/* USB Device Firmware Update support */
#define CONFIG_USB_FUNCTION_DFU
#define CONFIG_DFU_RAM
-#define CONFIG_CMD_DFU
#define CONFIG_DFU_MMC
#define CONFIG_DFU_RAM
diff --git a/include/configs/draco.h b/include/configs/draco.h
index 2d4a45d05d3..8aee25b96a2 100644
--- a/include/configs/draco.h
+++ b/include/configs/draco.h
@@ -33,7 +33,6 @@
"led1=64,0,1\0"
#undef CONFIG_DOS_PARTITION
-#undef CONFIG_CMD_FAT
#define CONFIG_BOARD_LATE_INIT
diff --git a/include/configs/dragonboard410c.h b/include/configs/dragonboard410c.h
index 42fb0f31aa4..d32889df267 100644
--- a/include/configs/dragonboard410c.h
+++ b/include/configs/dragonboard410c.h
@@ -59,11 +59,9 @@
#define CONFIG_MD5
/* Extra Commands */
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_ENV
#define CONFIG_CMD_GPT
#define CONFIG_CMD_MD5SUM
-#define CONFIG_CMD_MMC
/* Enable that for switching of boot partitions */
/* Disabled by default as some sub-commands can brick eMMC */
/*#define CONFIG_SUPPORT_EMMC_BOOT */
diff --git a/include/configs/dreamplug.h b/include/configs/dreamplug.h
index 0b7d89b98d1..c78c949f139 100644
--- a/include/configs/dreamplug.h
+++ b/include/configs/dreamplug.h
@@ -39,8 +39,6 @@
/*
* Commands configuration
*/
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
/*
* mv-plug-common.h should be defined after CMD configs since it used them
diff --git a/include/configs/e2220-1170.h b/include/configs/e2220-1170.h
index 3a7f490d0b0..9de11792390 100644
--- a/include/configs/e2220-1170.h
+++ b/include/configs/e2220-1170.h
@@ -25,7 +25,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_TEGRA_MMC
-#define CONFIG_CMD_MMC
/* Environment in eMMC, at the end of 2nd "boot sector" */
#define CONFIG_ENV_IS_IN_MMC
diff --git a/include/configs/ea20.h b/include/configs/ea20.h
index b52f34b76ff..d4f3cfa8e9f 100644
--- a/include/configs/ea20.h
+++ b/include/configs/ea20.h
@@ -143,9 +143,7 @@
* U-Boot commands
*/
#define CONFIG_CMD_ENV
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DIAG
-#define CONFIG_CMD_MII
#define CONFIG_CMD_SAVES
#ifdef CONFIG_CMD_BDI
@@ -153,7 +151,6 @@
#endif
#ifndef CONFIG_DRIVER_TI_EMAC
-#undef CONFIG_CMD_MII
#endif
/* NAND Setup */
diff --git a/include/configs/eb_cpu5282.h b/include/configs/eb_cpu5282.h
index 861f2ac778c..521e3cf335c 100644
--- a/include/configs/eb_cpu5282.h
+++ b/include/configs/eb_cpu5282.h
@@ -66,7 +66,6 @@
#define CONFIG_CMDLINE_EDITING
#define CONFIG_CMD_DATE
#define CONFIG_CMD_LED
-#define CONFIG_CMD_MII
#define CONFIG_MCFTMR
diff --git a/include/configs/ecovec.h b/include/configs/ecovec.h
index 3ab1803a6bb..2ac7757b0cf 100644
--- a/include/configs/ecovec.h
+++ b/include/configs/ecovec.h
@@ -30,11 +30,8 @@
#define CONFIG_ECOVEC_ROMIMAGE_ADDR 0xA0040000
#define CONFIG_SYS_TEXT_BASE 0x8FFC0000
-#define CONFIG_CMD_MII
#define CONFIG_CMD_SDRAM
#define CONFIG_CMD_ENV
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_EXT2
#define CONFIG_USB_STORAGE
#define CONFIG_DOS_PARTITION
diff --git a/include/configs/edb93xx.h b/include/configs/edb93xx.h
index c64d11955c8..174cdf33024 100644
--- a/include/configs/edb93xx.h
+++ b/include/configs/edb93xx.h
@@ -238,7 +238,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_MMC_SPI
-#define CONFIG_CMD_MMC
#define CONFIG_MMC_SPI_NPOWER_EGPIO 9
#endif
@@ -250,12 +249,7 @@
#define CONFIG_SYS_USB_OHCI_SLOT_NAME "ep93xx-ohci"
#define CONFIG_SYS_USB_OHCI_REGS_BASE 0x80020000
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_FAT
-
#define CONFIG_BOARD_EARLY_INIT_F
-#define CONFIG_CMD_BOOTZ
/* Define to disable flash configuration*/
/* #define CONFIG_EP93XX_NO_FLASH_CFG */
diff --git a/include/configs/edminiv2.h b/include/configs/edminiv2.h
index 4444bc9231f..99d16b06c09 100644
--- a/include/configs/edminiv2.h
+++ b/include/configs/edminiv2.h
@@ -157,7 +157,6 @@
#define __io
#define CONFIG_IDE_PREINIT
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT2
/* ED Mini V has an IDE-compatible SATA connector for port 1 */
#define CONFIG_MVSATA_IDE
#define CONFIG_MVSATA_IDE_USE_PORT1
diff --git a/include/configs/espt.h b/include/configs/espt.h
index ed928651798..3d673764980 100644
--- a/include/configs/espt.h
+++ b/include/configs/espt.h
@@ -18,7 +18,6 @@
* Command line configuration.
*/
#define CONFIG_CMD_SDRAM
-#define CONFIG_CMD_MII
#define CONFIG_CMD_ENV
#define CONFIG_BOOTDELAY -1
diff --git a/include/configs/ethernut5.h b/include/configs/ethernut5.h
index cfb009cb40f..94fee54ccd1 100644
--- a/include/configs/ethernut5.h
+++ b/include/configs/ethernut5.h
@@ -88,18 +88,12 @@
/* Command line configuration */
#define CONFIG_CMD_JFFS2
-#define CONFIG_CMD_MII
#define CONFIG_CMD_MTDPARTS
#define CONFIG_CMD_NAND
#ifndef MINIMAL_LOADER
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_BSP
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_MMC
#define CONFIG_CMD_REISER
#define CONFIG_CMD_SAVES
#define CONFIG_CMD_UBI
diff --git a/include/configs/exynos-common.h b/include/configs/exynos-common.h
index 0a2d6102700..f97f03c48e8 100644
--- a/include/configs/exynos-common.h
+++ b/include/configs/exynos-common.h
@@ -26,7 +26,6 @@
#define CONFIG_USE_ARCH_MEMSET
/* Keep L2 Cache Disabled */
-#define CONFIG_CMD_CACHE
/* input clock of PLL: 24MHz input clock */
#define CONFIG_SYS_CLK_FREQ 24000000
@@ -57,10 +56,7 @@
#define CONFIG_PWM
/* Command definition*/
-#define CONFIG_CMD_MMC
-#define CONFIG_CMD_EXT4_WRITE
#define CONFIG_FAT_WRITE
-#define CONFIG_CMD_FS_GENERIC
#define CONFIG_CMD_PART
#define CONFIG_PARTITION_UUIDS
diff --git a/include/configs/exynos4-common.h b/include/configs/exynos4-common.h
index 8522a7992ff..fbe0fa969d6 100644
--- a/include/configs/exynos4-common.h
+++ b/include/configs/exynos4-common.h
@@ -24,7 +24,6 @@
#undef CONFIG_CMD_ONENAND
#undef CONFIG_CMD_MTDPARTS
-#define CONFIG_CMD_DFU
#define CONFIG_CMD_GPT
/* TIZEN THOR downloader support */
@@ -46,7 +45,6 @@
#define CONFIG_USB_GADGET_DWC2_OTG_PHY
-#define CONFIG_CMD_USB_MASS_STORAGE
#define CONFIG_USB_FUNCTION_MASS_STORAGE
/* Common environment variables */
diff --git a/include/configs/flea3.h b/include/configs/flea3.h
index e74aa68df38..7400870b214 100644
--- a/include/configs/flea3.h
+++ b/include/configs/flea3.h
@@ -78,9 +78,7 @@
#define CONFIG_BOOTP_DNS
#define CONFIG_CMD_NAND
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_MII
#define CONFIG_NET_RETRY_COUNT 100
#define CONFIG_BOOTDELAY 3
diff --git a/include/configs/galileo.h b/include/configs/galileo.h
index 14a42b1d400..2f1f6d44554 100644
--- a/include/configs/galileo.h
+++ b/include/configs/galileo.h
@@ -40,7 +40,6 @@
#define CONFIG_SDHCI
#define CONFIG_GENERIC_MMC
#define CONFIG_MMC_SDMA
-#define CONFIG_CMD_MMC
/* 10/100M Ethernet support */
#define CONFIG_DESIGNWARE_ETH
diff --git a/include/configs/ge_bx50v3.h b/include/configs/ge_bx50v3.h
index 0c594b87b22..13048798765 100644
--- a/include/configs/ge_bx50v3.h
+++ b/include/configs/ge_bx50v3.h
@@ -73,15 +73,11 @@
#define CONFIG_FSL_USDHC
#define CONFIG_SYS_FSL_ESDHC_ADDR 0
#define CONFIG_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_BOUNCE_BUFFER
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
/* USB Configs */
-#define CONFIG_CMD_FAT
#define CONFIG_USB_EHCI
#define CONFIG_USB_EHCI_MX6
#define CONFIG_USB_STORAGE
@@ -97,7 +93,6 @@
#define CONFIG_USB_GADGET_DUALSPEED
#define CONFIG_USB_GADGET
#define CONFIG_USB_GADGET_DOWNLOAD
-#define CONFIG_CMD_USB_MASS_STORAGE
#define CONFIG_USB_GADGET_MASS_STORAGE
#define CONFIG_USB_FUNCTION_MASS_STORAGE
#define CONFIG_USB_GADGET_VBUS_DRAW 2
@@ -106,7 +101,6 @@
#define CONFIG_G_DNL_MANUFACTURER "Advantech"
/* Networking Configs */
-#define CONFIG_CMD_MII
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
@@ -132,7 +126,6 @@
/* Command definition */
#define CONFIG_CMD_BMODE
-#define CONFIG_CMD_BOOTZ
#define CONFIG_LOADADDR 0x12000000
#define CONFIG_SYS_TEXT_BASE 0x17800000
@@ -296,7 +289,6 @@
#define CONFIG_ENV_SPI_MAX_HZ CONFIG_SF_DEFAULT_SPEED
#ifndef CONFIG_SYS_DCACHE_OFF
-#define CONFIG_CMD_CACHE
#endif
#define CONFIG_SYS_FSL_USDHC_NUM 3
diff --git a/include/configs/goflexhome.h b/include/configs/goflexhome.h
index d0432ad5e62..ffbe66072e3 100644
--- a/include/configs/goflexhome.h
+++ b/include/configs/goflexhome.h
@@ -52,11 +52,9 @@
#define CONFIG_SYS_CONSOLE_IS_IN_ENV
#define CONFIG_CMD_ENV
-#define CONFIG_CMD_MII
#define CONFIG_CMD_NAND
#define CONFIG_CMD_IDE
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_EXT4
#define CONFIG_SYS_MVFS /* Picks up Filesystem from mv-common.h */
/*
diff --git a/include/configs/gose.h b/include/configs/gose.h
index 4e298258dc0..230be3168ab 100644
--- a/include/configs/gose.h
+++ b/include/configs/gose.h
@@ -96,7 +96,6 @@
/* SDHI */
#define CONFIG_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_SH_SDHI_FREQ 97500000
diff --git a/include/configs/gplugd.h b/include/configs/gplugd.h
index 638fad11d25..40ec0308c86 100644
--- a/include/configs/gplugd.h
+++ b/include/configs/gplugd.h
@@ -52,8 +52,6 @@
* Commands configuration
*/
#define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
/* Disable DCACHE */
#define CONFIG_SYS_DCACHE_OFF
@@ -71,7 +69,6 @@
/* PHY configuration */
#define CONFIG_MII
-#define CONFIG_CMD_MII
#define CONFIG_RESET_PHY_R
/* 88E3015 register definition */
#define PHY_LED_PAR_SEL_REG 22
@@ -108,8 +105,6 @@
#define CONFIG_ENV_SIZE 0x4000
#define CONFIG_ENV_OFFSET 0x07C000
-#define CONFIG_CMD_ASKENV
-
#ifdef CONFIG_CMD_USB
#define CONFIG_USB_EHCI
#define CONFIG_USB_EHCI_ARMADA100
diff --git a/include/configs/gr_ep2s60.h b/include/configs/gr_ep2s60.h
index 563b20592fa..94eb7acd77a 100644
--- a/include/configs/gr_ep2s60.h
+++ b/include/configs/gr_ep2s60.h
@@ -60,8 +60,6 @@
/* USB support */
#if USE_GRUSB
#define CONFIG_USB_UHCI
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_EXT2
#define CONFIG_USB_STORAGE
/* Enable needed helper functions */
#define CONFIG_SYS_STDIO_DEREGISTER /* needs stdio_deregister */
diff --git a/include/configs/grasshopper.h b/include/configs/grasshopper.h
index 8e0cff96e1d..83f1d73087a 100644
--- a/include/configs/grasshopper.h
+++ b/include/configs/grasshopper.h
@@ -93,7 +93,6 @@
* Command line configuration.
*/
/* add useful commands */
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_JFFS2
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h
index 58598c38c5c..e11629cc554 100644
--- a/include/configs/gw_ventana.h
+++ b/include/configs/gw_ventana.h
@@ -149,7 +149,6 @@
#define CONFIG_POWER_LTC3676_I2C_ADDR 0x3c
/* Various command support */
-#define CONFIG_CMD_MII
#define CONFIG_CMD_BMODE /* set eFUSE shadow for a boot dev and reset */
#define CONFIG_CMD_HDMIDETECT /* detect HDMI output device */
#define CONFIG_CMD_GSC
@@ -185,7 +184,6 @@
#define CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP
/* USB Mass Storage Gadget */
-#define CONFIG_CMD_USB_MASS_STORAGE
#define CONFIG_USB_FUNCTION_MASS_STORAGE
/* Framebuffer and LCD */
diff --git a/include/configs/harmony.h b/include/configs/harmony.h
index aa0f38c172b..d3ab10e7fa9 100644
--- a/include/configs/harmony.h
+++ b/include/configs/harmony.h
@@ -30,7 +30,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_TEGRA_MMC
-#define CONFIG_CMD_MMC
/* NAND support */
#define CONFIG_CMD_NAND
diff --git a/include/configs/hikey.h b/include/configs/hikey.h
index d08ab1d8eb2..114a6d1512e 100644
--- a/include/configs/hikey.h
+++ b/include/configs/hikey.h
@@ -82,13 +82,11 @@
#define CONFIG_DWMMC
#define CONFIG_HIKEY_DWMMC
#define CONFIG_BOUNCE_BUFFER
-#define CONFIG_CMD_MMC
#define CONFIG_FS_EXT4
/* Command line configuration */
#define CONFIG_MENU
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_UNZIP
#define CONFIG_CMD_ENV
diff --git a/include/configs/hrcon.h b/include/configs/hrcon.h
index d59d21f19e2..9f02a654c3b 100644
--- a/include/configs/hrcon.h
+++ b/include/configs/hrcon.h
@@ -35,10 +35,8 @@
#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC83xx_ESDHC_ADDR
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT2
#define CONFIG_CMD_FPGAD
#define CONFIG_CMD_IOLOOP
@@ -533,7 +531,6 @@ void fpga_control_clear(unsigned int bus, int pin);
/*
* Command line configuration.
*/
-#define CONFIG_CMD_MII
#define CONFIG_CMD_PCI
#define CONFIG_CMDLINE_EDITING 1 /* add command line history */
diff --git a/include/configs/ib62x0.h b/include/configs/ib62x0.h
index 57b1a43cd47..ab236075d2f 100644
--- a/include/configs/ib62x0.h
+++ b/include/configs/ib62x0.h
@@ -35,9 +35,7 @@
*/
#define CONFIG_SYS_NO_FLASH /* declare no flash (NOR/SPI) */
#define CONFIG_SYS_MVFS
-#define CONFIG_CMD_BOOTZ
#define CONFIG_CMD_IDE
-#define CONFIG_CMD_MII
/*
* mv-common.h should be defined after CMD configs since it used them
diff --git a/include/configs/icon.h b/include/configs/icon.h
index d42e6f011d3..7e9e7e64aa8 100644
--- a/include/configs/icon.h
+++ b/include/configs/icon.h
@@ -167,8 +167,6 @@
*/
#define CONFIG_CMD_CHIP_CONFIG
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_PCI
#define CONFIG_CMD_SDRAM
#ifdef CONFIG_VIDEO
diff --git a/include/configs/iconnect.h b/include/configs/iconnect.h
index c156bd37a09..f0d42504095 100644
--- a/include/configs/iconnect.h
+++ b/include/configs/iconnect.h
@@ -39,7 +39,6 @@
#define CONFIG_SYS_NO_FLASH /* declare no flash (NOR/SPI) */
#define CONFIG_SYS_MVFS
#define CONFIG_CMD_ENV
-#define CONFIG_CMD_MII
#define CONFIG_CMD_NAND
/*
@@ -95,8 +94,6 @@
/*
* File system
*/
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_JFFS2
#define CONFIG_CMD_UBI
#define CONFIG_CMD_UBIFS
diff --git a/include/configs/ids8313.h b/include/configs/ids8313.h
index da4cba78414..04515ba80a6 100644
--- a/include/configs/ids8313.h
+++ b/include/configs/ids8313.h
@@ -414,7 +414,6 @@
* U-Boot environment setup
*/
#define CONFIG_CMD_NAND
-#define CONFIG_CMD_MII
#define CONFIG_CMD_DATE
#define CONFIG_CMDLINE_EDITING
#define CONFIG_CMD_JFFS2
diff --git a/include/configs/imx27lite-common.h b/include/configs/imx27lite-common.h
index c03e566e74a..b8ee44d8681 100644
--- a/include/configs/imx27lite-common.h
+++ b/include/configs/imx27lite-common.h
@@ -171,13 +171,8 @@
/*
* U-Boot commands
*/
-#define CONFIG_CMD_ASKENV
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_DIAG
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_JFFS2
-#define CONFIG_CMD_MII
-#define CONFIG_CMD_MMC
#define CONFIG_CMD_NAND
#define CONFIG_BOOTDELAY 5
diff --git a/include/configs/inka4x0.h b/include/configs/inka4x0.h
index 282cc253251..0d4f2925cd4 100644
--- a/include/configs/inka4x0.h
+++ b/include/configs/inka4x0.h
@@ -80,8 +80,6 @@
* Command line configuration.
*/
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_IDE
#define CONFIG_CMD_PCI
diff --git a/include/configs/intip.h b/include/configs/intip.h
index 6f48b4b5178..f3db0771ef7 100644
--- a/include/configs/intip.h
+++ b/include/configs/intip.h
@@ -281,8 +281,6 @@
#define CONFIG_CMD_CHIP_CONFIG
#define CONFIG_CMD_DATE
#define CONFIG_CMD_DTT
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_PCI
#define CONFIG_CMD_SDRAM
diff --git a/include/configs/iocon.h b/include/configs/iocon.h
index 4d1f3095917..43688c754c0 100644
--- a/include/configs/iocon.h
+++ b/include/configs/iocon.h
@@ -61,7 +61,6 @@
/*
* Commands additional to the ones defined in amcc-common.h
*/
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_FPGAD
#undef CONFIG_CMD_EEPROM
#undef CONFIG_CMD_IRQ
diff --git a/include/configs/ipam390.h b/include/configs/ipam390.h
index 3675099f2fa..b2a6e7fb056 100644
--- a/include/configs/ipam390.h
+++ b/include/configs/ipam390.h
@@ -250,9 +250,7 @@
* U-Boot commands
*/
#define CONFIG_CMD_ENV
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DIAG
-#define CONFIG_CMD_MII
#define CONFIG_CMD_SAVES
#ifdef CONFIG_CMD_BDI
@@ -260,7 +258,6 @@
#endif
#ifndef CONFIG_DRIVER_TI_EMAC
-#undef CONFIG_CMD_MII
#endif
#define CONFIG_CMD_NAND
diff --git a/include/configs/ipek01.h b/include/configs/ipek01.h
index 636f6bd1ca9..55ed6569ef8 100644
--- a/include/configs/ipek01.h
+++ b/include/configs/ipek01.h
@@ -106,10 +106,8 @@
#define CONFIG_CMD_BMP /* BMP support */
#endif
#define CONFIG_CMD_DATE /* support for RTC, date/time...*/
-#define CONFIG_CMD_FAT /* FAT support */
#define CONFIG_CMD_IDE /* IDE harddisk support */
#define CONFIG_CMD_IRQ /* irqinfo */
-#define CONFIG_CMD_MII /* MII support */
#define CONFIG_CMD_PCI /* pciinfo */
#define CONFIG_SYS_LOWBOOT 1
diff --git a/include/configs/jetson-tk1.h b/include/configs/jetson-tk1.h
index 30ef13ff053..953c0880501 100644
--- a/include/configs/jetson-tk1.h
+++ b/include/configs/jetson-tk1.h
@@ -29,7 +29,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_TEGRA_MMC
-#define CONFIG_CMD_MMC
/* Environment in eMMC, at the end of 2nd "boot sector" */
#define CONFIG_ENV_IS_IN_MMC
diff --git a/include/configs/k2g_evm.h b/include/configs/k2g_evm.h
index a2d2646eed7..3f985102683 100644
--- a/include/configs/k2g_evm.h
+++ b/include/configs/k2g_evm.h
@@ -63,7 +63,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_OMAP_HSMMC
-#define CONFIG_CMD_MMC
#undef CONFIG_ENV_IS_IN_NAND
#define CONFIG_ENV_IS_IN_FAT
diff --git a/include/configs/katmai.h b/include/configs/katmai.h
index f5dddae7aaf..9513c6dd487 100644
--- a/include/configs/katmai.h
+++ b/include/configs/katmai.h
@@ -175,8 +175,6 @@
#define CONFIG_CMD_CHIP_CONFIG
#define CONFIG_CMD_DATE
#define CONFIG_CMD_ECCTEST
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_PCI
#define CONFIG_CMD_SDRAM
diff --git a/include/configs/kc1.h b/include/configs/kc1.h
index 30be53360b3..b08cf2161db 100644
--- a/include/configs/kc1.h
+++ b/include/configs/kc1.h
@@ -94,8 +94,6 @@
#define CONFIG_GENERIC_MMC
#define CONFIG_OMAP_HSMMC
-#define CONFIG_CMD_MMC
-
/*
* Power
*/
diff --git a/include/configs/km/keymile-common.h b/include/configs/km/keymile-common.h
index dd0cec4a259..9f76034e61a 100644
--- a/include/configs/km/keymile-common.h
+++ b/include/configs/km/keymile-common.h
@@ -13,11 +13,8 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DEFAULTENV_VARS
-#define CONFIG_CMD_GREPENV
#define CONFIG_CMD_IMMAP
-#define CONFIG_CMD_MII
#define CONFIG_CMD_EEPROM
#define CONFIG_CMD_JFFS2
#define CONFIG_CMD_MTDPARTS
diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h
index fdd293f844a..25db7048c8b 100644
--- a/include/configs/km/km_arm.h
+++ b/include/configs/km/km_arm.h
@@ -158,7 +158,6 @@
*/
#define CONFIG_NETCONSOLE /* include NetConsole support */
#define CONFIG_MII /* expose smi ove miiphy interface */
-#define CONFIG_CMD_MII /* to debug mdio phy config */
#define CONFIG_MVGBE /* Enable Marvell Gbe Controller Driver */
#define CONFIG_SYS_FAULT_ECHO_LINK_DOWN /* detect link using phy */
#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
diff --git a/include/configs/koelsch.h b/include/configs/koelsch.h
index 685f0e5d929..121fe3f534f 100644
--- a/include/configs/koelsch.h
+++ b/include/configs/koelsch.h
@@ -96,7 +96,6 @@
/* SD */
#define CONFIG_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_SH_SDHI_FREQ 97500000
diff --git a/include/configs/kwb.h b/include/configs/kwb.h
index 4ec4e338990..bcb9e7e8be0 100644
--- a/include/configs/kwb.h
+++ b/include/configs/kwb.h
@@ -48,7 +48,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_OMAP_HSMMC
-#define CONFIG_CMD_MMC
#define CONFIG_SUPPORT_EMMC_BOOT
/* RAW SD card / eMMC locations. */
#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x300 /*addr. 0x60000 */
@@ -115,7 +114,6 @@ BUR_COMMON_ENV \
#define CONFIG_CMDLINE_TAG
#define CONFIG_SETUP_MEMORY_TAGS
#define CONFIG_INITRD_TAG
-#define CONFIG_CMD_BOOTZ
/* USB configuration */
#define CONFIG_USB_MUSB_DSPS
@@ -140,9 +138,7 @@ BUR_COMMON_ENV \
*/
#if defined(CONFIG_MMC) || defined(CONFIG_USB_STORAGE)
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_FAT
#define CONFIG_FAT_WRITE
-#define CONFIG_CMD_FS_GENERIC
#endif /* CONFIG_MMC, ... */
#endif /* __CONFIG_KWB_H__ */
diff --git a/include/configs/kzm9g.h b/include/configs/kzm9g.h
index bf283fee0c1..710629b6bd9 100644
--- a/include/configs/kzm9g.h
+++ b/include/configs/kzm9g.h
@@ -28,8 +28,6 @@
#define CONFIG_SETUP_MEMORY_TAGS
#define CONFIG_INITRD_TAG
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_BOOTZ
#define CONFIG_BAUDRATE 115200
#define CONFIG_BOOTARGS "root=/dev/null console=ttySC4,115200"
diff --git a/include/configs/lacie_kw.h b/include/configs/lacie_kw.h
index 18cd4bb3889..9b2c575bade 100644
--- a/include/configs/lacie_kw.h
+++ b/include/configs/lacie_kw.h
@@ -148,8 +148,6 @@
/*
* File systems support
*/
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
/*
* Console configuration
diff --git a/include/configs/lager.h b/include/configs/lager.h
index ad8b12ffa26..9971ad80824 100644
--- a/include/configs/lager.h
+++ b/include/configs/lager.h
@@ -88,7 +88,6 @@
/* MMC */
#define CONFIG_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_SH_MMCIF
diff --git a/include/configs/legoev3.h b/include/configs/legoev3.h
index 54563e3d4c4..1aad97d970b 100644
--- a/include/configs/legoev3.h
+++ b/include/configs/legoev3.h
@@ -208,9 +208,7 @@
/*
* U-Boot commands
*/
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DIAG
-#define CONFIG_CMD_MII
#define CONFIG_CMD_SAVES
#ifdef CONFIG_CMD_BDI
@@ -233,9 +231,6 @@
*/
#ifdef CONFIG_MMC
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_MMC
#endif
/* additions for new relocation code, must added to all boards */
diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h
index 3cbb522eace..3796395bd67 100644
--- a/include/configs/ls1021aqds.h
+++ b/include/configs/ls1021aqds.h
@@ -412,11 +412,9 @@ unsigned long get_board_ddr_clk(void);
* MMC
*/
#define CONFIG_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_FSL_ESDHC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
/* SPI */
@@ -460,7 +458,6 @@ unsigned long get_board_ddr_clk(void);
#if defined(CONFIG_HAS_FSL_DR_USB) || defined(CONFIG_HAS_FSL_XHCI_USB)
#define CONFIG_USB_STORAGE
-#define CONFIG_CMD_EXT2
#endif
/*
@@ -557,8 +554,6 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_CMD_PCI
#endif
-#define CONFIG_CMD_MII
-
#define CONFIG_CMDLINE_TAG
#define CONFIG_CMDLINE_EDITING
@@ -603,7 +598,6 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_SYS_MAXARGS 16 /* max number of command args */
#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
-#define CONFIG_CMD_GREPENV
#define CONFIG_SYS_MEMTEST_START 0x80000000
#define CONFIG_SYS_MEMTEST_END 0x9fffffff
@@ -654,8 +648,6 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_ENV_SECT_SIZE 0x20000 /* 128K (one sector) */
#endif
-#define CONFIG_CMD_BOOTZ
-
#define CONFIG_MISC_INIT_R
/* Hash command with SHA acceleration supported in hardware */
diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
index 1fd9e030d76..3e321284859 100644
--- a/include/configs/ls1021atwr.h
+++ b/include/configs/ls1021atwr.h
@@ -65,7 +65,6 @@
#if defined(CONFIG_HAS_FSL_DR_USB) || defined(CONFIG_HAS_FSL_XHCI_USB)
#define CONFIG_USB_STORAGE
-#define CONFIG_CMD_EXT2
#endif
/*
@@ -299,11 +298,9 @@
* MMC
*/
#define CONFIG_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_FSL_ESDHC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
/* SPI */
@@ -406,8 +403,6 @@
#define CONFIG_CMD_PCI
#endif
-#define CONFIG_CMD_MII
-
#define CONFIG_CMDLINE_TAG
#define CONFIG_CMDLINE_EDITING
@@ -448,7 +443,6 @@
#define CONFIG_SYS_MAXARGS 16 /* max number of command args */
#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
-#define CONFIG_CMD_GREPENV
#define CONFIG_SYS_MEMTEST_START 0x80000000
#define CONFIG_SYS_MEMTEST_END 0x9fffffff
@@ -497,8 +491,6 @@
#define CONFIG_ENV_SECT_SIZE 0x20000 /* 128K (one sector) */
#endif
-#define CONFIG_CMD_BOOTZ
-
#define CONFIG_MISC_INIT_R
/* Hash command with SHA acceleration supported in hardware */
diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h
index d84c7340d81..54968b52312 100644
--- a/include/configs/ls1043a_common.h
+++ b/include/configs/ls1043a_common.h
@@ -174,14 +174,11 @@
#endif
/* Command line configuration */
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_ENV
/* MMC */
#define CONFIG_MMC
#ifdef CONFIG_MMC
-#define CONFIG_CMD_MMC
-#define CONFIG_CMD_FAT
#define CONFIG_FSL_ESDHC
#define CONFIG_SYS_FSL_MMC_HAS_CAPBLT_VS33
#define CONFIG_GENERIC_MMC
diff --git a/include/configs/ls1043aqds.h b/include/configs/ls1043aqds.h
index 3bdece7bc6d..d71a229c613 100644
--- a/include/configs/ls1043aqds.h
+++ b/include/configs/ls1043aqds.h
@@ -109,8 +109,6 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_SCSI_AHCI
#define CONFIG_SCSI_AHCI_PLAT
#define CONFIG_CMD_SCSI
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_EXT2
#define CONFIG_DOS_PARTITION
#define CONFIG_BOARD_LATE_INIT
@@ -396,7 +394,6 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_USB_MAX_CONTROLLER_COUNT 3
#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2
#define CONFIG_USB_STORAGE
-#define CONFIG_CMD_EXT2
#endif
/*
@@ -409,7 +406,6 @@ unsigned long get_board_ddr_clk(void);
(CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
-#define CONFIG_CMD_GREPENV
#define CONFIG_SYS_MEMTEST_START 0x80000000
#define CONFIG_SYS_MEMTEST_END 0x9fffffff
@@ -456,8 +452,6 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_ENV_SIZE 0x20000
#endif
-#define CONFIG_CMD_BOOTZ
-#define CONFIG_CMD_MII
#define CONFIG_CMDLINE_TAG
#include <asm/fsl_secure_boot.h>
diff --git a/include/configs/ls1043ardb.h b/include/configs/ls1043ardb.h
index 7c662a3d246..6d35be2e473 100644
--- a/include/configs/ls1043ardb.h
+++ b/include/configs/ls1043ardb.h
@@ -246,7 +246,6 @@
/* FMan */
#ifdef CONFIG_SYS_DPAA_FMAN
#define CONFIG_FMAN_ENET
-#define CONFIG_CMD_MII
#define CONFIG_PHYLIB
#define CONFIG_PHYLIB_10G
#define CONFIG_PHY_GIGE /* Include GbE speed/duplex detection */
@@ -284,7 +283,6 @@
#define CONFIG_USB_MAX_CONTROLLER_COUNT 3
#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2
#define CONFIG_USB_STORAGE
-#define CONFIG_CMD_EXT2
#endif
#include <asm/fsl_secure_boot.h>
diff --git a/include/configs/ls2080a_common.h b/include/configs/ls2080a_common.h
index 8b75088fadf..8e0b472fd75 100644
--- a/include/configs/ls2080a_common.h
+++ b/include/configs/ls2080a_common.h
@@ -210,10 +210,7 @@ unsigned long long get_qixis_addr(void);
#define CONFIG_SYS_PCIE_MEM_SIZE 0x40000000 /* 1G */
/* Command line configuration */
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_ENV
-#define CONFIG_CMD_GREPENV
-#define CONFIG_CMD_MII
/* Miscellaneous configurable options */
#define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_DDR_SDRAM_BASE + 0x10000000)
diff --git a/include/configs/ls2080a_simu.h b/include/configs/ls2080a_simu.h
index 924011caa7d..bc0d678bf4f 100644
--- a/include/configs/ls2080a_simu.h
+++ b/include/configs/ls2080a_simu.h
@@ -131,11 +131,9 @@
/* MMC */
#define CONFIG_MMC
#ifdef CONFIG_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_FSL_ESDHC
#define CONFIG_SYS_FSL_MMC_HAS_CAPBLT_VS33
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
diff --git a/include/configs/ls2080aqds.h b/include/configs/ls2080aqds.h
index 3ec4bb6b59f..2d7567f394f 100644
--- a/include/configs/ls2080aqds.h
+++ b/include/configs/ls2080aqds.h
@@ -45,8 +45,6 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_SCSI_AHCI
#define CONFIG_SCSI_AHCI_PLAT
#define CONFIG_CMD_SCSI
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_EXT2
#define CONFIG_DOS_PARTITION
#define CONFIG_BOARD_LATE_INIT
@@ -324,11 +322,9 @@ unsigned long get_board_ddr_clk(void);
/* MMC */
#define CONFIG_MMC
#ifdef CONFIG_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_FSL_ESDHC
#define CONFIG_SYS_FSL_MMC_HAS_CAPBLT_VS33
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
@@ -352,7 +348,6 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_FSL_MEMAC
#define CONFIG_PHYLIB
#define CONFIG_PHYLIB_10G
-#define CONFIG_CMD_MII
#define CONFIG_PHY_VITESSE
#define CONFIG_PHY_REALTEK
#define CONFIG_PHY_TERANETICS
@@ -394,7 +389,6 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2
#define CONFIG_USB_STORAGE
-#define CONFIG_CMD_EXT2
#include <asm/fsl_secure_boot.h>
diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h
index 8ba05129cdd..5bec5099af7 100644
--- a/include/configs/ls2080ardb.h
+++ b/include/configs/ls2080ardb.h
@@ -63,8 +63,6 @@ unsigned long get_board_sys_clk(void);
#define CONFIG_SCSI_AHCI
#define CONFIG_SCSI_AHCI_PLAT
#define CONFIG_CMD_SCSI
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_EXT2
#define CONFIG_DOS_PARTITION
#define CONFIG_BOARD_LATE_INIT
@@ -306,11 +304,9 @@ unsigned long get_board_sys_clk(void);
/* MMC */
#define CONFIG_MMC
#ifdef CONFIG_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_FSL_ESDHC
#define CONFIG_SYS_FSL_MMC_HAS_CAPBLT_VS33
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
@@ -326,7 +322,6 @@ unsigned long get_board_sys_clk(void);
#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2
#define CONFIG_USB_STORAGE
-#define CONFIG_CMD_EXT2
/* Initial environment variables */
#undef CONFIG_EXTRA_ENV_SETTINGS
diff --git a/include/configs/lsxl.h b/include/configs/lsxl.h
index 094a7e20cde..e878cbe76ff 100644
--- a/include/configs/lsxl.h
+++ b/include/configs/lsxl.h
@@ -49,12 +49,8 @@
/*
* Commands configuration
*/
-#define CONFIG_CMD_BOOTZ
#define CONFIG_CMD_ENV
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_IDE
-#define CONFIG_CMD_FS_GENERIC
#define CONFIG_DOS_PARTITION
#define CONFIG_EFI_PARTITION
diff --git a/include/configs/lwmon5.h b/include/configs/lwmon5.h
index 3dc59e46894..d5082fa4ccf 100644
--- a/include/configs/lwmon5.h
+++ b/include/configs/lwmon5.h
@@ -400,13 +400,10 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DATE
#define CONFIG_CMD_DIAG
#define CONFIG_CMD_EEPROM
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#define CONFIG_CMD_SDRAM
diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h
index 2070f33de03..428128d2977 100644
--- a/include/configs/m28evk.h
+++ b/include/configs/m28evk.h
@@ -20,18 +20,9 @@
#define CONFIG_DOS_PARTITION
#define CONFIG_FAT_WRITE
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_BMP
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_DATE
#define CONFIG_CMD_EEPROM
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_EXT4_WRITE
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_FS_GENERIC
-#define CONFIG_CMD_GREPENV
-#define CONFIG_CMD_MII
-#define CONFIG_CMD_MMC
#define CONFIG_CMD_NAND
#define CONFIG_CMD_NAND_TRIMFFS
#define CONFIG_VIDEO
diff --git a/include/configs/m53evk.h b/include/configs/m53evk.h
index 9ababa31d4c..4349357b540 100644
--- a/include/configs/m53evk.h
+++ b/include/configs/m53evk.h
@@ -28,16 +28,8 @@
#define CONFIG_DOS_PARTITION
#define CONFIG_FAT_WRITE
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_BMP
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_EXT4_WRITE
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_FS_GENERIC
-#define CONFIG_CMD_GREPENV
-#define CONFIG_CMD_MII
-#define CONFIG_CMD_MMC
#define CONFIG_CMD_NAND
#define CONFIG_CMD_NAND_TRIMFFS
#define CONFIG_CMD_SATA
diff --git a/include/configs/ma5d4evk.h b/include/configs/ma5d4evk.h
index 2429e3ab958..fb144637d58 100644
--- a/include/configs/ma5d4evk.h
+++ b/include/configs/ma5d4evk.h
@@ -23,16 +23,6 @@
#define CONFIG_FAT_WRITE
/*#define CONFIG_LCD*/
-#define CONFIG_CMD_ASKENV
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_EXT4_WRITE
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_FS_GENERIC
-#define CONFIG_CMD_GREPENV
-#define CONFIG_CMD_MII
-#define CONFIG_CMD_MMC
-
/*
* Memory configurations
*/
diff --git a/include/configs/manroland/common.h b/include/configs/manroland/common.h
index 20457f6583c..8d4a8cd0c2d 100644
--- a/include/configs/manroland/common.h
+++ b/include/configs/manroland/common.h
@@ -26,8 +26,6 @@
#define CONFIG_CMD_EEPROM
#define CONFIG_CMD_DTT
#define CONFIG_CMD_IDE
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_MII
/*
* 8-symbol LED display (can be accessed with 'display' command)
diff --git a/include/configs/mcx.h b/include/configs/mcx.h
index d12f291afca..3dbd9204af6 100644
--- a/include/configs/mcx.h
+++ b/include/configs/mcx.h
@@ -108,15 +108,10 @@
#define CONFIG_USB_ETHER_MCS7830
/* commands to include */
-#define CONFIG_CMD_EXT2 /* EXT2 Support */
-#define CONFIG_CMD_FAT /* FAT support */
#define CONFIG_CMD_JFFS2 /* JFFS2 Support */
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_MMC /* MMC support */
-#define CONFIG_CMD_FAT /* FAT support */
#define CONFIG_CMD_NAND /* NAND support */
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_UBI
#define CONFIG_CMD_UBIFS
#define CONFIG_RBTREE
@@ -135,7 +130,6 @@
#define CONFIG_RTC_DS1337
#define CONFIG_SYS_I2C_RTC_ADDR 0x68
-#define CONFIG_CMD_MII
/*
* Board NAND Info.
*/
diff --git a/include/configs/mecp5123.h b/include/configs/mecp5123.h
index cca7c33d0d4..9262f720853 100644
--- a/include/configs/mecp5123.h
+++ b/include/configs/mecp5123.h
@@ -290,15 +290,11 @@
#define CONFIG_LOADS_ECHO /* echo on for serial download */
#define CONFIG_SYS_LOADS_BAUD_CHANGE /* allow baudrate change */
-#define CONFIG_CMD_ASKENV
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#define CONFIG_CMD_EEPROM
#define CONFIG_CMD_DATE
#undef CONFIG_CMD_FUSE
#undef CONFIG_CMD_IDE
-#undef CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_JFFS2
#define CONFIG_DOS_PARTITION
diff --git a/include/configs/medcom-wide.h b/include/configs/medcom-wide.h
index 8a24cfb0c3d..f3a6a862d00 100644
--- a/include/configs/medcom-wide.h
+++ b/include/configs/medcom-wide.h
@@ -23,7 +23,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_TEGRA_MMC
-#define CONFIG_CMD_MMC
/* NAND support */
#define CONFIG_CMD_NAND
diff --git a/include/configs/meesc.h b/include/configs/meesc.h
index d65a4cd5ac5..f71b66245fa 100644
--- a/include/configs/meesc.h
+++ b/include/configs/meesc.h
@@ -56,8 +56,6 @@
#define CONFIG_DISPLAY_CPUINFO /* display cpu info and speed */
#define CONFIG_PREBOOT /* enable preboot variable */
-#define CONFIG_CMD_BOOTZ
-
/*
* Hardware drivers
*/
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index cdaf8282169..801d6746100 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -172,14 +172,11 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_MFSL
#if defined(CONFIG_DCACHE) || defined(CONFIG_ICACHE)
-# define CONFIG_CMD_CACHE
#else
-# undef CONFIG_CMD_CACHE
#endif
#if defined(FLASH)
@@ -274,7 +271,6 @@
#if defined(CONFIG_XILINX_AXIEMAC)
# define CONFIG_MII 1
-# define CONFIG_CMD_MII 1
# define CONFIG_PHY_GIGE 1
# define CONFIG_SYS_FAULT_ECHO_LINK_DOWN 1
# define CONFIG_PHY_ATHEROS 1
@@ -289,7 +285,6 @@
# define CONFIG_PHY_VITESSE 1
#else
# undef CONFIG_MII
-# undef CONFIG_CMD_MII
#endif
/* SPL part */
diff --git a/include/configs/minnowmax.h b/include/configs/minnowmax.h
index 93d34e903ba..674d1f602b9 100644
--- a/include/configs/minnowmax.h
+++ b/include/configs/minnowmax.h
@@ -32,7 +32,6 @@
#define CONFIG_SDHCI
#define CONFIG_GENERIC_MMC
#define CONFIG_MMC_SDMA
-#define CONFIG_CMD_MMC
#undef CONFIG_USB_MAX_CONTROLLER_COUNT
#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
diff --git a/include/configs/motionpro.h b/include/configs/motionpro.h
index f4b0e34fd14..62919e9cf92 100644
--- a/include/configs/motionpro.h
+++ b/include/configs/motionpro.h
@@ -34,16 +34,13 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_BEDBUG
#define CONFIG_CMD_DATE
#define CONFIG_CMD_DTT
#define CONFIG_CMD_EEPROM
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_IDE
#define CONFIG_CMD_IMMAP
#define CONFIG_CMD_JFFS2
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
/*
diff --git a/include/configs/mpc5121ads.h b/include/configs/mpc5121ads.h
index 2179f601bd7..e0c9a98de75 100644
--- a/include/configs/mpc5121ads.h
+++ b/include/configs/mpc5121ads.h
@@ -408,13 +408,10 @@
#define CONFIG_LOADS_ECHO 1 /* echo on for serial download */
#define CONFIG_SYS_LOADS_BAUD_CHANGE 1 /* allow baudrate change */
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DATE
#define CONFIG_CMD_EEPROM
-#define CONFIG_CMD_EXT2
#define CONFIG_CMD_IDE
#define CONFIG_CMD_JFFS2
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#undef CONFIG_CMD_FUSE
@@ -455,7 +452,6 @@
#define CONFIG_MAC_PARTITION
#define CONFIG_ISO_PARTITION
-#define CONFIG_CMD_FAT
#define CONFIG_SUPPORT_VFAT
#endif /* defined(CONFIG_CMD_IDE) */
diff --git a/include/configs/mpc8308_p1m.h b/include/configs/mpc8308_p1m.h
index 149f365320d..66e1a45e166 100644
--- a/include/configs/mpc8308_p1m.h
+++ b/include/configs/mpc8308_p1m.h
@@ -388,7 +388,6 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_MII
#define CONFIG_CMD_PCI
#define CONFIG_CMDLINE_EDITING 1 /* add command line history */
diff --git a/include/configs/mpr2.h b/include/configs/mpr2.h
index 3ac4b0b7808..3f2bfa47e43 100644
--- a/include/configs/mpr2.h
+++ b/include/configs/mpr2.h
@@ -11,7 +11,6 @@
#define __MPR2_H
/* Supported commands */
-#define CONFIG_CMD_CACHE
/* Default environment variables */
#define CONFIG_BAUDRATE 115200
diff --git a/include/configs/ms7720se.h b/include/configs/ms7720se.h
index 5b6880b0a55..27ed1d542f3 100644
--- a/include/configs/ms7720se.h
+++ b/include/configs/ms7720se.h
@@ -13,10 +13,8 @@
#define CONFIG_MS7720SE 1
#define CONFIG_CMD_SDRAM
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_PCMCIA
#define CONFIG_CMD_IDE
-#define CONFIG_CMD_EXT2
#define CONFIG_BAUDRATE 115200
#define CONFIG_BOOTARGS "console=ttySC0,115200"
diff --git a/include/configs/munices.h b/include/configs/munices.h
index 438497e123c..efbd44779eb 100644
--- a/include/configs/munices.h
+++ b/include/configs/munices.h
@@ -26,7 +26,6 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_IMMAP
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/mv-common.h b/include/configs/mv-common.h
index 674aa0ac7f2..6d4bbd1f9a7 100644
--- a/include/configs/mv-common.h
+++ b/include/configs/mv-common.h
@@ -138,9 +138,7 @@
* File system
*/
#ifdef CONFIG_SYS_MVFS
-#define CONFIG_CMD_EXT2
#define CONFIG_CMD_JFFS2
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_UBI
#define CONFIG_CMD_UBIFS
#define CONFIG_RBTREE
diff --git a/include/configs/mv-plug-common.h b/include/configs/mv-plug-common.h
index 116c8215180..bf583d0830a 100644
--- a/include/configs/mv-plug-common.h
+++ b/include/configs/mv-plug-common.h
@@ -23,7 +23,6 @@
#ifdef CONFIG_SYS_MVFS
#define CONFIG_BZIP2
#define CONFIG_LZMA
-#define CONFIG_CMD_BOOTZ
#endif /* CONFIG_SYS_MVFS */
/*
@@ -33,12 +32,10 @@
#define CONFIG_CMD_DATE
#define CONFIG_CMD_ENV
#define CONFIG_CMD_IDE
-#define CONFIG_CMD_MII
/*
* Extra file system
*/
-#define CONFIG_CMD_EXT4
/*
* mv-common.h should be defined after CMD configs since it used them
diff --git a/include/configs/mx23_olinuxino.h b/include/configs/mx23_olinuxino.h
index 705bee8e0e4..1bdbe4bba98 100644
--- a/include/configs/mx23_olinuxino.h
+++ b/include/configs/mx23_olinuxino.h
@@ -15,11 +15,7 @@
#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_LED
-#define CONFIG_CMD_MMC
/* Memory configuration */
#define CONFIG_NR_DRAM_BANKS 1 /* 1 bank of DRAM */
diff --git a/include/configs/mx23evk.h b/include/configs/mx23evk.h
index 4936733a377..542f1f42b88 100644
--- a/include/configs/mx23evk.h
+++ b/include/configs/mx23evk.h
@@ -18,11 +18,6 @@
#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_MMC
-#define CONFIG_CMD_BOOTZ
#define CONFIG_VIDEO
/* Memory configuration */
diff --git a/include/configs/mx25pdk.h b/include/configs/mx25pdk.h
index cc86c947d41..c63887bb8c7 100644
--- a/include/configs/mx25pdk.h
+++ b/include/configs/mx25pdk.h
@@ -82,11 +82,6 @@
#define CONFIG_SYS_LONGHELP
/* U-Boot commands */
-#define CONFIG_CMD_BOOTZ
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_MMC
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
/* Ethernet */
#define CONFIG_FEC_MXC
@@ -122,8 +117,6 @@
/* Ethernet Configs */
-#define CONFIG_CMD_MII
-
#define CONFIG_BOOTDELAY 1
#define CONFIG_LOADADDR 0x81000000 /* loadaddr env var */
diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h
index 36a5063046b..b3c03b3bb3d 100644
--- a/include/configs/mx28evk.h
+++ b/include/configs/mx28evk.h
@@ -20,15 +20,7 @@
#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_EXT4_WRITE
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_FS_GENERIC
-#define CONFIG_CMD_MII
-#define CONFIG_CMD_MMC
-#define CONFIG_CMD_BOOTZ
#define CONFIG_CMD_NAND
#define CONFIG_CMD_NAND_TRIMFFS
#define CONFIG_VIDEO
diff --git a/include/configs/mx31pdk.h b/include/configs/mx31pdk.h
index 797eb09b7b7..3f63007819a 100644
--- a/include/configs/mx31pdk.h
+++ b/include/configs/mx31pdk.h
@@ -79,10 +79,8 @@
/***********************************************************
* Command definition
***********************************************************/
-#define CONFIG_CMD_MII
#define CONFIG_CMD_DATE
#define CONFIG_CMD_NAND
-#define CONFIG_CMD_BOOTZ
#define CONFIG_BOARD_LATE_INIT
diff --git a/include/configs/mx35pdk.h b/include/configs/mx35pdk.h
index 5f4142a1be3..aed0939ce60 100644
--- a/include/configs/mx35pdk.h
+++ b/include/configs/mx35pdk.h
@@ -78,24 +78,18 @@
/*
* Command definition
*/
-#define CONFIG_CMD_BOOTZ
#define CONFIG_BOOTP_SUBNETMASK
#define CONFIG_BOOTP_GATEWAY
#define CONFIG_BOOTP_DNS
#define CONFIG_CMD_NAND
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_MII
#define CONFIG_NET_RETRY_COUNT 100
#define CONFIG_CMD_DATE
#define CONFIG_USB_STORAGE
-#define CONFIG_CMD_MMC
#define CONFIG_DOS_PARTITION
#define CONFIG_EFI_PARTITION
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_BOOTDELAY 1
diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h
index 2f75f2b49d8..23b8b46d8c6 100644
--- a/include/configs/mx51evk.h
+++ b/include/configs/mx51evk.h
@@ -72,9 +72,7 @@
#define CONFIG_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
/*
@@ -86,10 +84,7 @@
#define IMX_FEC_BASE FEC_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x1F
-#define CONFIG_CMD_MII
-
/* USB Configs */
-#define CONFIG_CMD_FAT
#define CONFIG_USB_EHCI
#define CONFIG_USB_EHCI_MX5
#define CONFIG_USB_STORAGE
@@ -122,7 +117,6 @@
/***********************************************************
* Command definition
***********************************************************/
-#define CONFIG_CMD_BOOTZ
#define CONFIG_CMD_DATE
diff --git a/include/configs/mx53ard.h b/include/configs/mx53ard.h
index 48b4dca7bf4..e6972612482 100644
--- a/include/configs/mx53ard.h
+++ b/include/configs/mx53ard.h
@@ -31,8 +31,6 @@
#define CONFIG_BOARD_EARLY_INIT_F
#define CONFIG_MXC_GPIO
-#define CONFIG_CMD_BOOTZ
-
#define CONFIG_SYS_MAX_NAND_DEVICE 1
#define CONFIG_SYS_NAND_BASE NFC_BASE_ADDR_AXI
#define CONFIG_NAND_MXC
@@ -59,17 +57,13 @@
#define CONFIG_SYS_FSL_ESDHC_NUM 2
#define CONFIG_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
/* Eth Configs */
#define CONFIG_HAS_ETH1
#define CONFIG_MII
-#define CONFIG_CMD_MII
-
/* allow to overwrite serial and ethaddr */
#define CONFIG_ENV_OVERWRITE
#define CONFIG_CONS_INDEX 1
diff --git a/include/configs/mx53evk.h b/include/configs/mx53evk.h
index 46f93b9884b..feb55802398 100644
--- a/include/configs/mx53evk.h
+++ b/include/configs/mx53evk.h
@@ -56,9 +56,7 @@
#define CONFIG_SYS_FSL_ESDHC_NUM 2
#define CONFIG_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
/* Eth Configs */
@@ -68,7 +66,6 @@
#define IMX_FEC_BASE FEC_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x1F
-#define CONFIG_CMD_MII
#define CONFIG_CMD_DATE
/* Miscellaneous commands */
diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
index 8d2581ab8ce..8743ddce683 100644
--- a/include/configs/mx53loco.h
+++ b/include/configs/mx53loco.h
@@ -41,11 +41,7 @@
#define CONFIG_SYS_FSL_ESDHC_NUM 2
#define CONFIG_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_FS_GENERIC
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_EXT2
#define CONFIG_DOS_PARTITION
/* Eth Configs */
@@ -55,10 +51,7 @@
#define IMX_FEC_BASE FEC_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x1F
-#define CONFIG_CMD_MII
-
/* USB Configs */
-#define CONFIG_CMD_FAT
#define CONFIG_USB_EHCI
#define CONFIG_USB_EHCI_MX5
#define CONFIG_USB_STORAGE
@@ -92,7 +85,6 @@
#define CONFIG_BAUDRATE 115200
/* Command definition */
-#define CONFIG_CMD_BOOTZ
#define CONFIG_SUPPORT_RAW_INITRD
#define CONFIG_BOOTDELAY 1
diff --git a/include/configs/mx53smd.h b/include/configs/mx53smd.h
index f5019c2ea4d..9c76678b1c4 100644
--- a/include/configs/mx53smd.h
+++ b/include/configs/mx53smd.h
@@ -47,9 +47,7 @@
#define CONFIG_SYS_FSL_ESDHC_NUM 1
#define CONFIG_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
/* Eth Configs */
@@ -60,8 +58,6 @@
#define IMX_FEC_BASE FEC_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x1F
-#define CONFIG_CMD_MII
-
/* allow to overwrite serial and ethaddr */
#define CONFIG_ENV_OVERWRITE
#define CONFIG_CONS_INDEX 1
diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h
index ffd13ca4d25..17b6c48c1c6 100644
--- a/include/configs/mx6_common.h
+++ b/include/configs/mx6_common.h
@@ -69,14 +69,8 @@
#define CONFIG_BAUDRATE 115200
/* Filesystems and image support */
-#define CONFIG_CMD_BOOTZ
#define CONFIG_SUPPORT_RAW_INITRD
-#define CONFIG_CMD_FS_GENERIC
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_EXT4_WRITE
-#define CONFIG_CMD_FAT
/* Miscellaneous configurable options */
#define CONFIG_SYS_LONGHELP
@@ -87,7 +81,6 @@
#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
#ifndef CONFIG_SYS_DCACHE_OFF
-#define CONFIG_CMD_CACHE
#endif
/* GPIO */
@@ -95,7 +88,6 @@
/* MMC */
#define CONFIG_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_BOUNCE_BUFFER
#define CONFIG_FSL_ESDHC
diff --git a/include/configs/mx6cuboxi.h b/include/configs/mx6cuboxi.h
index 70760a1738b..d64323ec0f9 100644
--- a/include/configs/mx6cuboxi.h
+++ b/include/configs/mx6cuboxi.h
@@ -27,7 +27,6 @@
/* Ethernet Configuration */
#define CONFIG_FEC_MXC
-#define CONFIG_CMD_MII
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RGMII
diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h
index 60c07cf7258..eb890313171 100644
--- a/include/configs/mx6qarm2.h
+++ b/include/configs/mx6qarm2.h
@@ -23,7 +23,6 @@
#define CONFIG_SYS_FSL_ESDHC_ADDR USDHC4_BASE_ADDR
#define CONFIG_SYS_FSL_USDHC_NUM 2
-#define CONFIG_CMD_MII
#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 d777666871c..1ee880d9df9 100644
--- a/include/configs/mx6sabre_common.h
+++ b/include/configs/mx6sabre_common.h
@@ -24,7 +24,6 @@
/* MMC Configs */
#define CONFIG_SYS_FSL_ESDHC_ADDR 0
-#define CONFIG_CMD_MII
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
@@ -232,7 +231,6 @@
#ifndef CONFIG_SPL
#define CONFIG_USBD_HS
-#define CONFIG_CMD_USB_MASS_STORAGE
#define CONFIG_USB_FUNCTION_MASS_STORAGE
#define CONFIG_USB_FUNCTION_FASTBOOT
@@ -242,7 +240,6 @@
#define CONFIG_FASTBOOT_BUF_SIZE 0x07000000
/* USB Device Firmware Update support */
-#define CONFIG_CMD_DFU
#define CONFIG_USB_FUNCTION_DFU
#define CONFIG_DFU_MMC
#define CONFIG_DFU_SF
diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h
index cc73684c530..d53e41653dd 100644
--- a/include/configs/mx6slevk.h
+++ b/include/configs/mx6slevk.h
@@ -45,7 +45,6 @@
#define CONFIG_POWER_PFUZE100
#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
-#define CONFIG_CMD_MII
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
diff --git a/include/configs/mx6sxsabreauto.h b/include/configs/mx6sxsabreauto.h
index 9617e24614c..d771f9dbe87 100644
--- a/include/configs/mx6sxsabreauto.h
+++ b/include/configs/mx6sxsabreauto.h
@@ -148,7 +148,6 @@
#define CONFIG_APBH_DMA_BURST8
/* Network */
-#define CONFIG_CMD_MII
#define CONFIG_FEC_MXC
#define CONFIG_MII
diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h
index 71b9fe37990..183a7595cbe 100644
--- a/include/configs/mx6sxsabresd.h
+++ b/include/configs/mx6sxsabresd.h
@@ -161,7 +161,6 @@
#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
/* Network */
-#define CONFIG_CMD_MII
#define CONFIG_FEC_MXC
#define CONFIG_MII
diff --git a/include/configs/mx6ul_14x14_evk.h b/include/configs/mx6ul_14x14_evk.h
index fa79d483a34..15976f76cf1 100644
--- a/include/configs/mx6ul_14x14_evk.h
+++ b/include/configs/mx6ul_14x14_evk.h
@@ -184,11 +184,9 @@
#define CONFIG_SYS_MMC_ENV_PART 0 /* user area */
#define CONFIG_MMCROOT "/dev/mmcblk1p2" /* USDHC2 */
-#define CONFIG_CMD_BOOTZ
#define CONFIG_CMD_BMODE
#ifndef CONFIG_SYS_DCACHE_OFF
-#define CONFIG_CMD_CACHE
#endif
#define CONFIG_FSL_QSPI
diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h
index bf6bae6ca58..3c9a794f81f 100644
--- a/include/configs/mx7_common.h
+++ b/include/configs/mx7_common.h
@@ -44,12 +44,7 @@
#define CONFIG_BAUDRATE 115200
/* Filesystems and image support */
-#define CONFIG_CMD_BOOTZ
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_EXT4_WRITE
-#define CONFIG_CMD_FAT
/* Miscellaneous configurable options */
#define CONFIG_SYS_LONGHELP
@@ -60,7 +55,6 @@
#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
#ifndef CONFIG_SYS_DCACHE_OFF
-#define CONFIG_CMD_CACHE
#endif
/* GPIO */
@@ -71,7 +65,6 @@
/* MMC */
#define CONFIG_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_BOUNCE_BUFFER
#define CONFIG_FSL_ESDHC
diff --git a/include/configs/mx7dsabresd.h b/include/configs/mx7dsabresd.h
index 5f63a1f69e0..ece8a03f119 100644
--- a/include/configs/mx7dsabresd.h
+++ b/include/configs/mx7dsabresd.h
@@ -27,7 +27,6 @@
#define CONFIG_CSF_SIZE 0x4000
/* Network */
-#define CONFIG_CMD_MII
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define CONFIG_FEC_XCV_TYPE RGMII
@@ -252,11 +251,9 @@
#define CONFIG_USBD_HS
-#define CONFIG_CMD_USB_MASS_STORAGE
#define CONFIG_USB_FUNCTION_MASS_STORAGE
/* USB Device Firmware Update support */
-#define CONFIG_CMD_DFU
#define CONFIG_USB_FUNCTION_DFU
#define CONFIG_DFU_MMC
#define CONFIG_DFU_RAM
diff --git a/include/configs/nas220.h b/include/configs/nas220.h
index 96ee7ec26e6..dc8e265261c 100644
--- a/include/configs/nas220.h
+++ b/include/configs/nas220.h
@@ -44,7 +44,6 @@
* Commands configuration
*/
#define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */
-#define CONFIG_CMD_MII
#define CONFIG_CMD_NAND
#define CONFIG_CMD_DATE
#define CONFIG_CMD_IDE
@@ -110,9 +109,6 @@
/*
* File system
*/
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_JFFS2
#define CONFIG_JFFS2_NAND
#define CONFIG_JFFS2_LZO
diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h
index 9f16da7d054..b651eb303e7 100644
--- a/include/configs/nitrogen6x.h
+++ b/include/configs/nitrogen6x.h
@@ -64,7 +64,6 @@
#define CONFIG_LIBATA
#endif
-#define CONFIG_CMD_MII
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
@@ -320,7 +319,6 @@
#define CONFIG_PCIE_IMX
#endif
-#define CONFIG_CMD_USB_MASS_STORAGE
#define CONFIG_USB_FUNCTION_MASS_STORAGE
#define CONFIG_USB_FUNCTION_FASTBOOT
diff --git a/include/configs/nokia_rx51.h b/include/configs/nokia_rx51.h
index c6353e0f76e..0fbbce6d029 100644
--- a/include/configs/nokia_rx51.h
+++ b/include/configs/nokia_rx51.h
@@ -124,11 +124,6 @@
#define CONFIG_SYS_NO_FLASH
/* commands to include */
-#define CONFIG_CMD_EXT2 /* EXT2 Support */
-#define CONFIG_CMD_EXT4 /* EXT4 Support */
-#define CONFIG_CMD_FAT /* FAT support */
-
-#define CONFIG_CMD_MMC /* MMC support */
#define CONFIG_CMDLINE_EDITING /* add command line history */
#define CONFIG_AUTO_COMPLETE /* add autocompletion support */
diff --git a/include/configs/novena.h b/include/configs/novena.h
index 8b6e93e7091..cfb92d63564 100644
--- a/include/configs/novena.h
+++ b/include/configs/novena.h
@@ -19,11 +19,9 @@
#include "mx6_common.h"
/* U-Boot Commands */
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_BMODE
#define CONFIG_CMD_EEPROM
#define CONFIG_FAT_WRITE
-#define CONFIG_CMD_MII
#define CONFIG_CMD_PCI
#define CONFIG_CMD_SATA
#define CONFIG_VIDEO
diff --git a/include/configs/nsa310s.h b/include/configs/nsa310s.h
index 4510b1606f6..1987164a707 100644
--- a/include/configs/nsa310s.h
+++ b/include/configs/nsa310s.h
@@ -26,9 +26,7 @@
/* commands configuration */
#define CONFIG_SYS_NO_FLASH /* declare no flash (NOR/SPI) */
#define CONFIG_SYS_MVFS
-#define CONFIG_CMD_BOOTZ
#define CONFIG_CMD_IDE
-#define CONFIG_CMD_MII
/*
* mv-common.h should be defined after CMD configs since it used them
diff --git a/include/configs/nyan-big.h b/include/configs/nyan-big.h
index 49e5eaef901..056f518e4f8 100644
--- a/include/configs/nyan-big.h
+++ b/include/configs/nyan-big.h
@@ -28,7 +28,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_TEGRA_MMC
-#define CONFIG_CMD_MMC
/* Environment in eMMC, at the end of 2nd "boot sector" */
#define CONFIG_ENV_IS_IN_MMC
diff --git a/include/configs/o2dnt-common.h b/include/configs/o2dnt-common.h
index 1b0671923d1..16fa046687a 100644
--- a/include/configs/o2dnt-common.h
+++ b/include/configs/o2dnt-common.h
@@ -76,8 +76,6 @@
* Supported commands
*/
#define CONFIG_CMD_EEPROM
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_MII
#ifdef CONFIG_PCI
#define CONFIG_CMD_PCI
#endif
diff --git a/include/configs/odroid.h b/include/configs/odroid.h
index 3e2bcec62ba..12b7dc58e43 100644
--- a/include/configs/odroid.h
+++ b/include/configs/odroid.h
@@ -46,7 +46,6 @@
#define CONFIG_SYS_CONSOLE_INFO_QUIET
#define CONFIG_SYS_CONSOLE_IS_IN_ENV
-#define CONFIG_CMD_BOOTZ
#define CONFIG_BOOTARGS "Please use defined boot"
#define CONFIG_BOOTCOMMAND "run autoboot"
#define CONFIG_DEFAULT_CONSOLE "console=ttySAC1,115200n8\0"
diff --git a/include/configs/odroid_xu3.h b/include/configs/odroid_xu3.h
index e52d7ba04ad..5196d58954d 100644
--- a/include/configs/odroid_xu3.h
+++ b/include/configs/odroid_xu3.h
@@ -24,8 +24,6 @@
#define TZPC_BASE_OFFSET 0x10000
-#define CONFIG_CMD_MMC
-
#define CONFIG_NR_DRAM_BANKS 8
#define SDRAM_BANK_SIZE (256UL << 20UL) /* 256 MB */
/* Reserve the last 22 MiB for the secure firmware */
@@ -50,7 +48,6 @@
/* DFU */
#define CONFIG_USB_FUNCTION_DFU
#define CONFIG_DFU_MMC
-#define CONFIG_CMD_DFU
#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_32M
#define DFU_DEFAULT_POLL_TIMEOUT 300
#define DFU_MANIFEST_POLL_TIMEOUT 25000
@@ -65,7 +62,6 @@
#define CONFIG_G_DNL_UMS_VENDOR_NUM 0x0525
#define CONFIG_G_DNL_UMS_PRODUCT_NUM 0xA4A5
#define CONFIG_USB_FUNCTION_MASS_STORAGE
-#define CONFIG_CMD_USB_MASS_STORAGE
/* FIXME: MUST BE REMOVED AFTER TMU IS TURNED ON */
#undef CONFIG_EXYNOS_TMU
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
index d7e6c37591f..4dbe2b62d14 100644
--- a/include/configs/omap3_beagle.h
+++ b/include/configs/omap3_beagle.h
@@ -87,9 +87,6 @@
#define CONFIG_OMAP3_GPIO_6 /* GPIO160..191 is in GPIO bank 6 */
/* commands to include */
-#define CONFIG_CMD_ASKENV
-
-#define CONFIG_CMD_CACHE
#define MTDIDS_DEFAULT "nand0=nand"
#define MTDPARTS_DEFAULT "mtdparts=nand:512k(x-loader),"\
diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
index 8048ce8c4eb..9dbca1c6f4d 100644
--- a/include/configs/omap3_evm.h
+++ b/include/configs/omap3_evm.h
@@ -24,13 +24,9 @@
* Supported U-Boot commands
* ----------------------------------------------------------------------------
*/
-#define CONFIG_CMD_ASKENV
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_JFFS2
-#define CONFIG_CMD_MMC
#define CONFIG_CMD_NAND
/* ----------------------------------------------------------------------------
diff --git a/include/configs/omap3_evm_common.h b/include/configs/omap3_evm_common.h
index 99dab5f0381..01336ff4d66 100644
--- a/include/configs/omap3_evm_common.h
+++ b/include/configs/omap3_evm_common.h
@@ -149,7 +149,6 @@
#define CONFIG_USB_STORAGE
#define CONGIG_CMD_STORAGE
-#define CONFIG_CMD_FAT
#ifdef CONFIG_USB_KEYBOARD
#define CONFIG_SYS_USB_EVENT_POLL
diff --git a/include/configs/omap3_evm_quick_mmc.h b/include/configs/omap3_evm_quick_mmc.h
index 23a8a07132f..a93a2fa0d6b 100644
--- a/include/configs/omap3_evm_quick_mmc.h
+++ b/include/configs/omap3_evm_quick_mmc.h
@@ -19,8 +19,6 @@
* Supported U-Boot commands
* ----------------------------------------------------------------------------
*/
-#define CONFIG_CMD_MMC
-#define CONFIG_CMD_FAT
/*
* Board revision is detected by probing the Ethernet chip.
diff --git a/include/configs/omap3_igep00x0.h b/include/configs/omap3_igep00x0.h
index cfe7012ef78..5da50a50948 100644
--- a/include/configs/omap3_igep00x0.h
+++ b/include/configs/omap3_igep00x0.h
@@ -69,7 +69,6 @@
#define CONFIG_USBD_MANUFACTURER "Texas Instruments"
#define CONFIG_USBD_PRODUCT_NAME "IGEP"
-#define CONFIG_CMD_CACHE
#ifdef CONFIG_BOOT_ONENAND
#define CONFIG_CMD_ONENAND /* ONENAND support */
#endif
diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h
index ab837147b8b..055dcb7c614 100644
--- a/include/configs/omap3_logic.h
+++ b/include/configs/omap3_logic.h
@@ -64,9 +64,6 @@
/* commands to include */
#define CONFIG_CMD_NAND
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_MTDPARTS
#define CONFIG_CMD_NAND_LOCK_UNLOCK /* nand (un)lock commands */
diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index 5db5dcf263c..c066eae5392 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -56,7 +56,6 @@
#define CONFIG_OMAP3_GPIO_6 /* GPIO160..191 is in GPIO Bank 6 */
/* commands to include */
-#define CONFIG_CMD_CACHE
#ifdef CONFIG_NAND
#define CONFIG_CMD_UBI /* UBI-formated MTD partition support */
diff --git a/include/configs/omap3_pandora.h b/include/configs/omap3_pandora.h
index 803f4b8c477..380ec129cda 100644
--- a/include/configs/omap3_pandora.h
+++ b/include/configs/omap3_pandora.h
@@ -57,7 +57,6 @@
#define CONFIG_SERIAL3 3
/* commands to include */
-#define CONFIG_CMD_CACHE /* Cache control */
/*
* Board NAND Info.
diff --git a/include/configs/omap5_uevm.h b/include/configs/omap5_uevm.h
index a794662fe6e..86cefa3b8f8 100644
--- a/include/configs/omap5_uevm.h
+++ b/include/configs/omap5_uevm.h
@@ -101,7 +101,6 @@
/* USB Device Firmware Update support */
#define CONFIG_USB_FUNCTION_DFU
#define CONFIG_DFU_RAM
-#define CONFIG_CMD_DFU
#define CONFIG_DFU_MMC
diff --git a/include/configs/omapl138_lcdk.h b/include/configs/omapl138_lcdk.h
index be93ca365dd..f3287e3ad3c 100644
--- a/include/configs/omapl138_lcdk.h
+++ b/include/configs/omapl138_lcdk.h
@@ -210,16 +210,13 @@
* U-Boot commands
*/
#define CONFIG_CMD_ENV
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DIAG
-#define CONFIG_CMD_MII
#define CONFIG_CMD_SAVES
#ifdef CONFIG_CMD_BDI
#define CONFIG_CLOCKS
#endif
#ifndef CONFIG_DRIVER_TI_EMAC
-#undef CONFIG_CMD_MII
#endif
#ifdef CONFIG_USE_NAND
@@ -253,9 +250,6 @@
#ifdef CONFIG_MMC
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_MMC
#undef CONFIG_ENV_IS_IN_MMC
#endif
diff --git a/include/configs/openrd.h b/include/configs/openrd.h
index 6eb7e6eb5da..4defa7efe04 100644
--- a/include/configs/openrd.h
+++ b/include/configs/openrd.h
@@ -46,8 +46,6 @@
#define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */
#define CONFIG_SYS_MVFS
#define CONFIG_CMD_ENV
-#define CONFIG_CMD_MII
-#define CONFIG_CMD_MMC
#define CONFIG_CMD_NAND
#define CONFIG_CMD_IDE
diff --git a/include/configs/openrisc-generic.h b/include/configs/openrisc-generic.h
index ffed6c58c78..dfb8d3a3892 100644
--- a/include/configs/openrisc-generic.h
+++ b/include/configs/openrisc-generic.h
@@ -116,8 +116,6 @@
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_BSP
-#define CONFIG_CMD_MII
-
#define CONFIG_LMB
/*
diff --git a/include/configs/origen.h b/include/configs/origen.h
index 4f143572037..1fa2f4db7a2 100644
--- a/include/configs/origen.h
+++ b/include/configs/origen.h
@@ -50,9 +50,6 @@
#define S5P_CHECK_DIDLE 0xBAD00000
#define S5P_CHECK_LPA 0xABAD0000
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FS_GENERIC
-#define CONFIG_CMD_BOOTZ
#define CONFIG_SUPPORT_RAW_INITRD
/* MMC SPL */
diff --git a/include/configs/ot1200.h b/include/configs/ot1200.h
index 9b5c369648e..891abce3e61 100644
--- a/include/configs/ot1200.h
+++ b/include/configs/ot1200.h
@@ -88,7 +88,6 @@
#define CONFIG_SPL_SPI_LOAD
#endif
-#define CONFIG_CMD_MII
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h
index fba61a4fe79..596193d5c4c 100644
--- a/include/configs/p1_p2_rdb_pc.h
+++ b/include/configs/p1_p2_rdb_pc.h
@@ -868,7 +868,6 @@
* Command line configuration.
*/
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#define CONFIG_CMD_DATE
#define CONFIG_CMD_REGINFO
@@ -896,14 +895,11 @@
#ifdef CONFIG_MMC
#define CONFIG_FSL_ESDHC
#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC85xx_ESDHC_ADDR
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
#endif
#if defined(CONFIG_MMC) || defined(CONFIG_USB_EHCI) \
|| defined(CONFIG_FSL_SATA)
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
diff --git a/include/configs/p1_twr.h b/include/configs/p1_twr.h
index bba75ab2959..f2959c9b239 100644
--- a/include/configs/p1_twr.h
+++ b/include/configs/p1_twr.h
@@ -401,7 +401,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
* Command line configuration.
*/
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
/*
@@ -424,14 +423,11 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
#ifdef CONFIG_MMC
#define CONFIG_FSL_ESDHC
#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC85xx_ESDHC_ADDR
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
#endif
#if defined(CONFIG_MMC) || defined(CONFIG_USB_EHCI) \
|| defined(CONFIG_FSL_SATA)
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
diff --git a/include/configs/p2371-0000.h b/include/configs/p2371-0000.h
index c4a5799d0a8..e5dcb25941d 100644
--- a/include/configs/p2371-0000.h
+++ b/include/configs/p2371-0000.h
@@ -25,7 +25,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_TEGRA_MMC
-#define CONFIG_CMD_MMC
/* Environment in eMMC, at the end of 2nd "boot sector" */
#define CONFIG_ENV_IS_IN_MMC
diff --git a/include/configs/p2371-2180.h b/include/configs/p2371-2180.h
index 3bf3b564919..6133d3f1e71 100644
--- a/include/configs/p2371-2180.h
+++ b/include/configs/p2371-2180.h
@@ -25,7 +25,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_TEGRA_MMC
-#define CONFIG_CMD_MMC
/* Environment in eMMC, at the end of 2nd "boot sector" */
#define CONFIG_ENV_IS_IN_MMC
diff --git a/include/configs/p2571.h b/include/configs/p2571.h
index 95d2d637516..4c75a26e644 100644
--- a/include/configs/p2571.h
+++ b/include/configs/p2571.h
@@ -26,7 +26,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_TEGRA_MMC
-#define CONFIG_CMD_MMC
/* Environment in eMMC, at the end of 2nd "boot sector" */
#define CONFIG_ENV_IS_IN_MMC
diff --git a/include/configs/paz00.h b/include/configs/paz00.h
index e7b084a06ee..0e6503206d1 100644
--- a/include/configs/paz00.h
+++ b/include/configs/paz00.h
@@ -26,7 +26,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_TEGRA_MMC
-#define CONFIG_CMD_MMC
/* Environment in eMMC, at the end of 2nd "boot sector" */
#define CONFIG_ENV_IS_IN_MMC
diff --git a/include/configs/pb1x00.h b/include/configs/pb1x00.h
index b1fd2b8b50e..caf75a6b262 100644
--- a/include/configs/pb1x00.h
+++ b/include/configs/pb1x00.h
@@ -168,9 +168,7 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_MII
-#undef CONFIG_CMD_FAT
#undef CONFIG_CMD_IDE
#undef CONFIG_CMD_BEDBUG
diff --git a/include/configs/pcm030.h b/include/configs/pcm030.h
index f503520a9e1..0007c50ad99 100644
--- a/include/configs/pcm030.h
+++ b/include/configs/pcm030.h
@@ -53,7 +53,6 @@ Serial console configuration
#define CONFIG_CMD_DATE
#define CONFIG_CMD_EEPROM
#define CONFIG_CMD_JFFS2
-#define CONFIG_CMD_MII
#define CONFIG_CMD_PCI
#define CONFIG_TIMESTAMP 1 /* Print image info with timestamp */
diff --git a/include/configs/pcm052.h b/include/configs/pcm052.h
index 356cd798e2c..494524d0650 100644
--- a/include/configs/pcm052.h
+++ b/include/configs/pcm052.h
@@ -76,12 +76,9 @@
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
#define CONFIG_SYS_FSL_ERRATUM_ESDHC_A001
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_MII
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
@@ -258,6 +255,4 @@
#define CONFIG_ENV_OFFSET_REDUND 0xC0000
#endif
-#define CONFIG_CMD_BOOTZ
-
#endif
diff --git a/include/configs/pdm360ng.h b/include/configs/pdm360ng.h
index ff3f53df762..3b6c7dc111c 100644
--- a/include/configs/pdm360ng.h
+++ b/include/configs/pdm360ng.h
@@ -380,10 +380,8 @@
#define CONFIG_LOADS_ECHO 1 /* echo on for serial download */
#define CONFIG_SYS_LOADS_BAUD_CHANGE 1 /* allow baudrate change */
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DATE
#define CONFIG_CMD_EEPROM
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#undef CONFIG_CMD_FUSE
diff --git a/include/configs/pengwyn.h b/include/configs/pengwyn.h
index 155f589a117..1f33bc62e26 100644
--- a/include/configs/pengwyn.h
+++ b/include/configs/pengwyn.h
@@ -163,7 +163,6 @@
#define CONFIG_CMD_MTDPARTS
-#define CONFIG_CMD_ASKENV /* monitor functions : ask for env variable */
#define CONFIG_VERSION_VARIABLE /* monitor functions : u-boot version */
#define CONFIG_CMD_DIAG /* monitor functions : Diagnostics */
@@ -214,7 +213,6 @@
#define CONFIG_NET_MULTI
/* Network */
-#define CONFIG_CMD_MII
#define CONFIG_PHYLIB
#define CONFIG_PHY_RESET 1
#define CONFIG_PHY_NATSEMI
diff --git a/include/configs/pic32mzdask.h b/include/configs/pic32mzdask.h
index fccfb4891c6..108c6a2d62f 100644
--- a/include/configs/pic32mzdask.h
+++ b/include/configs/pic32mzdask.h
@@ -82,8 +82,6 @@
#define CONFIG_NET_RETRY_COUNT 20
#define CONFIG_ARP_TIMEOUT 500 /* millisec */
-#define CONFIG_CMD_MII
-
/*
* BOOTP options
*/
@@ -98,7 +96,6 @@
#define CONFIG_SDHCI
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_MMC
/*--------------------------------------------------
* USB Configuration
@@ -115,15 +112,10 @@
#define CONFIG_SUPPORT_VFAT
#define CONFIG_FS_FAT
#define CONFIG_FAT_WRITE
-#define CONFIG_CMD_FS_GENERIC
#define CONFIG_CMD_PART
-#define CONFIG_CMD_FAT
/* EXT4 FS */
#define CONFIG_FS_EXT4
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_EXT4_WRITE
/* -------------------------------------------------
* Environment
diff --git a/include/configs/picosam9g45.h b/include/configs/picosam9g45.h
index 118316bf26c..44ffd6d2044 100644
--- a/include/configs/picosam9g45.h
+++ b/include/configs/picosam9g45.h
@@ -33,8 +33,6 @@
#define CONFIG_BOARD_EARLY_INIT_F
#define CONFIG_DISPLAY_CPUINFO
-#define CONFIG_CMD_BOOTZ
-
/* general purpose I/O */
#define CONFIG_ATMEL_LEGACY /* required until (g)pio is fixed */
#define CONFIG_AT91_GPIO
@@ -96,7 +94,6 @@
(CONFIG_SYS_SDRAM_BASE + 4 * 1024 - GENERATED_GBL_DATA_SIZE)
/* MMC */
-#define CONFIG_CMD_MMC
#ifdef CONFIG_CMD_MMC
#define CONFIG_MMC
@@ -105,7 +102,6 @@
#endif
#if defined(CONFIG_CMD_USB) || defined(CONFIG_CMD_MMC)
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
diff --git a/include/configs/platinum.h b/include/configs/platinum.h
index 4f78a3d6d7b..627e1a77906 100644
--- a/include/configs/platinum.h
+++ b/include/configs/platinum.h
@@ -22,7 +22,6 @@
*/
#define CONFIG_CMD_BMODE
-#define CONFIG_CMD_MII
#define CONFIG_CMD_MTDPARTS
#define CONFIG_CMD_NAND
#define CONFIG_CMD_NAND_TRIMFFS
diff --git a/include/configs/plutux.h b/include/configs/plutux.h
index 0f7947257a6..617f92709d3 100644
--- a/include/configs/plutux.h
+++ b/include/configs/plutux.h
@@ -23,7 +23,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_TEGRA_MMC
-#define CONFIG_CMD_MMC
/* NAND support */
#define CONFIG_CMD_NAND
diff --git a/include/configs/pm9261.h b/include/configs/pm9261.h
index dcfc774a7ba..39af5c02400 100644
--- a/include/configs/pm9261.h
+++ b/include/configs/pm9261.h
@@ -181,7 +181,6 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_NAND 1
/* SDRAM */
diff --git a/include/configs/pm9263.h b/include/configs/pm9263.h
index 92d080e36ab..111e0f50cd5 100644
--- a/include/configs/pm9263.h
+++ b/include/configs/pm9263.h
@@ -195,7 +195,6 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_NAND 1
/* SDRAM */
diff --git a/include/configs/pm9g45.h b/include/configs/pm9g45.h
index a6472fb8068..facba3864da 100644
--- a/include/configs/pm9g45.h
+++ b/include/configs/pm9g45.h
@@ -70,7 +70,6 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_NAND 1
#define CONFIG_CMD_JFFS2 1
diff --git a/include/configs/pogo_e02.h b/include/configs/pogo_e02.h
index 731b9dec41d..6393ff3fedb 100644
--- a/include/configs/pogo_e02.h
+++ b/include/configs/pogo_e02.h
@@ -33,7 +33,6 @@
#define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */
#define CONFIG_SYS_MVFS
#define CONFIG_CMD_ENV
-#define CONFIG_CMD_MII
#define CONFIG_CMD_NAND
/*
@@ -82,8 +81,6 @@
/*
* File system
*/
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_JFFS2
#define CONFIG_CMD_UBI
#define CONFIG_CMD_UBIFS
diff --git a/include/configs/porter.h b/include/configs/porter.h
index 1e7f48d1f47..929eedee310 100644
--- a/include/configs/porter.h
+++ b/include/configs/porter.h
@@ -90,7 +90,6 @@
/* SD */
#define CONFIG_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_SH_SDHI_FREQ 97500000
diff --git a/include/configs/pxa-common.h b/include/configs/pxa-common.h
index 729568755bc..375515e1c46 100644
--- a/include/configs/pxa-common.h
+++ b/include/configs/pxa-common.h
@@ -26,8 +26,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_PXA_MMC_GENERIC
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_EXT2
#define CONFIG_DOS_PARTITION
#endif
diff --git a/include/configs/qemu-mips.h b/include/configs/qemu-mips.h
index 4b0f98bbffc..a7cd00350d4 100644
--- a/include/configs/qemu-mips.h
+++ b/include/configs/qemu-mips.h
@@ -45,8 +45,6 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_EXT2
#define CONFIG_DRIVER_NE2000
#define CONFIG_DRIVER_NE2000_BASE 0xb4000300
diff --git a/include/configs/qemu-mips64.h b/include/configs/qemu-mips64.h
index b9980521885..394382c4587 100644
--- a/include/configs/qemu-mips64.h
+++ b/include/configs/qemu-mips64.h
@@ -45,8 +45,6 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_EXT2
#define CONFIG_DRIVER_NE2000
#define CONFIG_DRIVER_NE2000_BASE 0xffffffffb4000300
diff --git a/include/configs/qemu-ppce500.h b/include/configs/qemu-ppce500.h
index 15f906a222e..73b377155cf 100644
--- a/include/configs/qemu-ppce500.h
+++ b/include/configs/qemu-ppce500.h
@@ -128,7 +128,6 @@ extern unsigned long long get_phys_ccsrbar_addr_early(void);
#define CONFIG_LBA48
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT2
/*
* Environment
@@ -142,8 +141,6 @@ extern unsigned long long get_phys_ccsrbar_addr_early(void);
/*
* Command line configuration.
*/
-#define CONFIG_CMD_BOOTZ
-#define CONFIG_CMD_GREPENV
#define CONFIG_CMD_IRQ
#ifdef CONFIG_PCI
diff --git a/include/configs/r0p7734.h b/include/configs/r0p7734.h
index f19898ff3ff..437ea92a981 100644
--- a/include/configs/r0p7734.h
+++ b/include/configs/r0p7734.h
@@ -18,7 +18,6 @@
#define CONFIG_BOARD_LATE_INIT
#define CONFIG_SYS_TEXT_BASE 0x8FFC0000
-#define CONFIG_CMD_MII
#define CONFIG_CMD_SDRAM
#define CONFIG_CMD_ENV
diff --git a/include/configs/r2dplus.h b/include/configs/r2dplus.h
index daf7e228dff..bf81d2b0ee4 100644
--- a/include/configs/r2dplus.h
+++ b/include/configs/r2dplus.h
@@ -11,10 +11,8 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_PCI
#define CONFIG_CMD_IDE
-#define CONFIG_CMD_EXT2
#define CONFIG_DOS_PARTITION
#define CONFIG_CMD_SH_ZIMAGEBOOT
diff --git a/include/configs/r7780mp.h b/include/configs/r7780mp.h
index 8add5f8c404..6097dc2ca86 100644
--- a/include/configs/r7780mp.h
+++ b/include/configs/r7780mp.h
@@ -22,7 +22,6 @@
#define CONFIG_CMD_SDRAM
#define CONFIG_CMD_PCI
#define CONFIG_CMD_IDE
-#define CONFIG_CMD_EXT2
#define CONFIG_DOS_PARTITION
#define CONFIG_SCIF_CONSOLE 1
diff --git a/include/configs/rastaban.h b/include/configs/rastaban.h
index aa130a11c5e..47d23791c01 100644
--- a/include/configs/rastaban.h
+++ b/include/configs/rastaban.h
@@ -36,7 +36,6 @@
"led5=63,0,1\0"
#undef CONFIG_DOS_PARTITION
-#undef CONFIG_CMD_FAT
#define CONFIG_BOARD_LATE_INIT
diff --git a/include/configs/rcar-gen2-common.h b/include/configs/rcar-gen2-common.h
index c814189eb8a..337ba02a63f 100644
--- a/include/configs/rcar-gen2-common.h
+++ b/include/configs/rcar-gen2-common.h
@@ -15,12 +15,6 @@
#define CONFIG_CMD_DFL
#define CONFIG_CMD_SDRAM
-#define CONFIG_CMD_MII
-#define CONFIG_CMD_BOOTZ
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_EXT4_WRITE
#define CONFIG_SYS_THUMB_BUILD
diff --git a/include/configs/rk3036_common.h b/include/configs/rk3036_common.h
index a5ab56953a3..1bdcf9d0248 100644
--- a/include/configs/rk3036_common.h
+++ b/include/configs/rk3036_common.h
@@ -45,22 +45,15 @@
/* MMC/SD IP block */
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_SDHCI
#define CONFIG_DWMMC
#define CONFIG_BOUNCE_BUFFER
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_FAT
#define CONFIG_FAT_WRITE
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_FS_GENERIC
#define CONFIG_PARTITION_UUIDS
#define CONFIG_CMD_PART
-#define CONFIG_CMD_CACHE
-
#define CONFIG_SYS_SDRAM_BASE 0x60000000
#define CONFIG_NR_DRAM_BANKS 1
#define SDRAM_BANK_SIZE (512UL << 20UL)
diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h
index c1ea2804339..8a813972905 100644
--- a/include/configs/rk3288_common.h
+++ b/include/configs/rk3288_common.h
@@ -51,17 +51,12 @@
/* MMC/SD IP block */
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_SDHCI
#define CONFIG_DWMMC
#define CONFIG_BOUNCE_BUFFER
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_FAT
#define CONFIG_FAT_WRITE
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_FS_GENERIC
#define CONFIG_PARTITION_UUIDS
#define CONFIG_CMD_PART
@@ -78,8 +73,6 @@
#define CONFIG_SPL_RAM_SUPPORT
#define CONFIG_SPL_DRIVERS_MISC_SUPPORT
-#define CONFIG_CMD_CACHE
-
#define CONFIG_SYS_SDRAM_BASE 0
#define CONFIG_NR_DRAM_BANKS 1
#define SDRAM_BANK_SIZE (2UL << 30)
diff --git a/include/configs/rpi.h b/include/configs/rpi.h
index 0fd040f0b8b..af58182e7b0 100644
--- a/include/configs/rpi.h
+++ b/include/configs/rpi.h
@@ -144,7 +144,6 @@
#define CONFIG_COMMAND_HISTORY
/* Commands */
-#define CONFIG_CMD_MMC
#define CONFIG_PARTITION_UUIDS
#define CONFIG_CMD_PART
diff --git a/include/configs/rsk7203.h b/include/configs/rsk7203.h
index c7ef8643301..1e4166ca87e 100644
--- a/include/configs/rsk7203.h
+++ b/include/configs/rsk7203.h
@@ -15,7 +15,6 @@
#define CONFIG_RSK7203 1
#define CONFIG_CMD_SDRAM
-#define CONFIG_CMD_CACHE
#define CONFIG_BAUDRATE 115200
#define CONFIG_BOOTARGS "console=ttySC0,115200"
diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h
index 916895ad6cf..afea8840404 100644
--- a/include/configs/s5p_goni.h
+++ b/include/configs/s5p_goni.h
@@ -62,11 +62,8 @@
#define CONFIG_SYS_NO_FLASH 1
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_REGINFO
#define CONFIG_CMD_ONENAND
-#define CONFIG_CMD_MMC
-#define CONFIG_CMD_DFU
#define CONFIG_CMD_GPT
/* USB Composite download gadget - g_dnl */
@@ -231,10 +228,6 @@
#define CONFIG_DOS_PARTITION 1
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_EXT4_WRITE
-
/* write support for filesystems */
#define CONFIG_FAT_WRITE
#define CONFIG_EXT4_WRITE
@@ -267,7 +260,6 @@
#define CONFIG_SYS_MAX_I2C_BUS 7
#define CONFIG_USB_GADGET_DWC2_OTG_PHY
-#define CONFIG_CMD_USB_MASS_STORAGE
#define CONFIG_USB_FUNCTION_MASS_STORAGE
#endif /* __CONFIG_H */
diff --git a/include/configs/sama5d2_xplained.h b/include/configs/sama5d2_xplained.h
index bdb39a31483..f9a8f6f3e9e 100644
--- a/include/configs/sama5d2_xplained.h
+++ b/include/configs/sama5d2_xplained.h
@@ -51,7 +51,6 @@
#undef CONFIG_CMD_NAND
/* MMC */
-#define CONFIG_CMD_MMC
#ifdef CONFIG_CMD_MMC
#define CONFIG_MMC
@@ -78,7 +77,6 @@
#define CONFIG_USBNET_MANUFACTURER "Atmel SAMA5D2 XPlained"
#if defined(CONFIG_CMD_USB) || defined(CONFIG_CMD_MMC)
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
diff --git a/include/configs/sama5d3_xplained.h b/include/configs/sama5d3_xplained.h
index ee3e34d3641..55615eab017 100644
--- a/include/configs/sama5d3_xplained.h
+++ b/include/configs/sama5d3_xplained.h
@@ -77,11 +77,9 @@
#define CONFIG_NET_RETRY_COUNT 20
#define CONFIG_MACB_SEARCH_PHY
#define CONFIG_RGMII
-#define CONFIG_CMD_MII
#define CONFIG_PHYLIB
/* MMC */
-#define CONFIG_CMD_MMC
#ifdef CONFIG_CMD_MMC
#define CONFIG_MMC
@@ -105,10 +103,7 @@
#endif
#if defined(CONFIG_CMD_USB) || defined(CONFIG_CMD_MMC)
-#define CONFIG_CMD_FAT
#define CONFIG_FAT_WRITE
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_EXT4_WRITE
#endif
#define CONFIG_SYS_LOAD_ADDR 0x22000000 /* load address */
diff --git a/include/configs/sama5d3xek.h b/include/configs/sama5d3xek.h
index c4ad3c417e9..1e721a90202 100644
--- a/include/configs/sama5d3xek.h
+++ b/include/configs/sama5d3xek.h
@@ -108,13 +108,11 @@
#define CONFIG_NET_RETRY_COUNT 20
#define CONFIG_MACB_SEARCH_PHY
#define CONFIG_RGMII
-#define CONFIG_CMD_MII
#define CONFIG_PHYLIB
#define CONFIG_PHY_MICREL
#define CONFIG_PHY_MICREL_KSZ9021
/* MMC */
-#define CONFIG_CMD_MMC
#ifdef CONFIG_CMD_MMC
#define CONFIG_MMC
@@ -143,7 +141,6 @@
#define CONFIG_USBNET_MANUFACTURER "Atmel SAMA5D3xEK"
#if defined(CONFIG_CMD_USB) || defined(CONFIG_CMD_MMC)
-#define CONFIG_CMD_FAT
#define CONFIG_FAT_WRITE
#endif
diff --git a/include/configs/sama5d4_xplained.h b/include/configs/sama5d4_xplained.h
index a81766a03b9..8d141a9a32e 100644
--- a/include/configs/sama5d4_xplained.h
+++ b/include/configs/sama5d4_xplained.h
@@ -62,7 +62,6 @@
#endif
/* MMC */
-#define CONFIG_CMD_MMC
#ifdef CONFIG_CMD_MMC
#define CONFIG_MMC
@@ -86,7 +85,6 @@
#define CONFIG_USBNET_MANUFACTURER "Atmel SAMA5D4EK"
#if defined(CONFIG_CMD_USB) || defined(CONFIG_CMD_MMC)
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
diff --git a/include/configs/sama5d4ek.h b/include/configs/sama5d4ek.h
index 339fcf1ea0b..4b1908086fd 100644
--- a/include/configs/sama5d4ek.h
+++ b/include/configs/sama5d4ek.h
@@ -62,7 +62,6 @@
#endif
/* MMC */
-#define CONFIG_CMD_MMC
#ifdef CONFIG_CMD_MMC
#define CONFIG_MMC
@@ -86,7 +85,6 @@
#define CONFIG_USBNET_MANUFACTURER "Atmel SAMA5D4EK"
#if defined(CONFIG_CMD_USB) || defined(CONFIG_CMD_MMC)
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 0bdb73a10ac..9790a14b02b 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -39,15 +39,11 @@
#define CONFIG_FAT_WRITE
#define CONFIG_FS_EXT4
#define CONFIG_EXT4_WRITE
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_EXT4_WRITE
#define CONFIG_CMD_CBFS
#define CONFIG_CMD_CRAMFS
#define CONFIG_CMD_PART
#define CONFIG_DOS_PARTITION
#define CONFIG_HOST_MAX_DEVICES 4
-#define CONFIG_CMD_FS_GENERIC
#define CONFIG_CMD_MD5SUM
#define CONFIG_CMD_GPT
@@ -138,8 +134,6 @@
#define CONFIG_CMD_ENV_FLAGS
#define CONFIG_CMD_ENV_CALLBACK
-#define CONFIG_CMD_GREPENV
-#define CONFIG_CMD_ASKENV
#define CONFIG_BOOTARGS ""
diff --git a/include/configs/sansa_fuze_plus.h b/include/configs/sansa_fuze_plus.h
index f6e07b48ac7..0c8ecc181bc 100644
--- a/include/configs/sansa_fuze_plus.h
+++ b/include/configs/sansa_fuze_plus.h
@@ -14,10 +14,6 @@
#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_MMC
#define CONFIG_VIDEO
/* Memory configuration */
diff --git a/include/configs/sbc8349.h b/include/configs/sbc8349.h
index fc22134b5ab..6c0932a8dfd 100644
--- a/include/configs/sbc8349.h
+++ b/include/configs/sbc8349.h
@@ -406,7 +406,6 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_MII
#if defined(CONFIG_PCI)
#define CONFIG_CMD_PCI
diff --git a/include/configs/sbc8548.h b/include/configs/sbc8548.h
index 19601e7ef2b..bbd1a633440 100644
--- a/include/configs/sbc8548.h
+++ b/include/configs/sbc8548.h
@@ -523,7 +523,6 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#if defined(CONFIG_PCI)
diff --git a/include/configs/sc_sps_1.h b/include/configs/sc_sps_1.h
index 9ec84178f1b..42237d373e9 100644
--- a/include/configs/sc_sps_1.h
+++ b/include/configs/sc_sps_1.h
@@ -19,12 +19,6 @@
#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_MII
-#define CONFIG_CMD_MMC
-
/* Memory configuration */
#define CONFIG_NR_DRAM_BANKS 1 /* 1 bank of DRAM */
#define PHYS_SDRAM_1 0x40000000 /* Base address */
diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h
index 54aeb5bbe71..4c0196679f3 100644
--- a/include/configs/seaboard.h
+++ b/include/configs/seaboard.h
@@ -35,7 +35,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_TEGRA_MMC
-#define CONFIG_CMD_MMC
/* Environment in eMMC, at the end of 2nd "boot sector" */
#define CONFIG_ENV_IS_IN_MMC
diff --git a/include/configs/secomx6quq7.h b/include/configs/secomx6quq7.h
index e1c0e9abfad..51b88a485b6 100644
--- a/include/configs/secomx6quq7.h
+++ b/include/configs/secomx6quq7.h
@@ -32,7 +32,6 @@
#define CONFIG_SYS_FSL_ESDHC_ADDR 0
/* Ethernet Configuration */
-#define CONFIG_CMD_MII
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
diff --git a/include/configs/sequoia.h b/include/configs/sequoia.h
index 7ca7afa862c..d34811fe639 100644
--- a/include/configs/sequoia.h
+++ b/include/configs/sequoia.h
@@ -230,7 +230,6 @@
*/
#define CONFIG_CMD_CHIP_CONFIG
#define CONFIG_CMD_DTT
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_NAND
#define CONFIG_CMD_PCI
#define CONFIG_CMD_SDRAM
diff --git a/include/configs/sh7752evb.h b/include/configs/sh7752evb.h
index 58f9540c8ef..80997a49bd9 100644
--- a/include/configs/sh7752evb.h
+++ b/include/configs/sh7752evb.h
@@ -16,13 +16,10 @@
#define CONFIG_SYS_TEXT_BASE 0x5ff80000
#define CONFIG_SYS_LDSCRIPT "board/renesas/sh7752evb/u-boot.lds"
-#define CONFIG_CMD_MII
#define CONFIG_CMD_DFL
#define CONFIG_CMD_SDRAM
#define CONFIG_CMD_MD5SUM
#define CONFIG_MD5
-#define CONFIG_CMD_MMC
-#define CONFIG_CMD_EXT2
#define CONFIG_DOS_PARTITION
#define CONFIG_MAC_PARTITION
diff --git a/include/configs/sh7753evb.h b/include/configs/sh7753evb.h
index 540d36c8250..248435b9d17 100644
--- a/include/configs/sh7753evb.h
+++ b/include/configs/sh7753evb.h
@@ -16,13 +16,10 @@
#define CONFIG_SYS_TEXT_BASE 0x5ff80000
#define CONFIG_SYS_LDSCRIPT "board/renesas/sh7753evb/u-boot.lds"
-#define CONFIG_CMD_MII
#define CONFIG_CMD_DFL
#define CONFIG_CMD_SDRAM
#define CONFIG_CMD_MD5SUM
#define CONFIG_MD5
-#define CONFIG_CMD_MMC
-#define CONFIG_CMD_EXT2
#define CONFIG_DOS_PARTITION
#define CONFIG_MAC_PARTITION
diff --git a/include/configs/sh7757lcr.h b/include/configs/sh7757lcr.h
index 298d3a21cd6..547b5003083 100644
--- a/include/configs/sh7757lcr.h
+++ b/include/configs/sh7757lcr.h
@@ -17,12 +17,9 @@
#define CONFIG_SYS_TEXT_BASE 0x8ef80000
#define CONFIG_SYS_LDSCRIPT "board/renesas/sh7757lcr/u-boot.lds"
-#define CONFIG_CMD_MII
#define CONFIG_CMD_SDRAM
#define CONFIG_CMD_MD5SUM
#define CONFIG_MD5
-#define CONFIG_CMD_MMC
-#define CONFIG_CMD_EXT2
#define CONFIG_DOS_PARTITION
#define CONFIG_MAC_PARTITION
diff --git a/include/configs/sh7763rdp.h b/include/configs/sh7763rdp.h
index 9f6fe0ed5b1..9f1e6d7fee7 100644
--- a/include/configs/sh7763rdp.h
+++ b/include/configs/sh7763rdp.h
@@ -18,7 +18,6 @@
* Command line configuration.
*/
#define CONFIG_CMD_SDRAM
-#define CONFIG_CMD_MII
#define CONFIG_CMD_JFFS2
#define CONFIG_BOOTDELAY -1
diff --git a/include/configs/sh7785lcr.h b/include/configs/sh7785lcr.h
index 1d7fceddfc8..bd4c6bd13a9 100644
--- a/include/configs/sh7785lcr.h
+++ b/include/configs/sh7785lcr.h
@@ -18,8 +18,6 @@
#define CONFIG_CMD_SH_ZIMAGEBOOT
#define CONFIG_USB_STORAGE
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#define CONFIG_MAC_PARTITION
diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h
index 2019156db9d..fa76a257fa1 100644
--- a/include/configs/sheevaplug.h
+++ b/include/configs/sheevaplug.h
@@ -24,7 +24,6 @@
/*
* Commands configuration
*/
-#define CONFIG_CMD_MMC
/*
* Standard filesystems
diff --git a/include/configs/siemens-am33x-common.h b/include/configs/siemens-am33x-common.h
index aecd06f74ea..dfc928d33b8 100644
--- a/include/configs/siemens-am33x-common.h
+++ b/include/configs/siemens-am33x-common.h
@@ -39,8 +39,6 @@
#define CONFIG_SYS_CACHELINE_SIZE 64
/* commands to include */
-#define CONFIG_CMD_ASKENV
-#define CONFIG_CMD_CACHE
#define CONFIG_ENV_VARS_UBOOT_CONFIG
#ifndef CONFIG_SPL_BUILD
@@ -85,10 +83,7 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_OMAP_HSMMC
-#define CONFIG_CMD_MMC
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_EXT2
#define CONFIG_SPI
#define CONFIG_OMAP3_SPI
@@ -239,7 +234,6 @@
/* USB Device Firmware Update support */
#define CONFIG_USB_FUNCTION_DFU
#define CONFIG_DFU_NAND
-#define CONFIG_CMD_DFU
#define CONFIG_SYS_DFU_DATA_BUF_SIZE (1 << 20)
#define DFU_MANIFEST_POLL_TIMEOUT 25000
@@ -272,7 +266,6 @@
#define CONFIG_MII
#define CONFIG_PHY_GIGE
#define CONFIG_PHYLIB
-#define CONFIG_CMD_MII
#define CONFIG_BOOTP_DEFAULT
#define CONFIG_BOOTP_DNS
#define CONFIG_BOOTP_DNS2
diff --git a/include/configs/silk.h b/include/configs/silk.h
index a3790f072bd..dca0623485c 100644
--- a/include/configs/silk.h
+++ b/include/configs/silk.h
@@ -91,7 +91,6 @@
/* MMCIF */
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_SH_MMCIF
#define CONFIG_SH_MMCIF_ADDR 0xee200000
#define CONFIG_SH_MMCIF_CLK 48000000
diff --git a/include/configs/smartweb.h b/include/configs/smartweb.h
index 4daab980569..40b0cd2132c 100644
--- a/include/configs/smartweb.h
+++ b/include/configs/smartweb.h
@@ -169,7 +169,6 @@
#define CONFIG_USB_GADGET_AT91
/* DFU class support */
-#define CONFIG_CMD_DFU
#define CONFIG_USB_FUNCTION_DFU
#define CONFIG_DFU_NAND
#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_1M
@@ -215,7 +214,6 @@
/* Command line & features configuration */
#define CONFIG_CMD_NAND
-#define CONFIG_CMD_FAT
#ifdef CONFIG_MACB
#else
diff --git a/include/configs/smdk2410.h b/include/configs/smdk2410.h
index f009343f6a5..c5c0c2cb962 100644
--- a/include/configs/smdk2410.h
+++ b/include/configs/smdk2410.h
@@ -73,7 +73,6 @@
* Command line configuration.
*/
#define CONFIG_CMD_BSP
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_DATE
#define CONFIG_CMD_NAND
#define CONFIG_CMD_REGINFO
@@ -170,8 +169,6 @@
/*
* File system
*/
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_EXT2
#define CONFIG_CMD_UBI
#define CONFIG_CMD_UBIFS
#define CONFIG_CMD_MTDPARTS
diff --git a/include/configs/smdkc100.h b/include/configs/smdkc100.h
index e1c7c67d2e4..0f1a1ecc294 100644
--- a/include/configs/smdkc100.h
+++ b/include/configs/smdkc100.h
@@ -67,10 +67,8 @@
***********************************************************/
#undef CONFIG_CMD_NAND
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_REGINFO
#define CONFIG_CMD_ONENAND
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_MTDPARTS
#define CONFIG_BOOTDELAY 3
diff --git a/include/configs/smdkv310.h b/include/configs/smdkv310.h
index 0c21debeeb8..efb18ffa29d 100644
--- a/include/configs/smdkv310.h
+++ b/include/configs/smdkv310.h
@@ -14,10 +14,8 @@
#undef CONFIG_BOARD_COMMON
#undef CONFIG_USB_GADGET_DWC2_OTG
#undef CONFIG_USB_GADGET_DWC2_OTG_PHY
-#undef CONFIG_CMD_USB_MASS_STORAGE
#undef CONFIG_REVISION_TAG
#undef CONFIG_CMD_THOR_DOWNLOAD
-#undef CONFIG_CMD_DFU
/* High Level Configuration Options */
#define CONFIG_EXYNOS4210 1 /* which is a EXYNOS4210 SoC */
diff --git a/include/configs/snapper9260.h b/include/configs/snapper9260.h
index bff49b1b072..16aefc25b46 100644
--- a/include/configs/snapper9260.h
+++ b/include/configs/snapper9260.h
@@ -145,8 +145,6 @@
#define CONFIG_SYS_MALLOC_LEN (1 << 20)
/* Command line configuration */
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_MII
#define CONFIG_CMD_NAND
#define CONFIG_CMD_PCA953X
#define CONFIG_CMD_PCA953X_INFO
diff --git a/include/configs/sniper.h b/include/configs/sniper.h
index eb53a217599..fb348a5cd26 100644
--- a/include/configs/sniper.h
+++ b/include/configs/sniper.h
@@ -102,8 +102,6 @@
#define CONFIG_GENERIC_MMC
#define CONFIG_OMAP_HSMMC
-#define CONFIG_CMD_MMC
-
/*
* Power
*/
diff --git a/include/configs/socfpga_arria5_socdk.h b/include/configs/socfpga_arria5_socdk.h
index 6cdf38b7586..ca7f8a28b27 100644
--- a/include/configs/socfpga_arria5_socdk.h
+++ b/include/configs/socfpga_arria5_socdk.h
@@ -14,19 +14,6 @@
#define CONFIG_FAT_WRITE
#define CONFIG_HW_WATCHDOG
-#define CONFIG_CMD_ASKENV
-#define CONFIG_CMD_BOOTZ
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_DFU
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_EXT4_WRITE
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_FS_GENERIC
-#define CONFIG_CMD_GREPENV
-#define CONFIG_CMD_MII
-#define CONFIG_CMD_MMC
-#define CONFIG_CMD_USB_MASS_STORAGE
-
/* Memory configurations */
#define PHYS_SDRAM_1_SIZE 0x40000000 /* 1GiB on SoCDK */
diff --git a/include/configs/socfpga_cyclone5_socdk.h b/include/configs/socfpga_cyclone5_socdk.h
index bf75e0fbcc1..a2da7d47c52 100644
--- a/include/configs/socfpga_cyclone5_socdk.h
+++ b/include/configs/socfpga_cyclone5_socdk.h
@@ -14,19 +14,6 @@
#define CONFIG_FAT_WRITE
#define CONFIG_HW_WATCHDOG
-#define CONFIG_CMD_ASKENV
-#define CONFIG_CMD_BOOTZ
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_DFU
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_EXT4_WRITE
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_FS_GENERIC
-#define CONFIG_CMD_GREPENV
-#define CONFIG_CMD_MII
-#define CONFIG_CMD_MMC
-#define CONFIG_CMD_USB_MASS_STORAGE
-
/* Memory configurations */
#define PHYS_SDRAM_1_SIZE 0x40000000 /* 1GiB on SoCDK */
diff --git a/include/configs/socfpga_de0_nano_soc.h b/include/configs/socfpga_de0_nano_soc.h
index 90592a88b22..fdddfa3cd24 100644
--- a/include/configs/socfpga_de0_nano_soc.h
+++ b/include/configs/socfpga_de0_nano_soc.h
@@ -14,19 +14,6 @@
#define CONFIG_FAT_WRITE
#define CONFIG_HW_WATCHDOG
-#define CONFIG_CMD_ASKENV
-#define CONFIG_CMD_BOOTZ
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_DFU
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_EXT4_WRITE
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_FS_GENERIC
-#define CONFIG_CMD_GREPENV
-#define CONFIG_CMD_MII
-#define CONFIG_CMD_MMC
-#define CONFIG_CMD_USB_MASS_STORAGE
-
/* Memory configurations */
#define PHYS_SDRAM_1_SIZE 0x40000000 /* 1GiB */
diff --git a/include/configs/socfpga_mcvevk.h b/include/configs/socfpga_mcvevk.h
index f1cfe21a899..f0fb43a82f3 100644
--- a/include/configs/socfpga_mcvevk.h
+++ b/include/configs/socfpga_mcvevk.h
@@ -14,19 +14,6 @@
#define CONFIG_FAT_WRITE
#define CONFIG_HW_WATCHDOG
-#define CONFIG_CMD_ASKENV
-#define CONFIG_CMD_BOOTZ
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_DFU
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_EXT4_WRITE
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_FS_GENERIC
-#define CONFIG_CMD_GREPENV
-#define CONFIG_CMD_MII
-#define CONFIG_CMD_MMC
-#define CONFIG_CMD_USB_MASS_STORAGE
-
/* Memory configurations */
#define PHYS_SDRAM_1_SIZE 0x40000000 /* 1GiB on MCV */
diff --git a/include/configs/socfpga_sockit.h b/include/configs/socfpga_sockit.h
index 7ac58892ceb..675f5d16e93 100644
--- a/include/configs/socfpga_sockit.h
+++ b/include/configs/socfpga_sockit.h
@@ -14,19 +14,6 @@
#define CONFIG_FAT_WRITE
#define CONFIG_HW_WATCHDOG
-#define CONFIG_CMD_ASKENV
-#define CONFIG_CMD_BOOTZ
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_DFU
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_EXT4_WRITE
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_FS_GENERIC
-#define CONFIG_CMD_GREPENV
-#define CONFIG_CMD_MII
-#define CONFIG_CMD_MMC
-#define CONFIG_CMD_USB_MASS_STORAGE
-
/* Memory configurations */
#define PHYS_SDRAM_1_SIZE 0x40000000 /* 1GiB on SoCDK */
diff --git a/include/configs/socfpga_socrates.h b/include/configs/socfpga_socrates.h
index e2ed25300d8..79c16ce91d0 100644
--- a/include/configs/socfpga_socrates.h
+++ b/include/configs/socfpga_socrates.h
@@ -14,19 +14,6 @@
#define CONFIG_FAT_WRITE
#define CONFIG_HW_WATCHDOG
-#define CONFIG_CMD_ASKENV
-#define CONFIG_CMD_BOOTZ
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_DFU
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_EXT4_WRITE
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_FS_GENERIC
-#define CONFIG_CMD_GREPENV
-#define CONFIG_CMD_MII
-#define CONFIG_CMD_MMC
-#define CONFIG_CMD_USB_MASS_STORAGE
-
/* Memory configurations */
#define PHYS_SDRAM_1_SIZE 0x40000000 /* 1GiB on SoCrates */
diff --git a/include/configs/socfpga_sr1500.h b/include/configs/socfpga_sr1500.h
index fb98546c532..efa9e428cee 100644
--- a/include/configs/socfpga_sr1500.h
+++ b/include/configs/socfpga_sr1500.h
@@ -16,18 +16,6 @@
#define CONFIG_HW_WATCHDOG
-/* U-Boot Commands */
-#define CONFIG_CMD_ASKENV
-#define CONFIG_CMD_BOOTZ
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_EXT4_WRITE
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_FS_GENERIC
-#define CONFIG_CMD_GREPENV
-#define CONFIG_CMD_MII
-#define CONFIG_CMD_MMC
-
/* Memory configurations */
#define PHYS_SDRAM_1_SIZE 0x40000000 /* 1GiB on SR1500 */
diff --git a/include/configs/socrates.h b/include/configs/socrates.h
index cf1e90412c2..4ed524b0236 100644
--- a/include/configs/socrates.h
+++ b/include/configs/socrates.h
@@ -308,9 +308,7 @@
#define CONFIG_CMD_DATE
#define CONFIG_CMD_DTT
#undef CONFIG_CMD_EEPROM
-#define CONFIG_CMD_EXT2 /* EXT2 Support */
#define CONFIG_CMD_SDRAM
-#define CONFIG_CMD_MII
#define CONFIG_CMD_REGINFO
#if defined(CONFIG_PCI)
diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h
index 269ce7e0f3b..c4b6234096e 100644
--- a/include/configs/spear-common.h
+++ b/include/configs/spear-common.h
@@ -101,7 +101,6 @@
#define CONFIG_CMD_NAND
#define CONFIG_CMD_ENV
#define CONFIG_CMD_SAVES
-#define CONFIG_CMD_MII
/*
* Default Environment Varible definitions
diff --git a/include/configs/stout.h b/include/configs/stout.h
index 70fedf1d818..d21c3cbdeb2 100644
--- a/include/configs/stout.h
+++ b/include/configs/stout.h
@@ -94,7 +94,6 @@
/* MMC */
#define CONFIG_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
/* Module stop status bits */
diff --git a/include/configs/strider.h b/include/configs/strider.h
index a5b22238108..5803b660bc3 100644
--- a/include/configs/strider.h
+++ b/include/configs/strider.h
@@ -35,10 +35,8 @@
#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC83xx_ESDHC_ADDR
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT2
#define CONFIG_SYS_ALT_MEMTEST
@@ -506,7 +504,6 @@ int fpga_gpio_get(unsigned int bus, int pin);
/*
* Command line configuration.
*/
-#define CONFIG_CMD_MII
#define CONFIG_CMD_PCI
#define CONFIG_CMDLINE_EDITING 1 /* add command line history */
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index bd16ff9d1fc..2406115e3e2 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -140,7 +140,6 @@
/* mmc config */
#ifdef CONFIG_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_MMC_SUNXI
#define CONFIG_MMC_SUNXI_SLOT 0
#define CONFIG_ENV_IS_IN_MMC
@@ -347,7 +346,6 @@ extern int soft_i2c_gpio_scl;
#endif
#ifdef CONFIG_USB_FUNCTION_DFU
-#define CONFIG_CMD_DFU
#define CONFIG_DFU_RAM
#endif
@@ -366,7 +364,6 @@ extern int soft_i2c_gpio_scl;
#endif
#ifdef CONFIG_USB_FUNCTION_MASS_STORAGE
-#define CONFIG_CMD_USB_MASS_STORAGE
#endif
#ifdef CONFIG_USB_KEYBOARD
diff --git a/include/configs/t4qds.h b/include/configs/t4qds.h
index f77e63c22f8..af61f216939 100644
--- a/include/configs/t4qds.h
+++ b/include/configs/t4qds.h
@@ -237,7 +237,6 @@
#define CONFIG_LBA48
#define CONFIG_CMD_SATA
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT2
#endif
#ifdef CONFIG_FMAN_ENET
@@ -256,9 +255,7 @@
* Command line configuration.
*/
#define CONFIG_CMD_ERRATA
-#define CONFIG_CMD_GREPENV
#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_MII
#ifdef CONFIG_PCI
#define CONFIG_CMD_PCI
diff --git a/include/configs/tam3517-common.h b/include/configs/tam3517-common.h
index ef9e22edace..efdc70622f3 100644
--- a/include/configs/tam3517-common.h
+++ b/include/configs/tam3517-common.h
@@ -96,11 +96,6 @@
#define CONFIG_USB_STORAGE
/* commands to include */
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_EXT2 /* EXT2 Support */
-#define CONFIG_CMD_FAT /* FAT support */
-#define CONFIG_CMD_MII
-#define CONFIG_CMD_MMC /* MMC support */
#define CONFIG_CMD_NAND /* NAND support */
#define CONFIG_CMD_EEPROM
diff --git a/include/configs/tao3530.h b/include/configs/tao3530.h
index 38f344662af..4d66dd2407b 100644
--- a/include/configs/tao3530.h
+++ b/include/configs/tao3530.h
@@ -92,9 +92,6 @@
#define CONFIG_OMAP3_GPIO_6 /* GPIO160..191 is in GPIO bank 6 */
/* commands to include */
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_EXT2 /* EXT2 Support */
-#define CONFIG_CMD_FAT /* FAT support */
#define CONFIG_CMD_MTDPARTS /* Enable MTD parts commands */
#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
#define MTDIDS_DEFAULT "nand0=nand"
@@ -102,7 +99,6 @@
"1920k(u-boot),128k(u-boot-env),"\
"4m(kernel),-(fs)"
-#define CONFIG_CMD_MMC /* MMC support */
#define CONFIG_CMD_NAND /* NAND support */
#define CONFIG_SYS_NO_FLASH
diff --git a/include/configs/taurus.h b/include/configs/taurus.h
index 946bfd42ccf..321fb4756d1 100644
--- a/include/configs/taurus.h
+++ b/include/configs/taurus.h
@@ -49,8 +49,6 @@
#define CONFIG_BOARD_EARLY_INIT_F
#define CONFIG_DISPLAY_CPUINFO
-#define CONFIG_CMD_BOOTZ
-
/* general purpose I/O */
#define CONFIG_ATMEL_LEGACY /* required until (g)pio is fixed */
#define CONFIG_AT91_GPIO
@@ -131,7 +129,6 @@
#define CONFIG_USB_GADGET_AT91
/* DFU class support */
-#define CONFIG_CMD_DFU
#define CONFIG_USB_FUNCTION_DFU
#define CONFIG_DFU_NAND
#define CONFIG_SYS_DFU_DATA_BUF_SIZE (SZ_1M)
diff --git a/include/configs/tbs2910.h b/include/configs/tbs2910.h
index bd4d98ed40c..ec0bf050846 100644
--- a/include/configs/tbs2910.h
+++ b/include/configs/tbs2910.h
@@ -67,7 +67,6 @@
/* Ethernet */
#define CONFIG_FEC_MXC
-#define CONFIG_CMD_MII
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
@@ -121,7 +120,6 @@
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
#define CONFIG_USB_STORAGE
-#define CONFIG_CMD_USB_MASS_STORAGE
#ifdef CONFIG_CMD_USB_MASS_STORAGE
#define CONFIG_USBD_HS
#define CONFIG_USB_FUNCTION_MASS_STORAGE
diff --git a/include/configs/tec-ng.h b/include/configs/tec-ng.h
index d131c178c1e..d7f1a7cb92f 100644
--- a/include/configs/tec-ng.h
+++ b/include/configs/tec-ng.h
@@ -24,7 +24,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_TEGRA_MMC
-#define CONFIG_CMD_MMC
/* Environment in eMMC, at the end of 2nd "boot sector" */
#define CONFIG_ENV_IS_IN_MMC
diff --git a/include/configs/tec.h b/include/configs/tec.h
index 976f9c15060..a90af067926 100644
--- a/include/configs/tec.h
+++ b/include/configs/tec.h
@@ -23,7 +23,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_TEGRA_MMC
-#define CONFIG_CMD_MMC
/* NAND support */
#define CONFIG_CMD_NAND
diff --git a/include/configs/tegra-common-post.h b/include/configs/tegra-common-post.h
index a1daf8c90d0..b206ce4bf93 100644
--- a/include/configs/tegra-common-post.h
+++ b/include/configs/tegra-common-post.h
@@ -125,7 +125,6 @@
#undef CONFIG_TEGRA_MMC
#endif
#ifdef CONFIG_CMD_MMC
-#undef CONFIG_CMD_MMC
#endif
/* remove partitions/filesystems */
@@ -135,18 +134,6 @@
#ifdef CONFIG_EFI_PARTITION
#undef CONFIG_EFI_PARTITION
#endif
-#ifdef CONFIG_CMD_FS_GENERIC
-#undef CONFIG_CMD_FS_GENERIC
-#endif
-#ifdef CONFIG_CMD_EXT4
-#undef CONFIG_CMD_EXT4
-#endif
-#ifdef CONFIG_CMD_EXT2
-#undef CONFIG_CMD_EXT2
-#endif
-#ifdef CONFIG_CMD_FAT
-#undef CONFIG_CMD_FAT
-#endif
#ifdef CONFIG_FS_EXT4
#undef CONFIG_FS_EXT4
#endif
diff --git a/include/configs/tegra-common-usb-gadget.h b/include/configs/tegra-common-usb-gadget.h
index 18851ca3d02..3e3eeea066c 100644
--- a/include/configs/tegra-common-usb-gadget.h
+++ b/include/configs/tegra-common-usb-gadget.h
@@ -13,12 +13,10 @@
#define CONFIG_CI_UDC_HAS_HOSTPC
/* USB mass storage protocol */
#define CONFIG_USB_FUNCTION_MASS_STORAGE
-#define CONFIG_CMD_USB_MASS_STORAGE
/* DFU protocol */
#define CONFIG_USB_FUNCTION_DFU
#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_1M
#define CONFIG_SYS_DFU_MAX_FILE_SIZE SZ_32M
-#define CONFIG_CMD_DFU
#ifdef CONFIG_MMC
#define CONFIG_DFU_MMC
#endif
diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h
index b07ee5645bb..92d4dd8e519 100644
--- a/include/configs/tegra-common.h
+++ b/include/configs/tegra-common.h
@@ -137,7 +137,6 @@
#ifndef CONFIG_SPL_BUILD
#include <config_distro_defaults.h>
-#define CONFIG_CMD_EXT4_WRITE
#define CONFIG_FAT_WRITE
#endif
diff --git a/include/configs/theadorable.h b/include/configs/theadorable.h
index a5a7fae1282..1caa8588560 100644
--- a/include/configs/theadorable.h
+++ b/include/configs/theadorable.h
@@ -23,13 +23,7 @@
/*
* Commands configuration
*/
-#define CONFIG_CMD_BOOTZ
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_ENV
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_FS_GENERIC
#define CONFIG_CMD_SATA
/*
diff --git a/include/configs/thuban.h b/include/configs/thuban.h
index 077422fd324..5fed55da1c8 100644
--- a/include/configs/thuban.h
+++ b/include/configs/thuban.h
@@ -29,7 +29,6 @@
"led1=64,0,1\0"
#undef CONFIG_DOS_PARTITION
-#undef CONFIG_CMD_FAT
#define CONFIG_BOARD_LATE_INIT
diff --git a/include/configs/ti814x_evm.h b/include/configs/ti814x_evm.h
index 4dfbd82caaf..09f8e8fe5cc 100644
--- a/include/configs/ti814x_evm.h
+++ b/include/configs/ti814x_evm.h
@@ -37,7 +37,6 @@
#define CONFIG_INITRD_TAG /* for ramdisk support */
/* commands to include */
-#define CONFIG_CMD_ASKENV
#define CONFIG_VERSION_VARIABLE
#define CONFIG_BOOTDELAY 1 /* negative for no autoboot */
@@ -122,10 +121,7 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_OMAP_HSMMC
-#define CONFIG_CMD_MMC
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_EXT2
/**
* Physical Memory Map
@@ -210,7 +206,6 @@
#undef CONFIG_USE_IRQ
/* Ethernet */
-#define CONFIG_CMD_MII
#define CONFIG_DRIVER_TI_CPSW
#define CONFIG_MII
#define CONFIG_BOOTP_DNS
diff --git a/include/configs/ti816x_evm.h b/include/configs/ti816x_evm.h
index 83b745a8ccb..2e84dd27e4f 100644
--- a/include/configs/ti816x_evm.h
+++ b/include/configs/ti816x_evm.h
@@ -62,10 +62,7 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_OMAP_HSMMC
-#define CONFIG_CMD_MMC
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_EXT2
#define CONFIG_FS_FAT
diff --git a/include/configs/ti_am335x_common.h b/include/configs/ti_am335x_common.h
index 049b92a702c..bcd56fc08dc 100644
--- a/include/configs/ti_am335x_common.h
+++ b/include/configs/ti_am335x_common.h
@@ -30,7 +30,6 @@
#ifndef CONFIG_SPL_BUILD
/* Network defines. */
-#define CONFIG_CMD_MII
#define CONFIG_BOOTP_DNS /* Configurable parts of CMD_DHCP */
#define CONFIG_BOOTP_DNS2
#define CONFIG_BOOTP_SEND_HOSTNAME
diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h
index 6d77e7823cb..7db08813e49 100644
--- a/include/configs/ti_armv7_common.h
+++ b/include/configs/ti_armv7_common.h
@@ -115,7 +115,6 @@
/* MMC/SD IP block */
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_MMC
/* McSPI IP block */
#define CONFIG_SPI
@@ -168,8 +167,6 @@
#define CONFIG_CMD_MTDPARTS
#endif
-#define CONFIG_CMD_ASKENV
-#define CONFIG_CMD_BOOTZ
#define CONFIG_SUPPORT_RAW_INITRD
/*
@@ -178,11 +175,7 @@
*/
#if defined(CONFIG_MMC) || defined(CONFIG_USB_STORAGE)
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_FAT
#define CONFIG_FAT_WRITE
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_FS_GENERIC
#define CONFIG_PARTITION_UUIDS
#define CONFIG_CMD_PART
#endif
@@ -302,6 +295,5 @@
#endif
#include <config_distro_defaults.h>
-#define CONFIG_CMD_EXT4_WRITE
#endif /* __CONFIG_TI_ARMV7_COMMON_H__ */
diff --git a/include/configs/ti_armv7_keystone2.h b/include/configs/ti_armv7_keystone2.h
index ceebffb5a12..2c9028c7355 100644
--- a/include/configs/ti_armv7_keystone2.h
+++ b/include/configs/ti_armv7_keystone2.h
@@ -314,7 +314,6 @@
#undef CONFIG_SPL_EXT_SUPPORT
#undef CONFIG_MMC
#undef CONFIG_GENERIC_MMC
-#undef CONFIG_CMD_MMC
/* And no support for GPIO, yet.. */
#undef CONFIG_SPL_GPIO_SUPPORT
diff --git a/include/configs/titanium.h b/include/configs/titanium.h
index 94b2f271740..c6ba0173839 100644
--- a/include/configs/titanium.h
+++ b/include/configs/titanium.h
@@ -41,7 +41,6 @@
#define CONFIG_SYS_FSL_ESDHC_ADDR 0
#define CONFIG_SYS_FSL_USDHC_NUM 1
-#define CONFIG_CMD_MII
#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 439a4fd2ef0..badb955241d 100644
--- a/include/configs/tqma6.h
+++ b/include/configs/tqma6.h
@@ -97,8 +97,6 @@
#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET /* For OTG port */
-#define CONFIG_CMD_MII
-
#define CONFIG_FEC_MXC
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_PHYLIB
diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h
index 2514e88e49b..855d789c18e 100644
--- a/include/configs/tricorder.h
+++ b/include/configs/tricorder.h
@@ -146,9 +146,6 @@
#define CONFIG_SYS_NAND_MAX_ECCPOS 56
/* commands to include */
-#define CONFIG_CMD_EXT2 /* EXT2 Support */
-#define CONFIG_CMD_FAT /* FAT support */
-#define CONFIG_CMD_MMC /* MMC support */
#define CONFIG_CMD_MTDPARTS /* Enable MTD parts commands */
#define CONFIG_CMD_NAND /* NAND support */
#define CONFIG_CMD_NAND_LOCK_UNLOCK /* nand (un)lock commands */
diff --git a/include/configs/trimslice.h b/include/configs/trimslice.h
index b763eec0e61..b761640b8fb 100644
--- a/include/configs/trimslice.h
+++ b/include/configs/trimslice.h
@@ -31,7 +31,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_TEGRA_MMC
-#define CONFIG_CMD_MMC
/* Environment in SPI */
#define CONFIG_ENV_IS_IN_SPI_FLASH
diff --git a/include/configs/ts4800.h b/include/configs/ts4800.h
index 7dc744385ed..aa0605f28d7 100644
--- a/include/configs/ts4800.h
+++ b/include/configs/ts4800.h
@@ -64,9 +64,7 @@
#define CONFIG_MMC
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
/*
@@ -81,8 +79,6 @@
#define CONFIG_ETHPRIME "FEC"
#define CONFIG_FEC_MXC_PHYADDR 0
-#define CONFIG_CMD_MII
-
/* allow to overwrite serial and ethaddr */
#define CONFIG_ENV_OVERWRITE /* disable vendor parameters protection (serial#, ethaddr) */
#define CONFIG_CONS_INDEX 1 /* use UART0 : used by serial driver */
@@ -92,8 +88,6 @@
* Command definition
***********************************************************/
-#define CONFIG_CMD_BOOTZ
-
/* Environment variables */
#define CONFIG_BOOTDELAY 1
diff --git a/include/configs/tseries.h b/include/configs/tseries.h
index e73bc83e8cf..b6a1ae0554a 100644
--- a/include/configs/tseries.h
+++ b/include/configs/tseries.h
@@ -46,7 +46,6 @@
#define CONFIG_CMDLINE_TAG
#define CONFIG_SETUP_MEMORY_TAGS
#define CONFIG_INITRD_TAG
-#define CONFIG_CMD_BOOTZ
/*#define CONFIG_MACH_TYPE 3589*/
#define CONFIG_MACH_TYPE 0xFFFFFFFF /* TODO: check with kernel*/
@@ -55,7 +54,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_OMAP_HSMMC
- #define CONFIG_CMD_MMC
#define CONFIG_SUPPORT_EMMC_BOOT
/* RAW SD card / eMMC locations. */
#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x300 /*addr. 0x60000 */
@@ -299,13 +297,9 @@ MMCARGS
*/
#if defined(CONFIG_MMC) || defined(CONFIG_USB_STORAGE)
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_FAT
#define CONFIG_FAT_WRITE
#define CONFIG_FS_EXT4
#define CONFIG_EXT4_WRITE
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_EXT4_WRITE
-#define CONFIG_CMD_FS_GENERIC
#endif /* CONFIG_MMC, ... */
#endif /* ! __CONFIG_TSERIES_H__ */
diff --git a/include/configs/udoo.h b/include/configs/udoo.h
index 4437700b577..fba78d01c33 100644
--- a/include/configs/udoo.h
+++ b/include/configs/udoo.h
@@ -41,7 +41,6 @@
/* Network support */
-#define CONFIG_CMD_MII
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
index 8ecfc6f7cf6..18cb9638447 100644
--- a/include/configs/uniphier.h
+++ b/include/configs/uniphier.h
@@ -133,12 +133,10 @@
/* USB */
#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 4
-#define CONFIG_CMD_FAT
#define CONFIG_FAT_WRITE
#define CONFIG_DOS_PARTITION
/* SD/MMC */
-#define CONFIG_CMD_MMC
#define CONFIG_SUPPORT_EMMC_BOOT
#define CONFIG_GENERIC_MMC
@@ -193,7 +191,6 @@
#define KERNEL_SIZE "kernel_size=0x00c00000\0"
#define RAMDISK_ADDR "ramdisk_addr=0x00e00000\0"
#else
-#define CONFIG_CMD_BOOTZ
#define CONFIG_BOOTFILE "zImage"
#define LINUXBOOT_CMD "bootz"
#define KERNEL_ADDR_R "kernel_addr_r=0x80208000\0"
diff --git a/include/configs/usb_a9263.h b/include/configs/usb_a9263.h
index 2202d98f33f..d118928ebdd 100644
--- a/include/configs/usb_a9263.h
+++ b/include/configs/usb_a9263.h
@@ -113,7 +113,6 @@
#define CONFIG_SYS_USB_OHCI_SLOT_NAME "at91sam9263"
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
#define CONFIG_USB_STORAGE
-#define CONFIG_CMD_FAT
#endif
#define CONFIG_SYS_LOAD_ADDR 0x22000000
diff --git a/include/configs/usbarmory.h b/include/configs/usbarmory.h
index d23674c74bb..8568663c036 100644
--- a/include/configs/usbarmory.h
+++ b/include/configs/usbarmory.h
@@ -45,7 +45,6 @@
#define CONFIG_BAUDRATE 115200
/* SD/MMC */
-#define CONFIG_CMD_MMC
#define CONFIG_FSL_ESDHC
#define CONFIG_SYS_FSL_ESDHC_ADDR 0
#define CONFIG_SYS_FSL_ESDHC_NUM 1
diff --git a/include/configs/v38b.h b/include/configs/v38b.h
index c8cc842ab85..9a113f4e32d 100644
--- a/include/configs/v38b.h
+++ b/include/configs/v38b.h
@@ -84,15 +84,12 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_IDE
#define CONFIG_CMD_DIAG
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_JFFS2
-#define CONFIG_CMD_MII
#define CONFIG_CMD_SDRAM
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_FAT
#define CONFIG_TIMESTAMP /* Print image info with timestamp */
diff --git a/include/configs/vct.h b/include/configs/vct.h
index 679cd7481cc..6489e08173c 100644
--- a/include/configs/vct.h
+++ b/include/configs/vct.h
@@ -97,7 +97,6 @@
*/
#if (defined(CONFIG_VCT_PREMIUM) || defined(CONFIG_VCT_PLATINUM)) && \
!defined(CONFIG_VCT_SMALL_IMAGE)
-#define CONFIG_CMD_FAT
#endif
#if defined(CONFIG_CMD_USB)
@@ -276,15 +275,11 @@ int vct_gpio_get(int pin);
* (NOR/OneNAND) usage and Linux kernel booting.
*/
#if defined(CONFIG_VCT_SMALL_IMAGE)
-#undef CONFIG_CMD_ASKENV
#undef CONFIG_CMD_BEDBUG
-#undef CONFIG_CMD_CACHE
#undef CONFIG_CMD_EEPROM
#undef CONFIG_CMD_EEPROM
-#undef CONFIG_CMD_FAT
#undef CONFIG_CMD_IRQ
#undef CONFIG_CMD_LOADY
-#undef CONFIG_CMD_MII
#undef CONFIG_CMD_REGINFO
#undef CONFIG_CMD_STRINGS
#undef CONFIG_CMD_TERMINAL
diff --git a/include/configs/ve8313.h b/include/configs/ve8313.h
index 59bf2b314e4..2425ebf6693 100644
--- a/include/configs/ve8313.h
+++ b/include/configs/ve8313.h
@@ -320,7 +320,6 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_MII
#define CONFIG_CMD_PCI
#define CONFIG_CMDLINE_EDITING 1
diff --git a/include/configs/venice2.h b/include/configs/venice2.h
index f413f402358..1d24437cba1 100644
--- a/include/configs/venice2.h
+++ b/include/configs/venice2.h
@@ -26,7 +26,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_TEGRA_MMC
-#define CONFIG_CMD_MMC
/* Environment in eMMC, at the end of 2nd "boot sector" */
#define CONFIG_ENV_IS_IN_MMC
diff --git a/include/configs/ventana.h b/include/configs/ventana.h
index 5c2fe9bf0ec..cdf50e30bab 100644
--- a/include/configs/ventana.h
+++ b/include/configs/ventana.h
@@ -24,7 +24,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_TEGRA_MMC
-#define CONFIG_CMD_MMC
/* Environment in eMMC, at the end of 2nd "boot sector" */
#define CONFIG_ENV_IS_IN_MMC
diff --git a/include/configs/vexpress_aemv8a.h b/include/configs/vexpress_aemv8a.h
index a7e11955fb1..1b5fc2ee821 100644
--- a/include/configs/vexpress_aemv8a.h
+++ b/include/configs/vexpress_aemv8a.h
@@ -134,13 +134,10 @@
/* Command line configuration */
#define CONFIG_MENU
/*#define CONFIG_MENU_SHOW*/
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_BOOTI
#define CONFIG_CMD_UNZIP
#define CONFIG_CMD_PXE
#define CONFIG_CMD_ENV
-#define CONFIG_CMD_MII
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
/* BOOTP options */
diff --git a/include/configs/vexpress_common.h b/include/configs/vexpress_common.h
index 67379fd208f..6dc8f25b909 100644
--- a/include/configs/vexpress_common.h
+++ b/include/configs/vexpress_common.h
@@ -153,7 +153,6 @@
#define CONFIG_SYS_SERIAL1 V2M_UART1
#define CONFIG_MMC 1
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_ARM_PL180_MMCI
#define CONFIG_ARM_PL180_MMCI_BASE V2M_MMCI
diff --git a/include/configs/vf610twr.h b/include/configs/vf610twr.h
index d8c45dec92a..b240613bb55 100644
--- a/include/configs/vf610twr.h
+++ b/include/configs/vf610twr.h
@@ -77,12 +77,9 @@
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
-#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_MII
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
@@ -267,6 +264,4 @@
#define CONFIG_ENV_OFFSET 0x180000
#endif
-#define CONFIG_CMD_BOOTZ
-
#endif
diff --git a/include/configs/vinco.h b/include/configs/vinco.h
index b0737e79b4f..35fe9de146a 100644
--- a/include/configs/vinco.h
+++ b/include/configs/vinco.h
@@ -54,7 +54,6 @@
#endif
/* MMC */
-#define CONFIG_CMD_MMC
#ifdef CONFIG_CMD_MMC
#define CONFIG_SUPPORT_EMMC_BOOT
@@ -87,12 +86,10 @@
#define CONFIG_USBNET_MANUFACTURER "L+G VInCo"
#if defined(CONFIG_CMD_USB) || defined(CONFIG_CMD_MMC)
-#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION
#endif
/* Ethernet Hardware */
-#define CONFIG_CMD_MII
#define CONFIG_PHY_SMSC
#define CONFIG_MACB
#define CONFIG_RMII
diff --git a/include/configs/vme8349.h b/include/configs/vme8349.h
index f9e6a8d713e..732d0915832 100644
--- a/include/configs/vme8349.h
+++ b/include/configs/vme8349.h
@@ -347,7 +347,6 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_MII
#define CONFIG_CMD_DATE
#define CONFIG_SYS_RTC_BUS_NUM 0x01
#define CONFIG_SYS_I2C_RTC_ADDR 0x32
diff --git a/include/configs/wandboard.h b/include/configs/wandboard.h
index 7898a812dfd..99f5c0cc52b 100644
--- a/include/configs/wandboard.h
+++ b/include/configs/wandboard.h
@@ -55,7 +55,6 @@
#define CONFIG_MXC_USB_FLAGS 0
/* Ethernet Configuration */
-#define CONFIG_CMD_MII
#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 42b728aa823..4a8e270aeab 100644
--- a/include/configs/warp.h
+++ b/include/configs/warp.h
@@ -75,10 +75,8 @@
#define CONFIG_USBD_HS
-#define CONFIG_CMD_USB_MASS_STORAGE
#define CONFIG_USB_FUNCTION_MASS_STORAGE
-#define CONFIG_CMD_DFU
#define CONFIG_USB_FUNCTION_DFU
#define CONFIG_DFU_MMC
#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_16M
diff --git a/include/configs/warp7.h b/include/configs/warp7.h
index 8c72178ebc5..4dfcd28eaf6 100644
--- a/include/configs/warp7.h
+++ b/include/configs/warp7.h
@@ -133,7 +133,6 @@
#define CONFIG_USB_GADGET_DUALSPEED
#define CONFIG_USB_GADGET
-#define CONFIG_CMD_USB_MASS_STORAGE
#define CONFIG_USB_FUNCTION_MASS_STORAGE
#define CONFIG_USB_GADGET_DOWNLOAD
#define CONFIG_USB_GADGET_VBUS_DRAW 2
@@ -143,7 +142,6 @@
#define CONFIG_G_DNL_MANUFACTURER "FSL"
/* USB Device Firmware Update support */
-#define CONFIG_CMD_DFU
#define CONFIG_USB_FUNCTION_DFU
#define CONFIG_DFU_MMC
#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_16M
diff --git a/include/configs/whistler.h b/include/configs/whistler.h
index a5cd38b466d..9c194d5d397 100644
--- a/include/configs/whistler.h
+++ b/include/configs/whistler.h
@@ -28,7 +28,6 @@
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_TEGRA_MMC
-#define CONFIG_CMD_MMC
/*
* Environment in eMMC, at the end of 2nd "boot sector". Note: This assumes
diff --git a/include/configs/woodburn_common.h b/include/configs/woodburn_common.h
index af6cbe45df8..a4ae304ade4 100644
--- a/include/configs/woodburn_common.h
+++ b/include/configs/woodburn_common.h
@@ -89,15 +89,9 @@
#define CONFIG_BOOTP_DNS
#define CONFIG_CMD_NAND
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_MII
-
-#define CONFIG_CMD_MMC
#define CONFIG_DOS_PARTITION
#define CONFIG_EFI_PARTITION
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
#define CONFIG_MXC_GPIO
diff --git a/include/configs/work_92105.h b/include/configs/work_92105.h
index c59688ce3dc..b81b6ff1faf 100644
--- a/include/configs/work_92105.h
+++ b/include/configs/work_92105.h
@@ -63,7 +63,6 @@
#define CONFIG_PHYLIB
#define CONFIG_PHY_ADDR 0
#define CONFIG_SYS_FAULT_ECHO_LINK_DOWN
-#define CONFIG_CMD_MII
/* FIXME: remove "Waiting for PHY auto negotiation to complete..." message */
/*
diff --git a/include/configs/x600.h b/include/configs/x600.h
index 265d710d0e7..d7da0b295b6 100644
--- a/include/configs/x600.h
+++ b/include/configs/x600.h
@@ -109,13 +109,9 @@
/*
* Command support defines
*/
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_DATE
#define CONFIG_CMD_ENV
-#define CONFIG_CMD_FAT
#define CONFIG_CMD_FPGA_LOADMK
-#define CONFIG_CMD_FS_GENERIC
-#define CONFIG_CMD_MII
#define CONFIG_CMD_MTDPARTS
#define CONFIG_CMD_NAND
#define CONFIG_CMD_SAVES
diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h
index c72ae72d31c..a2822e01146 100644
--- a/include/configs/x86-common.h
+++ b/include/configs/x86-common.h
@@ -84,8 +84,6 @@
#ifdef CONFIG_SYS_COREBOOT
#define CONFIG_CMD_CBFS
#endif
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_EXT4_WRITE
#define CONFIG_PARTITION_UUIDS
#define CONFIG_SYS_CONSOLE_INFO_QUIET
@@ -97,7 +95,6 @@
* Command line configuration.
*/
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_FS_GENERIC
#define CONFIG_CMD_FPGA_LOADMK
#define CONFIG_CMD_IO
#define CONFIG_CMD_IRQ
@@ -105,9 +102,6 @@
#define CONFIG_CMD_GETTIME
#define CONFIG_CMD_SCSI
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_EXT2
-
#define CONFIG_CMD_ZBOOT
#define CONFIG_BOOTARGS \
diff --git a/include/configs/xfi3.h b/include/configs/xfi3.h
index 8d5ea48238d..4d68c21ae05 100644
--- a/include/configs/xfi3.h
+++ b/include/configs/xfi3.h
@@ -14,10 +14,6 @@
#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_MMC
#define CONFIG_VIDEO
/* Memory configuration */
diff --git a/include/configs/xilinx-ppc.h b/include/configs/xilinx-ppc.h
index 3ab8eab30e3..067cfa69f2f 100644
--- a/include/configs/xilinx-ppc.h
+++ b/include/configs/xilinx-ppc.h
@@ -24,8 +24,6 @@
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 128 * 1024)
/*Cmd*/
-#define CONFIG_CMD_ASKENV
-#define CONFIG_CMD_CACHE
#define CONFIG_CMD_DIAG
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_REGINFO
diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h
index be43aa62746..fe9c71947d8 100644
--- a/include/configs/xilinx_zynqmp.h
+++ b/include/configs/xilinx_zynqmp.h
@@ -63,16 +63,10 @@
/* Command line configuration */
#define CONFIG_CMD_ENV
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_EXT4
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_FS_GENERIC
#define CONFIG_DOS_PARTITION
#define CONFIG_EFI_PARTITION
#define CONFIG_MP
-#define CONFIG_CMD_MII
-
/* BOOTP options */
#define CONFIG_BOOTP_BOOTFILESIZE
#define CONFIG_BOOTP_BOOTPATH
@@ -89,7 +83,6 @@
# define CONFIG_MMC
# define CONFIG_GENERIC_MMC
# define CONFIG_SDHCI
-# define CONFIG_CMD_MMC
# ifndef CONFIG_ZYNQ_SDHCI_MAX_FREQ
# define CONFIG_ZYNQ_SDHCI_MAX_FREQ 200000000
# endif
@@ -97,7 +90,6 @@
#if defined(CONFIG_ZYNQ_SDHCI) || defined(CONFIG_ZYNQMP_USB)
# define CONFIG_FAT_WRITE
-# define CONFIG_CMD_EXT4_WRITE
#endif
#ifdef CONFIG_NAND_ARASAN
@@ -125,7 +117,6 @@
#define CONFIG_USB_FUNCTION_DFU
#define CONFIG_DFU_RAM
#define CONFIG_USB_CABLE_CHECK
-#define CONFIG_CMD_DFU
#define CONFIG_CMD_THOR_DOWNLOAD
#define CONFIG_USB_FUNCTION_THOR
#define CONFIG_THOR_RESET_OFF
diff --git a/include/configs/xpedite1000.h b/include/configs/xpedite1000.h
index f707f5786a7..9838fbfa2e0 100644
--- a/include/configs/xpedite1000.h
+++ b/include/configs/xpedite1000.h
@@ -180,12 +180,10 @@ extern void out32(unsigned int, unsigned long);
/*
* Command configuration
*/
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DATE
#define CONFIG_CMD_EEPROM
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_JFFS2
-#define CONFIG_CMD_MII
#define CONFIG_CMD_PCI
/*
diff --git a/include/configs/xpedite517x.h b/include/configs/xpedite517x.h
index d7e696eae9b..af02efbdef7 100644
--- a/include/configs/xpedite517x.h
+++ b/include/configs/xpedite517x.h
@@ -511,7 +511,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
/*
* Command configuration.
*/
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DATE
#define CONFIG_CMD_DS4510
#define CONFIG_CMD_DS4510_INFO
@@ -519,7 +518,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
#define CONFIG_CMD_EEPROM
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_JFFS2
-#define CONFIG_CMD_MII
#define CONFIG_CMD_NAND
#define CONFIG_CMD_PCA953X
#define CONFIG_CMD_PCA953X_INFO
diff --git a/include/configs/xpedite520x.h b/include/configs/xpedite520x.h
index 09f0c3fe503..d1847ac2e8c 100644
--- a/include/configs/xpedite520x.h
+++ b/include/configs/xpedite520x.h
@@ -297,11 +297,9 @@
/*
* Command configuration.
*/
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DATE
#define CONFIG_CMD_EEPROM
#define CONFIG_CMD_JFFS2
-#define CONFIG_CMD_MII
#define CONFIG_CMD_NAND
#define CONFIG_CMD_PCA953X
#define CONFIG_CMD_PCA953X_INFO
diff --git a/include/configs/xpedite537x.h b/include/configs/xpedite537x.h
index 1946bb984c6..a1c5826f7ba 100644
--- a/include/configs/xpedite537x.h
+++ b/include/configs/xpedite537x.h
@@ -366,14 +366,12 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
/*
* Command configuration.
*/
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DATE
#define CONFIG_CMD_DS4510
#define CONFIG_CMD_DS4510_INFO
#define CONFIG_CMD_DTT
#define CONFIG_CMD_EEPROM
#define CONFIG_CMD_JFFS2
-#define CONFIG_CMD_MII
#define CONFIG_CMD_NAND
#define CONFIG_CMD_PCA953X
#define CONFIG_CMD_PCA953X_INFO
diff --git a/include/configs/xpedite550x.h b/include/configs/xpedite550x.h
index 3aa21ebb319..02685ca1a82 100644
--- a/include/configs/xpedite550x.h
+++ b/include/configs/xpedite550x.h
@@ -352,12 +352,10 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
/*
* Command configuration.
*/
-#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_DATE
#define CONFIG_CMD_DTT
#define CONFIG_CMD_EEPROM
#define CONFIG_CMD_JFFS2
-#define CONFIG_CMD_MII
#define CONFIG_CMD_NAND
#define CONFIG_CMD_PCA953X
#define CONFIG_CMD_PCA953X_INFO
diff --git a/include/configs/xpress.h b/include/configs/xpress.h
index 9a0aac5f1e6..4625dafd88b 100644
--- a/include/configs/xpress.h
+++ b/include/configs/xpress.h
@@ -75,9 +75,7 @@
#define CONFIG_SYS_MMC_ENV_PART 1 /* boot parition */
#define CONFIG_MMCROOT "/dev/mmcblk0p2" /* USDHC2 */
-#define CONFIG_CMD_BOOTZ
#define CONFIG_CMD_BMODE
-#define CONFIG_CMD_CACHE
/* USB Configs */
#define CONFIG_USB_EHCI
@@ -90,7 +88,6 @@
#define CONFIG_FEC_MXC
#define CONFIG_MII
-#define CONFIG_CMD_MII
#define CONFIG_FEC_ENET_DEV 0
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x0
diff --git a/include/configs/yosemite.h b/include/configs/yosemite.h
index 37f7a07f990..03cad101f62 100644
--- a/include/configs/yosemite.h
+++ b/include/configs/yosemite.h
@@ -193,8 +193,6 @@
#define CONFIG_CMD_PCI
#ifdef CONFIG_440EP
- #define CONFIG_CMD_FAT
- #define CONFIG_CMD_EXT2
#endif
/*-----------------------------------------------------------------------
diff --git a/include/configs/zipitz2.h b/include/configs/zipitz2.h
index 81de2280b78..fcd77726429 100644
--- a/include/configs/zipitz2.h
+++ b/include/configs/zipitz2.h
@@ -59,8 +59,6 @@
* Bootloader Components Configuration
*/
#define CONFIG_CMD_ENV
-#define CONFIG_CMD_MMC
-#define CONFIG_CMD_CACHE
/*
* MMC Card Configuration
@@ -70,8 +68,6 @@
#define CONFIG_GENERIC_MMC
#define CONFIG_PXA_MMC_GENERIC
#define CONFIG_SYS_MMC_BASE 0xF0000000
-#define CONFIG_CMD_FAT
-#define CONFIG_CMD_EXT2
#define CONFIG_DOS_PARTITION
#endif
diff --git a/include/configs/zmx25.h b/include/configs/zmx25.h
index 72c6c0aa438..264bb63c069 100644
--- a/include/configs/zmx25.h
+++ b/include/configs/zmx25.h
@@ -75,12 +75,10 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_CACHE
/*
* Additional command
*/
-#define CONFIG_CMD_FAT
/*
* USB
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index 4f49ba80532..a3e4aecb571 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -16,7 +16,6 @@
#endif
/* Cache options */
-#define CONFIG_CMD_CACHE
#define CONFIG_SYS_CACHELINE_SIZE 32
#define CONFIG_SYS_L2CACHE_OFF
@@ -84,7 +83,6 @@
# define CONFIG_MMC
# define CONFIG_GENERIC_MMC
# define CONFIG_SDHCI
-# define CONFIG_CMD_MMC
# define CONFIG_ZYNQ_SDHCI_MAX_FREQ 52000000
#endif
@@ -100,7 +98,6 @@
# define CONFIG_USB_FUNCTION_DFU
# define CONFIG_DFU_RAM
# define CONFIG_USB_CABLE_CHECK
-# define CONFIG_CMD_DFU
# define CONFIG_CMD_THOR_DOWNLOAD
# define CONFIG_THOR_RESET_OFF
# define CONFIG_USB_FUNCTION_THOR
@@ -139,13 +136,8 @@
#if defined(CONFIG_ZYNQ_SDHCI) || defined(CONFIG_ZYNQ_USB)
# define CONFIG_SUPPORT_VFAT
-# define CONFIG_CMD_FAT
-# define CONFIG_CMD_EXT2
# define CONFIG_FAT_WRITE
# define CONFIG_DOS_PARTITION
-# define CONFIG_CMD_EXT4
-# define CONFIG_CMD_EXT4_WRITE
-# define CONFIG_CMD_FS_GENERIC
#endif
#if defined(CONFIG_ZYNQ_I2C0) || defined(CONFIG_ZYNQ_I2C1)
@@ -303,7 +295,6 @@
#define CONFIG_SYS_LDSCRIPT "arch/arm/mach-zynq/u-boot.lds"
/* Commands */
-#define CONFIG_CMD_MII
/* SPL part */
#define CONFIG_CMD_SPL