[PATCH v2 00/42] Kconfig: Convert remaining commands to Kconfig

classic Classic list List threaded Threaded
140 messages Options
1234 ... 7
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH v2 00/42] Kconfig: Convert remaining commands to Kconfig

Simon Glass-3
This series converts the remaining commands (starting from M and ending at
Z) to Kconfig. This completes the Kconfig conversion of commands.

Note that for v2 I dropped my CMD_REGINFO patch and picked up one from
Christophe Leroy [1] since it was marked as accepted.

[1] http://patchwork.ozlabs.org/patch/787724/

Changes in v2:
- Add a note about dropping CMD_UNIVERSE
- Add new patch to resync with savedefconfig
- Add new patch to sort the device-access commands
- Add new patch to sort the memory commands
- Drop include/sx151x.h also
- Drop mention of this from several other places
- Drop patch to convert CONFIG_CMD_MTDPARTS to Kconfig (already done)
- Drop unwanted 'CONFIG_CMD_SPL_NAND_OFS=0x0' lines in defconfig
- Fix indentation for CMD_PCI
- Fix typos in help
- Fix up microblaze-generic, gw_ventana, ipam390
- Fixed lots of merge conflicts with my series
- Make X86 imply CMD_SF_TEST (except for efi-x86 which fails)
- Make this 'default y' and drop defconfig file changes
- Move CMD_PORTIO changes in from the CMD_READ patch
- Move CMD_PORTIO changes to previous patch
- Pull in this patch from http://patchwork.ozlabs.org/patch/787724/ instead
- Put Kconfig change in alphabetical order
- Remove some now-superfluous /* commands */ comments in header files
- Rename the option to include 'zimageboot'
- Sort Kconfig options in alphabetical order
- Update commit message to explain Makefile change
- Update edison also

Christophe Leroy (1):
  Convert CONFIG_CMD_REGINFO to Kconfig

Simon Glass (41):
  configs: Resync with savedefconfig
  Convert CONFIG_CMD_MAX6957 to Kconfig
  Kconfig: Drop CONFIG_CMD_MEM
  Kconfig: Sort the device-access commands
  Convert CONFIG_CMD_MMC_SPI to Kconfig
  Convert CONFIG_CMD_MTDPARTS_SPREAD to Kconfig
  Convert CONFIG_CMD_ONENAND to Kconfig
  Convert CONFIG_CMD_PCA953X to Kconfig
  Kconfig: Drop CONFIG_CMD_PCA953X_INFO
  Convert CONFIG_CMD_PCI to Kconfig
  Kconfig: Drop CONFIG_CMD_PCI_ENUM
  Kconfig; Drop CONFIG_IDE_TI_CARDBUS and associated driver
  Convert CONFIG_CMD_PCMCIA to Kconfig
  Kconfig: Drop CONFIG_CMD_PORTIO and associated command
  Kconfig: Convert CMD_READ to Kconfig
  Convert CONFIG_CMD_REISER to Kconfig
  Kconfig: sandbox: Drop CONFIG_CMD_SANDBOX option
  Convert CONFIG_CMD_SAVES to Kconfig
  Convert CONFIG_CMD_SCSI to Kconfig
  Convert CONFIG_CMD_SDRAM to Kconfig
  Convert CONFIG_CMD_SF_TEST to Kconfig
  Convert CONFIG_CMD_SH_ZIMAGEBOOT to Kconfig
  Convert CONFIG_CMD_SPL to Kconfig
  Convert CONFIG_CMD_SPL_NAND_OFS to Kconfig
  Convert CONFIG_CMD_SPL_WRITE_SIZE to Kconfig
  Kconfig: Sort the memory commands
  Convert CONFIG_CMD_STRINGS to Kconfig
  gpio: Drop sx151x driver
  Convert CONFIG_CMD_TCA642X to Kconfig
  Convert CONFIG_CMD_TERMINAL to Kconfig
  Kconfig: Drop CONFIG_CMD_TFTP
  Convert CONFIG_CMD_THOR_DOWNLOAD to Kconfig
  Convert CONFIG_CMD_YAFFS2 to Kconfig
  Convert CONFIG_CMD_TRACE to Kconfig
  Convert CONFIG_CMD_TSI148 to Kconfig
  Convert CONFIG_CMD_UNIVERSE to Kconfig
  Convert CONFIG_CMD_UUID to Kconfig
  Convert CONFIG_CMD_ZBOOT to Kconfig
  Convert CONFIG_CMD_ZFS to Kconfig
  Drop config_cmd_all.h
  README: Drop information about commands

 README                                             | 144 +----
 arch/Kconfig                                       |   3 +
 arch/arm/Kconfig                                   |  10 +
 arch/arm/cpu/armv7/ls102xa/Kconfig                 |   1 +
 arch/arm/cpu/armv8/fsl-layerscape/Kconfig          |   1 +
 arch/arm/mach-imx/mx6/Kconfig                      |   1 +
 arch/arm/mach-omap2/am33xx/Kconfig                 |   1 +
 arch/powerpc/Kconfig                               |   3 +
 arch/powerpc/cpu/mpc83xx/Kconfig                   |   1 +
 arch/powerpc/cpu/mpc85xx/Kconfig                   |   6 +
 arch/sh/Kconfig                                    |   2 +
 arch/sh/lib/Kconfig                                |   6 +
 board/work-microwave/work_92105/Kconfig            |   7 +
 cmd/Kconfig                                        | 501 ++++++++++++-----
 cmd/Makefile                                       |   5 +-
 cmd/fastboot/Kconfig                               |   2 +
 cmd/pci.c                                          |   4 +-
 cmd/portio.c                                       | 145 -----
 cmd/read.c                                         |   2 +-
 configs/A10-OLinuXino-Lime_defconfig               |   2 +-
 configs/A20-OLinuXino-Lime2_defconfig              |   2 +-
 configs/A20-OLinuXino-Lime_defconfig               |   2 +-
 configs/A20-OLinuXino_MICRO_defconfig              |   2 +-
 configs/A20-Olimex-SOM-EVB_defconfig               |   2 +-
 configs/Bananapi_M2_Ultra_defconfig                |   2 +-
 configs/Bananapi_defconfig                         |   2 +-
 configs/Bananapro_defconfig                        |   2 +-
 configs/Cubieboard2_defconfig                      |   2 +-
 configs/Cubieboard_defconfig                       |   2 +-
 configs/Cubietruck_defconfig                       |   2 +-
 configs/Itead_Ibox_A20_defconfig                   |   2 +-
 configs/Lamobo_R1_defconfig                        |   2 +-
 configs/Linksprite_pcDuino3_Nano_defconfig         |   2 +-
 configs/Linksprite_pcDuino3_defconfig              |   3 -
 configs/M5235EVB_Flash32_defconfig                 |   1 +
 configs/M5235EVB_defconfig                         |   1 +
 configs/M5475AFE_defconfig                         |   1 +
 configs/M5475BFE_defconfig                         |   1 +
 configs/M5475CFE_defconfig                         |   1 +
 configs/M5475DFE_defconfig                         |   1 +
 configs/M5475EFE_defconfig                         |   1 +
 configs/M5475FFE_defconfig                         |   1 +
 configs/M5475GFE_defconfig                         |   1 +
 configs/M5485AFE_defconfig                         |   1 +
 configs/M5485BFE_defconfig                         |   1 +
 configs/M5485CFE_defconfig                         |   1 +
 configs/M5485DFE_defconfig                         |   1 +
 configs/M5485EFE_defconfig                         |   1 +
 configs/M5485FFE_defconfig                         |   1 +
 configs/M5485GFE_defconfig                         |   1 +
 configs/M5485HFE_defconfig                         |   1 +
 configs/MPC8308RDB_defconfig                       |   1 +
 configs/MPC8313ERDB_33_defconfig                   |   1 +
 configs/MPC8313ERDB_66_defconfig                   |   1 +
 configs/MPC8313ERDB_NAND_33_defconfig              |   1 +
 configs/MPC8313ERDB_NAND_66_defconfig              |   1 +
 configs/MPC8315ERDB_defconfig                      |   1 +
 configs/MPC8323ERDB_defconfig                      |   1 +
 configs/MPC832XEMDS_HOST_33_defconfig              |   1 +
 configs/MPC832XEMDS_HOST_66_defconfig              |   1 +
 configs/MPC832XEMDS_SLAVE_defconfig                |   1 +
 configs/MPC8349ITXGP_defconfig                     |   2 +
 configs/MPC8349ITX_LOWBOOT_defconfig               |   2 +
 configs/MPC8349ITX_defconfig                       |   2 +
 configs/MPC837XEMDS_HOST_defconfig                 |   1 +
 configs/MPC837XERDB_defconfig                      |   1 +
 configs/MPC8536DS_36BIT_defconfig                  |   1 +
 configs/MPC8536DS_SDCARD_defconfig                 |   1 +
 configs/MPC8536DS_SPIFLASH_defconfig               |   1 +
 configs/MPC8536DS_defconfig                        |   1 +
 configs/MPC8541CDS_defconfig                       |   1 +
 configs/MPC8541CDS_legacy_defconfig                |   1 +
 configs/MPC8544DS_defconfig                        |   3 +-
 configs/MPC8548CDS_36BIT_defconfig                 |   1 +
 configs/MPC8548CDS_defconfig                       |   1 +
 configs/MPC8548CDS_legacy_defconfig                |   1 +
 configs/MPC8555CDS_defconfig                       |   1 +
 configs/MPC8555CDS_legacy_defconfig                |   1 +
 configs/MPC8568MDS_defconfig                       |   1 +
 configs/MPC8569MDS_ATM_defconfig                   |   1 +
 configs/MPC8569MDS_defconfig                       |   1 +
 configs/MPC8572DS_36BIT_defconfig                  |   1 +
 configs/MPC8572DS_defconfig                        |   1 +
 configs/MPC8610HPCD_defconfig                      |   3 +-
 configs/MPC8641HPCN_36BIT_defconfig                |   1 +
 configs/MPC8641HPCN_defconfig                      |   1 +
 configs/Marsboard_A10_defconfig                    |   2 +-
 configs/Mele_A1000_defconfig                       |   2 +-
 configs/Mele_M5_defconfig                          |   2 +-
 configs/MigoR_defconfig                            |   1 +
 configs/Orangepi_defconfig                         |   2 +-
 configs/Orangepi_mini_defconfig                    |   2 +-
 configs/P1021RDB-PC_36BIT_NAND_defconfig           |   1 +
 configs/P1021RDB-PC_36BIT_SDCARD_defconfig         |   1 +
 configs/P1021RDB-PC_36BIT_SPIFLASH_defconfig       |   1 +
 configs/P1021RDB-PC_36BIT_defconfig                |   1 +
 configs/P1021RDB-PC_NAND_defconfig                 |   1 +
 configs/P1021RDB-PC_SDCARD_defconfig               |   1 +
 configs/P1021RDB-PC_SPIFLASH_defconfig             |   1 +
 configs/P1021RDB-PC_defconfig                      |   1 +
 configs/P1022DS_36BIT_NAND_defconfig               |   1 +
 configs/P1022DS_36BIT_SDCARD_defconfig             |   1 +
 configs/P1022DS_36BIT_SPIFLASH_defconfig           |   1 +
 configs/P1022DS_36BIT_defconfig                    |   1 +
 configs/P1022DS_NAND_defconfig                     |   1 +
 configs/P1022DS_SDCARD_defconfig                   |   1 +
 configs/P1022DS_SPIFLASH_defconfig                 |   1 +
 configs/P1022DS_defconfig                          |   1 +
 configs/P1023RDB_defconfig                         |   1 +
 configs/P1025RDB_36BIT_defconfig                   |   1 +
 configs/P1025RDB_NAND_defconfig                    |   1 +
 configs/P1025RDB_SDCARD_defconfig                  |   1 +
 configs/P1025RDB_SPIFLASH_defconfig                |   1 +
 configs/P1025RDB_defconfig                         |   1 +
 configs/P2020RDB-PC_36BIT_NAND_defconfig           |   1 +
 configs/P2020RDB-PC_36BIT_SDCARD_defconfig         |   1 +
 configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig       |   1 +
 configs/P2020RDB-PC_36BIT_defconfig                |   1 +
 configs/P2020RDB-PC_NAND_defconfig                 |   1 +
 configs/P2020RDB-PC_SDCARD_defconfig               |   1 +
 configs/P2020RDB-PC_SPIFLASH_defconfig             |   1 +
 configs/P2020RDB-PC_defconfig                      |   1 +
 configs/TQM834x_defconfig                          |   1 +
 configs/TWR-P1025_defconfig                        |   1 +
 configs/UCP1020_SPIFLASH_defconfig                 |   1 +
 configs/UCP1020_defconfig                          |   1 +
 configs/Wits_Pro_A20_DKT_defconfig                 |   2 +-
 configs/alt_defconfig                              |   1 +
 configs/am335x_boneblack_defconfig                 |   1 +
 configs/am335x_boneblack_vboot_defconfig           |   1 +
 configs/am335x_evm_defconfig                       |   2 +
 configs/am335x_evm_nor_defconfig                   |   2 +
 configs/am335x_evm_usbspl_defconfig                |   2 +
 configs/am335x_igep003x_defconfig                  |   1 +
 configs/am335x_sl50_defconfig                      |   1 +
 configs/am43xx_evm_defconfig                       |   3 +
 configs/am43xx_evm_ethboot_defconfig               |   3 +
 configs/am43xx_evm_usbhost_boot_defconfig          |   3 +
 configs/am57xx_evm_defconfig                       |   1 +
 configs/am57xx_evm_nodt_defconfig                  |   1 +
 configs/ap325rxa_defconfig                         |   1 +
 configs/ap_sh4a_4a_defconfig                       |   1 +
 configs/apalis-tk1_defconfig                       |   1 +
 configs/apalis_t30_defconfig                       |   1 +
 configs/armadillo-800eva_defconfig                 |   1 +
 configs/bayleybay_defconfig                        |   1 +
 configs/beaver_defconfig                           |   1 +
 configs/birdland_bav335a_defconfig                 |   1 +
 configs/birdland_bav335b_defconfig                 |   1 +
 configs/blanche_defconfig                          |   1 +
 configs/boston32r2_defconfig                       |   1 +
 configs/boston32r2el_defconfig                     |   1 +
 configs/boston64r2_defconfig                       |   1 +
 configs/boston64r2el_defconfig                     |   1 +
 configs/caddy2_defconfig                           |   2 +
 configs/cairo_defconfig                            |   2 +
 configs/cardhu_defconfig                           |   1 +
 configs/cei-tk1-som_defconfig                      |   1 +
 configs/chromebit_mickey_defconfig                 |   1 +
 configs/chromebook_jerry_defconfig                 |   1 +
 configs/chromebook_link64_defconfig                |   1 +
 configs/chromebook_link_defconfig                  |   1 +
 configs/chromebook_minnie_defconfig                |   1 +
 configs/chromebook_samus_defconfig                 |   1 +
 configs/chromebox_panther_defconfig                |   1 +
 configs/cl-som-am57x_defconfig                     |   2 +
 configs/clearfog_defconfig                         |   1 +
 configs/cm_t335_defconfig                          |   1 +
 configs/cm_t54_defconfig                           |   2 +-
 ...conga-qeval20-qa3-e3845-internal-uart_defconfig |   1 +
 configs/conga-qeval20-qa3-e3845_defconfig          |   1 +
 .../controlcenterd_36BIT_SDCARD_DEVELOP_defconfig  |   1 +
 configs/controlcenterd_36BIT_SDCARD_defconfig      |   1 +
 configs/controlcenterdc_defconfig                  |   4 +-
 configs/coreboot-x86_defconfig                     |   1 +
 configs/cougarcanyon2_defconfig                    |   1 +
 configs/crownbay_defconfig                         |   1 +
 configs/db-88f6820-amc_defconfig                   |   1 +
 configs/db-88f6820-gp_defconfig                    |   3 +-
 configs/db-mv784mp-gp_defconfig                    |   1 +
 configs/devkit8000_defconfig                       |   3 +
 configs/dfi-bt700-q7x-151_defconfig                |   1 +
 configs/dra7xx_evm_defconfig                       |   3 +-
 configs/dra7xx_hs_evm_defconfig                    |   2 +-
 configs/ds414_defconfig                            |   1 +
 configs/ecovec_defconfig                           |   1 +
 configs/efi-x86_defconfig                          |   2 +
 configs/espt_defconfig                             |   1 +
 configs/ethernut5_defconfig                        |   2 +
 configs/galileo_defconfig                          |   1 +
 configs/gose_defconfig                             |   1 +
 configs/gwventana_emmc_defconfig                   |   3 +
 configs/gwventana_gw5904_defconfig                 |   3 +
 configs/gwventana_nand_defconfig                   |   3 +
 configs/highbank_defconfig                         |   2 +-
 configs/hrcon_defconfig                            |   1 +
 configs/hrcon_dh_defconfig                         |   1 +
 configs/igep0020_defconfig                         |   2 +
 configs/igep0030_defconfig                         |   2 +
 configs/igep0032_defconfig                         |   2 +
 configs/integratorap_cm720t_defconfig              |   1 +
 configs/integratorap_cm920t_defconfig              |   1 +
 configs/integratorap_cm926ejs_defconfig            |   1 +
 configs/integratorap_cm946es_defconfig             |   1 +
 configs/ipam390_defconfig                          |   3 +
 configs/jetson-tk1_defconfig                       |   1 +
 configs/koelsch_defconfig                          |   1 +
 configs/lager_defconfig                            |   1 +
 configs/ls1012aqds_qspi_defconfig                  |   4 +-
 configs/ls1012ardb_qspi_SECURE_BOOT_defconfig      |   1 +
 configs/ls1012ardb_qspi_defconfig                  |   1 +
 configs/ls1021atwr_nor_SECURE_BOOT_defconfig       |   9 +-
 configs/ls1021atwr_nor_defconfig                   |   9 +-
 .../ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig    |  11 +-
 configs/ls1021atwr_sdcard_ifc_defconfig            |   9 +-
 configs/ls1021atwr_sdcard_qspi_defconfig           |   9 +-
 configs/ls1043ardb_SECURE_BOOT_defconfig           |   9 +-
 configs/ls1043ardb_defconfig                       |   9 +-
 configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig    |   9 +-
 configs/ls1043ardb_sdcard_defconfig                |   9 +-
 configs/ls1046aqds_SECURE_BOOT_defconfig           |   5 +-
 configs/ls1046aqds_defconfig                       |   5 +-
 configs/ls1046aqds_lpuart_defconfig                |   2 +-
 configs/ls1046aqds_nand_defconfig                  |   5 +-
 configs/ls1046aqds_qspi_defconfig                  |   5 +-
 configs/ls1046aqds_sdcard_ifc_defconfig            |   5 +-
 configs/ls1046aqds_sdcard_qspi_defconfig           |   5 +-
 configs/ls1046ardb_emmc_defconfig                  |   5 +-
 configs/ls1046ardb_qspi_SECURE_BOOT_defconfig      |  13 +-
 configs/ls1046ardb_qspi_defconfig                  |  13 +-
 configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig    |  13 +-
 configs/ls1046ardb_sdcard_defconfig                |  13 +-
 configs/ls2080aqds_SECURE_BOOT_defconfig           |   1 +
 configs/ls2080aqds_defconfig                       |   1 +
 configs/ls2080aqds_nand_defconfig                  |   1 +
 configs/ls2080aqds_qspi_defconfig                  |   1 +
 configs/ls2080aqds_sdcard_defconfig                |   1 +
 configs/ls2080ardb_SECURE_BOOT_defconfig           |   1 +
 configs/ls2080ardb_defconfig                       |   2 +-
 configs/ls2080ardb_nand_defconfig                  |   1 +
 configs/ls2081ardb_defconfig                       |   3 +-
 configs/ls2088ardb_qspi_defconfig                  |   2 +-
 configs/malta64_defconfig                          |   1 +
 configs/malta64el_defconfig                        |   1 +
 configs/malta_defconfig                            |   1 +
 configs/maltael_defconfig                          |   1 +
 configs/microblaze-generic_defconfig               |   3 +
 configs/minnowmax_defconfig                        |   1 +
 configs/mpc8308_p1m_defconfig                      |   1 +
 configs/ms7720se_defconfig                         |   4 +-
 configs/ms7722se_defconfig                         |   1 +
 configs/mvebu_db_armada8k_defconfig                |   1 +
 configs/mvebu_mcbin-88f8040_defconfig              |   1 +
 configs/mx6sabresd_defconfig                       |   3 +
 configs/mx6sxsabresd_defconfig                     |   1 +
 configs/mx6sxsabresd_spl_defconfig                 |   1 +
 configs/novena_defconfig                           |   1 +
 configs/odroid-xu3_defconfig                       |   1 +
 configs/odroid_defconfig                           |   1 +
 configs/omap3_beagle_defconfig                     |   2 +
 configs/omap3_logic_defconfig                      |   2 +
 configs/omap3_overo_defconfig                      |   2 +
 configs/omap4_panda_defconfig                      |   1 +
 configs/omap5_uevm_defconfig                       |   4 +-
 configs/origen_defconfig                           |   1 +
 configs/ot1200_defconfig                           |   1 +
 configs/ot1200_spl_defconfig                       |   1 +
 configs/p2371-2180_defconfig                       |   1 +
 configs/p2771-0000-000_defconfig                   |   1 +
 configs/p2771-0000-500_defconfig                   |   1 +
 configs/pcm051_rev1_defconfig                      |   1 +
 configs/pcm051_rev3_defconfig                      |   1 +
 configs/pengwyn_defconfig                          |   2 +
 configs/porter_defconfig                           |   1 +
 configs/qemu-ppce500_defconfig                     |   1 +
 configs/qemu-x86_64_defconfig                      |   1 +
 configs/qemu-x86_defconfig                         |   1 +
 configs/qemu-x86_efi_payload32_defconfig           |   1 +
 configs/qemu-x86_efi_payload64_defconfig           |   1 +
 configs/r0p7734_defconfig                          |   1 +
 configs/r2dplus_defconfig                          |   1 +
 configs/r7780mp_defconfig                          |   2 +
 configs/r8a7795_salvator-x_defconfig               |   5 +-
 configs/r8a7796_salvator-x_defconfig               |   5 +-
 configs/rsk7203_defconfig                          |   1 +
 configs/s5p_goni_defconfig                         |   2 +
 configs/s5pc210_universal_defconfig                |   1 +
 configs/sandbox_defconfig                          |   3 +
 configs/sandbox_flattree_defconfig                 |   1 +
 configs/sandbox_noblk_defconfig                    |   1 +
 configs/sandbox_spl_defconfig                      |   1 +
 configs/sbc8349_PCI_33_defconfig                   |   1 +
 configs/sbc8349_PCI_66_defconfig                   |   1 +
 configs/sbc8548_PCI_33_PCIE_defconfig              |   1 +
 configs/sbc8548_PCI_33_defconfig                   |   1 +
 configs/sbc8548_PCI_66_PCIE_defconfig              |   1 +
 configs/sbc8548_PCI_66_defconfig                   |   1 +
 configs/sbc8641d_defconfig                         |   1 +
 configs/sh7752evb_defconfig                        |   1 +
 configs/sh7753evb_defconfig                        |   1 +
 configs/sh7757lcr_defconfig                        |   1 +
 configs/sh7763rdp_defconfig                        |   1 +
 configs/sh7785lcr_32bit_defconfig                  |   2 +
 configs/sh7785lcr_defconfig                        |   2 +
 configs/shmin_defconfig                            |   1 +
 configs/silk_defconfig                             |   1 +
 configs/smdkc100_defconfig                         |   1 +
 configs/snapper9260_defconfig                      |   1 +
 configs/snapper9g20_defconfig                      |   1 +
 configs/socrates_defconfig                         |   2 +
 configs/som-db5800-som-6867_defconfig              |   1 +
 configs/stout_defconfig                            |   1 +
 configs/strider_con_defconfig                      |   1 +
 configs/strider_con_dp_defconfig                   |   1 +
 configs/strider_cpu_defconfig                      |   1 +
 configs/strider_cpu_dp_defconfig                   |   1 +
 configs/tbs2910_defconfig                          |   1 +
 configs/theadorable-x86-dfi-bt700_defconfig        |   1 +
 configs/theadorable_debug_defconfig                |   1 +
 configs/topic_miami_defconfig                      |   1 +
 configs/topic_miamilite_defconfig                  |   1 +
 configs/topic_miamiplus_defconfig                  |   1 +
 configs/trats2_defconfig                           |   1 +
 configs/trats_defconfig                            |   1 +
 configs/trimslice_defconfig                        |   1 +
 configs/turris_omnia_defconfig                     |   1 +
 configs/twister_defconfig                          |   3 +
 configs/vct_platinum_onenand_defconfig             |   1 +
 configs/vct_platinum_onenand_small_defconfig       |   1 +
 configs/vct_platinumavc_onenand_defconfig          |   1 +
 configs/vct_platinumavc_onenand_small_defconfig    |   1 +
 configs/vct_premium_onenand_defconfig              |   1 +
 configs/vct_premium_onenand_small_defconfig        |   1 +
 configs/ve8313_defconfig                           |   1 +
 configs/vining_2000_defconfig                      |   1 +
 configs/vme8349_defconfig                          |   2 +
 configs/work_92105_defconfig                       |   1 +
 configs/x600_defconfig                             |   1 +
 configs/xilinx_zynqmp_ep_defconfig                 |   5 +-
 configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig   |   1 +
 configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig   |   1 +
 configs/xilinx_zynqmp_zcu102_revA_defconfig        |   6 +-
 configs/xilinx_zynqmp_zcu102_revB_defconfig        |   6 +-
 configs/xpedite517x_defconfig                      |   2 +
 configs/xpedite520x_defconfig                      |   2 +
 configs/xpedite537x_defconfig                      |   2 +
 configs/xpedite550x_defconfig                      |   2 +
 configs/xtfpga_defconfig                           |   1 +
 configs/zc5202_defconfig                           |   1 +
 configs/zynq_microzed_defconfig                    |   1 +
 configs/zynq_picozed_defconfig                     |   1 +
 configs/zynq_zc702_defconfig                       |   1 +
 configs/zynq_zc706_defconfig                       |   1 +
 configs/zynq_zed_defconfig                         |   1 +
 configs/zynq_zybo_defconfig                        |   1 +
 drivers/gpio/Kconfig                               |  18 +
 drivers/gpio/Makefile                              |   1 -
 drivers/gpio/pca953x.c                             |   8 -
 drivers/gpio/sx151x.c                              | 242 --------
 drivers/pcmcia/Makefile                            |   1 -
 drivers/pcmcia/ti_pci1410a.c                       | 623 ---------------------
 fs/Kconfig                                         |   2 +
 fs/yaffs2/Kconfig                                  |   7 +
 include/command.h                                  |   9 +-
 include/config_cmd_all.h                           |  31 -
 include/config_distro_bootcmd.h                    |   2 +-
 include/configs/B4860QDS.h                         |   9 -
 include/configs/BSC9131RDB.h                       |   5 -
 include/configs/BSC9132QDS.h                       |   7 -
 include/configs/C29XPCIE.h                         |   7 -
 include/configs/M5235EVB.h                         |   3 -
 include/configs/M54455EVB.h                        |   3 -
 include/configs/M5475EVB.h                         |   6 -
 include/configs/M5485EVB.h                         |   6 -
 include/configs/MCR3000.h                          |   3 -
 include/configs/MPC8308RDB.h                       |   1 -
 include/configs/MPC8313ERDB.h                      |   1 -
 include/configs/MPC8315ERDB.h                      |   1 -
 include/configs/MPC8323ERDB.h                      |   4 -
 include/configs/MPC832XEMDS.h                      |   4 -
 include/configs/MPC8349EMDS.h                      |   4 -
 include/configs/MPC8349ITX.h                       |   9 -
 include/configs/MPC837XEMDS.h                      |   4 -
 include/configs/MPC837XERDB.h                      |   4 -
 include/configs/MPC8536DS.h                        |   9 -
 include/configs/MPC8540ADS.h                       |   4 -
 include/configs/MPC8541CDS.h                       |   9 -
 include/configs/MPC8544DS.h                        |   9 -
 include/configs/MPC8548CDS.h                       |   9 -
 include/configs/MPC8555CDS.h                       |   9 -
 include/configs/MPC8560ADS.h                       |  12 -
 include/configs/MPC8568MDS.h                       |   9 -
 include/configs/MPC8569MDS.h                       |   9 -
 include/configs/MPC8572DS.h                        |   9 -
 include/configs/MPC8610HPCD.h                      |   6 -
 include/configs/MPC8641HPCN.h                      |   9 -
 include/configs/MigoR.h                            |   2 -
 include/configs/P1010RDB.h                         |   7 -
 include/configs/P1022DS.h                          |   9 -
 include/configs/P1023RDB.h                         |   9 -
 include/configs/P2041RDB.h                         |   4 -
 include/configs/T102xQDS.h                         |   9 -
 include/configs/T102xRDB.h                         |   9 -
 include/configs/T1040QDS.h                         |   9 -
 include/configs/T104xRDB.h                         |   9 -
 include/configs/T208xQDS.h                         |   9 -
 include/configs/T208xRDB.h                         |   9 -
 include/configs/T4240RDB.h                         |   6 -
 include/configs/TQM834x.h                          |  12 -
 include/configs/UCP1020.h                          |   8 -
 include/configs/advantech_dms-ba16.h               |   1 -
 include/configs/am335x_evm.h                       |   2 -
 include/configs/am335x_shc.h                       |   1 -
 include/configs/am43xx_evm.h                       |   2 -
 include/configs/ap325rxa.h                         |   2 -
 include/configs/ap_sh4a_4a.h                       |   2 -
 include/configs/apalis-tk1.h                       |   1 -
 include/configs/apalis_t30.h                       |   1 -
 include/configs/armadillo-800eva.h                 |   2 -
 include/configs/baltos.h                           |   2 -
 include/configs/bav335x.h                          |   2 -
 include/configs/beaver.h                           |   1 -
 include/configs/boston.h                           |   1 -
 include/configs/brppt1.h                           |   2 -
 include/configs/calimain.h                         |   8 -
 include/configs/cardhu.h                           |   1 -
 include/configs/cei-tk1-som.h                      |   1 -
 include/configs/cl-som-am57x.h                     |   3 -
 include/configs/clearfog.h                         |   1 -
 include/configs/cm_t335.h                          |   4 -
 include/configs/controlcenterd.h                   |   4 -
 include/configs/controlcenterdc.h                  |   2 -
 include/configs/corenet_ds.h                       |   9 -
 include/configs/cyrus.h                            |   9 -
 include/configs/da850evm.h                         |   5 -
 include/configs/db-88f6820-amc.h                   |   1 -
 include/configs/db-88f6820-gp.h                    |   1 -
 include/configs/db-mv784mp-gp.h                    |   5 -
 include/configs/dbau1x00.h                         |   5 -
 include/configs/devkit8000.h                       |   3 -
 include/configs/dra7xx_evm.h                       |   2 -
 include/configs/dragonboard410c.h                  |   1 -
 include/configs/ds414.h                            |   2 -
 include/configs/ea20.h                             |   5 -
 include/configs/ecovec.h                           |   2 -
 include/configs/edison.h                           |   1 -
 include/configs/efi-x86.h                          |   2 -
 include/configs/espt.h                             |   5 -
 include/configs/ethernut5.h                        |   2 -
 include/configs/exynos4-common.h                   |   3 -
 include/configs/exynos5-common.h                   |   1 -
 include/configs/ge_bx50v3.h                        |   1 -
 include/configs/gw_ventana.h                       |   4 -
 include/configs/hrcon.h                            |   1 -
 include/configs/integratorap.h                     |   2 -
 include/configs/ipam390.h                          |   8 -
 include/configs/jetson-tk1.h                       |   1 -
 include/configs/km/km83xx-common.h                 |   4 -
 include/configs/km/kmp204x-common.h                |   1 -
 include/configs/legoev3.h                          |   5 -
 include/configs/ls1012aqds.h                       |   2 -
 include/configs/ls1012ardb.h                       |   2 -
 include/configs/ls1021aiot.h                       |   2 -
 include/configs/ls1021aqds.h                       |   1 -
 include/configs/ls1021atwr.h                       |   1 -
 include/configs/ls1043a_common.h                   |   1 -
 include/configs/ls1043ardb.h                       |   1 -
 include/configs/ls1046a_common.h                   |   1 -
 include/configs/ls2080aqds.h                       |   1 -
 include/configs/ls2080ardb.h                       |   1 -
 include/configs/malta.h                            |   1 -
 include/configs/microblaze-generic.h               |  20 -
 include/configs/mpc8308_p1m.h                      |   1 -
 include/configs/ms7720se.h                         |   3 -
 include/configs/ms7722se.h                         |   2 -
 include/configs/mvebu_armada-8k.h                  |   1 -
 include/configs/mx6sabreauto.h                     |   2 -
 include/configs/mx6sabresd.h                       |   3 -
 include/configs/mx6sxsabresd.h                     |   1 -
 include/configs/nokia_rx51.h                       |   6 -
 include/configs/novena.h                           |   1 -
 include/configs/odroid_xu3.h                       |   1 -
 include/configs/omap3_beagle.h                     |   2 -
 include/configs/omap3_cairo.h                      |   2 -
 include/configs/omap3_igep00x0.h                   |   2 -
 include/configs/omap3_logic.h                      |   2 -
 include/configs/omap3_overo.h                      |   2 -
 include/configs/omap3_zoom1.h                      |   2 -
 include/configs/omap5_uevm.h                       |   1 -
 include/configs/omapl138_lcdk.h                    |   4 -
 include/configs/ot1200.h                           |   2 -
 include/configs/p1_p2_rdb_pc.h                     |   7 -
 include/configs/p1_twr.h                           |   7 -
 include/configs/p2371-2180.h                       |   1 -
 include/configs/p2771-0000.h                       |   1 -
 include/configs/pengwyn.h                          |   2 -
 include/configs/qemu-ppce500.h                     |   6 -
 include/configs/r0p7734.h                          |   2 -
 include/configs/r2dplus.h                          |   6 -
 include/configs/r7780mp.h                          |   6 -
 include/configs/rcar-gen2-common.h                 |   2 -
 include/configs/rcar-gen3-common.h                 |   1 -
 include/configs/rsk7203.h                          |   2 -
 include/configs/s5p_goni.h                         |   3 -
 include/configs/sandbox.h                          |   6 -
 include/configs/sbc8349.h                          |   4 -
 include/configs/sbc8548.h                          |   9 -
 include/configs/sbc8641d.h                         |   6 -
 include/configs/sh7752evb.h                        |   2 -
 include/configs/sh7753evb.h                        |   2 -
 include/configs/sh7757lcr.h                        |   2 -
 include/configs/sh7763rdp.h                        |   5 -
 include/configs/sh7785lcr.h                        |   4 -
 include/configs/shmin.h                            |   2 -
 include/configs/smdkc100.h                         |   5 -
 include/configs/smdkv310.h                         |   1 -
 include/configs/snapper9260.h                      |   4 -
 include/configs/socrates.h                         |  10 -
 include/configs/spear-common.h                     |   5 -
 include/configs/stm32f429-discovery.h              |   2 -
 include/configs/strider.h                          |   3 -
 include/configs/t4qds.h                            |   6 -
 include/configs/tbs2910.h                          |   1 -
 include/configs/theadorable.h                      |   3 -
 include/configs/ti_armv7_common.h                  |   4 -
 include/configs/ti_armv7_keystone2.h               |   3 -
 include/configs/trats.h                            |   1 -
 include/configs/trimslice.h                        |   1 -
 include/configs/turris_omnia.h                     |   1 -
 include/configs/twister.h                          |   4 -
 include/configs/vct.h                              |   7 -
 include/configs/ve8313.h                           |   1 -
 include/configs/veyron.h                           |   2 -
 include/configs/vining_2000.h                      |   1 -
 include/configs/vme8349.h                          |   5 -
 include/configs/work_92105.h                       |   1 -
 include/configs/x600.h                             |   5 -
 include/configs/x86-common.h                       |   4 -
 include/configs/xilinx_zynqmp.h                    |   1 -
 include/configs/xilinx_zynqmp_zcu102.h             |   2 -
 include/configs/xpedite517x.h                      |   9 -
 include/configs/xpedite520x.h                      |   9 -
 include/configs/xpedite537x.h                      |   9 -
 include/configs/xpedite550x.h                      |   9 -
 include/configs/xtfpga.h                           |   6 -
 include/configs/zc5202.h                           |   1 -
 include/configs/zynq-common.h                      |   2 -
 include/sx151x.h                                   |  17 -
 scripts/config_whitelist.txt                       |  38 --
 549 files changed, 881 insertions(+), 2295 deletions(-)
 create mode 100644 arch/sh/lib/Kconfig
 delete mode 100644 cmd/portio.c
 delete mode 100644 drivers/gpio/sx151x.c
 delete mode 100644 drivers/pcmcia/ti_pci1410a.c
 create mode 100644 fs/yaffs2/Kconfig
 delete mode 100644 include/config_cmd_all.h
 delete mode 100644 include/sx151x.h

--
2.14.0.rc1.383.gd1ce394fe2-goog

_______________________________________________
U-Boot mailing list
[hidden email]
https://lists.denx.de/listinfo/u-boot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH v2 01/42] configs: Resync with savedefconfig

Simon Glass-3
Rsync all defconfig files using moveconfig.py

Signed-off-by: Simon Glass <[hidden email]>
---

Changes in v2:
- Add new patch to resync with savedefconfig

 configs/A10-OLinuXino-Lime_defconfig                |  2 +-
 configs/A20-OLinuXino-Lime2_defconfig               |  2 +-
 configs/A20-OLinuXino-Lime_defconfig                |  2 +-
 configs/A20-OLinuXino_MICRO_defconfig               |  2 +-
 configs/A20-Olimex-SOM-EVB_defconfig                |  2 +-
 configs/Bananapi_M2_Ultra_defconfig                 |  2 +-
 configs/Bananapi_defconfig                          |  2 +-
 configs/Bananapro_defconfig                         |  2 +-
 configs/Cubieboard2_defconfig                       |  2 +-
 configs/Cubieboard_defconfig                        |  2 +-
 configs/Cubietruck_defconfig                        |  2 +-
 configs/Itead_Ibox_A20_defconfig                    |  2 +-
 configs/Lamobo_R1_defconfig                         |  2 +-
 configs/Linksprite_pcDuino3_Nano_defconfig          |  2 +-
 configs/Linksprite_pcDuino3_defconfig               |  3 ---
 configs/MPC8544DS_defconfig                         |  2 +-
 configs/MPC8610HPCD_defconfig                       |  2 +-
 configs/Marsboard_A10_defconfig                     |  2 +-
 configs/Mele_A1000_defconfig                        |  2 +-
 configs/Mele_M5_defconfig                           |  2 +-
 configs/Orangepi_defconfig                          |  2 +-
 configs/Orangepi_mini_defconfig                     |  2 +-
 configs/Wits_Pro_A20_DKT_defconfig                  |  2 +-
 configs/cm_t54_defconfig                            |  2 +-
 configs/controlcenterdc_defconfig                   |  2 +-
 configs/db-88f6820-gp_defconfig                     |  2 +-
 configs/dra7xx_evm_defconfig                        |  2 +-
 configs/dra7xx_hs_evm_defconfig                     |  2 +-
 configs/highbank_defconfig                          |  2 +-
 configs/ls1012aqds_qspi_defconfig                   |  2 +-
 configs/ls1021atwr_nor_SECURE_BOOT_defconfig        |  9 +--------
 configs/ls1021atwr_nor_defconfig                    |  9 +--------
 configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig |  9 +--------
 configs/ls1021atwr_sdcard_ifc_defconfig             |  9 +--------
 configs/ls1021atwr_sdcard_qspi_defconfig            |  9 +--------
 configs/ls1043ardb_SECURE_BOOT_defconfig            |  9 +--------
 configs/ls1043ardb_defconfig                        |  9 +--------
 configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig     |  9 +--------
 configs/ls1043ardb_sdcard_defconfig                 |  9 +--------
 configs/ls1046aqds_SECURE_BOOT_defconfig            |  2 +-
 configs/ls1046aqds_defconfig                        |  2 +-
 configs/ls1046aqds_lpuart_defconfig                 |  2 +-
 configs/ls1046aqds_nand_defconfig                   |  2 +-
 configs/ls1046aqds_qspi_defconfig                   |  2 +-
 configs/ls1046aqds_sdcard_ifc_defconfig             |  2 +-
 configs/ls1046aqds_sdcard_qspi_defconfig            |  2 +-
 configs/ls1046ardb_emmc_defconfig                   |  2 +-
 configs/ls1046ardb_qspi_SECURE_BOOT_defconfig       | 10 ++--------
 configs/ls1046ardb_qspi_defconfig                   | 10 ++--------
 configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig     | 10 ++--------
 configs/ls1046ardb_sdcard_defconfig                 | 10 ++--------
 configs/ls2080ardb_defconfig                        |  1 -
 configs/ls2081ardb_defconfig                        |  2 +-
 configs/ls2088ardb_qspi_defconfig                   |  1 -
 configs/ms7720se_defconfig                          |  2 +-
 configs/omap5_uevm_defconfig                        |  2 +-
 configs/r8a7795_salvator-x_defconfig                |  4 ++--
 configs/r8a7796_salvator-x_defconfig                |  4 ++--
 configs/xilinx_zynqmp_ep_defconfig                  |  4 ++--
 configs/xilinx_zynqmp_zcu102_revA_defconfig         |  4 ++--
 configs/xilinx_zynqmp_zcu102_revB_defconfig         |  4 ++--
 61 files changed, 67 insertions(+), 159 deletions(-)

diff --git a/configs/A10-OLinuXino-Lime_defconfig b/configs/A10-OLinuXino-Lime_defconfig
index 914302276f..d76ddcf811 100644
--- a/configs/A10-OLinuXino-Lime_defconfig
+++ b/configs/A10-OLinuXino-Lime_defconfig
@@ -18,8 +18,8 @@ CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_SPL_DOS_PARTITION is not set
 # CONFIG_SPL_ISO_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
-CONFIG_SCSI=y
 CONFIG_SUN4I_EMAC=y
 CONFIG_AXP_ALDO3_VOLT=2800
 CONFIG_AXP_ALDO4_VOLT=2800
+CONFIG_SCSI=y
 CONFIG_USB_EHCI_HCD=y
diff --git a/configs/A20-OLinuXino-Lime2_defconfig b/configs/A20-OLinuXino-Lime2_defconfig
index f7b600be5b..e83ff82984 100644
--- a/configs/A20-OLinuXino-Lime2_defconfig
+++ b/configs/A20-OLinuXino-Lime2_defconfig
@@ -20,13 +20,13 @@ CONFIG_CMD_USB_MASS_STORAGE=y
 # CONFIG_SPL_DOS_PARTITION is not set
 # CONFIG_SPL_ISO_PARTITION is not set
 # CONFIG_SPL_PARTITION_UUIDS is not set
-CONFIG_SCSI=y
 CONFIG_DFU_RAM=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_RGMII=y
 CONFIG_SUN7I_GMAC=y
 CONFIG_AXP_ALDO3_VOLT=2800
 CONFIG_AXP_ALDO4_VOLT=2800
+CONFIG_SCSI=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_MUSB_GADGET=y
 CONFIG_USB_GADGET=y
diff --git a/configs/A20-OLinuXino-Lime_defconfig b/configs/A20-OLinuXino-Lime_defconfig
index 182a8f5f74..1bc0b7fbb9 100644
--- a/configs/A20-OLinuXino-Lime_defconfig
+++ b/configs/A20-OLinuXino-Lime_defconfig
@@ -16,9 +16,9 @@ CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_SPL_DOS_PARTITION is not set
 # CONFIG_SPL_ISO_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
-CONFIG_SCSI=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_SUN7I_GMAC=y
 CONFIG_AXP_ALDO3_VOLT=2800
 CONFIG_AXP_ALDO4_VOLT=2800
+CONFIG_SCSI=y
 CONFIG_USB_EHCI_HCD=y
diff --git a/configs/A20-OLinuXino_MICRO_defconfig b/configs/A20-OLinuXino_MICRO_defconfig
index ae98e41685..009c4aa7e2 100644
--- a/configs/A20-OLinuXino_MICRO_defconfig
+++ b/configs/A20-OLinuXino_MICRO_defconfig
@@ -19,9 +19,9 @@ CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_SPL_DOS_PARTITION is not set
 # CONFIG_SPL_ISO_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
-CONFIG_SCSI=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_SUN7I_GMAC=y
 CONFIG_AXP_ALDO3_VOLT=2800
 CONFIG_AXP_ALDO4_VOLT=2800
+CONFIG_SCSI=y
 CONFIG_USB_EHCI_HCD=y
diff --git a/configs/A20-Olimex-SOM-EVB_defconfig b/configs/A20-Olimex-SOM-EVB_defconfig
index 61fe5e6390..c2fe2d234f 100644
--- a/configs/A20-Olimex-SOM-EVB_defconfig
+++ b/configs/A20-Olimex-SOM-EVB_defconfig
@@ -20,10 +20,10 @@ CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_SPL_DOS_PARTITION is not set
 # CONFIG_SPL_ISO_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
-CONFIG_SCSI=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_RGMII=y
 CONFIG_SUN7I_GMAC=y
 CONFIG_AXP_ALDO3_VOLT=2800
 CONFIG_AXP_ALDO4_VOLT=2800
+CONFIG_SCSI=y
 CONFIG_USB_EHCI_HCD=y
diff --git a/configs/Bananapi_M2_Ultra_defconfig b/configs/Bananapi_M2_Ultra_defconfig
index 8c409faab8..a35d4bfd89 100644
--- a/configs/Bananapi_M2_Ultra_defconfig
+++ b/configs/Bananapi_M2_Ultra_defconfig
@@ -14,6 +14,6 @@ CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
-CONFIG_SCSI=y
 CONFIG_AXP_DLDO4_VOLT=2500
 CONFIG_AXP_ELDO3_VOLT=1200
+CONFIG_SCSI=y
diff --git a/configs/Bananapi_defconfig b/configs/Bananapi_defconfig
index 352a18ec8c..4e8e1e1a1f 100644
--- a/configs/Bananapi_defconfig
+++ b/configs/Bananapi_defconfig
@@ -17,8 +17,8 @@ CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_SPL_ISO_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_NETCONSOLE=y
-CONFIG_SCSI=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_RGMII=y
 CONFIG_SUN7I_GMAC=y
+CONFIG_SCSI=y
 CONFIG_USB_EHCI_HCD=y
diff --git a/configs/Bananapro_defconfig b/configs/Bananapro_defconfig
index 4218d5a97a..214c0d85f0 100644
--- a/configs/Bananapro_defconfig
+++ b/configs/Bananapro_defconfig
@@ -19,9 +19,9 @@ CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_SPL_ISO_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_NETCONSOLE=y
-CONFIG_SCSI=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_RGMII=y
 CONFIG_SUN7I_GMAC=y
 CONFIG_AXP_ALDO4_VOLT=2500
+CONFIG_SCSI=y
 CONFIG_USB_EHCI_HCD=y
diff --git a/configs/Cubieboard2_defconfig b/configs/Cubieboard2_defconfig
index dc2722a9bf..0a0f95d6fb 100644
--- a/configs/Cubieboard2_defconfig
+++ b/configs/Cubieboard2_defconfig
@@ -15,7 +15,7 @@ CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_SPL_DOS_PARTITION is not set
 # CONFIG_SPL_ISO_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
-CONFIG_SCSI=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_SUN7I_GMAC=y
+CONFIG_SCSI=y
 CONFIG_USB_EHCI_HCD=y
diff --git a/configs/Cubieboard_defconfig b/configs/Cubieboard_defconfig
index f83a691a26..a15c831a8a 100644
--- a/configs/Cubieboard_defconfig
+++ b/configs/Cubieboard_defconfig
@@ -15,6 +15,6 @@ CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_SPL_DOS_PARTITION is not set
 # CONFIG_SPL_ISO_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
-CONFIG_SCSI=y
 CONFIG_SUN4I_EMAC=y
+CONFIG_SCSI=y
 CONFIG_USB_EHCI_HCD=y
diff --git a/configs/Cubietruck_defconfig b/configs/Cubietruck_defconfig
index cbd535c2bc..648eef1e72 100644
--- a/configs/Cubietruck_defconfig
+++ b/configs/Cubietruck_defconfig
@@ -22,11 +22,11 @@ CONFIG_CMD_USB_MASS_STORAGE=y
 # CONFIG_SPL_DOS_PARTITION is not set
 # CONFIG_SPL_ISO_PARTITION is not set
 # CONFIG_SPL_PARTITION_UUIDS is not set
-CONFIG_SCSI=y
 CONFIG_DFU_RAM=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_RGMII=y
 CONFIG_SUN7I_GMAC=y
+CONFIG_SCSI=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_MUSB_GADGET=y
 CONFIG_USB_GADGET=y
diff --git a/configs/Itead_Ibox_A20_defconfig b/configs/Itead_Ibox_A20_defconfig
index bab25b401c..6e6f5b2aaf 100644
--- a/configs/Itead_Ibox_A20_defconfig
+++ b/configs/Itead_Ibox_A20_defconfig
@@ -15,7 +15,7 @@ CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_SPL_DOS_PARTITION is not set
 # CONFIG_SPL_ISO_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
-CONFIG_SCSI=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_SUN7I_GMAC=y
+CONFIG_SCSI=y
 CONFIG_USB_EHCI_HCD=y
diff --git a/configs/Lamobo_R1_defconfig b/configs/Lamobo_R1_defconfig
index 2ec0847e8a..65ccb6420c 100644
--- a/configs/Lamobo_R1_defconfig
+++ b/configs/Lamobo_R1_defconfig
@@ -17,8 +17,8 @@ CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_SPL_DOS_PARTITION is not set
 # CONFIG_SPL_ISO_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
-CONFIG_SCSI=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_RGMII=y
 CONFIG_SUN7I_GMAC=y
+CONFIG_SCSI=y
 CONFIG_USB_EHCI_HCD=y
diff --git a/configs/Linksprite_pcDuino3_Nano_defconfig b/configs/Linksprite_pcDuino3_Nano_defconfig
index 1e61cd20ba..c6682b8f79 100644
--- a/configs/Linksprite_pcDuino3_Nano_defconfig
+++ b/configs/Linksprite_pcDuino3_Nano_defconfig
@@ -17,8 +17,8 @@ CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_SPL_DOS_PARTITION is not set
 # CONFIG_SPL_ISO_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
-CONFIG_SCSI=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_RGMII=y
 CONFIG_SUN7I_GMAC=y
+CONFIG_SCSI=y
 CONFIG_USB_EHCI_HCD=y
diff --git a/configs/Linksprite_pcDuino3_defconfig b/configs/Linksprite_pcDuino3_defconfig
index f0d382c002..fb81bad00f 100644
--- a/configs/Linksprite_pcDuino3_defconfig
+++ b/configs/Linksprite_pcDuino3_defconfig
@@ -15,10 +15,7 @@ CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_SPL_DOS_PARTITION is not set
 # CONFIG_SPL_ISO_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
-# CONFIG_SPL_BLK is not set
 CONFIG_DM_MMC=y
-# CONFIG_SPL_DM_MMC is not set
-# CONFIG_SPL_DM_MMC_OPS is not set
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_SUN7I_GMAC=y
 CONFIG_SCSI=y
diff --git a/configs/MPC8544DS_defconfig b/configs/MPC8544DS_defconfig
index 8142cf267e..3e75be96b9 100644
--- a/configs/MPC8544DS_defconfig
+++ b/configs/MPC8544DS_defconfig
@@ -16,12 +16,12 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
 CONFIG_CMD_EXT2=y
-CONFIG_SCSI=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
 CONFIG_RTL8139=y
+CONFIG_SCSI=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
diff --git a/configs/MPC8610HPCD_defconfig b/configs/MPC8610HPCD_defconfig
index 6aef6d8434..57d8583fd1 100644
--- a/configs/MPC8610HPCD_defconfig
+++ b/configs/MPC8610HPCD_defconfig
@@ -15,9 +15,9 @@ CONFIG_CMD_PING=y
 CONFIG_CMD_BMP=y
 CONFIG_CMD_EXT2=y
 CONFIG_DOS_PARTITION=y
-CONFIG_SCSI=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
+CONFIG_SCSI=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_KEYBOARD=y
diff --git a/configs/Marsboard_A10_defconfig b/configs/Marsboard_A10_defconfig
index 516a16f73e..015b4d5814 100644
--- a/configs/Marsboard_A10_defconfig
+++ b/configs/Marsboard_A10_defconfig
@@ -11,7 +11,7 @@ CONFIG_SPL=y
 # CONFIG_SPL_DOS_PARTITION is not set
 # CONFIG_SPL_ISO_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
-CONFIG_SCSI=y
 CONFIG_SUN4I_EMAC=y
 CONFIG_SUNXI_NO_PMIC=y
+CONFIG_SCSI=y
 CONFIG_USB_EHCI_HCD=y
diff --git a/configs/Mele_A1000_defconfig b/configs/Mele_A1000_defconfig
index 0c9e8d1693..1ca92e0972 100644
--- a/configs/Mele_A1000_defconfig
+++ b/configs/Mele_A1000_defconfig
@@ -15,6 +15,6 @@ CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_SPL_DOS_PARTITION is not set
 # CONFIG_SPL_ISO_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
-CONFIG_SCSI=y
 CONFIG_SUN4I_EMAC=y
+CONFIG_SCSI=y
 CONFIG_USB_EHCI_HCD=y
diff --git a/configs/Mele_M5_defconfig b/configs/Mele_M5_defconfig
index 400a16505a..d316c75c83 100644
--- a/configs/Mele_M5_defconfig
+++ b/configs/Mele_M5_defconfig
@@ -16,7 +16,7 @@ CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_SPL_DOS_PARTITION is not set
 # CONFIG_SPL_ISO_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
-CONFIG_SCSI=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_SUN7I_GMAC=y
+CONFIG_SCSI=y
 CONFIG_USB_EHCI_HCD=y
diff --git a/configs/Orangepi_defconfig b/configs/Orangepi_defconfig
index ed3e6786c6..5602d3c8e2 100644
--- a/configs/Orangepi_defconfig
+++ b/configs/Orangepi_defconfig
@@ -19,8 +19,8 @@ CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_SPL_DOS_PARTITION is not set
 # CONFIG_SPL_ISO_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
-CONFIG_SCSI=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_RGMII=y
 CONFIG_SUN7I_GMAC=y
+CONFIG_SCSI=y
 CONFIG_USB_EHCI_HCD=y
diff --git a/configs/Orangepi_mini_defconfig b/configs/Orangepi_mini_defconfig
index 56f405ceed..5808d5df1b 100644
--- a/configs/Orangepi_mini_defconfig
+++ b/configs/Orangepi_mini_defconfig
@@ -21,8 +21,8 @@ CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_SPL_DOS_PARTITION is not set
 # CONFIG_SPL_ISO_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
-CONFIG_SCSI=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_RGMII=y
 CONFIG_SUN7I_GMAC=y
+CONFIG_SCSI=y
 CONFIG_USB_EHCI_HCD=y
diff --git a/configs/Wits_Pro_A20_DKT_defconfig b/configs/Wits_Pro_A20_DKT_defconfig
index 2a2f26d38f..5ee19bca1a 100644
--- a/configs/Wits_Pro_A20_DKT_defconfig
+++ b/configs/Wits_Pro_A20_DKT_defconfig
@@ -19,8 +19,8 @@ CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_SPL_DOS_PARTITION is not set
 # CONFIG_SPL_ISO_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
-CONFIG_SCSI=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_RGMII=y
 CONFIG_SUN7I_GMAC=y
+CONFIG_SCSI=y
 CONFIG_USB_EHCI_HCD=y
diff --git a/configs/cm_t54_defconfig b/configs/cm_t54_defconfig
index ff811be04b..4aed572cf6 100644
--- a/configs/cm_t54_defconfig
+++ b/configs/cm_t54_defconfig
@@ -39,8 +39,8 @@ CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_ISO_PARTITION=y
 CONFIG_EFI_PARTITION=y
-CONFIG_SCSI=y
 CONFIG_MMC_OMAP_HS=y
+CONFIG_SCSI=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
diff --git a/configs/controlcenterdc_defconfig b/configs/controlcenterdc_defconfig
index 62c6546c20..af79b6c120 100644
--- a/configs/controlcenterdc_defconfig
+++ b/configs/controlcenterdc_defconfig
@@ -35,7 +35,6 @@ CONFIG_CMD_EXT4=y
 CONFIG_EFI_PARTITION=y
 CONFIG_OF_BOARD_FIXUP=y
 CONFIG_SPL_OF_TRANSLATE=y
-CONFIG_SCSI=y
 CONFIG_DM_GPIO=y
 CONFIG_DM_PCA953X=y
 CONFIG_DM_I2C=y
@@ -46,6 +45,7 @@ CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_MV=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_SCSI=y
 CONFIG_DEBUG_UART_BASE=0xd0012000
 CONFIG_DEBUG_UART_CLOCK=250000000
 CONFIG_DEBUG_UART_SHIFT=2
diff --git a/configs/db-88f6820-gp_defconfig b/configs/db-88f6820-gp_defconfig
index 5f072c5e67..6c6083d328 100644
--- a/configs/db-88f6820-gp_defconfig
+++ b/configs/db-88f6820-gp_defconfig
@@ -38,7 +38,6 @@ CONFIG_EFI_PARTITION=y
 # CONFIG_PARTITION_UUIDS is not set
 # CONFIG_SPL_PARTITION_UUIDS is not set
 CONFIG_SPL_OF_TRANSLATE=y
-CONFIG_SCSI=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_MMC_SDHCI_MV=y
@@ -46,6 +45,7 @@ CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_PCI=y
+CONFIG_SCSI=y
 CONFIG_DEBUG_UART_BASE=0xd0012000
 CONFIG_DEBUG_UART_CLOCK=250000000
 CONFIG_DEBUG_UART_SHIFT=2
diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig
index 6987c35a4e..56effa08d0 100644
--- a/configs/dra7xx_evm_defconfig
+++ b/configs/dra7xx_evm_defconfig
@@ -46,7 +46,6 @@ CONFIG_SPL_REGMAP=y
 CONFIG_SYSCON=y
 CONFIG_SPL_SYSCON=y
 CONFIG_SPL_OF_TRANSLATE=y
-CONFIG_DM_SCSI=y
 CONFIG_DWC_AHCI=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
@@ -70,6 +69,7 @@ CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_REGULATOR_GPIO=y
 CONFIG_DM_REGULATOR_PALMAS=y
 CONFIG_DM_REGULATOR_LP873X=y
+CONFIG_DM_SCSI=y
 CONFIG_DM_SERIAL=y
 CONFIG_SYS_NS16550=y
 CONFIG_DM_SPI=y
diff --git a/configs/dra7xx_hs_evm_defconfig b/configs/dra7xx_hs_evm_defconfig
index 72c43f8954..5b1d3fb658 100644
--- a/configs/dra7xx_hs_evm_defconfig
+++ b/configs/dra7xx_hs_evm_defconfig
@@ -49,7 +49,6 @@ CONFIG_REGMAP=y
 CONFIG_SPL_REGMAP=y
 CONFIG_SYSCON=y
 CONFIG_SPL_SYSCON=y
-CONFIG_DM_SCSI=y
 CONFIG_DWC_AHCI=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
@@ -73,6 +72,7 @@ CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_REGULATOR_GPIO=y
 CONFIG_DM_REGULATOR_PALMAS=y
 CONFIG_DM_REGULATOR_LP873X=y
+CONFIG_DM_SCSI=y
 CONFIG_DM_SERIAL=y
 CONFIG_SYS_NS16550=y
 CONFIG_DM_SPI=y
diff --git a/configs/highbank_defconfig b/configs/highbank_defconfig
index 3ed037ba11..d905b0f32b 100644
--- a/configs/highbank_defconfig
+++ b/configs/highbank_defconfig
@@ -24,6 +24,6 @@ CONFIG_CMD_FS_GENERIC=y
 CONFIG_ISO_PARTITION=y
 CONFIG_EFI_PARTITION=y
 # CONFIG_PARTITION_UUIDS is not set
-CONFIG_SCSI=y
 # CONFIG_MMC is not set
+CONFIG_SCSI=y
 CONFIG_OF_LIBFDT=y
diff --git a/configs/ls1012aqds_qspi_defconfig b/configs/ls1012aqds_qspi_defconfig
index d7ddd812a3..60000b376b 100644
--- a/configs/ls1012aqds_qspi_defconfig
+++ b/configs/ls1012aqds_qspi_defconfig
@@ -31,7 +31,6 @@ CONFIG_CMD_FAT=y
 CONFIG_OF_CONTROL=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
-CONFIG_SCSI=y
 # CONFIG_BLK is not set
 CONFIG_DM_MMC=y
 # CONFIG_DM_MMC_OPS is not set
@@ -43,6 +42,7 @@ CONFIG_PCI=y
 CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_LAYERSCAPE=y
+CONFIG_SCSI=y
 CONFIG_SYS_NS16550=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_DSPI=y
diff --git a/configs/ls1021atwr_nor_SECURE_BOOT_defconfig b/configs/ls1021atwr_nor_SECURE_BOOT_defconfig
index c8cb2153bf..2d206e1947 100644
--- a/configs/ls1021atwr_nor_SECURE_BOOT_defconfig
+++ b/configs/ls1021atwr_nor_SECURE_BOOT_defconfig
@@ -3,6 +3,7 @@ CONFIG_TARGET_LS1021ATWR=y
 CONFIG_SECURE_BOOT=y
 CONFIG_VIDEO=y
 CONFIG_DEFAULT_DEVICE_TREE="ls1021a-twr-duart"
+CONFIG_DISTRO_DEFAULTS=y
 # CONFIG_SYS_MALLOC_F is not set
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
@@ -12,8 +13,6 @@ CONFIG_BOOTDELAY=3
 CONFIG_SILENT_CONSOLE=y
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
-CONFIG_HUSH_PARSER=y
-CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_GREPENV=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MEMINFO=y
@@ -22,12 +21,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
-CONFIG_CMD_DHCP=y
-CONFIG_CMD_MII=y
-CONFIG_CMD_PING=y
 CONFIG_CMD_BMP=y
-CONFIG_CMD_EXT2=y
-CONFIG_CMD_FAT=y
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
 CONFIG_MTD_NOR_FLASH=y
@@ -46,4 +40,3 @@ CONFIG_VIDEO_FSL_DCU_FB=y
 # CONFIG_VIDEO_SW_CURSOR is not set
 CONFIG_RSA=y
 CONFIG_SPL_RSA=y
-CONFIG_DISTRO_DEFAULTS=y
diff --git a/configs/ls1021atwr_nor_defconfig b/configs/ls1021atwr_nor_defconfig
index 29d6ea19a6..60f0830562 100644
--- a/configs/ls1021atwr_nor_defconfig
+++ b/configs/ls1021atwr_nor_defconfig
@@ -2,6 +2,7 @@ CONFIG_ARM=y
 CONFIG_TARGET_LS1021ATWR=y
 CONFIG_VIDEO=y
 CONFIG_DEFAULT_DEVICE_TREE="ls1021a-twr-duart"
+CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
@@ -11,8 +12,6 @@ CONFIG_BOOTDELAY=3
 CONFIG_SILENT_CONSOLE=y
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
-CONFIG_HUSH_PARSER=y
-CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_GREPENV=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MEMINFO=y
@@ -21,12 +20,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
-CONFIG_CMD_DHCP=y
-CONFIG_CMD_MII=y
-CONFIG_CMD_PING=y
 CONFIG_CMD_BMP=y
-CONFIG_CMD_EXT2=y
-CONFIG_CMD_FAT=y
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
 CONFIG_FSL_CAAM=y
@@ -45,4 +39,3 @@ CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_VIDEO_FSL_DCU_FB=y
 # CONFIG_VIDEO_SW_CURSOR is not set
-CONFIG_DISTRO_DEFAULTS=y
diff --git a/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig b/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig
index 8689fa7336..4722d36b3d 100644
--- a/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig
+++ b/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig
@@ -9,6 +9,7 @@ CONFIG_SPL_DRIVERS_MISC_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_VIDEO=y
 CONFIG_DEFAULT_DEVICE_TREE="ls1021a-twr-duart"
+CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
@@ -26,8 +27,6 @@ CONFIG_SPL_HASH_SUPPORT=y
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y
-CONFIG_HUSH_PARSER=y
-CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_GREPENV=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MEMINFO=y
@@ -35,12 +34,7 @@ CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
-CONFIG_CMD_DHCP=y
-CONFIG_CMD_MII=y
-CONFIG_CMD_PING=y
 CONFIG_CMD_BMP=y
-CONFIG_CMD_EXT2=y
-CONFIG_CMD_FAT=y
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
@@ -61,4 +55,3 @@ CONFIG_VIDEO_FSL_DCU_FB=y
 # CONFIG_VIDEO_SW_CURSOR is not set
 CONFIG_RSA=y
 CONFIG_SPL_RSA=y
-CONFIG_DISTRO_DEFAULTS=y
diff --git a/configs/ls1021atwr_sdcard_ifc_defconfig b/configs/ls1021atwr_sdcard_ifc_defconfig
index 8647365276..ba62b12741 100644
--- a/configs/ls1021atwr_sdcard_ifc_defconfig
+++ b/configs/ls1021atwr_sdcard_ifc_defconfig
@@ -7,6 +7,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_VIDEO=y
 CONFIG_DEFAULT_DEVICE_TREE="ls1021a-twr-duart"
+CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
@@ -24,8 +25,6 @@ CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xe8
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y
-CONFIG_HUSH_PARSER=y
-CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_GREPENV=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MEMINFO=y
@@ -33,12 +32,7 @@ CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
-CONFIG_CMD_DHCP=y
-CONFIG_CMD_MII=y
-CONFIG_CMD_PING=y
 CONFIG_CMD_BMP=y
-CONFIG_CMD_EXT2=y
-CONFIG_CMD_FAT=y
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
@@ -57,4 +51,3 @@ CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_VIDEO_FSL_DCU_FB=y
 # CONFIG_VIDEO_SW_CURSOR is not set
-CONFIG_DISTRO_DEFAULTS=y
diff --git a/configs/ls1021atwr_sdcard_qspi_defconfig b/configs/ls1021atwr_sdcard_qspi_defconfig
index b254f3b909..08bd32a9c2 100644
--- a/configs/ls1021atwr_sdcard_qspi_defconfig
+++ b/configs/ls1021atwr_sdcard_qspi_defconfig
@@ -7,6 +7,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_VIDEO=y
 CONFIG_DEFAULT_DEVICE_TREE="ls1021a-twr-duart"
+CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
@@ -24,8 +25,6 @@ CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xe8
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y
-CONFIG_HUSH_PARSER=y
-CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_GREPENV=y
 CONFIG_CMD_MEMTEST=y
@@ -35,12 +34,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
-CONFIG_CMD_DHCP=y
-CONFIG_CMD_MII=y
-CONFIG_CMD_PING=y
 CONFIG_CMD_BMP=y
-CONFIG_CMD_EXT2=y
-CONFIG_CMD_FAT=y
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
@@ -64,4 +58,3 @@ CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_VIDEO_FSL_DCU_FB=y
 # CONFIG_VIDEO_SW_CURSOR is not set
-CONFIG_DISTRO_DEFAULTS=y
diff --git a/configs/ls1043ardb_SECURE_BOOT_defconfig b/configs/ls1043ardb_SECURE_BOOT_defconfig
index c7077fc809..fd37f5909b 100644
--- a/configs/ls1043ardb_SECURE_BOOT_defconfig
+++ b/configs/ls1043ardb_SECURE_BOOT_defconfig
@@ -3,23 +3,17 @@ CONFIG_TARGET_LS1043ARDB=y
 CONFIG_SECURE_BOOT=y
 CONFIG_FSL_LS_PPA=y
 CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1043a-rdb"
+CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=10
-CONFIG_HUSH_PARSER=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
-CONFIG_CMD_DHCP=y
-CONFIG_CMD_PXE=y
-CONFIG_CMD_MII=y
-CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
-CONFIG_CMD_EXT2=y
-CONFIG_CMD_FAT=y
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
 CONFIG_MTD_NOR_FLASH=y
@@ -40,4 +34,3 @@ CONFIG_USB_STORAGE=y
 CONFIG_RSA=y
 CONFIG_SPL_RSA=y
 CONFIG_RSA_SOFTWARE_EXP=y
-CONFIG_DISTRO_DEFAULTS=y
diff --git a/configs/ls1043ardb_defconfig b/configs/ls1043ardb_defconfig
index a551867ef2..7fe5a13a71 100644
--- a/configs/ls1043ardb_defconfig
+++ b/configs/ls1043ardb_defconfig
@@ -2,24 +2,18 @@ CONFIG_ARM=y
 CONFIG_TARGET_LS1043ARDB=y
 CONFIG_FSL_LS_PPA=y
 CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1043a-rdb"
+CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_ENV_IS_IN_FLASH=y
 CONFIG_BOOTDELAY=10
-CONFIG_HUSH_PARSER=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
-CONFIG_CMD_DHCP=y
-CONFIG_CMD_PXE=y
-CONFIG_CMD_MII=y
-CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
-CONFIG_CMD_EXT2=y
-CONFIG_CMD_FAT=y
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
 CONFIG_FSL_CAAM=y
@@ -38,4 +32,3 @@ CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
-CONFIG_DISTRO_DEFAULTS=y
diff --git a/configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig b/configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig
index a96cc56832..f939b859af 100644
--- a/configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig
+++ b/configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig
@@ -9,6 +9,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_DRIVERS_MISC_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1043a-rdb"
+CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,SD_BOOT"
@@ -21,20 +22,13 @@ CONFIG_SPL_CRYPTO_SUPPORT=y
 CONFIG_SPL_HASH_SUPPORT=y
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y
-CONFIG_HUSH_PARSER=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
-CONFIG_CMD_DHCP=y
-CONFIG_CMD_PXE=y
-CONFIG_CMD_MII=y
-CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
-CONFIG_CMD_EXT2=y
-CONFIG_CMD_FAT=y
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
@@ -56,4 +50,3 @@ CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_RSA=y
 CONFIG_SPL_RSA=y
-CONFIG_DISTRO_DEFAULTS=y
diff --git a/configs/ls1043ardb_sdcard_defconfig b/configs/ls1043ardb_sdcard_defconfig
index 1b18179d43..0460fddd25 100644
--- a/configs/ls1043ardb_sdcard_defconfig
+++ b/configs/ls1043ardb_sdcard_defconfig
@@ -9,6 +9,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_DRIVERS_MISC_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1043a-rdb"
+CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,SD_BOOT"
@@ -20,20 +21,13 @@ CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xf0
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y
-CONFIG_HUSH_PARSER=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
-CONFIG_CMD_DHCP=y
-CONFIG_CMD_PXE=y
-CONFIG_CMD_MII=y
-CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
-CONFIG_CMD_EXT2=y
-CONFIG_CMD_FAT=y
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
@@ -53,4 +47,3 @@ CONFIG_DM_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
-CONFIG_DISTRO_DEFAULTS=y
diff --git a/configs/ls1046aqds_SECURE_BOOT_defconfig b/configs/ls1046aqds_SECURE_BOOT_defconfig
index 08637e236f..8581fb99d0 100644
--- a/configs/ls1046aqds_SECURE_BOOT_defconfig
+++ b/configs/ls1046aqds_SECURE_BOOT_defconfig
@@ -16,13 +16,13 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
-CONFIG_CMD_USB=y
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
 CONFIG_MTD_NOR_FLASH=y
diff --git a/configs/ls1046aqds_defconfig b/configs/ls1046aqds_defconfig
index 94d0ea90ae..eaf35f2543 100644
--- a/configs/ls1046aqds_defconfig
+++ b/configs/ls1046aqds_defconfig
@@ -16,13 +16,13 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
-CONFIG_CMD_USB=y
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
 CONFIG_FSL_CAAM=y
diff --git a/configs/ls1046aqds_lpuart_defconfig b/configs/ls1046aqds_lpuart_defconfig
index 6fc5d6edb8..7c7975355f 100644
--- a/configs/ls1046aqds_lpuart_defconfig
+++ b/configs/ls1046aqds_lpuart_defconfig
@@ -17,13 +17,13 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
-CONFIG_CMD_USB=y
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
 CONFIG_FSL_CAAM=y
diff --git a/configs/ls1046aqds_nand_defconfig b/configs/ls1046aqds_nand_defconfig
index 802c69c0ad..7fa956b8bc 100644
--- a/configs/ls1046aqds_nand_defconfig
+++ b/configs/ls1046aqds_nand_defconfig
@@ -22,13 +22,13 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
-CONFIG_CMD_USB=y
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
 CONFIG_FSL_CAAM=y
diff --git a/configs/ls1046aqds_qspi_defconfig b/configs/ls1046aqds_qspi_defconfig
index c47be08437..4244396f3d 100644
--- a/configs/ls1046aqds_qspi_defconfig
+++ b/configs/ls1046aqds_qspi_defconfig
@@ -17,13 +17,13 @@ CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
-CONFIG_CMD_USB=y
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
 CONFIG_FSL_CAAM=y
diff --git a/configs/ls1046aqds_sdcard_ifc_defconfig b/configs/ls1046aqds_sdcard_ifc_defconfig
index f93854ac8f..3c4b6359fd 100644
--- a/configs/ls1046aqds_sdcard_ifc_defconfig
+++ b/configs/ls1046aqds_sdcard_ifc_defconfig
@@ -22,13 +22,13 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
-CONFIG_CMD_USB=y
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
diff --git a/configs/ls1046aqds_sdcard_qspi_defconfig b/configs/ls1046aqds_sdcard_qspi_defconfig
index 62a9b2eaaf..8af81c0f85 100644
--- a/configs/ls1046aqds_sdcard_qspi_defconfig
+++ b/configs/ls1046aqds_sdcard_qspi_defconfig
@@ -22,13 +22,13 @@ CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
-CONFIG_CMD_USB=y
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
diff --git a/configs/ls1046ardb_emmc_defconfig b/configs/ls1046ardb_emmc_defconfig
index a315ac1b24..29c55733d7 100644
--- a/configs/ls1046ardb_emmc_defconfig
+++ b/configs/ls1046ardb_emmc_defconfig
@@ -19,13 +19,13 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
-CONFIG_CMD_USB=y
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
diff --git a/configs/ls1046ardb_qspi_SECURE_BOOT_defconfig b/configs/ls1046ardb_qspi_SECURE_BOOT_defconfig
index 6d40587eee..2ed55547f3 100644
--- a/configs/ls1046ardb_qspi_SECURE_BOOT_defconfig
+++ b/configs/ls1046ardb_qspi_SECURE_BOOT_defconfig
@@ -4,24 +4,19 @@ CONFIG_SECURE_BOOT=y
 CONFIG_FSL_LS_PPA=y
 CONFIG_QSPI_AHB_INIT=y
 CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1046a-rdb"
+CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_QSPI_BOOT=y
 CONFIG_BOOTDELAY=10
-CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
-CONFIG_CMD_DHCP=y
-CONFIG_CMD_MII=y
-CONFIG_CMD_PING=y
-CONFIG_CMD_CACHE=y
-CONFIG_CMD_EXT2=y
-CONFIG_CMD_FAT=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_CACHE=y
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
 CONFIG_SPI_FLASH=y
@@ -37,4 +32,3 @@ CONFIG_FSL_QSPI=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_RSA=y
-CONFIG_DISTRO_DEFAULTS=y
diff --git a/configs/ls1046ardb_qspi_defconfig b/configs/ls1046ardb_qspi_defconfig
index 1dc74debe7..bb5f3b007e 100644
--- a/configs/ls1046ardb_qspi_defconfig
+++ b/configs/ls1046ardb_qspi_defconfig
@@ -3,25 +3,20 @@ CONFIG_TARGET_LS1046ARDB=y
 CONFIG_FSL_LS_PPA=y
 CONFIG_QSPI_AHB_INIT=y
 CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1046a-rdb"
+CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_QSPI_BOOT=y
 CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_BOOTDELAY=10
-CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
-CONFIG_CMD_DHCP=y
-CONFIG_CMD_MII=y
-CONFIG_CMD_PING=y
-CONFIG_CMD_CACHE=y
-CONFIG_CMD_EXT2=y
-CONFIG_CMD_FAT=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_CACHE=y
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
 CONFIG_FSL_CAAM=y
@@ -37,4 +32,3 @@ CONFIG_DM_SPI=y
 CONFIG_FSL_QSPI=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
-CONFIG_DISTRO_DEFAULTS=y
diff --git a/configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig b/configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig
index 9fdc4379cc..419c2289db 100644
--- a/configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig
+++ b/configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig
@@ -3,6 +3,7 @@ CONFIG_TARGET_LS1046ARDB=y
 CONFIG_SECURE_BOOT=y
 CONFIG_FSL_LS_PPA=y
 CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1046a-rdb"
+CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL"
@@ -13,20 +14,14 @@ CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x110
 CONFIG_SPL_CRYPTO_SUPPORT=y
 CONFIG_SPL_HASH_SUPPORT=y
-CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
-CONFIG_CMD_DHCP=y
-CONFIG_CMD_MII=y
-CONFIG_CMD_PING=y
-CONFIG_CMD_CACHE=y
-CONFIG_CMD_EXT2=y
-CONFIG_CMD_FAT=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_CACHE=y
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
@@ -45,4 +40,3 @@ CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_RSA=y
 CONFIG_SPL_RSA=y
-CONFIG_DISTRO_DEFAULTS=y
diff --git a/configs/ls1046ardb_sdcard_defconfig b/configs/ls1046ardb_sdcard_defconfig
index 16cb8f1f00..48b0b43df5 100644
--- a/configs/ls1046ardb_sdcard_defconfig
+++ b/configs/ls1046ardb_sdcard_defconfig
@@ -3,6 +3,7 @@ CONFIG_TARGET_LS1046ARDB=y
 CONFIG_FSL_LS_PPA=y
 CONFIG_SPL_FSL_LS_PPA=y
 CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1046a-rdb"
+CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL"
@@ -13,20 +14,14 @@ CONFIG_SPL=y
 CONFIG_SPL_BOARD_INIT=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x110
-CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
-CONFIG_CMD_DHCP=y
-CONFIG_CMD_MII=y
-CONFIG_CMD_PING=y
-CONFIG_CMD_CACHE=y
-CONFIG_CMD_EXT2=y
-CONFIG_CMD_FAT=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_CACHE=y
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
@@ -43,4 +38,3 @@ CONFIG_DM_SPI=y
 CONFIG_FSL_QSPI=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
-CONFIG_DISTRO_DEFAULTS=y
diff --git a/configs/ls2080ardb_defconfig b/configs/ls2080ardb_defconfig
index fe4bb27992..da77d60f52 100644
--- a/configs/ls2080ardb_defconfig
+++ b/configs/ls2080ardb_defconfig
@@ -40,4 +40,3 @@ CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
-CONFIG_DISTRO_DEFAULTS=y
diff --git a/configs/ls2081ardb_defconfig b/configs/ls2081ardb_defconfig
index 21fce98af7..7fcfdd4b6e 100644
--- a/configs/ls2081ardb_defconfig
+++ b/configs/ls2081ardb_defconfig
@@ -22,7 +22,6 @@ CONFIG_CMD_CACHE=y
 CONFIG_OF_CONTROL=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
-CONFIG_SCSI=y
 CONFIG_FSL_CAAM=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_NETDEVICES=y
@@ -31,6 +30,7 @@ CONFIG_PCI=y
 CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_LAYERSCAPE=y
+CONFIG_SCSI=y
 CONFIG_SYS_NS16550=y
 CONFIG_DM_SPI=y
 CONFIG_FSL_DSPI=y
diff --git a/configs/ls2088ardb_qspi_defconfig b/configs/ls2088ardb_qspi_defconfig
index 4addbaf7df..3a022330e2 100644
--- a/configs/ls2088ardb_qspi_defconfig
+++ b/configs/ls2088ardb_qspi_defconfig
@@ -40,4 +40,3 @@ CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
 CONFIG_EFI_LOADER_BOUNCE_BUFFER=y
-CONFIG_DISTRO_DEFAULTS=y
diff --git a/configs/ms7720se_defconfig b/configs/ms7720se_defconfig
index 7f137fa911..dd95a236bb 100644
--- a/configs/ms7720se_defconfig
+++ b/configs/ms7720se_defconfig
@@ -26,5 +26,5 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_DOS_PARTITION=y
 CONFIG_MTD_NOR_FLASH=y
-CONFIG_USE_PRIVATE_LIBGCC=y
 CONFIG_SCIF_CONSOLE=y
+CONFIG_USE_PRIVATE_LIBGCC=y
diff --git a/configs/omap5_uevm_defconfig b/configs/omap5_uevm_defconfig
index d13d11c8b1..635bdf7e13 100644
--- a/configs/omap5_uevm_defconfig
+++ b/configs/omap5_uevm_defconfig
@@ -33,10 +33,10 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_ISO_PARTITION=y
-CONFIG_SCSI=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
 CONFIG_MMC_OMAP_HS=y
+CONFIG_SCSI=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
diff --git a/configs/r8a7795_salvator-x_defconfig b/configs/r8a7795_salvator-x_defconfig
index 1a11099e0c..98eca37710 100644
--- a/configs/r8a7795_salvator-x_defconfig
+++ b/configs/r8a7795_salvator-x_defconfig
@@ -3,9 +3,9 @@ CONFIG_ARCH_RMOBILE=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_RCAR_GEN3=y
 CONFIG_TARGET_SALVATOR_X=y
-CONFIG_ENV_IS_IN_MMC=y
 CONFIG_DEFAULT_DEVICE_TREE="r8a7795-salvator-x"
 CONFIG_SMBIOS_PRODUCT_NAME=""
+CONFIG_ENV_IS_IN_MMC=y
 CONFIG_DEFAULT_FDT_FILE="r8a7795-salvator-x.dtb"
 CONFIG_VERSION_VARIABLE=y
 CONFIG_CMD_BOOTZ=y
@@ -15,8 +15,8 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
-CONFIG_OF_CONTROL=y
 CONFIG_CMD_FAT=y
+CONFIG_OF_CONTROL=y
 CONFIG_CLK=y
 CONFIG_CLK_RENESAS=y
 CONFIG_SH_SDHI=y
diff --git a/configs/r8a7796_salvator-x_defconfig b/configs/r8a7796_salvator-x_defconfig
index 2c8e7ddb99..9e0f9290bf 100644
--- a/configs/r8a7796_salvator-x_defconfig
+++ b/configs/r8a7796_salvator-x_defconfig
@@ -4,9 +4,9 @@ CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_RCAR_GEN3=y
 CONFIG_R8A7796=y
 CONFIG_TARGET_SALVATOR_X=y
-CONFIG_ENV_IS_IN_MMC=y
 CONFIG_DEFAULT_DEVICE_TREE="r8a7796-salvator-x"
 CONFIG_SMBIOS_PRODUCT_NAME=""
+CONFIG_ENV_IS_IN_MMC=y
 CONFIG_DEFAULT_FDT_FILE="r8a7796-salvator-x.dtb"
 CONFIG_VERSION_VARIABLE=y
 CONFIG_CMD_BOOTZ=y
@@ -16,8 +16,8 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
-CONFIG_OF_CONTROL=y
 CONFIG_CMD_FAT=y
+CONFIG_OF_CONTROL=y
 CONFIG_CLK=y
 CONFIG_CLK_RENESAS=y
 CONFIG_SH_SDHI=y
diff --git a/configs/xilinx_zynqmp_ep_defconfig b/configs/xilinx_zynqmp_ep_defconfig
index d3ae3ec57a..b696c6272f 100644
--- a/configs/xilinx_zynqmp_ep_defconfig
+++ b/configs/xilinx_zynqmp_ep_defconfig
@@ -47,8 +47,6 @@ CONFIG_OF_EMBED=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SPL_DM=y
 CONFIG_SPL_DM_SEQ_ALIAS=y
-CONFIG_SCSI=y
-CONFIG_DM_SCSI=y
 CONFIG_SATA_CEVA=y
 CONFIG_DFU_RAM=y
 CONFIG_FPGA_XILINX=y
@@ -64,6 +62,8 @@ CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
 CONFIG_DM_ETH=y
 CONFIG_ZYNQ_GEM=y
+CONFIG_SCSI=y
+CONFIG_DM_SCSI=y
 CONFIG_DEBUG_UART_ZYNQ=y
 CONFIG_DEBUG_UART_BASE=0xff000000
 CONFIG_DEBUG_UART_CLOCK=25000000
diff --git a/configs/xilinx_zynqmp_zcu102_revA_defconfig b/configs/xilinx_zynqmp_zcu102_revA_defconfig
index fc14459d3c..0ef0ba5341 100644
--- a/configs/xilinx_zynqmp_zcu102_revA_defconfig
+++ b/configs/xilinx_zynqmp_zcu102_revA_defconfig
@@ -40,8 +40,6 @@ CONFIG_OF_EMBED=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SPL_DM=y
 CONFIG_SPL_DM_SEQ_ALIAS=y
-CONFIG_SCSI=y
-CONFIG_DM_SCSI=y
 CONFIG_SATA_CEVA=y
 CONFIG_DFU_RAM=y
 CONFIG_FPGA_XILINX=y
@@ -57,6 +55,8 @@ CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_DM_ETH=y
 CONFIG_ZYNQ_GEM=y
+CONFIG_SCSI=y
+CONFIG_DM_SCSI=y
 CONFIG_DEBUG_UART_ZYNQ=y
 CONFIG_DEBUG_UART_BASE=0xff000000
 CONFIG_DEBUG_UART_CLOCK=100000000
diff --git a/configs/xilinx_zynqmp_zcu102_revB_defconfig b/configs/xilinx_zynqmp_zcu102_revB_defconfig
index bc9b14e2fb..87be093cc2 100644
--- a/configs/xilinx_zynqmp_zcu102_revB_defconfig
+++ b/configs/xilinx_zynqmp_zcu102_revB_defconfig
@@ -40,8 +40,6 @@ CONFIG_OF_EMBED=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SPL_DM=y
 CONFIG_SPL_DM_SEQ_ALIAS=y
-CONFIG_SCSI=y
-CONFIG_DM_SCSI=y
 CONFIG_SATA_CEVA=y
 CONFIG_DFU_RAM=y
 CONFIG_FPGA_XILINX=y
@@ -57,6 +55,8 @@ CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_DM_ETH=y
 CONFIG_ZYNQ_GEM=y
+CONFIG_SCSI=y
+CONFIG_DM_SCSI=y
 CONFIG_DEBUG_UART_ZYNQ=y
 CONFIG_DEBUG_UART_BASE=0xff000000
 CONFIG_DEBUG_UART_CLOCK=100000000
--
2.14.0.rc1.383.gd1ce394fe2-goog

_______________________________________________
U-Boot mailing list
[hidden email]
https://lists.denx.de/listinfo/u-boot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH v2 02/42] Convert CONFIG_CMD_MAX6957 to Kconfig

Simon Glass-3
In reply to this post by Simon Glass-3
This converts the following to Kconfig:
   CONFIG_CMD_MAX6957

Signed-off-by: Simon Glass <[hidden email]>
Reviewed-by: Bin Meng <[hidden email]>
---

Changes in v2: None

 board/work-microwave/work_92105/Kconfig | 7 +++++++
 configs/work_92105_defconfig            | 1 +
 include/configs/work_92105.h            | 1 -
 scripts/config_whitelist.txt            | 1 -
 4 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/board/work-microwave/work_92105/Kconfig b/board/work-microwave/work_92105/Kconfig
index 1fde4b29aa..4bc34ed01f 100644
--- a/board/work-microwave/work_92105/Kconfig
+++ b/board/work-microwave/work_92105/Kconfig
@@ -17,4 +17,11 @@ config CMD_HD44760
  help
   This controls the LCD driver.
 
+config CMD_MAX6957
+ bool "Enable 'max6957aax' PMIC command"
+ help
+  DEPRECATED: Needs conversion to driver model.
+
+  This allows PMIC registers to be read and written.
+
 endif
diff --git a/configs/work_92105_defconfig b/configs/work_92105_defconfig
index ba2474c3a9..1765aa565a 100644
--- a/configs/work_92105_defconfig
+++ b/configs/work_92105_defconfig
@@ -6,6 +6,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_NAND_SUPPORT=y
 CONFIG_CMD_HD44760=y
 CONFIG_ENV_IS_IN_NAND=y
+CONFIG_CMD_MAX6957=y
 CONFIG_BOOTDELAY=3
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
diff --git a/include/configs/work_92105.h b/include/configs/work_92105.h
index 0ac7b85f4b..5c1af5f2a1 100644
--- a/include/configs/work_92105.h
+++ b/include/configs/work_92105.h
@@ -131,7 +131,6 @@
 
 #define CONFIG_LPC32XX_SSP
 #define CONFIG_LPC32XX_SSP_TIMEOUT 100000
-#define CONFIG_CMD_MAX6957
 /*
  * Environment
  */
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 3b5c17a982..9bb398c240 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_MAX6957
 CONFIG_CMD_MEM
 CONFIG_CMD_MFSL
 CONFIG_CMD_MMC_SPI
--
2.14.0.rc1.383.gd1ce394fe2-goog

_______________________________________________
U-Boot mailing list
[hidden email]
https://lists.denx.de/listinfo/u-boot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH v2 03/42] Kconfig: Drop CONFIG_CMD_MEM

Simon Glass-3
In reply to this post by Simon Glass-3
This is not actually used in U-Boot. Most likely it means
CONFIG_CMD_MEMORY so change all occurences to that.

Signed-off-by: Simon Glass <[hidden email]>
Reviewed-by: Bin Meng <[hidden email]>
---

Changes in v2: None

 README                                | 4 ++--
 include/configs/stm32f429-discovery.h | 2 --
 scripts/config_whitelist.txt          | 1 -
 3 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/README b/README
index 1edf3dbbd8..ad83a81da9 100644
--- a/README
+++ b/README
@@ -3698,7 +3698,7 @@ Low Level (hardware related) configuration options:
 
 - CONFIG_LOOPW
  Add the "loopw" memory command. This only takes effect if
- the memory commands are activated globally (CONFIG_CMD_MEM).
+ the memory commands are activated globally (CONFIG_CMD_MEMORY).
 
 - CONFIG_MX_CYCLIC
  Add the "mdc" and "mwc" memory commands. These are cyclic
@@ -3712,7 +3712,7 @@ Low Level (hardware related) configuration options:
  This command will write 12345678 to address 100 all 10 ms.
 
  This only takes effect if the memory commands are activated
- globally (CONFIG_CMD_MEM).
+ globally (CONFIG_CMD_MEMORY).
 
 - CONFIG_SKIP_LOWLEVEL_INIT
  [ARM, NDS32, MIPS only] If this variable is defined, then certain
diff --git a/include/configs/stm32f429-discovery.h b/include/configs/stm32f429-discovery.h
index c47be514d8..cd97c7cbad 100644
--- a/include/configs/stm32f429-discovery.h
+++ b/include/configs/stm32f429-discovery.h
@@ -82,6 +82,4 @@
 #define CONFIG_AUTO_COMPLETE
 #define CONFIG_CMDLINE_EDITING
 
-#define CONFIG_CMD_MEM
-
 #endif /* __CONFIG_H */
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 9bb398c240..b5662a9fd6 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_MEM
 CONFIG_CMD_MFSL
 CONFIG_CMD_MMC_SPI
 CONFIG_CMD_MTDPARTS_SPREAD
--
2.14.0.rc1.383.gd1ce394fe2-goog

_______________________________________________
U-Boot mailing list
[hidden email]
https://lists.denx.de/listinfo/u-boot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH v2 04/42] Kconfig: Sort the device-access commands

Simon Glass-3
In reply to this post by Simon Glass-3
These are currently not quite in alphabetical order. Before adding more,
sort them.

Signed-off-by: Simon Glass <[hidden email]>
Suggested-by: Bin Meng <[hidden email]>
---

Changes in v2:
- Add new patch to sort the device-access commands

 cmd/Kconfig | 244 ++++++++++++++++++++++++++++++------------------------------
 1 file changed, 122 insertions(+), 122 deletions(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index f18efc1e88..d9a35b81a7 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -483,6 +483,12 @@ endmenu
 
 menu "Device access commands"
 
+config CMD_ARMFLASH
+ #depends on FLASH_CFI_DRIVER
+ bool "armflash"
+ help
+  ARM Ltd reference designs flash partition access
+
 config CMD_CLK
  bool "clk - Show clock frequencies"
  help
@@ -492,6 +498,25 @@ config CMD_CLK
   clock values from associated drivers. However currently no command
   exists for this.
 
+config CMD_DEMO
+ bool "demo - Demonstration commands for driver model"
+ depends on DM
+ help
+  Provides a 'demo' command which can be used to play around with
+  driver model. To use this properly you will need to enable one or
+  both of the demo devices (DM_DEMO_SHAPE and DM_DEMO_SIMPLE).
+  Otherwise you will always get an empty list of devices. The demo
+  devices are defined in the sandbox device tree, so the easiest
+  option is to use sandbox and pass the -d point to sandbox's
+  u-boot.dtb file.
+
+config CMD_DFU
+ bool "dfu"
+ select USB_FUNCTION_DFU
+ help
+  Enables the command "dfu" which is used to have U-Boot create a DFU
+  class device via USB.
+
 config CMD_DM
  bool "dm - Access to driver model information"
  depends on DM
@@ -503,17 +528,80 @@ config CMD_DM
   can be useful to see the state of driver model for debugging or
   interest.
 
-config CMD_DEMO
- bool "demo - Demonstration commands for driver model"
- depends on DM
+config CMD_FDC
+ bool "fdcboot - Boot from floppy device"
  help
-  Provides a 'demo' command which can be used to play around with
-  driver model. To use this properly you will need to enable one or
-  both of the demo devices (DM_DEMO_SHAPE and DM_DEMO_SIMPLE).
-  Otherwise you will always get an empty list of devices. The demo
-  devices are defined in the sandbox device tree, so the easiest
-  option is to use sandbox and pass the -d point to sandbox's
-  u-boot.dtb file.
+  The 'fdtboot' command allows booting an image from a floppy disk.
+
+config CMD_FLASH
+ bool "flinfo, erase, protect"
+ default y
+ help
+  NOR flash support.
+    flinfo - print FLASH memory information
+    erase - FLASH memory
+    protect - enable or disable FLASH write protection
+
+config CMD_FPGA
+ bool "fpga"
+ default y
+ help
+  FPGA support.
+
+config CMD_FPGA_LOADBP
+ bool "fpga loadbp - load partial bitstream (Xilinx only)"
+ depends on CMD_FPGA
+ help
+  Supports loading an FPGA device from a bitstream buffer containing
+  a partial bitstream.
+
+config CMD_FPGA_LOADFS
+ bool "fpga loadfs - load bitstream from FAT filesystem (Xilinx only)"
+ depends on CMD_FPGA
+ help
+  Supports loading an FPGA device from a FAT filesystem.
+
+config CMD_FPGA_LOADMK
+ bool "fpga loadmk - load bitstream from image"
+ depends on CMD_FPGA
+ help
+  Supports loading an FPGA device from a image generated by mkimage.
+
+config CMD_FPGA_LOADP
+ bool "fpga loadp - load partial bitstream"
+ depends on CMD_FPGA
+ help
+  Supports loading an FPGA device from a bitstream buffer containing
+  a partial bitstream.
+
+config CMD_FPGAD
+ bool "fpgad - dump FPGA registers"
+ help
+  (legacy, needs conversion to driver model)
+  Provides a way to dump FPGA registers by calling the board-specific
+  fpga_get_reg() function. This functions similarly to the 'md'
+  command.
+
+config CMD_FUSE
+ bool "fuse - support for the fuse subssystem"
+ help
+  (deprecated - needs conversion to driver model)
+  This allows reading, sensing, programming or overriding fuses
+  which control the behaviour of the device. The command uses the
+  fuse_...() API.
+
+config CMD_GPIO
+ bool "gpio"
+ help
+  GPIO support.
+
+config CMD_GPT
+ bool "GPT (GUID Partition Table) command"
+ select PARTITION_UUIDS
+ select EFI_PARTITION
+ help
+  Enable the 'gpt' command to ready and write GPT style partition
+  tables.
 
 config CMD_IDE
  bool "ide - Support for IDE drivers"
@@ -566,6 +654,11 @@ config CMD_IOTRACE
   might be useful to enhance tracing to only checksum the accesses and
   not the data read/written.
 
+config CMD_I2C
+ bool "i2c"
+ help
+  I2C support.
+
 config CMD_LOADB
  bool "loadb"
  default y
@@ -578,29 +671,6 @@ config CMD_LOADS
  help
   Load an S-Record file over serial line
 
-config CMD_FLASH
- bool "flinfo, erase, protect"
- default y
- help
-  NOR flash support.
-    flinfo - print FLASH memory information
-    erase - FLASH memory
-    protect - enable or disable FLASH write protection
-
-config CMD_GPT
- bool "GPT (GUID Partition Table) command"
- select PARTITION_UUIDS
- select EFI_PARTITION
- help
-  Enable the 'gpt' command to ready and write GPT style partition
-  tables.
-
-config CMD_ARMFLASH
- #depends on FLASH_CFI_DRIVER
- bool "armflash"
- help
-  ARM Ltd reference designs flash partition access
-
 config CMD_MMC
  bool "mmc"
  help
@@ -638,6 +708,25 @@ config CMD_PART
   Read and display information about the partition table on
   various media.
 
+config CMD_REMOTEPROC
+ bool "remoteproc"
+ depends on REMOTEPROC
+ help
+  Support for Remote Processor control
+
+config CMD_SATA
+ bool "sata - Access SATA subsystem"
+ select SATA
+ help
+  SATA (Serial Advanced Technology Attachment) is a serial bus
+  standard for connecting to hard drives and other storage devices.
+  This command provides information about attached devices and allows
+  reading, writing and other operations.
+
+  SATA replaces PATA (originally just ATA), which stands for Parallel AT
+  Attachment, where AT refers to an IBM AT (Advanced Technology)
+  computer released in 1984.
+
 config CMD_SF
  bool "sf"
  help
@@ -648,105 +737,16 @@ config CMD_SPI
  help
   SPI utility command.
 
-config CMD_I2C
- bool "i2c"
- help
-  I2C support.
-
 config CMD_USB
  bool "usb"
  help
   USB support.
 
-config CMD_DFU
- bool "dfu"
- select USB_FUNCTION_DFU
- help
-  Enables the command "dfu" which is used to have U-Boot create a DFU
-  class device via USB.
-
 config CMD_USB_MASS_STORAGE
  bool "UMS usb mass storage"
  help
   USB mass storage support
 
-config CMD_FPGA
- bool "fpga"
- default y
- help
-  FPGA support.
-
-config CMD_FPGA_LOADBP
- bool "fpga loadbp - load partial bitstream (Xilinx only)"
- depends on CMD_FPGA
- help
-  Supports loading an FPGA device from a bitstream buffer containing
-  a partial bitstream.
-
-config CMD_FPGA_LOADFS
- bool "fpga loadfs - load bitstream from FAT filesystem (Xilinx only)"
- depends on CMD_FPGA
- help
-  Supports loading an FPGA device from a FAT filesystem.
-
-config CMD_FPGA_LOADMK
- bool "fpga loadmk - load bitstream from image"
- depends on CMD_FPGA
- help
-  Supports loading an FPGA device from a image generated by mkimage.
-
-config CMD_FPGA_LOADP
- bool "fpga loadp - load partial bitstream"
- depends on CMD_FPGA
- help
-  Supports loading an FPGA device from a bitstream buffer containing
-  a partial bitstream.
-
-config CMD_FPGAD
- bool "fpgad - dump FPGA registers"
- help
-  (legacy, needs conversion to driver model)
-  Provides a way to dump FPGA registers by calling the board-specific
-  fpga_get_reg() function. This functions similarly to the 'md'
-  command.
-
-config CMD_FUSE
- bool "fuse - support for the fuse subssystem"
- help
-  (deprecated - needs conversion to driver model)
-  This allows reading, sensing, programming or overriding fuses
-  which control the behaviour of the device. The command uses the
-  fuse_...() API.
-
-config CMD_REMOTEPROC
- bool "remoteproc"
- depends on REMOTEPROC
- help
-  Support for Remote Processor control
-
-config CMD_GPIO
- bool "gpio"
- help
-  GPIO support.
-
-config CMD_FDC
- bool "fdcboot - Boot from floppy device"
- help
-  The 'fdtboot' command allows booting an image from a floppy disk.
-
-config CMD_SATA
- bool "sata - Access SATA subsystem"
- select SATA
- help
-  SATA (Serial Advanced Technology Attachment) is a serial bus
-  standard for connecting to hard drives and other storage devices.
-  This command provides information about attached devices and allows
-  reading, writing and other operations.
-
-  SATA replaces PATA (originally just ATA), which stands for Parallel AT
-  Attachment, where AT refers to an IBM AT (Advanced Technology)
-  computer released in 1984.
-
 endmenu
 
 
--
2.14.0.rc1.383.gd1ce394fe2-goog

_______________________________________________
U-Boot mailing list
[hidden email]
https://lists.denx.de/listinfo/u-boot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH v2 05/42] Convert CONFIG_CMD_MMC_SPI to Kconfig

Simon Glass-3
In reply to this post by Simon Glass-3
This converts the following to Kconfig:
   CONFIG_CMD_MMC_SPI

Signed-off-by: Simon Glass <[hidden email]>
Reviewed-by: Bin Meng <[hidden email]>
---

Changes in v2:
- Sort Kconfig options in alphabetical order

 README                               | 1 -
 cmd/Kconfig                          | 9 +++++++++
 configs/UCP1020_SPIFLASH_defconfig   | 1 +
 configs/UCP1020_defconfig            | 1 +
 configs/microblaze-generic_defconfig | 1 +
 include/config_cmd_all.h             | 1 -
 include/configs/UCP1020.h            | 1 -
 include/configs/am335x_shc.h         | 1 -
 include/configs/microblaze-generic.h | 1 -
 scripts/config_whitelist.txt         | 2 --
 10 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/README b/README
index ad83a81da9..8d635a1aaf 100644
--- a/README
+++ b/README
@@ -836,7 +836,6 @@ The following options need to be configured:
  CONFIG_CMD_TIMER * access to the system tick timer
  CONFIG_CMD_USB * USB support
  CONFIG_CMD_CDP * Cisco Discover Protocol support
- CONFIG_CMD_MFSL * Microblaze FSL support
  CONFIG_CMD_XIMG  Load part of Multi Image
  CONFIG_CMD_UUID * Generate random UUID or GUID string
 
diff --git a/cmd/Kconfig b/cmd/Kconfig
index d9a35b81a7..4b63efe80c 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -701,6 +701,15 @@ config CMD_NAND_TORTURE
 
 endif # CMD_NAND
 
+config CMD_MMC_SPI
+ bool "mmc_spi - Set up MMC SPI device"
+ help
+  Provides a way to set up an MMC (Multimedia Card) SPI (Serial
+  Peripheral Interface) device. The device provides a means of
+  accessing an MMC device via SPI using a single data line, limited
+  to 20MHz. It is useful since it reduces the amount of protocol code
+  required.
+
 config CMD_PART
  bool "part"
  select PARTITION_UUIDS
diff --git a/configs/UCP1020_SPIFLASH_defconfig b/configs/UCP1020_SPIFLASH_defconfig
index 686137dc98..e871d6fdfc 100644
--- a/configs/UCP1020_SPIFLASH_defconfig
+++ b/configs/UCP1020_SPIFLASH_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_MMC_SPI=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/UCP1020_defconfig b/configs/UCP1020_defconfig
index be0029673b..13af8626e7 100644
--- a/configs/UCP1020_defconfig
+++ b/configs/UCP1020_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_MMC_SPI=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/microblaze-generic_defconfig b/configs/microblaze-generic_defconfig
index 3d84cf24aa..f97459e6a8 100644
--- a/configs/microblaze-generic_defconfig
+++ b/configs/microblaze-generic_defconfig
@@ -23,6 +23,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot-mONStR> "
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_MFSL=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_DHCP=y
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index e6ebc2f57d..b3c0d0e71f 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -13,7 +13,6 @@
  * Alphabetical list of all possible commands.
  */
 
-#define CONFIG_CMD_MFSL /* FSL support for Microblaze */
 #define CONFIG_CMD_ONENAND /* OneNAND support */
 #define CONFIG_CMD_PCI /* pciinfo */
 #define CONFIG_CMD_PCMCIA /* PCMCIA support */
diff --git a/include/configs/UCP1020.h b/include/configs/UCP1020.h
index 6fd3fa4712..eea518df21 100644
--- a/include/configs/UCP1020.h
+++ b/include/configs/UCP1020.h
@@ -437,7 +437,6 @@
 #define CONFIG_FSL_ESDHC
 #define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC85xx_ESDHC_ADDR
 #define CONFIG_MMC_SPI
-#define CONFIG_CMD_MMC_SPI
 #endif
 
 /* Misc Extra Settings */
diff --git a/include/configs/am335x_shc.h b/include/configs/am335x_shc.h
index f3b7767a97..d21240c23c 100644
--- a/include/configs/am335x_shc.h
+++ b/include/configs/am335x_shc.h
@@ -19,7 +19,6 @@
 #undef CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC
 #undef CONFIG_CMD_EXT4
 #undef CONFIG_CMD_EXT4_WRITE
-#undef CONFIG_CMD_MMC_SPI
 #undef CONFIG_CMD_SPI
 
 #define CONFIG_CMD_CACHE
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index aa007e2819..fb0575fa4d 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -163,7 +163,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_MFSL
 
 #if defined(FLASH)
 # if !defined(RAMENV)
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index b5662a9fd6..60d13dfbba 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -296,8 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_MFSL
-CONFIG_CMD_MMC_SPI
 CONFIG_CMD_MTDPARTS_SPREAD
 CONFIG_CMD_ONENAND
 CONFIG_CMD_PCA953X
--
2.14.0.rc1.383.gd1ce394fe2-goog

_______________________________________________
U-Boot mailing list
[hidden email]
https://lists.denx.de/listinfo/u-boot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH v2 06/42] Convert CONFIG_CMD_MTDPARTS_SPREAD to Kconfig

Simon Glass-3
In reply to this post by Simon Glass-3
This converts the following to Kconfig:
   CONFIG_CMD_MTDPARTS_SPREAD

Signed-off-by: Simon Glass <[hidden email]>
Reviewed-by: Bin Meng <[hidden email]>
---

Changes in v2: None

 cmd/Kconfig                  | 10 ++++++++++
 configs/sandbox_defconfig    |  1 +
 scripts/config_whitelist.txt |  1 -
 3 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 4b63efe80c..27b970975e 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1222,6 +1222,16 @@ config MTDPARTS_DEFAULT
   Defines a default MTD partitioning scheme in the Linux MTD command
   line partitions format
 
+config CMD_MTDPARTS_SPREAD
+ string "Padd partition size to take account of bad blocks"
+ depends on CMD_MTDPARTS
+ help
+  This enables the 'spread' sub-command of the mtdparts command.
+  This command will modify the existing mtdparts variable by increasing
+  the size of the partitions such that 1) each partition's net size is
+  at least as large as the size specified in the mtdparts variable and
+  2) each partition starts on a good block.
+
 endmenu
 
 menu "Debug commands"
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index fd0b952e1d..698ced0256 100644
--- a/configs/sandbox_defconfig
+++ b/configs/sandbox_defconfig
@@ -61,6 +61,7 @@ CONFIG_CMD_TPM_TEST=y
 CONFIG_CMD_CBFS=y
 CONFIG_CMD_CRAMFS=y
 CONFIG_CMD_EXT4_WRITE=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_MAC_PARTITION=y
 CONFIG_AMIGA_PARTITION=y
 CONFIG_OF_CONTROL=y
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 60d13dfbba..b366dc0f39 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_MTDPARTS_SPREAD
 CONFIG_CMD_ONENAND
 CONFIG_CMD_PCA953X
 CONFIG_CMD_PCA953X_INFO
--
2.14.0.rc1.383.gd1ce394fe2-goog

_______________________________________________
U-Boot mailing list
[hidden email]
https://lists.denx.de/listinfo/u-boot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH v2 07/42] Convert CONFIG_CMD_ONENAND to Kconfig

Simon Glass-3
In reply to this post by Simon Glass-3
This converts the following to Kconfig:
   CONFIG_CMD_ONENAND

Signed-off-by: Simon Glass <[hidden email]>
Reviewed-by: Bin Meng <[hidden email]>
---

Changes in v2: None

 cmd/Kconfig                                     | 8 ++++++++
 configs/igep0020_defconfig                      | 1 +
 configs/igep0030_defconfig                      | 1 +
 configs/igep0032_defconfig                      | 1 +
 configs/s5p_goni_defconfig                      | 1 +
 configs/smdkc100_defconfig                      | 1 +
 configs/vct_platinum_onenand_defconfig          | 1 +
 configs/vct_platinum_onenand_small_defconfig    | 1 +
 configs/vct_platinumavc_onenand_defconfig       | 1 +
 configs/vct_platinumavc_onenand_small_defconfig | 1 +
 configs/vct_premium_onenand_defconfig           | 1 +
 configs/vct_premium_onenand_small_defconfig     | 1 +
 include/config_cmd_all.h                        | 1 -
 include/configs/exynos4-common.h                | 2 --
 include/configs/nokia_rx51.h                    | 6 ------
 include/configs/omap3_igep00x0.h                | 2 --
 include/configs/s5p_goni.h                      | 2 --
 include/configs/smdkc100.h                      | 2 --
 include/configs/vct.h                           | 4 ----
 scripts/config_whitelist.txt                    | 1 -
 20 files changed, 19 insertions(+), 20 deletions(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 27b970975e..cbe4744272 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -710,6 +710,14 @@ config CMD_MMC_SPI
   to 20MHz. It is useful since it reduces the amount of protocol code
   required.
 
+config CMD_ONENAND
+ bool "onenand - access to onenand device"
+ help
+  OneNAND is a brand of NAND ('Not AND' gate) flash which provides
+  various useful features. This command allows reading, writing,
+  and erasing blocks. It allso provides a way to show and change
+  bad blocks, and test the device.
+
 config CMD_PART
  bool "part"
  select PARTITION_UUIDS
diff --git a/configs/igep0020_defconfig b/configs/igep0020_defconfig
index 8ca5a84ec5..2375f861f1 100644
--- a/configs/igep0020_defconfig
+++ b/configs/igep0020_defconfig
@@ -20,6 +20,7 @@ CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
+CONFIG_CMD_ONENAND=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_GPIO=y
diff --git a/configs/igep0030_defconfig b/configs/igep0030_defconfig
index 8af6dd53d0..03da20162b 100644
--- a/configs/igep0030_defconfig
+++ b/configs/igep0030_defconfig
@@ -20,6 +20,7 @@ CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
+CONFIG_CMD_ONENAND=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_GPIO=y
diff --git a/configs/igep0032_defconfig b/configs/igep0032_defconfig
index dd433309f9..fb8c925113 100644
--- a/configs/igep0032_defconfig
+++ b/configs/igep0032_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
+CONFIG_CMD_ONENAND=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_GPIO=y
diff --git a/configs/s5p_goni_defconfig b/configs/s5p_goni_defconfig
index 9c66a1826d..0045f5e63e 100644
--- a/configs/s5p_goni_defconfig
+++ b/configs/s5p_goni_defconfig
@@ -12,6 +12,7 @@ CONFIG_SYS_PROMPT="Goni # "
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
+CONFIG_CMD_ONENAND=y
 CONFIG_CMD_DFU=y
 CONFIG_CMD_USB_MASS_STORAGE=y
 # CONFIG_CMD_FPGA is not set
diff --git a/configs/smdkc100_defconfig b/configs/smdkc100_defconfig
index ef8510d47d..82ba51c00d 100644
--- a/configs/smdkc100_defconfig
+++ b/configs/smdkc100_defconfig
@@ -9,6 +9,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="SMDKC100 # "
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
+CONFIG_CMD_ONENAND=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_FAT=y
diff --git a/configs/vct_platinum_onenand_defconfig b/configs/vct_platinum_onenand_defconfig
index 4c1615c537..4c242e8786 100644
--- a/configs/vct_platinum_onenand_defconfig
+++ b/configs/vct_platinum_onenand_defconfig
@@ -9,6 +9,7 @@ CONFIG_SYS_PROMPT="$ "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
+CONFIG_CMD_ONENAND=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
diff --git a/configs/vct_platinum_onenand_small_defconfig b/configs/vct_platinum_onenand_small_defconfig
index 20c0863b7b..845833c073 100644
--- a/configs/vct_platinum_onenand_small_defconfig
+++ b/configs/vct_platinum_onenand_small_defconfig
@@ -15,6 +15,7 @@ CONFIG_SYS_PROMPT="$ "
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FLASH is not set
+CONFIG_CMD_ONENAND=y
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
 # CONFIG_CMD_SETEXPR is not set
diff --git a/configs/vct_platinumavc_onenand_defconfig b/configs/vct_platinumavc_onenand_defconfig
index dfb8f04ce7..2a726144e9 100644
--- a/configs/vct_platinumavc_onenand_defconfig
+++ b/configs/vct_platinumavc_onenand_defconfig
@@ -9,6 +9,7 @@ CONFIG_SYS_PROMPT="$ "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
+CONFIG_CMD_ONENAND=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NET is not set
diff --git a/configs/vct_platinumavc_onenand_small_defconfig b/configs/vct_platinumavc_onenand_small_defconfig
index de7b500f80..e2f68eb1ea 100644
--- a/configs/vct_platinumavc_onenand_small_defconfig
+++ b/configs/vct_platinumavc_onenand_small_defconfig
@@ -15,6 +15,7 @@ CONFIG_SYS_PROMPT="$ "
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FLASH is not set
+CONFIG_CMD_ONENAND=y
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
 # CONFIG_CMD_SETEXPR is not set
diff --git a/configs/vct_premium_onenand_defconfig b/configs/vct_premium_onenand_defconfig
index ba43e0e00a..39be742c5c 100644
--- a/configs/vct_premium_onenand_defconfig
+++ b/configs/vct_premium_onenand_defconfig
@@ -9,6 +9,7 @@ CONFIG_SYS_PROMPT="$ "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
+CONFIG_CMD_ONENAND=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
diff --git a/configs/vct_premium_onenand_small_defconfig b/configs/vct_premium_onenand_small_defconfig
index cc9998f391..6e3a420a14 100644
--- a/configs/vct_premium_onenand_small_defconfig
+++ b/configs/vct_premium_onenand_small_defconfig
@@ -15,6 +15,7 @@ CONFIG_SYS_PROMPT="$ "
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FLASH is not set
+CONFIG_CMD_ONENAND=y
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
 # CONFIG_CMD_SETEXPR is not set
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index b3c0d0e71f..c61951bb22 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -13,7 +13,6 @@
  * Alphabetical list of all possible commands.
  */
 
-#define CONFIG_CMD_ONENAND /* OneNAND support */
 #define CONFIG_CMD_PCI /* pciinfo */
 #define CONFIG_CMD_PCMCIA /* PCMCIA support */
 #define CONFIG_CMD_PORTIO /* Port I/O */
diff --git a/include/configs/exynos4-common.h b/include/configs/exynos4-common.h
index c995f35b73..9f0131a7ee 100644
--- a/include/configs/exynos4-common.h
+++ b/include/configs/exynos4-common.h
@@ -20,8 +20,6 @@
 /* SD/MMC configuration */
 #define CONFIG_MMC_DEFAULT_DEV 0
 
-#undef CONFIG_CMD_ONENAND
-
 /* TIZEN THOR downloader support */
 #define CONFIG_CMD_THOR_DOWNLOAD
 #define CONFIG_USB_FUNCTION_THOR
diff --git a/include/configs/nokia_rx51.h b/include/configs/nokia_rx51.h
index 982651462d..2767f882e4 100644
--- a/include/configs/nokia_rx51.h
+++ b/include/configs/nokia_rx51.h
@@ -102,12 +102,6 @@
 #define CONFIG_CMDLINE_EDITING /* add command line history */
 #define CONFIG_AUTO_COMPLETE /* add autocompletion support */
 
-#ifdef ONENAND_SUPPORT
-
-#define CONFIG_CMD_ONENAND /* ONENAND support */
-
-#endif
-
 #define CONFIG_OMAP3_SPI
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_OMAP24_I2C_SPEED 100000
diff --git a/include/configs/omap3_igep00x0.h b/include/configs/omap3_igep00x0.h
index 39f1e54544..35d46dc949 100644
--- a/include/configs/omap3_igep00x0.h
+++ b/include/configs/omap3_igep00x0.h
@@ -52,8 +52,6 @@
 #define CONFIG_USBD_MANUFACTURER "Texas Instruments"
 #define CONFIG_USBD_PRODUCT_NAME "IGEP"
 
-#define CONFIG_CMD_ONENAND
-
 #ifndef CONFIG_SPL_BUILD
 
 /* Environment */
diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h
index 9c00138508..eb17580865 100644
--- a/include/configs/s5p_goni.h
+++ b/include/configs/s5p_goni.h
@@ -51,8 +51,6 @@
 /* PWM */
 #define CONFIG_PWM 1
 
-#define CONFIG_CMD_ONENAND
-
 /* USB Composite download gadget - g_dnl */
 #define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_32M
 #define DFU_DEFAULT_POLL_TIMEOUT 300
diff --git a/include/configs/smdkc100.h b/include/configs/smdkc100.h
index 3e3575438a..58abac5eef 100644
--- a/include/configs/smdkc100.h
+++ b/include/configs/smdkc100.h
@@ -59,8 +59,6 @@
 /***********************************************************
  * Command definition
  ***********************************************************/
-#define CONFIG_CMD_ONENAND
-
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
 
diff --git a/include/configs/vct.h b/include/configs/vct.h
index 2cb4ab149c..e3c3b0e71f 100644
--- a/include/configs/vct.h
+++ b/include/configs/vct.h
@@ -105,10 +105,6 @@
 #define CONFIG_EHCI_HCD_INIT_AFTER_RESET /* re-init HCD after CMD_RESET */
 #endif /* CONFIG_CMD_USB */
 
-#if defined(CONFIG_VCT_ONENAND)
-#define CONFIG_CMD_ONENAND
-#endif
-
 /*
  * BOOTP options
  */
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index b366dc0f39..67ad3b846c 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_ONENAND
 CONFIG_CMD_PCA953X
 CONFIG_CMD_PCA953X_INFO
 CONFIG_CMD_PCI
--
2.14.0.rc1.383.gd1ce394fe2-goog

_______________________________________________
U-Boot mailing list
[hidden email]
https://lists.denx.de/listinfo/u-boot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH v2 08/42] Convert CONFIG_CMD_PCA953X to Kconfig

Simon Glass-3
In reply to this post by Simon Glass-3
This converts the following to Kconfig:
   CONFIG_CMD_PCA953X

Signed-off-by: Simon Glass <[hidden email]>
Reviewed-by: Bin Meng <[hidden email]>
---

Changes in v2: None

 README                                      | 1 -
 arch/powerpc/cpu/mpc83xx/Kconfig            | 1 +
 configs/cl-som-am57x_defconfig              | 1 +
 configs/cm_t335_defconfig                   | 1 +
 configs/ot1200_defconfig                    | 1 +
 configs/ot1200_spl_defconfig                | 1 +
 configs/snapper9260_defconfig               | 1 +
 configs/snapper9g20_defconfig               | 1 +
 configs/xilinx_zynqmp_zcu102_revA_defconfig | 1 +
 configs/xilinx_zynqmp_zcu102_revB_defconfig | 1 +
 configs/xpedite517x_defconfig               | 1 +
 configs/xpedite520x_defconfig               | 1 +
 configs/xpedite537x_defconfig               | 1 +
 configs/xpedite550x_defconfig               | 1 +
 drivers/gpio/Kconfig                        | 9 +++++++++
 include/configs/cl-som-am57x.h              | 1 -
 include/configs/cm_t335.h                   | 1 -
 include/configs/ot1200.h                    | 1 -
 include/configs/snapper9260.h               | 1 -
 include/configs/strider.h                   | 1 -
 include/configs/xilinx_zynqmp_zcu102.h      | 1 -
 include/configs/xpedite517x.h               | 1 -
 include/configs/xpedite520x.h               | 1 -
 include/configs/xpedite537x.h               | 1 -
 include/configs/xpedite550x.h               | 1 -
 scripts/config_whitelist.txt                | 1 -
 26 files changed, 22 insertions(+), 12 deletions(-)

diff --git a/README b/README
index 8d635a1aaf..5f916c8d8e 100644
--- a/README
+++ b/README
@@ -812,7 +812,6 @@ The following options need to be configured:
  CONFIG_CMD_MII * MII utility commands
  CONFIG_CMD_NET  bootp, tftpboot, rarpboot
  CONFIG_CMD_NFS  NFS support
- CONFIG_CMD_PCA953X * PCA953x I2C gpio commands
  CONFIG_CMD_PCA953X_INFO * PCA953x I2C gpio info command
  CONFIG_CMD_PCI * pciinfo
  CONFIG_CMD_PCMCIA * PCMCIA support
diff --git a/arch/powerpc/cpu/mpc83xx/Kconfig b/arch/powerpc/cpu/mpc83xx/Kconfig
index b5b26f9b3a..c66d6616a4 100644
--- a/arch/powerpc/cpu/mpc83xx/Kconfig
+++ b/arch/powerpc/cpu/mpc83xx/Kconfig
@@ -96,6 +96,7 @@ config TARGET_STRIDER
  bool "Support strider"
  select SYS_FSL_ERRATUM_ESDHC111
  imply ENV_IS_IN_FLASH
+ imply CMD_PCA953X
 
 endchoice
 
diff --git a/configs/cl-som-am57x_defconfig b/configs/cl-som-am57x_defconfig
index 0d1f614163..e0b7565ac0 100644
--- a/configs/cl-som-am57x_defconfig
+++ b/configs/cl-som-am57x_defconfig
@@ -34,6 +34,7 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_ISO_PARTITION=y
+CONFIG_CMD_PCA953X=y
 CONFIG_LED_STATUS=y
 CONFIG_LED_STATUS_GPIO=y
 CONFIG_LED_STATUS0=y
diff --git a/configs/cm_t335_defconfig b/configs/cm_t335_defconfig
index 7e411a961a..92a53278cc 100644
--- a/configs/cm_t335_defconfig
+++ b/configs/cm_t335_defconfig
@@ -45,6 +45,7 @@ CONFIG_CMD_FS_GENERIC=y
 CONFIG_CMD_MTDPARTS=y
 CONFIG_ISO_PARTITION=y
 CONFIG_EFI_PARTITION=y
+CONFIG_CMD_PCA953X=y
 CONFIG_LED_STATUS=y
 CONFIG_LED_STATUS_GPIO=y
 CONFIG_LED_STATUS0=y
diff --git a/configs/ot1200_defconfig b/configs/ot1200_defconfig
index 3ae27da0d4..8605111ee1 100644
--- a/configs/ot1200_defconfig
+++ b/configs/ot1200_defconfig
@@ -25,6 +25,7 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_DM=y
+CONFIG_CMD_PCA953X=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_SPI_FLASH_STMICRO=y
diff --git a/configs/ot1200_spl_defconfig b/configs/ot1200_spl_defconfig
index 50be46849e..707eea06c5 100644
--- a/configs/ot1200_spl_defconfig
+++ b/configs/ot1200_spl_defconfig
@@ -33,6 +33,7 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_DM=y
+CONFIG_CMD_PCA953X=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_SPI_FLASH_STMICRO=y
diff --git a/configs/snapper9260_defconfig b/configs/snapper9260_defconfig
index 0c78b4717f..2e86f954c8 100644
--- a/configs/snapper9260_defconfig
+++ b/configs/snapper9260_defconfig
@@ -24,6 +24,7 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_PCA953X=y
 # CONFIG_MMC is not set
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
diff --git a/configs/snapper9g20_defconfig b/configs/snapper9g20_defconfig
index f524a66fa3..e2b58419f2 100644
--- a/configs/snapper9g20_defconfig
+++ b/configs/snapper9g20_defconfig
@@ -23,6 +23,7 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_PCA953X=y
 # CONFIG_MMC is not set
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
diff --git a/configs/xilinx_zynqmp_zcu102_revA_defconfig b/configs/xilinx_zynqmp_zcu102_revA_defconfig
index 0ef0ba5341..b58460ae3a 100644
--- a/configs/xilinx_zynqmp_zcu102_revA_defconfig
+++ b/configs/xilinx_zynqmp_zcu102_revA_defconfig
@@ -45,6 +45,7 @@ CONFIG_DFU_RAM=y
 CONFIG_FPGA_XILINX=y
 CONFIG_FPGA_ZYNQMPPL=y
 CONFIG_DM_GPIO=y
+CONFIG_CMD_PCA953X=y
 CONFIG_DM_MMC=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_ZYNQ=y
diff --git a/configs/xilinx_zynqmp_zcu102_revB_defconfig b/configs/xilinx_zynqmp_zcu102_revB_defconfig
index 87be093cc2..0e1c841ea5 100644
--- a/configs/xilinx_zynqmp_zcu102_revB_defconfig
+++ b/configs/xilinx_zynqmp_zcu102_revB_defconfig
@@ -45,6 +45,7 @@ CONFIG_DFU_RAM=y
 CONFIG_FPGA_XILINX=y
 CONFIG_FPGA_ZYNQMPPL=y
 CONFIG_DM_GPIO=y
+CONFIG_CMD_PCA953X=y
 CONFIG_DM_MMC=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_ZYNQ=y
diff --git a/configs/xpedite517x_defconfig b/configs/xpedite517x_defconfig
index aff3bf0640..47fac0052e 100644
--- a/configs/xpedite517x_defconfig
+++ b/configs/xpedite517x_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_JFFS2=y
 CONFIG_CMD_IRQ=y
+CONFIG_CMD_PCA953X=y
 CONFIG_DS4510=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
diff --git a/configs/xpedite520x_defconfig b/configs/xpedite520x_defconfig
index 0a705f80b7..4192269147 100644
--- a/configs/xpedite520x_defconfig
+++ b/configs/xpedite520x_defconfig
@@ -21,6 +21,7 @@ CONFIG_CMD_DATE=y
 # CONFIG_CMD_HASH is not set
 CONFIG_CMD_JFFS2=y
 # CONFIG_CMD_IRQ is not set
+CONFIG_CMD_PCA953X=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SYS_NS16550=y
diff --git a/configs/xpedite537x_defconfig b/configs/xpedite537x_defconfig
index 45fe128a55..90a00d9e17 100644
--- a/configs/xpedite537x_defconfig
+++ b/configs/xpedite537x_defconfig
@@ -21,6 +21,7 @@ CONFIG_CMD_DATE=y
 CONFIG_CMD_JFFS2=y
 # CONFIG_CMD_IRQ is not set
 CONFIG_SYS_FSL_DDR2=y
+CONFIG_CMD_PCA953X=y
 CONFIG_DS4510=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
diff --git a/configs/xpedite550x_defconfig b/configs/xpedite550x_defconfig
index 63ce8b2393..796a805242 100644
--- a/configs/xpedite550x_defconfig
+++ b/configs/xpedite550x_defconfig
@@ -21,6 +21,7 @@ CONFIG_CMD_DATE=y
 # CONFIG_CMD_HASH is not set
 CONFIG_CMD_JFFS2=y
 # CONFIG_CMD_IRQ is not set
+CONFIG_CMD_PCA953X=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SYS_NS16550=y
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 63951e0dbe..d2e7c29e1d 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -109,6 +109,15 @@ config OMAP_GPIO
   Support GPIO controllers on the TI OMAP3/4/5 and related (such as
   AM335x/AM43xx/AM57xx/DRA7xx/etc) families of SoCs.
 
+config CMD_PCA953X
+ bool "Enable the pca953x command"
+ help
+  Deprecated: This should be converted to driver model.
+
+  This command provides access to a pca953x GPIO device using the
+  legacy GPIO interface. Several subcommands are provided which mirror
+  the standard 'gpio' command. It should use that instead.
+
 config PM8916_GPIO
  bool "Qualcomm PM8916 PMIC GPIO/keypad driver"
  depends on DM_GPIO && PMIC_PM8916
diff --git a/include/configs/cl-som-am57x.h b/include/configs/cl-som-am57x.h
index 120ac02e06..8f3721cbfc 100644
--- a/include/configs/cl-som-am57x.h
+++ b/include/configs/cl-som-am57x.h
@@ -74,7 +74,6 @@
  CONFIG_SYS_SCSI_MAX_LUN)
 /* PCA9555 GPIO expander support */
 #define CONFIG_PCA953X
-#define CONFIG_CMD_PCA953X
 #define CONFIG_CMD_PCA953X_INFO
 #define CONFIG_SYS_I2C_PCA953X_ADDR     0x20
 #define CONFIG_SYS_I2C_PCA953X_WIDTH    { {0x20, 16} }
diff --git a/include/configs/cm_t335.h b/include/configs/cm_t335.h
index ed7bb1d21c..7331d4fe1f 100644
--- a/include/configs/cm_t335.h
+++ b/include/configs/cm_t335.h
@@ -163,7 +163,6 @@
  * First select the I2C0 bus with "i2c dev 0", then use "pca953x" command.
  */
 #define CONFIG_PCA953X
-#define CONFIG_CMD_PCA953X
 #define CONFIG_CMD_PCA953X_INFO
 #define CONFIG_SYS_I2C_PCA953X_ADDR 0x26
 #define CONFIG_SYS_I2C_PCA953X_WIDTH { {0x26, 16} }
diff --git a/include/configs/ot1200.h b/include/configs/ot1200.h
index 373c2d5ca2..1287282270 100644
--- a/include/configs/ot1200.h
+++ b/include/configs/ot1200.h
@@ -31,7 +31,6 @@
 #define CONFIG_PCA953X
 #define CONFIG_SYS_I2C_PCA953X_ADDR 0x20
 #define CONFIG_SYS_I2C_PCA953X_WIDTH { {0x20, 16} }
-#define CONFIG_CMD_PCA953X
 #define CONFIG_CMD_PCA953X_INFO
 
 /* I2C Configs */
diff --git a/include/configs/snapper9260.h b/include/configs/snapper9260.h
index 5ec8c1b695..8ff0fa3412 100644
--- a/include/configs/snapper9260.h
+++ b/include/configs/snapper9260.h
@@ -137,7 +137,6 @@
 #define CONFIG_SYS_MALLOC_LEN (1 << 20)
 
 /* Command line configuration */
-#define CONFIG_CMD_PCA953X
 #define CONFIG_CMD_PCA953X_INFO
 
 #endif /* __CONFIG_H */
diff --git a/include/configs/strider.h b/include/configs/strider.h
index a702ec71da..507a41462b 100644
--- a/include/configs/strider.h
+++ b/include/configs/strider.h
@@ -301,7 +301,6 @@
 #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000
 
 #define CONFIG_PCA953X /* NXP PCA9554 */
-#define CONFIG_CMD_PCA953X
 #define CONFIG_CMD_PCA953X_INFO
 #define CONFIG_SYS_I2C_PCA953X_WIDTH    { {0x24, 16}, {0x25, 16}, {0x26, 16}, \
   {0x3c, 8}, {0x3d, 8}, {0x3e, 8} }
diff --git a/include/configs/xilinx_zynqmp_zcu102.h b/include/configs/xilinx_zynqmp_zcu102.h
index 4194b66c66..52278f1885 100644
--- a/include/configs/xilinx_zynqmp_zcu102.h
+++ b/include/configs/xilinx_zynqmp_zcu102.h
@@ -38,7 +38,6 @@
 
 #define CONFIG_SYS_I2C_ZYNQ
 #define CONFIG_PCA953X
-#define CONFIG_CMD_PCA953X
 #define CONFIG_CMD_PCA953X_INFO
 
 #define CONFIG_ZYNQMP_XHCI_LIST {ZYNQMP_USB0_XHCI_BASEADDR}
diff --git a/include/configs/xpedite517x.h b/include/configs/xpedite517x.h
index c21c944b29..c27433787f 100644
--- a/include/configs/xpedite517x.h
+++ b/include/configs/xpedite517x.h
@@ -484,7 +484,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_PCA953X
 #define CONFIG_CMD_PCA953X_INFO
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_PCI_ENUM
diff --git a/include/configs/xpedite520x.h b/include/configs/xpedite520x.h
index eb801542eb..fa8f1d89f5 100644
--- a/include/configs/xpedite520x.h
+++ b/include/configs/xpedite520x.h
@@ -287,7 +287,6 @@
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_PCA953X
 #define CONFIG_CMD_PCA953X_INFO
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_PCI_ENUM
diff --git a/include/configs/xpedite537x.h b/include/configs/xpedite537x.h
index bc423136ba..2a35bf0972 100644
--- a/include/configs/xpedite537x.h
+++ b/include/configs/xpedite537x.h
@@ -337,7 +337,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_PCA953X
 #define CONFIG_CMD_PCA953X_INFO
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_PCI_ENUM
diff --git a/include/configs/xpedite550x.h b/include/configs/xpedite550x.h
index 13be539db3..c31f83d2e1 100644
--- a/include/configs/xpedite550x.h
+++ b/include/configs/xpedite550x.h
@@ -336,7 +336,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_PCA953X
 #define CONFIG_CMD_PCA953X_INFO
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_PCI_ENUM
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 67ad3b846c..8993ee89fb 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_PCA953X
 CONFIG_CMD_PCA953X_INFO
 CONFIG_CMD_PCI
 CONFIG_CMD_PCI_ENUM
--
2.14.0.rc1.383.gd1ce394fe2-goog

_______________________________________________
U-Boot mailing list
[hidden email]
https://lists.denx.de/listinfo/u-boot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH v2 09/42] Kconfig: Drop CONFIG_CMD_PCA953X_INFO

Simon Glass-3
In reply to this post by Simon Glass-3
It does not seem worth having an option to enable another sub-command in
this legacy driver. Drop this option so that the sub-command is always
available.

Signed-off-by: Simon Glass <[hidden email]>
Reviewed-by: Bin Meng <[hidden email]>
---

Changes in v2: None

 README                                 | 1 -
 drivers/gpio/pca953x.c                 | 8 --------
 include/configs/cl-som-am57x.h         | 1 -
 include/configs/cm_t335.h              | 1 -
 include/configs/ot1200.h               | 1 -
 include/configs/snapper9260.h          | 3 ---
 include/configs/strider.h              | 1 -
 include/configs/xilinx_zynqmp_zcu102.h | 1 -
 include/configs/xpedite517x.h          | 1 -
 include/configs/xpedite520x.h          | 1 -
 include/configs/xpedite537x.h          | 1 -
 include/configs/xpedite550x.h          | 1 -
 scripts/config_whitelist.txt           | 1 -
 13 files changed, 22 deletions(-)

diff --git a/README b/README
index 5f916c8d8e..addbf306f1 100644
--- a/README
+++ b/README
@@ -812,7 +812,6 @@ The following options need to be configured:
  CONFIG_CMD_MII * MII utility commands
  CONFIG_CMD_NET  bootp, tftpboot, rarpboot
  CONFIG_CMD_NFS  NFS support
- CONFIG_CMD_PCA953X_INFO * PCA953x I2C gpio info command
  CONFIG_CMD_PCI * pciinfo
  CONFIG_CMD_PCMCIA * PCMCIA support
  CONFIG_CMD_PING * send ICMP ECHO_REQUEST to network
diff --git a/drivers/gpio/pca953x.c b/drivers/gpio/pca953x.c
index 238e02805c..d1c1ae1411 100644
--- a/drivers/gpio/pca953x.c
+++ b/drivers/gpio/pca953x.c
@@ -143,7 +143,6 @@ int pca953x_get_val(uint8_t chip)
 }
 
 #ifdef CONFIG_CMD_PCA953X
-#ifdef CONFIG_CMD_PCA953X_INFO
 /*
  * Display pca953x information
  */
@@ -193,16 +192,13 @@ static int pca953x_info(uint8_t chip)
 
  return 0;
 }
-#endif /* CONFIG_CMD_PCA953X_INFO */
 
 cmd_tbl_t cmd_pca953x[] = {
  U_BOOT_CMD_MKENT(device, 3, 0, (void *)PCA953X_CMD_DEVICE, "", ""),
  U_BOOT_CMD_MKENT(output, 4, 0, (void *)PCA953X_CMD_OUTPUT, "", ""),
  U_BOOT_CMD_MKENT(input, 3, 0, (void *)PCA953X_CMD_INPUT, "", ""),
  U_BOOT_CMD_MKENT(invert, 4, 0, (void *)PCA953X_CMD_INVERT, "", ""),
-#ifdef CONFIG_CMD_PCA953X_INFO
  U_BOOT_CMD_MKENT(info, 2, 0, (void *)PCA953X_CMD_INFO, "", ""),
-#endif
 };
 
 int do_pca953x(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
@@ -231,13 +227,11 @@ int do_pca953x(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
  ul_arg3 = simple_strtoul(argv[3], NULL, 16) & 0x1;
 
  switch ((long)c->cmd) {
-#ifdef CONFIG_CMD_PCA953X_INFO
  case PCA953X_CMD_INFO:
  ret = pca953x_info(chip);
  if (ret)
  ret = CMD_RET_FAILURE;
  break;
-#endif
 
  case PCA953X_CMD_DEVICE:
  if (argc == 3)
@@ -287,10 +281,8 @@ U_BOOT_CMD(
  "pca953x gpio access",
  "device [dev]\n"
  " - show or set current device address\n"
-#ifdef CONFIG_CMD_PCA953X_INFO
  "pca953x info\n"
  " - display info for current chip\n"
-#endif
  "pca953x output pin 0|1\n"
  " - set pin as output and drive low or high\n"
  "pca953x invert pin 0|1\n"
diff --git a/include/configs/cl-som-am57x.h b/include/configs/cl-som-am57x.h
index 8f3721cbfc..b9d6454887 100644
--- a/include/configs/cl-som-am57x.h
+++ b/include/configs/cl-som-am57x.h
@@ -74,7 +74,6 @@
  CONFIG_SYS_SCSI_MAX_LUN)
 /* PCA9555 GPIO expander support */
 #define CONFIG_PCA953X
-#define CONFIG_CMD_PCA953X_INFO
 #define CONFIG_SYS_I2C_PCA953X_ADDR     0x20
 #define CONFIG_SYS_I2C_PCA953X_WIDTH    { {0x20, 16} }
 
diff --git a/include/configs/cm_t335.h b/include/configs/cm_t335.h
index 7331d4fe1f..bc52aae251 100644
--- a/include/configs/cm_t335.h
+++ b/include/configs/cm_t335.h
@@ -163,7 +163,6 @@
  * First select the I2C0 bus with "i2c dev 0", then use "pca953x" command.
  */
 #define CONFIG_PCA953X
-#define CONFIG_CMD_PCA953X_INFO
 #define CONFIG_SYS_I2C_PCA953X_ADDR 0x26
 #define CONFIG_SYS_I2C_PCA953X_WIDTH { {0x26, 16} }
 #endif /* CONFIG_SPL_BUILD */
diff --git a/include/configs/ot1200.h b/include/configs/ot1200.h
index 1287282270..8a1a49653c 100644
--- a/include/configs/ot1200.h
+++ b/include/configs/ot1200.h
@@ -31,7 +31,6 @@
 #define CONFIG_PCA953X
 #define CONFIG_SYS_I2C_PCA953X_ADDR 0x20
 #define CONFIG_SYS_I2C_PCA953X_WIDTH { {0x20, 16} }
-#define CONFIG_CMD_PCA953X_INFO
 
 /* I2C Configs */
 #define CONFIG_SYS_I2C
diff --git a/include/configs/snapper9260.h b/include/configs/snapper9260.h
index 8ff0fa3412..e7828a5036 100644
--- a/include/configs/snapper9260.h
+++ b/include/configs/snapper9260.h
@@ -136,7 +136,4 @@
 /* U-Boot memory settings */
 #define CONFIG_SYS_MALLOC_LEN (1 << 20)
 
-/* Command line configuration */
-#define CONFIG_CMD_PCA953X_INFO
-
 #endif /* __CONFIG_H */
diff --git a/include/configs/strider.h b/include/configs/strider.h
index 507a41462b..aa7f15389c 100644
--- a/include/configs/strider.h
+++ b/include/configs/strider.h
@@ -301,7 +301,6 @@
 #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000
 
 #define CONFIG_PCA953X /* NXP PCA9554 */
-#define CONFIG_CMD_PCA953X_INFO
 #define CONFIG_SYS_I2C_PCA953X_WIDTH    { {0x24, 16}, {0x25, 16}, {0x26, 16}, \
   {0x3c, 8}, {0x3d, 8}, {0x3e, 8} }
 
diff --git a/include/configs/xilinx_zynqmp_zcu102.h b/include/configs/xilinx_zynqmp_zcu102.h
index 52278f1885..85f78ba43b 100644
--- a/include/configs/xilinx_zynqmp_zcu102.h
+++ b/include/configs/xilinx_zynqmp_zcu102.h
@@ -38,7 +38,6 @@
 
 #define CONFIG_SYS_I2C_ZYNQ
 #define CONFIG_PCA953X
-#define CONFIG_CMD_PCA953X_INFO
 
 #define CONFIG_ZYNQMP_XHCI_LIST {ZYNQMP_USB0_XHCI_BASEADDR}
 
diff --git a/include/configs/xpedite517x.h b/include/configs/xpedite517x.h
index c27433787f..fe1c14b7ee 100644
--- a/include/configs/xpedite517x.h
+++ b/include/configs/xpedite517x.h
@@ -484,7 +484,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_PCA953X_INFO
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_PCI_ENUM
 #define CONFIG_CMD_REGINFO
diff --git a/include/configs/xpedite520x.h b/include/configs/xpedite520x.h
index fa8f1d89f5..8a7cf7f711 100644
--- a/include/configs/xpedite520x.h
+++ b/include/configs/xpedite520x.h
@@ -287,7 +287,6 @@
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_PCA953X_INFO
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_PCI_ENUM
 #define CONFIG_CMD_REGINFO
diff --git a/include/configs/xpedite537x.h b/include/configs/xpedite537x.h
index 2a35bf0972..5d59bfe28b 100644
--- a/include/configs/xpedite537x.h
+++ b/include/configs/xpedite537x.h
@@ -337,7 +337,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_PCA953X_INFO
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_PCI_ENUM
 #define CONFIG_CMD_REGINFO
diff --git a/include/configs/xpedite550x.h b/include/configs/xpedite550x.h
index c31f83d2e1..6bf7dc3e67 100644
--- a/include/configs/xpedite550x.h
+++ b/include/configs/xpedite550x.h
@@ -336,7 +336,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_PCA953X_INFO
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_PCI_ENUM
 #define CONFIG_CMD_REGINFO
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 8993ee89fb..2f1d669114 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_PCA953X_INFO
 CONFIG_CMD_PCI
 CONFIG_CMD_PCI_ENUM
 CONFIG_CMD_PCMCIA
--
2.14.0.rc1.383.gd1ce394fe2-goog

_______________________________________________
U-Boot mailing list
[hidden email]
https://lists.denx.de/listinfo/u-boot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH v2 10/42] Convert CONFIG_CMD_PCI to Kconfig

Simon Glass-3
In reply to this post by Simon Glass-3
This converts the following to Kconfig:
   CONFIG_CMD_PCI

Signed-off-by: Simon Glass <[hidden email]>
---

Changes in v2:
- Fix indentation for CMD_PCI
- Sort Kconfig options in alphabetical order

 README                                                  | 1 -
 arch/arm/cpu/armv7/ls102xa/Kconfig                      | 1 +
 arch/arm/cpu/armv8/fsl-layerscape/Kconfig               | 1 +
 arch/powerpc/cpu/mpc85xx/Kconfig                        | 6 ++++++
 cmd/Kconfig                                             | 8 ++++++++
 configs/M5235EVB_Flash32_defconfig                      | 1 +
 configs/M5235EVB_defconfig                              | 1 +
 configs/M5475AFE_defconfig                              | 1 +
 configs/M5475BFE_defconfig                              | 1 +
 configs/M5475CFE_defconfig                              | 1 +
 configs/M5475DFE_defconfig                              | 1 +
 configs/M5475EFE_defconfig                              | 1 +
 configs/M5475FFE_defconfig                              | 1 +
 configs/M5475GFE_defconfig                              | 1 +
 configs/M5485AFE_defconfig                              | 1 +
 configs/M5485BFE_defconfig                              | 1 +
 configs/M5485CFE_defconfig                              | 1 +
 configs/M5485DFE_defconfig                              | 1 +
 configs/M5485EFE_defconfig                              | 1 +
 configs/M5485FFE_defconfig                              | 1 +
 configs/M5485GFE_defconfig                              | 1 +
 configs/M5485HFE_defconfig                              | 1 +
 configs/MPC8308RDB_defconfig                            | 1 +
 configs/MPC8313ERDB_33_defconfig                        | 1 +
 configs/MPC8313ERDB_66_defconfig                        | 1 +
 configs/MPC8313ERDB_NAND_33_defconfig                   | 1 +
 configs/MPC8313ERDB_NAND_66_defconfig                   | 1 +
 configs/MPC8315ERDB_defconfig                           | 1 +
 configs/MPC8323ERDB_defconfig                           | 1 +
 configs/MPC832XEMDS_HOST_33_defconfig                   | 1 +
 configs/MPC832XEMDS_HOST_66_defconfig                   | 1 +
 configs/MPC832XEMDS_SLAVE_defconfig                     | 1 +
 configs/MPC8349ITXGP_defconfig                          | 1 +
 configs/MPC8349ITX_LOWBOOT_defconfig                    | 1 +
 configs/MPC8349ITX_defconfig                            | 1 +
 configs/MPC837XEMDS_HOST_defconfig                      | 1 +
 configs/MPC837XERDB_defconfig                           | 1 +
 configs/MPC8536DS_36BIT_defconfig                       | 1 +
 configs/MPC8536DS_SDCARD_defconfig                      | 1 +
 configs/MPC8536DS_SPIFLASH_defconfig                    | 1 +
 configs/MPC8536DS_defconfig                             | 1 +
 configs/MPC8541CDS_defconfig                            | 1 +
 configs/MPC8541CDS_legacy_defconfig                     | 1 +
 configs/MPC8544DS_defconfig                             | 1 +
 configs/MPC8548CDS_36BIT_defconfig                      | 1 +
 configs/MPC8548CDS_defconfig                            | 1 +
 configs/MPC8548CDS_legacy_defconfig                     | 1 +
 configs/MPC8555CDS_defconfig                            | 1 +
 configs/MPC8555CDS_legacy_defconfig                     | 1 +
 configs/MPC8568MDS_defconfig                            | 1 +
 configs/MPC8569MDS_ATM_defconfig                        | 1 +
 configs/MPC8569MDS_defconfig                            | 1 +
 configs/MPC8572DS_36BIT_defconfig                       | 1 +
 configs/MPC8572DS_defconfig                             | 1 +
 configs/MPC8610HPCD_defconfig                           | 1 +
 configs/MPC8641HPCN_36BIT_defconfig                     | 1 +
 configs/MPC8641HPCN_defconfig                           | 1 +
 configs/P1021RDB-PC_36BIT_NAND_defconfig                | 1 +
 configs/P1021RDB-PC_36BIT_SDCARD_defconfig              | 1 +
 configs/P1021RDB-PC_36BIT_SPIFLASH_defconfig            | 1 +
 configs/P1021RDB-PC_36BIT_defconfig                     | 1 +
 configs/P1021RDB-PC_NAND_defconfig                      | 1 +
 configs/P1021RDB-PC_SDCARD_defconfig                    | 1 +
 configs/P1021RDB-PC_SPIFLASH_defconfig                  | 1 +
 configs/P1021RDB-PC_defconfig                           | 1 +
 configs/P1022DS_36BIT_NAND_defconfig                    | 1 +
 configs/P1022DS_36BIT_SDCARD_defconfig                  | 1 +
 configs/P1022DS_36BIT_SPIFLASH_defconfig                | 1 +
 configs/P1022DS_36BIT_defconfig                         | 1 +
 configs/P1022DS_NAND_defconfig                          | 1 +
 configs/P1022DS_SDCARD_defconfig                        | 1 +
 configs/P1022DS_SPIFLASH_defconfig                      | 1 +
 configs/P1022DS_defconfig                               | 1 +
 configs/P1023RDB_defconfig                              | 1 +
 configs/P1025RDB_36BIT_defconfig                        | 1 +
 configs/P1025RDB_NAND_defconfig                         | 1 +
 configs/P1025RDB_SDCARD_defconfig                       | 1 +
 configs/P1025RDB_SPIFLASH_defconfig                     | 1 +
 configs/P1025RDB_defconfig                              | 1 +
 configs/P2020RDB-PC_36BIT_NAND_defconfig                | 1 +
 configs/P2020RDB-PC_36BIT_SDCARD_defconfig              | 1 +
 configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig            | 1 +
 configs/P2020RDB-PC_36BIT_defconfig                     | 1 +
 configs/P2020RDB-PC_NAND_defconfig                      | 1 +
 configs/P2020RDB-PC_SDCARD_defconfig                    | 1 +
 configs/P2020RDB-PC_SPIFLASH_defconfig                  | 1 +
 configs/P2020RDB-PC_defconfig                           | 1 +
 configs/TQM834x_defconfig                               | 1 +
 configs/TWR-P1025_defconfig                             | 1 +
 configs/apalis-tk1_defconfig                            | 1 +
 configs/apalis_t30_defconfig                            | 1 +
 configs/bayleybay_defconfig                             | 1 +
 configs/beaver_defconfig                                | 1 +
 configs/boston32r2_defconfig                            | 1 +
 configs/boston32r2el_defconfig                          | 1 +
 configs/boston64r2_defconfig                            | 1 +
 configs/boston64r2el_defconfig                          | 1 +
 configs/caddy2_defconfig                                | 1 +
 configs/cardhu_defconfig                                | 1 +
 configs/cei-tk1-som_defconfig                           | 1 +
 configs/chromebook_link64_defconfig                     | 1 +
 configs/chromebook_link_defconfig                       | 1 +
 configs/chromebook_samus_defconfig                      | 1 +
 configs/chromebox_panther_defconfig                     | 1 +
 configs/clearfog_defconfig                              | 1 +
 configs/conga-qeval20-qa3-e3845-internal-uart_defconfig | 1 +
 configs/conga-qeval20-qa3-e3845_defconfig               | 1 +
 configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig   | 1 +
 configs/controlcenterd_36BIT_SDCARD_defconfig           | 1 +
 configs/controlcenterdc_defconfig                       | 1 +
 configs/coreboot-x86_defconfig                          | 1 +
 configs/cougarcanyon2_defconfig                         | 1 +
 configs/crownbay_defconfig                              | 1 +
 configs/db-88f6820-amc_defconfig                        | 1 +
 configs/db-88f6820-gp_defconfig                         | 1 +
 configs/db-mv784mp-gp_defconfig                         | 1 +
 configs/dfi-bt700-q7x-151_defconfig                     | 1 +
 configs/ds414_defconfig                                 | 1 +
 configs/efi-x86_defconfig                               | 1 +
 configs/galileo_defconfig                               | 1 +
 configs/gwventana_emmc_defconfig                        | 1 +
 configs/gwventana_gw5904_defconfig                      | 1 +
 configs/gwventana_nand_defconfig                        | 1 +
 configs/hrcon_defconfig                                 | 1 +
 configs/hrcon_dh_defconfig                              | 1 +
 configs/integratorap_cm720t_defconfig                   | 1 +
 configs/integratorap_cm920t_defconfig                   | 1 +
 configs/integratorap_cm926ejs_defconfig                 | 1 +
 configs/integratorap_cm946es_defconfig                  | 1 +
 configs/jetson-tk1_defconfig                            | 1 +
 configs/ls1012aqds_qspi_defconfig                       | 1 +
 configs/ls1012ardb_qspi_SECURE_BOOT_defconfig           | 1 +
 configs/ls1012ardb_qspi_defconfig                       | 1 +
 configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig     | 2 +-
 configs/ls1046aqds_SECURE_BOOT_defconfig                | 3 ++-
 configs/ls1046aqds_defconfig                            | 3 ++-
 configs/ls1046aqds_nand_defconfig                       | 3 ++-
 configs/ls1046aqds_qspi_defconfig                       | 3 ++-
 configs/ls1046aqds_sdcard_ifc_defconfig                 | 3 ++-
 configs/ls1046aqds_sdcard_qspi_defconfig                | 3 ++-
 configs/ls1046ardb_emmc_defconfig                       | 3 ++-
 configs/ls1046ardb_qspi_SECURE_BOOT_defconfig           | 3 ++-
 configs/ls1046ardb_qspi_defconfig                       | 3 ++-
 configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig         | 3 ++-
 configs/ls1046ardb_sdcard_defconfig                     | 3 ++-
 configs/ls2080aqds_SECURE_BOOT_defconfig                | 1 +
 configs/ls2080aqds_defconfig                            | 1 +
 configs/ls2080aqds_nand_defconfig                       | 1 +
 configs/ls2080aqds_qspi_defconfig                       | 1 +
 configs/ls2080aqds_sdcard_defconfig                     | 1 +
 configs/ls2080ardb_SECURE_BOOT_defconfig                | 1 +
 configs/ls2080ardb_defconfig                            | 1 +
 configs/ls2080ardb_nand_defconfig                       | 1 +
 configs/ls2081ardb_defconfig                            | 1 +
 configs/ls2088ardb_qspi_defconfig                       | 1 +
 configs/malta64_defconfig                               | 1 +
 configs/malta64el_defconfig                             | 1 +
 configs/malta_defconfig                                 | 1 +
 configs/maltael_defconfig                               | 1 +
 configs/minnowmax_defconfig                             | 1 +
 configs/mpc8308_p1m_defconfig                           | 1 +
 configs/mvebu_db_armada8k_defconfig                     | 1 +
 configs/mvebu_mcbin-88f8040_defconfig                   | 1 +
 configs/mx6sabresd_defconfig                            | 1 +
 configs/mx6sxsabresd_defconfig                          | 1 +
 configs/mx6sxsabresd_spl_defconfig                      | 1 +
 configs/novena_defconfig                                | 1 +
 configs/p2371-2180_defconfig                            | 1 +
 configs/p2771-0000-000_defconfig                        | 1 +
 configs/p2771-0000-500_defconfig                        | 1 +
 configs/qemu-ppce500_defconfig                          | 1 +
 configs/qemu-x86_64_defconfig                           | 1 +
 configs/qemu-x86_defconfig                              | 1 +
 configs/qemu-x86_efi_payload32_defconfig                | 1 +
 configs/qemu-x86_efi_payload64_defconfig                | 1 +
 configs/r2dplus_defconfig                               | 1 +
 configs/r7780mp_defconfig                               | 1 +
 configs/sandbox_defconfig                               | 1 +
 configs/sandbox_flattree_defconfig                      | 1 +
 configs/sandbox_noblk_defconfig                         | 1 +
 configs/sandbox_spl_defconfig                           | 1 +
 configs/sbc8349_PCI_33_defconfig                        | 1 +
 configs/sbc8349_PCI_66_defconfig                        | 1 +
 configs/sbc8548_PCI_33_PCIE_defconfig                   | 1 +
 configs/sbc8548_PCI_33_defconfig                        | 1 +
 configs/sbc8548_PCI_66_PCIE_defconfig                   | 1 +
 configs/sbc8548_PCI_66_defconfig                        | 1 +
 configs/sbc8641d_defconfig                              | 1 +
 configs/sh7785lcr_32bit_defconfig                       | 1 +
 configs/sh7785lcr_defconfig                             | 1 +
 configs/socrates_defconfig                              | 1 +
 configs/som-db5800-som-6867_defconfig                   | 1 +
 configs/strider_con_defconfig                           | 1 +
 configs/strider_con_dp_defconfig                        | 1 +
 configs/strider_cpu_defconfig                           | 1 +
 configs/strider_cpu_dp_defconfig                        | 1 +
 configs/tbs2910_defconfig                               | 1 +
 configs/theadorable-x86-dfi-bt700_defconfig             | 1 +
 configs/theadorable_debug_defconfig                     | 1 +
 configs/trimslice_defconfig                             | 1 +
 configs/turris_omnia_defconfig                          | 1 +
 configs/ve8313_defconfig                                | 1 +
 configs/vining_2000_defconfig                           | 1 +
 configs/vme8349_defconfig                               | 1 +
 configs/xpedite517x_defconfig                           | 1 +
 configs/xpedite520x_defconfig                           | 1 +
 configs/xpedite537x_defconfig                           | 1 +
 configs/xpedite550x_defconfig                           | 1 +
 configs/zc5202_defconfig                                | 1 +
 include/config_cmd_all.h                                | 1 -
 include/configs/B4860QDS.h                              | 4 ----
 include/configs/BSC9132QDS.h                            | 2 --
 include/configs/C29XPCIE.h                              | 2 --
 include/configs/M5235EVB.h                              | 3 ---
 include/configs/M54455EVB.h                             | 3 ---
 include/configs/M5475EVB.h                              | 6 ------
 include/configs/M5485EVB.h                              | 6 ------
 include/configs/MPC8308RDB.h                            | 1 -
 include/configs/MPC8313ERDB.h                           | 1 -
 include/configs/MPC8315ERDB.h                           | 1 -
 include/configs/MPC8323ERDB.h                           | 4 ----
 include/configs/MPC832XEMDS.h                           | 4 ----
 include/configs/MPC8349EMDS.h                           | 4 ----
 include/configs/MPC8349ITX.h                            | 4 ----
 include/configs/MPC837XEMDS.h                           | 4 ----
 include/configs/MPC837XERDB.h                           | 4 ----
 include/configs/MPC8536DS.h                             | 4 ----
 include/configs/MPC8540ADS.h                            | 4 ----
 include/configs/MPC8541CDS.h                            | 4 ----
 include/configs/MPC8544DS.h                             | 4 ----
 include/configs/MPC8548CDS.h                            | 4 ----
 include/configs/MPC8555CDS.h                            | 4 ----
 include/configs/MPC8560ADS.h                            | 4 ----
 include/configs/MPC8568MDS.h                            | 4 ----
 include/configs/MPC8569MDS.h                            | 4 ----
 include/configs/MPC8572DS.h                             | 4 ----
 include/configs/MPC8610HPCD.h                           | 4 ----
 include/configs/MPC8641HPCN.h                           | 4 ----
 include/configs/P1010RDB.h                              | 2 --
 include/configs/P1022DS.h                               | 4 ----
 include/configs/P1023RDB.h                              | 4 ----
 include/configs/P2041RDB.h                              | 4 ----
 include/configs/T102xQDS.h                              | 4 ----
 include/configs/T102xRDB.h                              | 4 ----
 include/configs/T1040QDS.h                              | 4 ----
 include/configs/T104xRDB.h                              | 4 ----
 include/configs/T208xQDS.h                              | 4 ----
 include/configs/T208xRDB.h                              | 4 ----
 include/configs/T4240RDB.h                              | 4 ----
 include/configs/TQM834x.h                               | 7 -------
 include/configs/UCP1020.h                               | 2 --
 include/configs/advantech_dms-ba16.h                    | 1 -
 include/configs/apalis-tk1.h                            | 1 -
 include/configs/apalis_t30.h                            | 1 -
 include/configs/beaver.h                                | 1 -
 include/configs/boston.h                                | 1 -
 include/configs/cardhu.h                                | 1 -
 include/configs/cei-tk1-som.h                           | 1 -
 include/configs/clearfog.h                              | 1 -
 include/configs/controlcenterd.h                        | 1 -
 include/configs/controlcenterdc.h                       | 1 -
 include/configs/corenet_ds.h                            | 4 ----
 include/configs/cyrus.h                                 | 4 ----
 include/configs/db-88f6820-amc.h                        | 1 -
 include/configs/db-88f6820-gp.h                         | 1 -
 include/configs/db-mv784mp-gp.h                         | 5 -----
 include/configs/ds414.h                                 | 1 -
 include/configs/ge_bx50v3.h                             | 1 -
 include/configs/gw_ventana.h                            | 1 -
 include/configs/hrcon.h                                 | 1 -
 include/configs/integratorap.h                          | 2 --
 include/configs/jetson-tk1.h                            | 1 -
 include/configs/km/km83xx-common.h                      | 4 ----
 include/configs/km/kmp204x-common.h                     | 1 -
 include/configs/ls1012aqds.h                            | 1 -
 include/configs/ls1012ardb.h                            | 1 -
 include/configs/ls1021aiot.h                            | 1 -
 include/configs/ls1021aqds.h                            | 1 -
 include/configs/ls1021atwr.h                            | 1 -
 include/configs/ls1043a_common.h                        | 1 -
 include/configs/ls1046a_common.h                        | 1 -
 include/configs/ls2080aqds.h                            | 1 -
 include/configs/ls2080ardb.h                            | 1 -
 include/configs/malta.h                                 | 1 -
 include/configs/mpc8308_p1m.h                           | 1 -
 include/configs/mvebu_armada-8k.h                       | 1 -
 include/configs/mx6sabresd.h                            | 1 -
 include/configs/mx6sxsabresd.h                          | 1 -
 include/configs/novena.h                                | 1 -
 include/configs/p1_p2_rdb_pc.h                          | 2 --
 include/configs/p1_twr.h                                | 2 --
 include/configs/p2371-2180.h                            | 1 -
 include/configs/p2771-0000.h                            | 1 -
 include/configs/qemu-ppce500.h                          | 4 ----
 include/configs/r2dplus.h                               | 1 -
 include/configs/r7780mp.h                               | 1 -
 include/configs/sandbox.h                               | 2 --
 include/configs/sbc8349.h                               | 4 ----
 include/configs/sbc8548.h                               | 4 ----
 include/configs/sbc8641d.h                              | 4 ----
 include/configs/sh7785lcr.h                             | 1 -
 include/configs/socrates.h                              | 4 ----
 include/configs/strider.h                               | 1 -
 include/configs/t4qds.h                                 | 4 ----
 include/configs/tbs2910.h                               | 1 -
 include/configs/theadorable.h                           | 3 ---
 include/configs/trimslice.h                             | 1 -
 include/configs/turris_omnia.h                          | 1 -
 include/configs/ve8313.h                                | 1 -
 include/configs/vining_2000.h                           | 1 -
 include/configs/vme8349.h                               | 4 ----
 include/configs/x86-common.h                            | 1 -
 include/configs/xpedite517x.h                           | 1 -
 include/configs/xpedite520x.h                           | 1 -
 include/configs/xpedite537x.h                           | 1 -
 include/configs/xpedite550x.h                           | 1 -
 include/configs/zc5202.h                                | 1 -
 scripts/config_whitelist.txt                            | 1 -
 318 files changed, 231 insertions(+), 273 deletions(-)

diff --git a/README b/README
index addbf306f1..63dd18ce10 100644
--- a/README
+++ b/README
@@ -812,7 +812,6 @@ The following options need to be configured:
  CONFIG_CMD_MII * MII utility commands
  CONFIG_CMD_NET  bootp, tftpboot, rarpboot
  CONFIG_CMD_NFS  NFS support
- CONFIG_CMD_PCI * pciinfo
  CONFIG_CMD_PCMCIA * PCMCIA support
  CONFIG_CMD_PING * send ICMP ECHO_REQUEST to network
   host
diff --git a/arch/arm/cpu/armv7/ls102xa/Kconfig b/arch/arm/cpu/armv7/ls102xa/Kconfig
index 6a013b2183..fadfce4f05 100644
--- a/arch/arm/cpu/armv7/ls102xa/Kconfig
+++ b/arch/arm/cpu/armv7/ls102xa/Kconfig
@@ -15,6 +15,7 @@ config ARCH_LS1021A
  select SYS_FSL_SEC_COMPAT_5
  select SYS_FSL_SEC_LE
  imply SCSI
+ imply CMD_PCI
 
 menu "LS102xA architecture"
  depends on ARCH_LS1021A
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
index 5825f9b726..0ab138b707 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
+++ b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
@@ -27,6 +27,7 @@ config ARCH_LS1043A
  select ARCH_EARLY_INIT_R
  select BOARD_EARLY_INIT_F
  imply SCSI
+ imply CMD_PCI
 
 config ARCH_LS1046A
  bool
diff --git a/arch/powerpc/cpu/mpc85xx/Kconfig b/arch/powerpc/cpu/mpc85xx/Kconfig
index 93a454cf1f..22fd306bfc 100644
--- a/arch/powerpc/cpu/mpc85xx/Kconfig
+++ b/arch/powerpc/cpu/mpc85xx/Kconfig
@@ -489,6 +489,7 @@ config ARCH_BSC9132
  imply CMD_EEPROM
  imply CMD_MTDPARTS
  imply CMD_NAND
+ imply CMD_PCI
 
 config ARCH_C29X
  bool
@@ -503,6 +504,7 @@ config ARCH_C29X
  select SYS_PPC_E500_USE_DEBUG_TLB
  select FSL_IFC
  imply CMD_NAND
+ imply CMD_PCI
 
 config ARCH_MPC8536
  bool
@@ -633,6 +635,7 @@ config ARCH_P1010
  imply CMD_MTDPARTS
  imply CMD_NAND
  imply CMD_SATA
+ imply CMD_PCI
 
 config ARCH_P1011
  bool
@@ -663,6 +666,7 @@ config ARCH_P1020
  select FSL_ELBC
  imply CMD_NAND
  imply CMD_SATA
+ imply CMD_PCI
 
 config ARCH_P1021
  bool
@@ -724,6 +728,7 @@ config ARCH_P1024
  imply CMD_EEPROM
  imply CMD_NAND
  imply CMD_SATA
+ imply CMD_PCI
 
 config ARCH_P1025
  bool
@@ -1076,6 +1081,7 @@ config E500
 
 config E500MC
  bool
+ imply CMD_PCI
  help
  Enble PowerPC E500MC core
 
diff --git a/cmd/Kconfig b/cmd/Kconfig
index cbe4744272..6654050574 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -725,6 +725,14 @@ config CMD_PART
   Read and display information about the partition table on
   various media.
 
+config CMD_PCI
+ bool "pci - Access PCI devices"
+ help
+  Provide access to PCI (Peripheral Interconnect Bus), a type of bus
+  used on some devices to allow the CPU to communicate with its
+  peripherals. Sub-commands allow bus enumeration, displaying and
+  changing configuration space and a few other features.
+
 config CMD_REMOTEPROC
  bool "remoteproc"
  depends on REMOTEPROC
diff --git a/configs/M5235EVB_Flash32_defconfig b/configs/M5235EVB_Flash32_defconfig
index ee8ba643b2..8e4d2c837f 100644
--- a/configs/M5235EVB_Flash32_defconfig
+++ b/configs/M5235EVB_Flash32_defconfig
@@ -8,6 +8,7 @@ CONFIG_BOOTDELAY=1
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/M5235EVB_defconfig b/configs/M5235EVB_defconfig
index d3bbf21ff2..8cd8b112b8 100644
--- a/configs/M5235EVB_defconfig
+++ b/configs/M5235EVB_defconfig
@@ -8,6 +8,7 @@ CONFIG_SYS_PROMPT="-> "
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/M5475AFE_defconfig b/configs/M5475AFE_defconfig
index 07ec2a95f1..61a1b65049 100644
--- a/configs/M5475AFE_defconfig
+++ b/configs/M5475AFE_defconfig
@@ -6,6 +6,7 @@ CONFIG_BOOTDELAY=1
 CONFIG_SYS_PROMPT="-> "
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/M5475BFE_defconfig b/configs/M5475BFE_defconfig
index 73338338ef..193939c675 100644
--- a/configs/M5475BFE_defconfig
+++ b/configs/M5475BFE_defconfig
@@ -6,6 +6,7 @@ CONFIG_BOOTDELAY=1
 CONFIG_SYS_PROMPT="-> "
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/M5475CFE_defconfig b/configs/M5475CFE_defconfig
index deb3d6f81d..ada595ade4 100644
--- a/configs/M5475CFE_defconfig
+++ b/configs/M5475CFE_defconfig
@@ -6,6 +6,7 @@ CONFIG_BOOTDELAY=1
 CONFIG_SYS_PROMPT="-> "
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/M5475DFE_defconfig b/configs/M5475DFE_defconfig
index 9a036cfd11..84c9e5c934 100644
--- a/configs/M5475DFE_defconfig
+++ b/configs/M5475DFE_defconfig
@@ -6,6 +6,7 @@ CONFIG_BOOTDELAY=1
 CONFIG_SYS_PROMPT="-> "
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/M5475EFE_defconfig b/configs/M5475EFE_defconfig
index 0f6c3d6800..d86dd203fc 100644
--- a/configs/M5475EFE_defconfig
+++ b/configs/M5475EFE_defconfig
@@ -6,6 +6,7 @@ CONFIG_BOOTDELAY=1
 CONFIG_SYS_PROMPT="-> "
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/M5475FFE_defconfig b/configs/M5475FFE_defconfig
index 4f8b4bb5bd..689cdd47b8 100644
--- a/configs/M5475FFE_defconfig
+++ b/configs/M5475FFE_defconfig
@@ -6,6 +6,7 @@ CONFIG_BOOTDELAY=1
 CONFIG_SYS_PROMPT="-> "
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/M5475GFE_defconfig b/configs/M5475GFE_defconfig
index 90e919232a..75b8a1cc56 100644
--- a/configs/M5475GFE_defconfig
+++ b/configs/M5475GFE_defconfig
@@ -6,6 +6,7 @@ CONFIG_BOOTDELAY=1
 CONFIG_SYS_PROMPT="-> "
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/M5485AFE_defconfig b/configs/M5485AFE_defconfig
index d49a6bedbb..7c0a3fd44a 100644
--- a/configs/M5485AFE_defconfig
+++ b/configs/M5485AFE_defconfig
@@ -6,6 +6,7 @@ CONFIG_BOOTDELAY=1
 CONFIG_SYS_PROMPT="-> "
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/M5485BFE_defconfig b/configs/M5485BFE_defconfig
index e0d619ef6b..7de0b8546f 100644
--- a/configs/M5485BFE_defconfig
+++ b/configs/M5485BFE_defconfig
@@ -6,6 +6,7 @@ CONFIG_BOOTDELAY=1
 CONFIG_SYS_PROMPT="-> "
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/M5485CFE_defconfig b/configs/M5485CFE_defconfig
index f0674e381f..c66d850c07 100644
--- a/configs/M5485CFE_defconfig
+++ b/configs/M5485CFE_defconfig
@@ -6,6 +6,7 @@ CONFIG_BOOTDELAY=1
 CONFIG_SYS_PROMPT="-> "
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/M5485DFE_defconfig b/configs/M5485DFE_defconfig
index be8990a076..c43cc9db4b 100644
--- a/configs/M5485DFE_defconfig
+++ b/configs/M5485DFE_defconfig
@@ -6,6 +6,7 @@ CONFIG_BOOTDELAY=1
 CONFIG_SYS_PROMPT="-> "
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/M5485EFE_defconfig b/configs/M5485EFE_defconfig
index 9961be4c18..26cfece58c 100644
--- a/configs/M5485EFE_defconfig
+++ b/configs/M5485EFE_defconfig
@@ -6,6 +6,7 @@ CONFIG_BOOTDELAY=1
 CONFIG_SYS_PROMPT="-> "
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/M5485FFE_defconfig b/configs/M5485FFE_defconfig
index 8edd4b9ea0..4d2073275a 100644
--- a/configs/M5485FFE_defconfig
+++ b/configs/M5485FFE_defconfig
@@ -6,6 +6,7 @@ CONFIG_BOOTDELAY=1
 CONFIG_SYS_PROMPT="-> "
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/M5485GFE_defconfig b/configs/M5485GFE_defconfig
index 8794f45558..90421dda3e 100644
--- a/configs/M5485GFE_defconfig
+++ b/configs/M5485GFE_defconfig
@@ -6,6 +6,7 @@ CONFIG_BOOTDELAY=1
 CONFIG_SYS_PROMPT="-> "
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/M5485HFE_defconfig b/configs/M5485HFE_defconfig
index 9a4f23d0c9..914cdcdbc6 100644
--- a/configs/M5485HFE_defconfig
+++ b/configs/M5485HFE_defconfig
@@ -6,6 +6,7 @@ CONFIG_BOOTDELAY=1
 CONFIG_SYS_PROMPT="-> "
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/MPC8308RDB_defconfig b/configs/MPC8308RDB_defconfig
index 10ff9cf7ca..8df1170332 100644
--- a/configs/MPC8308RDB_defconfig
+++ b/configs/MPC8308RDB_defconfig
@@ -10,6 +10,7 @@ CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/MPC8313ERDB_33_defconfig b/configs/MPC8313ERDB_33_defconfig
index 13a4fde917..dfc48b990c 100644
--- a/configs/MPC8313ERDB_33_defconfig
+++ b/configs/MPC8313ERDB_33_defconfig
@@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/MPC8313ERDB_66_defconfig b/configs/MPC8313ERDB_66_defconfig
index c1b5c85b5d..a7dfa1da3c 100644
--- a/configs/MPC8313ERDB_66_defconfig
+++ b/configs/MPC8313ERDB_66_defconfig
@@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/MPC8313ERDB_NAND_33_defconfig b/configs/MPC8313ERDB_NAND_33_defconfig
index e416ee36ce..f050d91623 100644
--- a/configs/MPC8313ERDB_NAND_33_defconfig
+++ b/configs/MPC8313ERDB_NAND_33_defconfig
@@ -13,6 +13,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/MPC8313ERDB_NAND_66_defconfig b/configs/MPC8313ERDB_NAND_66_defconfig
index 787b23a788..e7afb2c4e9 100644
--- a/configs/MPC8313ERDB_NAND_66_defconfig
+++ b/configs/MPC8313ERDB_NAND_66_defconfig
@@ -13,6 +13,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/MPC8315ERDB_defconfig b/configs/MPC8315ERDB_defconfig
index 74d886cd6e..530d802f29 100644
--- a/configs/MPC8315ERDB_defconfig
+++ b/configs/MPC8315ERDB_defconfig
@@ -10,6 +10,7 @@ CONFIG_CMD_NAND=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_SATA=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/MPC8323ERDB_defconfig b/configs/MPC8323ERDB_defconfig
index 097fb09a44..6ac618b04d 100644
--- a/configs/MPC8323ERDB_defconfig
+++ b/configs/MPC8323ERDB_defconfig
@@ -9,6 +9,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_PING=y
 # CONFIG_MMC is not set
diff --git a/configs/MPC832XEMDS_HOST_33_defconfig b/configs/MPC832XEMDS_HOST_33_defconfig
index f48e6083fc..db36b078a9 100644
--- a/configs/MPC832XEMDS_HOST_33_defconfig
+++ b/configs/MPC832XEMDS_HOST_33_defconfig
@@ -8,6 +8,7 @@ CONFIG_BOOTDELAY=6
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_PING=y
 # CONFIG_MMC is not set
diff --git a/configs/MPC832XEMDS_HOST_66_defconfig b/configs/MPC832XEMDS_HOST_66_defconfig
index 60431ad371..cf0fc32d47 100644
--- a/configs/MPC832XEMDS_HOST_66_defconfig
+++ b/configs/MPC832XEMDS_HOST_66_defconfig
@@ -8,6 +8,7 @@ CONFIG_BOOTDELAY=6
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_PING=y
 # CONFIG_MMC is not set
diff --git a/configs/MPC832XEMDS_SLAVE_defconfig b/configs/MPC832XEMDS_SLAVE_defconfig
index 7379e9a48a..df5af99900 100644
--- a/configs/MPC832XEMDS_SLAVE_defconfig
+++ b/configs/MPC832XEMDS_SLAVE_defconfig
@@ -8,6 +8,7 @@ CONFIG_BOOTDELAY=6
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_PING=y
 # CONFIG_MMC is not set
diff --git a/configs/MPC8349ITXGP_defconfig b/configs/MPC8349ITXGP_defconfig
index fc672be7e9..09af09d4c3 100644
--- a/configs/MPC8349ITXGP_defconfig
+++ b/configs/MPC8349ITXGP_defconfig
@@ -8,6 +8,7 @@ CONFIG_BOOTDELAY=6
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="MPC8349E-mITX-GP> "
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
diff --git a/configs/MPC8349ITX_LOWBOOT_defconfig b/configs/MPC8349ITX_LOWBOOT_defconfig
index c7f093eaa7..0650c7979a 100644
--- a/configs/MPC8349ITX_LOWBOOT_defconfig
+++ b/configs/MPC8349ITX_LOWBOOT_defconfig
@@ -11,6 +11,7 @@ CONFIG_CMD_IDE=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_SATA=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
diff --git a/configs/MPC8349ITX_defconfig b/configs/MPC8349ITX_defconfig
index e508b3d388..3763f49ba6 100644
--- a/configs/MPC8349ITX_defconfig
+++ b/configs/MPC8349ITX_defconfig
@@ -11,6 +11,7 @@ CONFIG_CMD_IDE=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_SATA=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
diff --git a/configs/MPC837XEMDS_HOST_defconfig b/configs/MPC837XEMDS_HOST_defconfig
index eb3b73596a..4b67fdecc3 100644
--- a/configs/MPC837XEMDS_HOST_defconfig
+++ b/configs/MPC837XEMDS_HOST_defconfig
@@ -10,6 +10,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/MPC837XERDB_defconfig b/configs/MPC837XERDB_defconfig
index 0373e0e433..2ac7e4dac7 100644
--- a/configs/MPC837XERDB_defconfig
+++ b/configs/MPC837XERDB_defconfig
@@ -10,6 +10,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_SATA=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/MPC8536DS_36BIT_defconfig b/configs/MPC8536DS_36BIT_defconfig
index 1d40e2fb1d..9a8a9588ea 100644
--- a/configs/MPC8536DS_36BIT_defconfig
+++ b/configs/MPC8536DS_36BIT_defconfig
@@ -15,6 +15,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/MPC8536DS_SDCARD_defconfig b/configs/MPC8536DS_SDCARD_defconfig
index 8fda7bc08c..7b01c6e74d 100644
--- a/configs/MPC8536DS_SDCARD_defconfig
+++ b/configs/MPC8536DS_SDCARD_defconfig
@@ -15,6 +15,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/MPC8536DS_SPIFLASH_defconfig b/configs/MPC8536DS_SPIFLASH_defconfig
index bdbb8c059f..53675a4a9c 100644
--- a/configs/MPC8536DS_SPIFLASH_defconfig
+++ b/configs/MPC8536DS_SPIFLASH_defconfig
@@ -15,6 +15,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/MPC8536DS_defconfig b/configs/MPC8536DS_defconfig
index 65a1f9e2c7..0fa0bb0827 100644
--- a/configs/MPC8536DS_defconfig
+++ b/configs/MPC8536DS_defconfig
@@ -14,6 +14,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/MPC8541CDS_defconfig b/configs/MPC8541CDS_defconfig
index 2d4647a6c9..928dd2ad00 100644
--- a/configs/MPC8541CDS_defconfig
+++ b/configs/MPC8541CDS_defconfig
@@ -8,6 +8,7 @@ CONFIG_ENV_IS_IN_FLASH=y
 CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/MPC8541CDS_legacy_defconfig b/configs/MPC8541CDS_legacy_defconfig
index cbf9eff85d..6d3f805ee1 100644
--- a/configs/MPC8541CDS_legacy_defconfig
+++ b/configs/MPC8541CDS_legacy_defconfig
@@ -9,6 +9,7 @@ CONFIG_ENV_IS_IN_FLASH=y
 CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/MPC8544DS_defconfig b/configs/MPC8544DS_defconfig
index 3e75be96b9..7ea19ea43e 100644
--- a/configs/MPC8544DS_defconfig
+++ b/configs/MPC8544DS_defconfig
@@ -11,6 +11,7 @@ CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/MPC8548CDS_36BIT_defconfig b/configs/MPC8548CDS_36BIT_defconfig
index fd3b8d6ad2..60ed3279e3 100644
--- a/configs/MPC8548CDS_36BIT_defconfig
+++ b/configs/MPC8548CDS_36BIT_defconfig
@@ -8,6 +8,7 @@ CONFIG_OF_STDOUT_VIA_ALIAS=y
 CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/MPC8548CDS_defconfig b/configs/MPC8548CDS_defconfig
index e090a5b60f..9ec63c47a8 100644
--- a/configs/MPC8548CDS_defconfig
+++ b/configs/MPC8548CDS_defconfig
@@ -7,6 +7,7 @@ CONFIG_OF_STDOUT_VIA_ALIAS=y
 CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/MPC8548CDS_legacy_defconfig b/configs/MPC8548CDS_legacy_defconfig
index 4ea1b9da92..15b0d4ddaa 100644
--- a/configs/MPC8548CDS_legacy_defconfig
+++ b/configs/MPC8548CDS_legacy_defconfig
@@ -8,6 +8,7 @@ CONFIG_SYS_EXTRA_OPTIONS="LEGACY"
 CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/MPC8555CDS_defconfig b/configs/MPC8555CDS_defconfig
index 8410fa4fb1..b21eee64c7 100644
--- a/configs/MPC8555CDS_defconfig
+++ b/configs/MPC8555CDS_defconfig
@@ -8,6 +8,7 @@ CONFIG_ENV_IS_IN_FLASH=y
 CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/MPC8555CDS_legacy_defconfig b/configs/MPC8555CDS_legacy_defconfig
index 3ac6035e35..a18eedbd38 100644
--- a/configs/MPC8555CDS_legacy_defconfig
+++ b/configs/MPC8555CDS_legacy_defconfig
@@ -9,6 +9,7 @@ CONFIG_ENV_IS_IN_FLASH=y
 CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/MPC8568MDS_defconfig b/configs/MPC8568MDS_defconfig
index b5fb4c282e..c58d8f3ced 100644
--- a/configs/MPC8568MDS_defconfig
+++ b/configs/MPC8568MDS_defconfig
@@ -9,6 +9,7 @@ CONFIG_BOOTDELAY=10
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/MPC8569MDS_ATM_defconfig b/configs/MPC8569MDS_ATM_defconfig
index b713db43ad..d81c2df9b6 100644
--- a/configs/MPC8569MDS_ATM_defconfig
+++ b/configs/MPC8569MDS_ATM_defconfig
@@ -11,6 +11,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/MPC8569MDS_defconfig b/configs/MPC8569MDS_defconfig
index 96f7755f5d..0c1f8f527e 100644
--- a/configs/MPC8569MDS_defconfig
+++ b/configs/MPC8569MDS_defconfig
@@ -10,6 +10,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/MPC8572DS_36BIT_defconfig b/configs/MPC8572DS_36BIT_defconfig
index 521badc5ad..e705535ae3 100644
--- a/configs/MPC8572DS_36BIT_defconfig
+++ b/configs/MPC8572DS_36BIT_defconfig
@@ -12,6 +12,7 @@ CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/MPC8572DS_defconfig b/configs/MPC8572DS_defconfig
index 2821c8c40b..8d362fc227 100644
--- a/configs/MPC8572DS_defconfig
+++ b/configs/MPC8572DS_defconfig
@@ -11,6 +11,7 @@ CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/MPC8610HPCD_defconfig b/configs/MPC8610HPCD_defconfig
index 57d8583fd1..3d8b2b64c0 100644
--- a/configs/MPC8610HPCD_defconfig
+++ b/configs/MPC8610HPCD_defconfig
@@ -9,6 +9,7 @@ CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/MPC8641HPCN_36BIT_defconfig b/configs/MPC8641HPCN_36BIT_defconfig
index 074c3338cf..c3345aede8 100644
--- a/configs/MPC8641HPCN_36BIT_defconfig
+++ b/configs/MPC8641HPCN_36BIT_defconfig
@@ -10,6 +10,7 @@ CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
diff --git a/configs/MPC8641HPCN_defconfig b/configs/MPC8641HPCN_defconfig
index aa2a464547..8bc4ecc2b9 100644
--- a/configs/MPC8641HPCN_defconfig
+++ b/configs/MPC8641HPCN_defconfig
@@ -9,6 +9,7 @@ CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
diff --git a/configs/P1021RDB-PC_36BIT_NAND_defconfig b/configs/P1021RDB-PC_36BIT_NAND_defconfig
index c57949944c..0abbf6da7f 100644
--- a/configs/P1021RDB-PC_36BIT_NAND_defconfig
+++ b/configs/P1021RDB-PC_36BIT_NAND_defconfig
@@ -26,6 +26,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
diff --git a/configs/P1021RDB-PC_36BIT_SDCARD_defconfig b/configs/P1021RDB-PC_36BIT_SDCARD_defconfig
index f5e620b6e4..e874b7d1fc 100644
--- a/configs/P1021RDB-PC_36BIT_SDCARD_defconfig
+++ b/configs/P1021RDB-PC_36BIT_SDCARD_defconfig
@@ -24,6 +24,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
diff --git a/configs/P1021RDB-PC_36BIT_SPIFLASH_defconfig b/configs/P1021RDB-PC_36BIT_SPIFLASH_defconfig
index 581a46bde9..776fac77ad 100644
--- a/configs/P1021RDB-PC_36BIT_SPIFLASH_defconfig
+++ b/configs/P1021RDB-PC_36BIT_SPIFLASH_defconfig
@@ -25,6 +25,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
diff --git a/configs/P1021RDB-PC_36BIT_defconfig b/configs/P1021RDB-PC_36BIT_defconfig
index d8138f2955..5c32ea75a6 100644
--- a/configs/P1021RDB-PC_36BIT_defconfig
+++ b/configs/P1021RDB-PC_36BIT_defconfig
@@ -15,6 +15,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
diff --git a/configs/P1021RDB-PC_NAND_defconfig b/configs/P1021RDB-PC_NAND_defconfig
index 378fd8e485..e1aeb53b68 100644
--- a/configs/P1021RDB-PC_NAND_defconfig
+++ b/configs/P1021RDB-PC_NAND_defconfig
@@ -25,6 +25,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
diff --git a/configs/P1021RDB-PC_SDCARD_defconfig b/configs/P1021RDB-PC_SDCARD_defconfig
index 9bd5df5bab..5e4c72f1e8 100644
--- a/configs/P1021RDB-PC_SDCARD_defconfig
+++ b/configs/P1021RDB-PC_SDCARD_defconfig
@@ -23,6 +23,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
diff --git a/configs/P1021RDB-PC_SPIFLASH_defconfig b/configs/P1021RDB-PC_SPIFLASH_defconfig
index 306d610de1..4626a0c33c 100644
--- a/configs/P1021RDB-PC_SPIFLASH_defconfig
+++ b/configs/P1021RDB-PC_SPIFLASH_defconfig
@@ -24,6 +24,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
diff --git a/configs/P1021RDB-PC_defconfig b/configs/P1021RDB-PC_defconfig
index 48565f1b96..dc3012f97e 100644
--- a/configs/P1021RDB-PC_defconfig
+++ b/configs/P1021RDB-PC_defconfig
@@ -14,6 +14,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
diff --git a/configs/P1022DS_36BIT_NAND_defconfig b/configs/P1022DS_36BIT_NAND_defconfig
index 964e5ae2bf..989c7709eb 100644
--- a/configs/P1022DS_36BIT_NAND_defconfig
+++ b/configs/P1022DS_36BIT_NAND_defconfig
@@ -26,6 +26,7 @@ CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/P1022DS_36BIT_SDCARD_defconfig b/configs/P1022DS_36BIT_SDCARD_defconfig
index 8e8374ca67..f63a0f4c09 100644
--- a/configs/P1022DS_36BIT_SDCARD_defconfig
+++ b/configs/P1022DS_36BIT_SDCARD_defconfig
@@ -24,6 +24,7 @@ CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/P1022DS_36BIT_SPIFLASH_defconfig b/configs/P1022DS_36BIT_SPIFLASH_defconfig
index 1773550e50..30b68f901d 100644
--- a/configs/P1022DS_36BIT_SPIFLASH_defconfig
+++ b/configs/P1022DS_36BIT_SPIFLASH_defconfig
@@ -25,6 +25,7 @@ CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/P1022DS_36BIT_defconfig b/configs/P1022DS_36BIT_defconfig
index ce33485cfa..825ddfb333 100644
--- a/configs/P1022DS_36BIT_defconfig
+++ b/configs/P1022DS_36BIT_defconfig
@@ -15,6 +15,7 @@ CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/P1022DS_NAND_defconfig b/configs/P1022DS_NAND_defconfig
index 9bf8db1408..999ae72a88 100644
--- a/configs/P1022DS_NAND_defconfig
+++ b/configs/P1022DS_NAND_defconfig
@@ -26,6 +26,7 @@ CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/P1022DS_SDCARD_defconfig b/configs/P1022DS_SDCARD_defconfig
index 8bcdc73de4..a96bbb2656 100644
--- a/configs/P1022DS_SDCARD_defconfig
+++ b/configs/P1022DS_SDCARD_defconfig
@@ -23,6 +23,7 @@ CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/P1022DS_SPIFLASH_defconfig b/configs/P1022DS_SPIFLASH_defconfig
index 5862c610a7..8afdd8286e 100644
--- a/configs/P1022DS_SPIFLASH_defconfig
+++ b/configs/P1022DS_SPIFLASH_defconfig
@@ -24,6 +24,7 @@ CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/P1022DS_defconfig b/configs/P1022DS_defconfig
index 6c8fb0c9cb..5c44bbd879 100644
--- a/configs/P1022DS_defconfig
+++ b/configs/P1022DS_defconfig
@@ -14,6 +14,7 @@ CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/P1023RDB_defconfig b/configs/P1023RDB_defconfig
index 4819a6912f..426de7afbb 100644
--- a/configs/P1023RDB_defconfig
+++ b/configs/P1023RDB_defconfig
@@ -14,6 +14,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/P1025RDB_36BIT_defconfig b/configs/P1025RDB_36BIT_defconfig
index 08b14fce0c..aebfc5d312 100644
--- a/configs/P1025RDB_36BIT_defconfig
+++ b/configs/P1025RDB_36BIT_defconfig
@@ -16,6 +16,7 @@ CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
diff --git a/configs/P1025RDB_NAND_defconfig b/configs/P1025RDB_NAND_defconfig
index 747a8be68b..8751026960 100644
--- a/configs/P1025RDB_NAND_defconfig
+++ b/configs/P1025RDB_NAND_defconfig
@@ -27,6 +27,7 @@ CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
diff --git a/configs/P1025RDB_SDCARD_defconfig b/configs/P1025RDB_SDCARD_defconfig
index e1af126a6d..75d0d2f1d1 100644
--- a/configs/P1025RDB_SDCARD_defconfig
+++ b/configs/P1025RDB_SDCARD_defconfig
@@ -24,6 +24,7 @@ CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
diff --git a/configs/P1025RDB_SPIFLASH_defconfig b/configs/P1025RDB_SPIFLASH_defconfig
index cd240c3fe2..4c02627f42 100644
--- a/configs/P1025RDB_SPIFLASH_defconfig
+++ b/configs/P1025RDB_SPIFLASH_defconfig
@@ -25,6 +25,7 @@ CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
diff --git a/configs/P1025RDB_defconfig b/configs/P1025RDB_defconfig
index 044e825c1c..68ffe811bd 100644
--- a/configs/P1025RDB_defconfig
+++ b/configs/P1025RDB_defconfig
@@ -15,6 +15,7 @@ CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
diff --git a/configs/P2020RDB-PC_36BIT_NAND_defconfig b/configs/P2020RDB-PC_36BIT_NAND_defconfig
index c342fc45c8..ac20193c42 100644
--- a/configs/P2020RDB-PC_36BIT_NAND_defconfig
+++ b/configs/P2020RDB-PC_36BIT_NAND_defconfig
@@ -27,6 +27,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
diff --git a/configs/P2020RDB-PC_36BIT_SDCARD_defconfig b/configs/P2020RDB-PC_36BIT_SDCARD_defconfig
index 8e52781497..45afe03cff 100644
--- a/configs/P2020RDB-PC_36BIT_SDCARD_defconfig
+++ b/configs/P2020RDB-PC_36BIT_SDCARD_defconfig
@@ -24,6 +24,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
diff --git a/configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig b/configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig
index 032c836a28..675ec5ed79 100644
--- a/configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig
+++ b/configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig
@@ -25,6 +25,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
diff --git a/configs/P2020RDB-PC_36BIT_defconfig b/configs/P2020RDB-PC_36BIT_defconfig
index a51b63100f..5a85cced02 100644
--- a/configs/P2020RDB-PC_36BIT_defconfig
+++ b/configs/P2020RDB-PC_36BIT_defconfig
@@ -15,6 +15,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
diff --git a/configs/P2020RDB-PC_NAND_defconfig b/configs/P2020RDB-PC_NAND_defconfig
index 26a583aaae..0966fd9483 100644
--- a/configs/P2020RDB-PC_NAND_defconfig
+++ b/configs/P2020RDB-PC_NAND_defconfig
@@ -25,6 +25,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
diff --git a/configs/P2020RDB-PC_SDCARD_defconfig b/configs/P2020RDB-PC_SDCARD_defconfig
index e446515204..e2575da3c1 100644
--- a/configs/P2020RDB-PC_SDCARD_defconfig
+++ b/configs/P2020RDB-PC_SDCARD_defconfig
@@ -23,6 +23,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
diff --git a/configs/P2020RDB-PC_SPIFLASH_defconfig b/configs/P2020RDB-PC_SPIFLASH_defconfig
index c596b686da..ca06b962fc 100644
--- a/configs/P2020RDB-PC_SPIFLASH_defconfig
+++ b/configs/P2020RDB-PC_SPIFLASH_defconfig
@@ -24,6 +24,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
diff --git a/configs/P2020RDB-PC_defconfig b/configs/P2020RDB-PC_defconfig
index 0430762acf..64a92ac4ea 100644
--- a/configs/P2020RDB-PC_defconfig
+++ b/configs/P2020RDB-PC_defconfig
@@ -14,6 +14,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
diff --git a/configs/TQM834x_defconfig b/configs/TQM834x_defconfig
index e31cacac7b..9f33156880 100644
--- a/configs/TQM834x_defconfig
+++ b/configs/TQM834x_defconfig
@@ -9,6 +9,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/TWR-P1025_defconfig b/configs/TWR-P1025_defconfig
index e48b9bc3e9..26bfe3ef87 100644
--- a/configs/TWR-P1025_defconfig
+++ b/configs/TWR-P1025_defconfig
@@ -15,6 +15,7 @@ CONFIG_CMD_EEPROM=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/apalis-tk1_defconfig b/configs/apalis-tk1_defconfig
index ccff112392..0f4bd17b0b 100644
--- a/configs/apalis-tk1_defconfig
+++ b/configs/apalis-tk1_defconfig
@@ -21,6 +21,7 @@ CONFIG_CMD_DFU=y
 CONFIG_CMD_USB_MASS_STORAGE=y
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_SPL_DM=y
diff --git a/configs/apalis_t30_defconfig b/configs/apalis_t30_defconfig
index aaf1bfb7f0..c45699533a 100644
--- a/configs/apalis_t30_defconfig
+++ b/configs/apalis_t30_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_DFU=y
 CONFIG_CMD_USB_MASS_STORAGE=y
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_EXT4_WRITE=y
 # CONFIG_SPL_DOS_PARTITION is not set
diff --git a/configs/bayleybay_defconfig b/configs/bayleybay_defconfig
index f12503a334..60583a4767 100644
--- a/configs/bayleybay_defconfig
+++ b/configs/bayleybay_defconfig
@@ -24,6 +24,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/beaver_defconfig b/configs/beaver_defconfig
index 10fd50d925..aaea936422 100644
--- a/configs/beaver_defconfig
+++ b/configs/beaver_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_DFU=y
 CONFIG_CMD_USB_MASS_STORAGE=y
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_EXT4_WRITE=y
diff --git a/configs/boston32r2_defconfig b/configs/boston32r2_defconfig
index 6d93edc358..dab3990e82 100644
--- a/configs/boston32r2_defconfig
+++ b/configs/boston32r2_defconfig
@@ -17,6 +17,7 @@ CONFIG_CMD_MEMTEST=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_PCI=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_DNS=y
 CONFIG_CMD_LINK_LOCAL=y
diff --git a/configs/boston32r2el_defconfig b/configs/boston32r2el_defconfig
index 9e494eee10..e364af0b73 100644
--- a/configs/boston32r2el_defconfig
+++ b/configs/boston32r2el_defconfig
@@ -18,6 +18,7 @@ CONFIG_CMD_MEMTEST=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_PCI=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_DNS=y
 CONFIG_CMD_LINK_LOCAL=y
diff --git a/configs/boston64r2_defconfig b/configs/boston64r2_defconfig
index 6913d2ba62..f6754606af 100644
--- a/configs/boston64r2_defconfig
+++ b/configs/boston64r2_defconfig
@@ -18,6 +18,7 @@ CONFIG_CMD_MEMTEST=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_PCI=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_DNS=y
 CONFIG_CMD_LINK_LOCAL=y
diff --git a/configs/boston64r2el_defconfig b/configs/boston64r2el_defconfig
index 10ccc5427c..277d4e56d8 100644
--- a/configs/boston64r2el_defconfig
+++ b/configs/boston64r2el_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_MEMTEST=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_PCI=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_DNS=y
 CONFIG_CMD_LINK_LOCAL=y
diff --git a/configs/caddy2_defconfig b/configs/caddy2_defconfig
index b062dcdd58..762a2c0a08 100644
--- a/configs/caddy2_defconfig
+++ b/configs/caddy2_defconfig
@@ -8,6 +8,7 @@ CONFIG_ENV_IS_IN_FLASH=y
 CONFIG_BOOTDELAY=6
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/cardhu_defconfig b/configs/cardhu_defconfig
index f771a057a3..79ed1600ae 100644
--- a/configs/cardhu_defconfig
+++ b/configs/cardhu_defconfig
@@ -17,6 +17,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_EXT4_WRITE=y
diff --git a/configs/cei-tk1-som_defconfig b/configs/cei-tk1-som_defconfig
index 5623bbfbc6..749461bfc6 100644
--- a/configs/cei-tk1-som_defconfig
+++ b/configs/cei-tk1-som_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_DFU=y
 CONFIG_CMD_USB_MASS_STORAGE=y
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_EXT4_WRITE=y
diff --git a/configs/chromebook_link64_defconfig b/configs/chromebook_link64_defconfig
index 3655a6449b..34b9a56ee6 100644
--- a/configs/chromebook_link64_defconfig
+++ b/configs/chromebook_link64_defconfig
@@ -37,6 +37,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/chromebook_link_defconfig b/configs/chromebook_link_defconfig
index e2bc9f7945..fb9b7a57dc 100644
--- a/configs/chromebook_link_defconfig
+++ b/configs/chromebook_link_defconfig
@@ -20,6 +20,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/chromebook_samus_defconfig b/configs/chromebook_samus_defconfig
index 0a2cbb8ad2..e4bfba6c76 100644
--- a/configs/chromebook_samus_defconfig
+++ b/configs/chromebook_samus_defconfig
@@ -20,6 +20,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/chromebox_panther_defconfig b/configs/chromebox_panther_defconfig
index 34f57ad1eb..d3982c8f28 100644
--- a/configs/chromebox_panther_defconfig
+++ b/configs/chromebox_panther_defconfig
@@ -16,6 +16,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/clearfog_defconfig b/configs/clearfog_defconfig
index 89c0976be2..b15ca83f4e 100644
--- a/configs/clearfog_defconfig
+++ b/configs/clearfog_defconfig
@@ -24,6 +24,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_CACHE=y
diff --git a/configs/conga-qeval20-qa3-e3845-internal-uart_defconfig b/configs/conga-qeval20-qa3-e3845-internal-uart_defconfig
index ff058f98c6..4b878b0a1a 100644
--- a/configs/conga-qeval20-qa3-e3845-internal-uart_defconfig
+++ b/configs/conga-qeval20-qa3-e3845-internal-uart_defconfig
@@ -26,6 +26,7 @@ CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/conga-qeval20-qa3-e3845_defconfig b/configs/conga-qeval20-qa3-e3845_defconfig
index e4f97130fc..cc1f636500 100644
--- a/configs/conga-qeval20-qa3-e3845_defconfig
+++ b/configs/conga-qeval20-qa3-e3845_defconfig
@@ -25,6 +25,7 @@ CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig b/configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig
index 87d212a323..58337a023e 100644
--- a/configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig
+++ b/configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig
@@ -24,6 +24,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_SATA=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_BMP=y
diff --git a/configs/controlcenterd_36BIT_SDCARD_defconfig b/configs/controlcenterd_36BIT_SDCARD_defconfig
index ec98183391..65e80acd4f 100644
--- a/configs/controlcenterd_36BIT_SDCARD_defconfig
+++ b/configs/controlcenterd_36BIT_SDCARD_defconfig
@@ -24,6 +24,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_SATA=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_BMP=y
diff --git a/configs/controlcenterdc_defconfig b/configs/controlcenterdc_defconfig
index af79b6c120..bb9c1b5d4f 100644
--- a/configs/controlcenterdc_defconfig
+++ b/configs/controlcenterdc_defconfig
@@ -24,6 +24,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
diff --git a/configs/coreboot-x86_defconfig b/configs/coreboot-x86_defconfig
index a1379724ec..533f31dcc2 100644
--- a/configs/coreboot-x86_defconfig
+++ b/configs/coreboot-x86_defconfig
@@ -13,6 +13,7 @@ CONFIG_CMD_PART=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/cougarcanyon2_defconfig b/configs/cougarcanyon2_defconfig
index d347c0ae18..12f7f74c8b 100644
--- a/configs/cougarcanyon2_defconfig
+++ b/configs/cougarcanyon2_defconfig
@@ -12,6 +12,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/crownbay_defconfig b/configs/crownbay_defconfig
index a17aa75e8f..d67a6c3f69 100644
--- a/configs/crownbay_defconfig
+++ b/configs/crownbay_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/db-88f6820-amc_defconfig b/configs/db-88f6820-amc_defconfig
index 323871f68e..657573c02b 100644
--- a/configs/db-88f6820-amc_defconfig
+++ b/configs/db-88f6820-amc_defconfig
@@ -22,6 +22,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_DHCP=y
diff --git a/configs/db-88f6820-gp_defconfig b/configs/db-88f6820-gp_defconfig
index 6c6083d328..41a4dac754 100644
--- a/configs/db-88f6820-gp_defconfig
+++ b/configs/db-88f6820-gp_defconfig
@@ -23,6 +23,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_DHCP=y
diff --git a/configs/db-mv784mp-gp_defconfig b/configs/db-mv784mp-gp_defconfig
index 99533b9a8d..a46eb69c4e 100644
--- a/configs/db-mv784mp-gp_defconfig
+++ b/configs/db-mv784mp-gp_defconfig
@@ -22,6 +22,7 @@ CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_SATA=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_DHCP=y
diff --git a/configs/dfi-bt700-q7x-151_defconfig b/configs/dfi-bt700-q7x-151_defconfig
index 13d911c78c..ffd81efdfa 100644
--- a/configs/dfi-bt700-q7x-151_defconfig
+++ b/configs/dfi-bt700-q7x-151_defconfig
@@ -24,6 +24,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/ds414_defconfig b/configs/ds414_defconfig
index bde54b6bab..0b07dd7123 100644
--- a/configs/ds414_defconfig
+++ b/configs/ds414_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_DHCP=y
diff --git a/configs/efi-x86_defconfig b/configs/efi-x86_defconfig
index d45932bcfc..789c5ce5bf 100644
--- a/configs/efi-x86_defconfig
+++ b/configs/efi-x86_defconfig
@@ -14,6 +14,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_NET is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
diff --git a/configs/galileo_defconfig b/configs/galileo_defconfig
index fb6e84fe52..879f0116d9 100644
--- a/configs/galileo_defconfig
+++ b/configs/galileo_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/gwventana_emmc_defconfig b/configs/gwventana_emmc_defconfig
index cdf3e92001..316df3e97f 100644
--- a/configs/gwventana_emmc_defconfig
+++ b/configs/gwventana_emmc_defconfig
@@ -38,6 +38,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_USB_MASS_STORAGE=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/gwventana_gw5904_defconfig b/configs/gwventana_gw5904_defconfig
index c5b5232016..d04a92b83a 100644
--- a/configs/gwventana_gw5904_defconfig
+++ b/configs/gwventana_gw5904_defconfig
@@ -38,6 +38,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_USB_MASS_STORAGE=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/gwventana_nand_defconfig b/configs/gwventana_nand_defconfig
index f399c9796f..02b4d2bec3 100644
--- a/configs/gwventana_nand_defconfig
+++ b/configs/gwventana_nand_defconfig
@@ -41,6 +41,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_USB_MASS_STORAGE=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/hrcon_defconfig b/configs/hrcon_defconfig
index 10dbb7db82..bd0a2de085 100644
--- a/configs/hrcon_defconfig
+++ b/configs/hrcon_defconfig
@@ -18,6 +18,7 @@ CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_FPGAD=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/hrcon_dh_defconfig b/configs/hrcon_dh_defconfig
index 48456b2974..bdb623203e 100644
--- a/configs/hrcon_dh_defconfig
+++ b/configs/hrcon_dh_defconfig
@@ -17,6 +17,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_FPGAD=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
diff --git a/configs/integratorap_cm720t_defconfig b/configs/integratorap_cm720t_defconfig
index 0685dca0de..349bdcd3f7 100644
--- a/configs/integratorap_cm720t_defconfig
+++ b/configs/integratorap_cm720t_defconfig
@@ -8,6 +8,7 @@ CONFIG_ENV_IS_NOWHERE=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Integrator-AP # "
 CONFIG_CMD_ARMFLASH=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
diff --git a/configs/integratorap_cm920t_defconfig b/configs/integratorap_cm920t_defconfig
index 9c27bdb848..774f69274f 100644
--- a/configs/integratorap_cm920t_defconfig
+++ b/configs/integratorap_cm920t_defconfig
@@ -8,6 +8,7 @@ CONFIG_ENV_IS_NOWHERE=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Integrator-AP # "
 CONFIG_CMD_ARMFLASH=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
diff --git a/configs/integratorap_cm926ejs_defconfig b/configs/integratorap_cm926ejs_defconfig
index 77aa6a8bd7..4e071d51d0 100644
--- a/configs/integratorap_cm926ejs_defconfig
+++ b/configs/integratorap_cm926ejs_defconfig
@@ -8,6 +8,7 @@ CONFIG_ENV_IS_NOWHERE=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Integrator-AP # "
 CONFIG_CMD_ARMFLASH=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
diff --git a/configs/integratorap_cm946es_defconfig b/configs/integratorap_cm946es_defconfig
index 55bfe3a2a3..19de825c7b 100644
--- a/configs/integratorap_cm946es_defconfig
+++ b/configs/integratorap_cm946es_defconfig
@@ -8,6 +8,7 @@ CONFIG_ENV_IS_NOWHERE=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Integrator-AP # "
 CONFIG_CMD_ARMFLASH=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
diff --git a/configs/jetson-tk1_defconfig b/configs/jetson-tk1_defconfig
index a533c6402f..14f6a8ef51 100644
--- a/configs/jetson-tk1_defconfig
+++ b/configs/jetson-tk1_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_DFU=y
 CONFIG_CMD_USB_MASS_STORAGE=y
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_EXT4_WRITE=y
diff --git a/configs/ls1012aqds_qspi_defconfig b/configs/ls1012aqds_qspi_defconfig
index 60000b376b..383fc1a95f 100644
--- a/configs/ls1012aqds_qspi_defconfig
+++ b/configs/ls1012aqds_qspi_defconfig
@@ -20,6 +20,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/ls1012ardb_qspi_SECURE_BOOT_defconfig b/configs/ls1012ardb_qspi_SECURE_BOOT_defconfig
index ec6ed377d4..106e3d17a8 100644
--- a/configs/ls1012ardb_qspi_SECURE_BOOT_defconfig
+++ b/configs/ls1012ardb_qspi_SECURE_BOOT_defconfig
@@ -18,6 +18,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/ls1012ardb_qspi_defconfig b/configs/ls1012ardb_qspi_defconfig
index 5eb35dfc4a..6b8dfd1b6b 100644
--- a/configs/ls1012ardb_qspi_defconfig
+++ b/configs/ls1012ardb_qspi_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig b/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig
index 4722d36b3d..e1f736acb1 100644
--- a/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig
+++ b/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig
@@ -31,8 +31,8 @@ CONFIG_CMD_GREPENV=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MEMINFO=y
 CONFIG_CMD_GPT=y
-CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_BMP=y
 # CONFIG_SPL_EFI_PARTITION is not set
diff --git a/configs/ls1046aqds_SECURE_BOOT_defconfig b/configs/ls1046aqds_SECURE_BOOT_defconfig
index 8581fb99d0..fd9ea608ad 100644
--- a/configs/ls1046aqds_SECURE_BOOT_defconfig
+++ b/configs/ls1046aqds_SECURE_BOOT_defconfig
@@ -12,10 +12,11 @@ CONFIG_CMD_GREPENV=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MEMINFO=y
 CONFIG_CMD_GPT=y
+CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_SF=y
-CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/ls1046aqds_defconfig b/configs/ls1046aqds_defconfig
index eaf35f2543..d3248fb3eb 100644
--- a/configs/ls1046aqds_defconfig
+++ b/configs/ls1046aqds_defconfig
@@ -12,10 +12,11 @@ CONFIG_CMD_GREPENV=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MEMINFO=y
 CONFIG_CMD_GPT=y
+CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_SF=y
-CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/ls1046aqds_nand_defconfig b/configs/ls1046aqds_nand_defconfig
index 7fa956b8bc..481f60f4de 100644
--- a/configs/ls1046aqds_nand_defconfig
+++ b/configs/ls1046aqds_nand_defconfig
@@ -18,10 +18,11 @@ CONFIG_CMD_GREPENV=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MEMINFO=y
 CONFIG_CMD_GPT=y
+CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_SF=y
-CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/ls1046aqds_qspi_defconfig b/configs/ls1046aqds_qspi_defconfig
index 4244396f3d..e878c0148e 100644
--- a/configs/ls1046aqds_qspi_defconfig
+++ b/configs/ls1046aqds_qspi_defconfig
@@ -14,9 +14,10 @@ CONFIG_CMD_GREPENV=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MEMINFO=y
 CONFIG_CMD_GPT=y
+CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_SF=y
-CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/ls1046aqds_sdcard_ifc_defconfig b/configs/ls1046aqds_sdcard_ifc_defconfig
index 3c4b6359fd..0b7df8d776 100644
--- a/configs/ls1046aqds_sdcard_ifc_defconfig
+++ b/configs/ls1046aqds_sdcard_ifc_defconfig
@@ -18,10 +18,11 @@ CONFIG_CMD_GREPENV=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MEMINFO=y
 CONFIG_CMD_GPT=y
+CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_SF=y
-CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/ls1046aqds_sdcard_qspi_defconfig b/configs/ls1046aqds_sdcard_qspi_defconfig
index 8af81c0f85..07dfe64a70 100644
--- a/configs/ls1046aqds_sdcard_qspi_defconfig
+++ b/configs/ls1046aqds_sdcard_qspi_defconfig
@@ -19,9 +19,10 @@ CONFIG_CMD_GREPENV=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MEMINFO=y
 CONFIG_CMD_GPT=y
+CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_SF=y
-CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/ls1046ardb_emmc_defconfig b/configs/ls1046ardb_emmc_defconfig
index 29c55733d7..bb16df2636 100644
--- a/configs/ls1046ardb_emmc_defconfig
+++ b/configs/ls1046ardb_emmc_defconfig
@@ -15,10 +15,11 @@ CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x110
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_GPT=y
+CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_SF=y
-CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/ls1046ardb_qspi_SECURE_BOOT_defconfig b/configs/ls1046ardb_qspi_SECURE_BOOT_defconfig
index 2ed55547f3..817cb51767 100644
--- a/configs/ls1046ardb_qspi_SECURE_BOOT_defconfig
+++ b/configs/ls1046ardb_qspi_SECURE_BOOT_defconfig
@@ -11,10 +11,11 @@ CONFIG_QSPI_BOOT=y
 CONFIG_BOOTDELAY=10
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_GPT=y
+CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_SF=y
-CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_CACHE=y
 CONFIG_OF_CONTROL=y
diff --git a/configs/ls1046ardb_qspi_defconfig b/configs/ls1046ardb_qspi_defconfig
index bb5f3b007e..a330cb95ec 100644
--- a/configs/ls1046ardb_qspi_defconfig
+++ b/configs/ls1046ardb_qspi_defconfig
@@ -11,10 +11,11 @@ CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_BOOTDELAY=10
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_GPT=y
+CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_SF=y
-CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_CACHE=y
 CONFIG_OF_CONTROL=y
diff --git a/configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig b/configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig
index 419c2289db..e62fc72fb5 100644
--- a/configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig
+++ b/configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig
@@ -16,10 +16,11 @@ CONFIG_SPL_CRYPTO_SUPPORT=y
 CONFIG_SPL_HASH_SUPPORT=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_GPT=y
+CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_SF=y
-CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_CACHE=y
 # CONFIG_SPL_EFI_PARTITION is not set
diff --git a/configs/ls1046ardb_sdcard_defconfig b/configs/ls1046ardb_sdcard_defconfig
index 48b0b43df5..b8345e0418 100644
--- a/configs/ls1046ardb_sdcard_defconfig
+++ b/configs/ls1046ardb_sdcard_defconfig
@@ -16,10 +16,11 @@ CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x110
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_GPT=y
+CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_SF=y
-CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_CACHE=y
 # CONFIG_SPL_EFI_PARTITION is not set
diff --git a/configs/ls2080aqds_SECURE_BOOT_defconfig b/configs/ls2080aqds_SECURE_BOOT_defconfig
index a784d7aac1..61f8bbf5e7 100644
--- a/configs/ls2080aqds_SECURE_BOOT_defconfig
+++ b/configs/ls2080aqds_SECURE_BOOT_defconfig
@@ -16,6 +16,7 @@ CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
diff --git a/configs/ls2080aqds_defconfig b/configs/ls2080aqds_defconfig
index 0cb377adf7..37f3d3002b 100644
--- a/configs/ls2080aqds_defconfig
+++ b/configs/ls2080aqds_defconfig
@@ -16,6 +16,7 @@ CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
diff --git a/configs/ls2080aqds_nand_defconfig b/configs/ls2080aqds_nand_defconfig
index 1cae676adc..9c7c066d5b 100644
--- a/configs/ls2080aqds_nand_defconfig
+++ b/configs/ls2080aqds_nand_defconfig
@@ -26,6 +26,7 @@ CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
diff --git a/configs/ls2080aqds_qspi_defconfig b/configs/ls2080aqds_qspi_defconfig
index a4b22e4cad..ff77960b57 100644
--- a/configs/ls2080aqds_qspi_defconfig
+++ b/configs/ls2080aqds_qspi_defconfig
@@ -17,6 +17,7 @@ CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
diff --git a/configs/ls2080aqds_sdcard_defconfig b/configs/ls2080aqds_sdcard_defconfig
index 798f3bddac..b2f088b6fa 100644
--- a/configs/ls2080aqds_sdcard_defconfig
+++ b/configs/ls2080aqds_sdcard_defconfig
@@ -26,6 +26,7 @@ CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
diff --git a/configs/ls2080ardb_SECURE_BOOT_defconfig b/configs/ls2080ardb_SECURE_BOOT_defconfig
index a3d4322344..97170afa86 100644
--- a/configs/ls2080ardb_SECURE_BOOT_defconfig
+++ b/configs/ls2080ardb_SECURE_BOOT_defconfig
@@ -16,6 +16,7 @@ CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
diff --git a/configs/ls2080ardb_defconfig b/configs/ls2080ardb_defconfig
index da77d60f52..94e79fcc3e 100644
--- a/configs/ls2080ardb_defconfig
+++ b/configs/ls2080ardb_defconfig
@@ -16,6 +16,7 @@ CONFIG_CMD_NAND=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
diff --git a/configs/ls2080ardb_nand_defconfig b/configs/ls2080ardb_nand_defconfig
index 243fcc8dc5..8c72cb51e2 100644
--- a/configs/ls2080ardb_nand_defconfig
+++ b/configs/ls2080ardb_nand_defconfig
@@ -25,6 +25,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
diff --git a/configs/ls2081ardb_defconfig b/configs/ls2081ardb_defconfig
index 7fcfdd4b6e..bb8759e125 100644
--- a/configs/ls2081ardb_defconfig
+++ b/configs/ls2081ardb_defconfig
@@ -17,6 +17,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_CACHE=y
 CONFIG_OF_CONTROL=y
diff --git a/configs/ls2088ardb_qspi_defconfig b/configs/ls2088ardb_qspi_defconfig
index 3a022330e2..c29ad3fcdd 100644
--- a/configs/ls2088ardb_qspi_defconfig
+++ b/configs/ls2088ardb_qspi_defconfig
@@ -17,6 +17,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_CACHE=y
 CONFIG_OF_CONTROL=y
diff --git a/configs/malta64_defconfig b/configs/malta64_defconfig
index a342bec808..c97f6861e3 100644
--- a/configs/malta64_defconfig
+++ b/configs/malta64_defconfig
@@ -10,6 +10,7 @@ CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/malta64el_defconfig b/configs/malta64el_defconfig
index ac560460eb..c443da1d30 100644
--- a/configs/malta64el_defconfig
+++ b/configs/malta64el_defconfig
@@ -11,6 +11,7 @@ CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/malta_defconfig b/configs/malta_defconfig
index e4e21d0f0f..fd9fa8b7ce 100644
--- a/configs/malta_defconfig
+++ b/configs/malta_defconfig
@@ -9,6 +9,7 @@ CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/maltael_defconfig b/configs/maltael_defconfig
index 0b9f665f10..9802627803 100644
--- a/configs/maltael_defconfig
+++ b/configs/maltael_defconfig
@@ -10,6 +10,7 @@ CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/minnowmax_defconfig b/configs/minnowmax_defconfig
index 0d58848e3c..6be7f55f7c 100644
--- a/configs/minnowmax_defconfig
+++ b/configs/minnowmax_defconfig
@@ -26,6 +26,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/mpc8308_p1m_defconfig b/configs/mpc8308_p1m_defconfig
index 0dcdd3bcbe..a9d42c9f84 100644
--- a/configs/mpc8308_p1m_defconfig
+++ b/configs/mpc8308_p1m_defconfig
@@ -7,6 +7,7 @@ CONFIG_ENV_IS_IN_FLASH=y
 CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/mvebu_db_armada8k_defconfig b/configs/mvebu_db_armada8k_defconfig
index 7f4ee052d3..239142d502 100644
--- a/configs/mvebu_db_armada8k_defconfig
+++ b/configs/mvebu_db_armada8k_defconfig
@@ -23,6 +23,7 @@ CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_DHCP=y
diff --git a/configs/mvebu_mcbin-88f8040_defconfig b/configs/mvebu_mcbin-88f8040_defconfig
index b533f736c5..edcb4f9425 100644
--- a/configs/mvebu_mcbin-88f8040_defconfig
+++ b/configs/mvebu_mcbin-88f8040_defconfig
@@ -24,6 +24,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_DHCP=y
diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig
index 627bf523d6..03bd57351b 100644
--- a/configs/mx6sabresd_defconfig
+++ b/configs/mx6sabresd_defconfig
@@ -29,6 +29,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/mx6sxsabresd_defconfig b/configs/mx6sxsabresd_defconfig
index 2522eb770b..9a1c67e833 100644
--- a/configs/mx6sxsabresd_defconfig
+++ b/configs/mx6sxsabresd_defconfig
@@ -15,6 +15,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/mx6sxsabresd_spl_defconfig b/configs/mx6sxsabresd_spl_defconfig
index 90daa96a36..370e7e6829 100644
--- a/configs/mx6sxsabresd_spl_defconfig
+++ b/configs/mx6sxsabresd_spl_defconfig
@@ -25,6 +25,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/novena_defconfig b/configs/novena_defconfig
index 23c186b21a..36bab91e0d 100644
--- a/configs/novena_defconfig
+++ b/configs/novena_defconfig
@@ -30,6 +30,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_SATA=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_TIME=y
 CONFIG_CMD_EXT4_WRITE=y
diff --git a/configs/p2371-2180_defconfig b/configs/p2371-2180_defconfig
index 4345fb070a..74d45ad96b 100644
--- a/configs/p2371-2180_defconfig
+++ b/configs/p2371-2180_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_DFU=y
 CONFIG_CMD_USB_MASS_STORAGE=y
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_EXT4_WRITE=y
diff --git a/configs/p2771-0000-000_defconfig b/configs/p2771-0000-000_defconfig
index edf6ce4a93..f33f992195 100644
--- a/configs/p2771-0000-000_defconfig
+++ b/configs/p2771-0000-000_defconfig
@@ -16,6 +16,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_EXT4_WRITE=y
diff --git a/configs/p2771-0000-500_defconfig b/configs/p2771-0000-500_defconfig
index c3870c38d6..655bba426e 100644
--- a/configs/p2771-0000-500_defconfig
+++ b/configs/p2771-0000-500_defconfig
@@ -16,6 +16,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_EXT4_WRITE=y
diff --git a/configs/qemu-ppce500_defconfig b/configs/qemu-ppce500_defconfig
index f905f35631..e7884d300b 100644
--- a/configs/qemu-ppce500_defconfig
+++ b/configs/qemu-ppce500_defconfig
@@ -15,6 +15,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_GREPENV=y
 # CONFIG_CMD_FLASH is not set
+CONFIG_CMD_PCI=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/qemu-x86_64_defconfig b/configs/qemu-x86_64_defconfig
index bda94ab460..0c40788e3f 100644
--- a/configs/qemu-x86_64_defconfig
+++ b/configs/qemu-x86_64_defconfig
@@ -36,6 +36,7 @@ CONFIG_CMD_IDE=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/qemu-x86_defconfig b/configs/qemu-x86_defconfig
index 068b1cd532..293309c994 100644
--- a/configs/qemu-x86_defconfig
+++ b/configs/qemu-x86_defconfig
@@ -18,6 +18,7 @@ CONFIG_CMD_PART=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/qemu-x86_efi_payload32_defconfig b/configs/qemu-x86_efi_payload32_defconfig
index 5f1045a128..21c5a09fb7 100644
--- a/configs/qemu-x86_efi_payload32_defconfig
+++ b/configs/qemu-x86_efi_payload32_defconfig
@@ -15,6 +15,7 @@ CONFIG_CMD_PART=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/qemu-x86_efi_payload64_defconfig b/configs/qemu-x86_efi_payload64_defconfig
index d76f7fd7eb..77489a8bcf 100644
--- a/configs/qemu-x86_efi_payload64_defconfig
+++ b/configs/qemu-x86_efi_payload64_defconfig
@@ -16,6 +16,7 @@ CONFIG_CMD_PART=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/r2dplus_defconfig b/configs/r2dplus_defconfig
index 31b9cc4f5b..197c4958eb 100644
--- a/configs/r2dplus_defconfig
+++ b/configs/r2dplus_defconfig
@@ -3,6 +3,7 @@ CONFIG_TARGET_R2DPLUS=y
 CONFIG_ENV_IS_IN_FLASH=y
 CONFIG_BOOTDELAY=-1
 CONFIG_CMD_IDE=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
diff --git a/configs/r7780mp_defconfig b/configs/r7780mp_defconfig
index a46954d3c3..58decc5b52 100644
--- a/configs/r7780mp_defconfig
+++ b/configs/r7780mp_defconfig
@@ -15,6 +15,7 @@ CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index 698ced0256..3fe2702d30 100644
--- a/configs/sandbox_defconfig
+++ b/configs/sandbox_defconfig
@@ -40,6 +40,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_REMOTEPROC=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_TFTPSRV=y
 CONFIG_CMD_RARP=y
diff --git a/configs/sandbox_flattree_defconfig b/configs/sandbox_flattree_defconfig
index 3d21662599..8819e86093 100644
--- a/configs/sandbox_flattree_defconfig
+++ b/configs/sandbox_flattree_defconfig
@@ -35,6 +35,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_REMOTEPROC=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_TFTPSRV=y
 CONFIG_CMD_RARP=y
diff --git a/configs/sandbox_noblk_defconfig b/configs/sandbox_noblk_defconfig
index 0b82439d33..b6fcb31812 100644
--- a/configs/sandbox_noblk_defconfig
+++ b/configs/sandbox_noblk_defconfig
@@ -39,6 +39,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_REMOTEPROC=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_TFTPSRV=y
 CONFIG_CMD_RARP=y
diff --git a/configs/sandbox_spl_defconfig b/configs/sandbox_spl_defconfig
index 09e078ec51..e112c3200b 100644
--- a/configs/sandbox_spl_defconfig
+++ b/configs/sandbox_spl_defconfig
@@ -47,6 +47,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_REMOTEPROC=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_TFTPSRV=y
 CONFIG_CMD_RARP=y
diff --git a/configs/sbc8349_PCI_33_defconfig b/configs/sbc8349_PCI_33_defconfig
index a79908ae01..c7d4b34ee0 100644
--- a/configs/sbc8349_PCI_33_defconfig
+++ b/configs/sbc8349_PCI_33_defconfig
@@ -7,6 +7,7 @@ CONFIG_SYS_EXTRA_OPTIONS="PCI_33M"
 CONFIG_BOOTDELAY=6
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/sbc8349_PCI_66_defconfig b/configs/sbc8349_PCI_66_defconfig
index 0d43ba425a..8990a01f87 100644
--- a/configs/sbc8349_PCI_66_defconfig
+++ b/configs/sbc8349_PCI_66_defconfig
@@ -7,6 +7,7 @@ CONFIG_SYS_EXTRA_OPTIONS="PCI_66M"
 CONFIG_BOOTDELAY=6
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/sbc8548_PCI_33_PCIE_defconfig b/configs/sbc8548_PCI_33_PCIE_defconfig
index 6348f7d2e4..5c2cca64c3 100644
--- a/configs/sbc8548_PCI_33_PCIE_defconfig
+++ b/configs/sbc8548_PCI_33_PCIE_defconfig
@@ -10,6 +10,7 @@ CONFIG_BOOTDELAY=10
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/sbc8548_PCI_33_defconfig b/configs/sbc8548_PCI_33_defconfig
index acb3092b7c..4fb8b19efb 100644
--- a/configs/sbc8548_PCI_33_defconfig
+++ b/configs/sbc8548_PCI_33_defconfig
@@ -10,6 +10,7 @@ CONFIG_BOOTDELAY=10
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/sbc8548_PCI_66_PCIE_defconfig b/configs/sbc8548_PCI_66_PCIE_defconfig
index 195d472e67..1230826eca 100644
--- a/configs/sbc8548_PCI_66_PCIE_defconfig
+++ b/configs/sbc8548_PCI_66_PCIE_defconfig
@@ -10,6 +10,7 @@ CONFIG_BOOTDELAY=10
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/sbc8548_PCI_66_defconfig b/configs/sbc8548_PCI_66_defconfig
index c107213d8c..52ccb3979f 100644
--- a/configs/sbc8548_PCI_66_defconfig
+++ b/configs/sbc8548_PCI_66_defconfig
@@ -10,6 +10,7 @@ CONFIG_BOOTDELAY=10
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/sbc8641d_defconfig b/configs/sbc8641d_defconfig
index 200500f2f6..ee4ec6fa1f 100644
--- a/configs/sbc8641d_defconfig
+++ b/configs/sbc8641d_defconfig
@@ -7,6 +7,7 @@ CONFIG_BOOTDELAY=10
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_PING=y
 CONFIG_DOS_PARTITION=y
diff --git a/configs/sh7785lcr_32bit_defconfig b/configs/sh7785lcr_32bit_defconfig
index 675c4eb678..d4ebd4b99d 100644
--- a/configs/sh7785lcr_32bit_defconfig
+++ b/configs/sh7785lcr_32bit_defconfig
@@ -16,6 +16,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_USB=y
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
diff --git a/configs/sh7785lcr_defconfig b/configs/sh7785lcr_defconfig
index d118fd4f5d..5aaca3f574 100644
--- a/configs/sh7785lcr_defconfig
+++ b/configs/sh7785lcr_defconfig
@@ -15,6 +15,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_USB=y
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
diff --git a/configs/socrates_defconfig b/configs/socrates_defconfig
index 4c55b8f33e..f0c1d72f5f 100644
--- a/configs/socrates_defconfig
+++ b/configs/socrates_defconfig
@@ -14,6 +14,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/som-db5800-som-6867_defconfig b/configs/som-db5800-som-6867_defconfig
index 4c60d03772..58bab22a3a 100644
--- a/configs/som-db5800-som-6867_defconfig
+++ b/configs/som-db5800-som-6867_defconfig
@@ -23,6 +23,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/strider_con_defconfig b/configs/strider_con_defconfig
index d293d39d7b..1945d2db3c 100644
--- a/configs/strider_con_defconfig
+++ b/configs/strider_con_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_FPGAD=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/strider_con_dp_defconfig b/configs/strider_con_dp_defconfig
index e0040e9e38..66d8bed4d1 100644
--- a/configs/strider_con_dp_defconfig
+++ b/configs/strider_con_dp_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_FPGAD=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/strider_cpu_defconfig b/configs/strider_cpu_defconfig
index 7d372ffac7..8eafcd2b33 100644
--- a/configs/strider_cpu_defconfig
+++ b/configs/strider_cpu_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_FPGAD=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/strider_cpu_dp_defconfig b/configs/strider_cpu_dp_defconfig
index 5d304b3f8b..1100cafe60 100644
--- a/configs/strider_cpu_dp_defconfig
+++ b/configs/strider_cpu_dp_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_FPGAD=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/tbs2910_defconfig b/configs/tbs2910_defconfig
index 15531e4ac3..c83a2e5932 100644
--- a/configs/tbs2910_defconfig
+++ b/configs/tbs2910_defconfig
@@ -23,6 +23,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_USB_MASS_STORAGE=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_SATA=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/theadorable-x86-dfi-bt700_defconfig b/configs/theadorable-x86-dfi-bt700_defconfig
index 29d48b6c53..9de83c9329 100644
--- a/configs/theadorable-x86-dfi-bt700_defconfig
+++ b/configs/theadorable-x86-dfi-bt700_defconfig
@@ -24,6 +24,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/theadorable_debug_defconfig b/configs/theadorable_debug_defconfig
index 4d079292b3..23c4513dba 100644
--- a/configs/theadorable_debug_defconfig
+++ b/configs/theadorable_debug_defconfig
@@ -27,6 +27,7 @@ CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_DHCP=y
diff --git a/configs/trimslice_defconfig b/configs/trimslice_defconfig
index a904e4b4dd..6be75eea97 100644
--- a/configs/trimslice_defconfig
+++ b/configs/trimslice_defconfig
@@ -18,6 +18,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_EXT4_WRITE=y
diff --git a/configs/turris_omnia_defconfig b/configs/turris_omnia_defconfig
index 2eb3d84972..fee26af937 100644
--- a/configs/turris_omnia_defconfig
+++ b/configs/turris_omnia_defconfig
@@ -23,6 +23,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_TIME=y
diff --git a/configs/ve8313_defconfig b/configs/ve8313_defconfig
index 5d601d950b..4a71356b60 100644
--- a/configs/ve8313_defconfig
+++ b/configs/ve8313_defconfig
@@ -8,6 +8,7 @@ CONFIG_BOOTDELAY=6
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_NAND=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/vining_2000_defconfig b/configs/vining_2000_defconfig
index 0099cabc82..ade0e2db0d 100644
--- a/configs/vining_2000_defconfig
+++ b/configs/vining_2000_defconfig
@@ -15,6 +15,7 @@ CONFIG_CMD_PART=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/vme8349_defconfig b/configs/vme8349_defconfig
index 244dc7e34f..27d6c6bee0 100644
--- a/configs/vme8349_defconfig
+++ b/configs/vme8349_defconfig
@@ -7,6 +7,7 @@ CONFIG_ENV_IS_IN_FLASH=y
 CONFIG_BOOTDELAY=6
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/xpedite517x_defconfig b/configs/xpedite517x_defconfig
index 47fac0052e..a627146fca 100644
--- a/configs/xpedite517x_defconfig
+++ b/configs/xpedite517x_defconfig
@@ -11,6 +11,7 @@ CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/xpedite520x_defconfig b/configs/xpedite520x_defconfig
index 4192269147..d660d1c0e0 100644
--- a/configs/xpedite520x_defconfig
+++ b/configs/xpedite520x_defconfig
@@ -12,6 +12,7 @@ CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/xpedite537x_defconfig b/configs/xpedite537x_defconfig
index 90a00d9e17..63b0e40fc5 100644
--- a/configs/xpedite537x_defconfig
+++ b/configs/xpedite537x_defconfig
@@ -11,6 +11,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/xpedite550x_defconfig b/configs/xpedite550x_defconfig
index 796a805242..0eb034805c 100644
--- a/configs/xpedite550x_defconfig
+++ b/configs/xpedite550x_defconfig
@@ -12,6 +12,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_PCI=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/zc5202_defconfig b/configs/zc5202_defconfig
index d61ed777be..6e37265528 100644
--- a/configs/zc5202_defconfig
+++ b/configs/zc5202_defconfig
@@ -23,6 +23,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_PCI=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_SPI_FLASH=y
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index c61951bb22..b1f699080e 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -13,7 +13,6 @@
  * Alphabetical list of all possible commands.
  */
 
-#define CONFIG_CMD_PCI /* pciinfo */
 #define CONFIG_CMD_PCMCIA /* PCMCIA support */
 #define CONFIG_CMD_PORTIO /* Port I/O */
 #define CONFIG_CMD_REGINFO /* Register dump */
diff --git a/include/configs/B4860QDS.h b/include/configs/B4860QDS.h
index 4ec65759b5..984803d440 100644
--- a/include/configs/B4860QDS.h
+++ b/include/configs/B4860QDS.h
@@ -695,10 +695,6 @@ unsigned long get_board_ddr_clk(void);
  */
 #define CONFIG_CMD_REGINFO
 
-#ifdef CONFIG_PCI
-#define CONFIG_CMD_PCI
-#endif
-
 /*
 * USB
 */
diff --git a/include/configs/BSC9132QDS.h b/include/configs/BSC9132QDS.h
index b0a3cf8e47..b385cf4a97 100644
--- a/include/configs/BSC9132QDS.h
+++ b/include/configs/BSC9132QDS.h
@@ -77,8 +77,6 @@
 #define CONFIG_FSL_PCIE_RESET /* need PCIe reset errata */
 #define CONFIG_SYS_PCI_64BIT /* enable 64-bit PCI resources */
 
-#define CONFIG_CMD_PCI
-
 /*
  * PCI Windows
  * Memory space is mapped 1-1, but I/O space must start from 0.
diff --git a/include/configs/C29XPCIE.h b/include/configs/C29XPCIE.h
index 050847b4aa..a00d3872e3 100644
--- a/include/configs/C29XPCIE.h
+++ b/include/configs/C29XPCIE.h
@@ -77,8 +77,6 @@
 #define CONFIG_FSL_PCIE_RESET /* need PCIe reset errata */
 #define CONFIG_SYS_PCI_64BIT /* enable 64-bit PCI resources */
 
-#define CONFIG_CMD_PCI
-
 /*
  * PCI Windows
  * Memory space is mapped 1-1, but I/O space must start from 0.
diff --git a/include/configs/M5235EVB.h b/include/configs/M5235EVB.h
index 57328c6269..dac2a32383 100644
--- a/include/configs/M5235EVB.h
+++ b/include/configs/M5235EVB.h
@@ -33,9 +33,6 @@
 #define CONFIG_BOOTP_GATEWAY
 #define CONFIG_BOOTP_HOSTNAME
 
-/* Command line configuration */
-#define CONFIG_CMD_PCI
-
 #define CONFIG_MCFFEC
 #ifdef CONFIG_MCFFEC
 # define CONFIG_MII 1
diff --git a/include/configs/M54455EVB.h b/include/configs/M54455EVB.h
index 8702b89174..f83aa13ecf 100644
--- a/include/configs/M54455EVB.h
+++ b/include/configs/M54455EVB.h
@@ -35,9 +35,6 @@
 #define CONFIG_BOOTP_GATEWAY
 #define CONFIG_BOOTP_HOSTNAME
 
-/* Command line configuration */
-#undef CONFIG_CMD_PCI
-
 /* Network configuration */
 #define CONFIG_MCFFEC
 #ifdef CONFIG_MCFFEC
diff --git a/include/configs/M5475EVB.h b/include/configs/M5475EVB.h
index 9dca52e78a..b51d69568a 100644
--- a/include/configs/M5475EVB.h
+++ b/include/configs/M5475EVB.h
@@ -25,9 +25,6 @@
 #undef CONFIG_HW_WATCHDOG
 #define CONFIG_WATCHDOG_TIMEOUT 5000 /* timeout in milliseconds, max timeout is 6.71sec */
 
-/* Command line configuration */
-#define CONFIG_CMD_PCI
-
 #define CONFIG_SLTTMR
 
 #define CONFIG_FSLDMAFEC
@@ -68,9 +65,6 @@
 #ifdef CONFIG_CMD_USB
 # define CONFIG_USB_OHCI_NEW
 
-# ifndef CONFIG_CMD_PCI
-# define CONFIG_CMD_PCI
-# endif
 # define CONFIG_PCI_OHCI
 
 # undef CONFIG_SYS_USB_OHCI_BOARD_INIT
diff --git a/include/configs/M5485EVB.h b/include/configs/M5485EVB.h
index d95be2bd5e..56af0e3a5f 100644
--- a/include/configs/M5485EVB.h
+++ b/include/configs/M5485EVB.h
@@ -25,9 +25,6 @@
 #undef CONFIG_HW_WATCHDOG
 #define CONFIG_WATCHDOG_TIMEOUT 5000 /* timeout in milliseconds, max timeout is 6.71sec */
 
-/* Command line configuration */
-#define CONFIG_CMD_PCI
-
 #define CONFIG_SLTTMR
 
 #define CONFIG_FSLDMAFEC
@@ -67,9 +64,6 @@
 
 #ifdef CONFIG_CMD_USB
 # define CONFIG_USB_OHCI_NEW
-# ifndef CONFIG_CMD_PCI
-# define CONFIG_CMD_PCI
-# endif
 /*# define CONFIG_PCI_OHCI*/
 # define CONFIG_SYS_USB_OHCI_REGS_BASE 0x80041000
 # define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 15
diff --git a/include/configs/MPC8308RDB.h b/include/configs/MPC8308RDB.h
index 25d5cab959..8460b814ad 100644
--- a/include/configs/MPC8308RDB.h
+++ b/include/configs/MPC8308RDB.h
@@ -415,7 +415,6 @@
 /*
  * Command line configuration.
  */
-#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 d666f960b6..3a031a833a 100644
--- a/include/configs/MPC8313ERDB.h
+++ b/include/configs/MPC8313ERDB.h
@@ -463,7 +463,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_PCI
 
 #define CONFIG_CMDLINE_EDITING 1
 #define CONFIG_AUTO_COMPLETE /* add autocompletion support   */
diff --git a/include/configs/MPC8315ERDB.h b/include/configs/MPC8315ERDB.h
index 69107ca12d..28f7a289b7 100644
--- a/include/configs/MPC8315ERDB.h
+++ b/include/configs/MPC8315ERDB.h
@@ -442,7 +442,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_PCI
 
 #define CONFIG_CMDLINE_EDITING 1 /* add command line history */
 #define CONFIG_AUTO_COMPLETE /* add autocompletion support */
diff --git a/include/configs/MPC8323ERDB.h b/include/configs/MPC8323ERDB.h
index b8f8f493eb..7f99bd2888 100644
--- a/include/configs/MPC8323ERDB.h
+++ b/include/configs/MPC8323ERDB.h
@@ -319,10 +319,6 @@
  * Command line configuration.
  */
 
-#if defined(CONFIG_PCI)
- #define CONFIG_CMD_PCI
-#endif
-
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
 /*
diff --git a/include/configs/MPC832XEMDS.h b/include/configs/MPC832XEMDS.h
index 428f3abf90..6ead1db0b3 100644
--- a/include/configs/MPC832XEMDS.h
+++ b/include/configs/MPC832XEMDS.h
@@ -403,10 +403,6 @@
  * Command line configuration.
  */
 
-#if defined(CONFIG_PCI)
-    #define CONFIG_CMD_PCI
-#endif
-
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
 /*
diff --git a/include/configs/MPC8349EMDS.h b/include/configs/MPC8349EMDS.h
index 18f7523692..0b965e2a6b 100644
--- a/include/configs/MPC8349EMDS.h
+++ b/include/configs/MPC8349EMDS.h
@@ -462,10 +462,6 @@
  * Command line configuration.
  */
 
-#if defined(CONFIG_PCI)
-    #define CONFIG_CMD_PCI
-#endif
-
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
 /*
diff --git a/include/configs/MPC8349ITX.h b/include/configs/MPC8349ITX.h
index 221c35cf51..7d8074b462 100644
--- a/include/configs/MPC8349ITX.h
+++ b/include/configs/MPC8349ITX.h
@@ -486,10 +486,6 @@ boards, we say we have two, but don't display a message if we find only one. */
 #if defined(CONFIG_SATA_SIL3114) || defined(CONFIG_USB_STORAGE)
 #endif
 
-#ifdef CONFIG_PCI
- #define CONFIG_CMD_PCI
-#endif
-
 /* Watchdog */
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
diff --git a/include/configs/MPC837XEMDS.h b/include/configs/MPC837XEMDS.h
index f6afa9dcc9..d29ff91032 100644
--- a/include/configs/MPC837XEMDS.h
+++ b/include/configs/MPC837XEMDS.h
@@ -465,10 +465,6 @@ extern int board_pci_host_broken(void);
  * Command line configuration.
  */
 
-#if defined(CONFIG_PCI)
-    #define CONFIG_CMD_PCI
-#endif
-
 #define CONFIG_CMDLINE_EDITING 1 /* add command line history */
 #define CONFIG_AUTO_COMPLETE /* add autocompletion support   */
 
diff --git a/include/configs/MPC837XERDB.h b/include/configs/MPC837XERDB.h
index d93f7a0074..11bd0c3f95 100644
--- a/include/configs/MPC837XERDB.h
+++ b/include/configs/MPC837XERDB.h
@@ -479,10 +479,6 @@
  * Command line configuration.
  */
 
-#if defined(CONFIG_PCI)
-#define CONFIG_CMD_PCI
-#endif
-
 #define CONFIG_CMDLINE_EDITING 1 /* add command line history */
 #define CONFIG_AUTO_COMPLETE /* add autocompletion support */
 
diff --git a/include/configs/MPC8536DS.h b/include/configs/MPC8536DS.h
index 38a2ca146c..277c9d00a7 100644
--- a/include/configs/MPC8536DS.h
+++ b/include/configs/MPC8536DS.h
@@ -585,10 +585,6 @@
  */
 #define CONFIG_CMD_REGINFO
 
-#if defined(CONFIG_PCI)
-#define CONFIG_CMD_PCI
-#endif
-
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
 #ifdef CONFIG_MMC
diff --git a/include/configs/MPC8540ADS.h b/include/configs/MPC8540ADS.h
index ca4ccd8ad3..6add793595 100644
--- a/include/configs/MPC8540ADS.h
+++ b/include/configs/MPC8540ADS.h
@@ -314,10 +314,6 @@
  * Command line configuration.
  */
 
-#if defined(CONFIG_PCI)
-    #define CONFIG_CMD_PCI
-#endif
-
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
 /*
diff --git a/include/configs/MPC8541CDS.h b/include/configs/MPC8541CDS.h
index 977454167d..3867b31e23 100644
--- a/include/configs/MPC8541CDS.h
+++ b/include/configs/MPC8541CDS.h
@@ -343,10 +343,6 @@ extern unsigned long get_clock_freq(void);
  */
 #define CONFIG_CMD_REGINFO
 
-#if defined(CONFIG_PCI)
-    #define CONFIG_CMD_PCI
-#endif
-
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
 /*
diff --git a/include/configs/MPC8544DS.h b/include/configs/MPC8544DS.h
index b4f4c4e32b..cea37f8ae4 100644
--- a/include/configs/MPC8544DS.h
+++ b/include/configs/MPC8544DS.h
@@ -349,10 +349,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
  */
 #define CONFIG_CMD_REGINFO
 
-#if defined(CONFIG_PCI)
-    #define CONFIG_CMD_PCI
-#endif
-
 /*
  * USB
  */
diff --git a/include/configs/MPC8548CDS.h b/include/configs/MPC8548CDS.h
index b41543688b..7c98bcb035 100644
--- a/include/configs/MPC8548CDS.h
+++ b/include/configs/MPC8548CDS.h
@@ -462,10 +462,6 @@ extern unsigned long get_clock_freq(void);
  */
 #define CONFIG_CMD_REGINFO
 
-#if defined(CONFIG_PCI)
-    #define CONFIG_CMD_PCI
-#endif
-
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
 /*
diff --git a/include/configs/MPC8555CDS.h b/include/configs/MPC8555CDS.h
index d31395cf81..3dc24bd74e 100644
--- a/include/configs/MPC8555CDS.h
+++ b/include/configs/MPC8555CDS.h
@@ -341,10 +341,6 @@ extern unsigned long get_clock_freq(void);
  */
 #define CONFIG_CMD_REGINFO
 
-#if defined(CONFIG_PCI)
-    #define CONFIG_CMD_PCI
-#endif
-
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
 /*
diff --git a/include/configs/MPC8560ADS.h b/include/configs/MPC8560ADS.h
index 2e13fb52df..8b8be2da0e 100644
--- a/include/configs/MPC8560ADS.h
+++ b/include/configs/MPC8560ADS.h
@@ -354,10 +354,6 @@
  */
 #define CONFIG_CMD_REGINFO
 
-#if defined(CONFIG_PCI)
-    #define CONFIG_CMD_PCI
-#endif
-
 #if defined(CONFIG_ETHER_ON_FCC)
 #endif
 
diff --git a/include/configs/MPC8568MDS.h b/include/configs/MPC8568MDS.h
index c0af7451b8..e6b1ea982f 100644
--- a/include/configs/MPC8568MDS.h
+++ b/include/configs/MPC8568MDS.h
@@ -356,10 +356,6 @@ extern unsigned long get_clock_freq(void);
  */
 #define CONFIG_CMD_REGINFO
 
-#if defined(CONFIG_PCI)
-    #define CONFIG_CMD_PCI
-#endif
-
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
 /*
diff --git a/include/configs/MPC8569MDS.h b/include/configs/MPC8569MDS.h
index 716bb069b3..6f2fa4939a 100644
--- a/include/configs/MPC8569MDS.h
+++ b/include/configs/MPC8569MDS.h
@@ -448,10 +448,6 @@ extern unsigned long get_clock_freq(void);
  */
 #define CONFIG_CMD_REGINFO
 
-#if defined(CONFIG_PCI)
-    #define CONFIG_CMD_PCI
-#endif
-
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
 #ifdef CONFIG_MMC
diff --git a/include/configs/MPC8572DS.h b/include/configs/MPC8572DS.h
index 906270222a..a75d30851b 100644
--- a/include/configs/MPC8572DS.h
+++ b/include/configs/MPC8572DS.h
@@ -547,10 +547,6 @@
  */
 #define CONFIG_CMD_REGINFO
 
-#if defined(CONFIG_PCI)
-#define CONFIG_CMD_PCI
-#endif
-
 /*
  * USB
  */
diff --git a/include/configs/MPC8610HPCD.h b/include/configs/MPC8610HPCD.h
index 5e8211609a..807624e2ce 100644
--- a/include/configs/MPC8610HPCD.h
+++ b/include/configs/MPC8610HPCD.h
@@ -426,10 +426,6 @@
  * Command line configuration.
  */
 
-#if defined(CONFIG_PCI)
-#define CONFIG_CMD_PCI
-#endif
-
 #define CONFIG_WATCHDOG /* watchdog enabled */
 #define CONFIG_SYS_WATCHDOG_FREQ 5000 /* Feed interval, 5s */
 
diff --git a/include/configs/MPC8641HPCN.h b/include/configs/MPC8641HPCN.h
index 7b9b2458b3..b74ef38513 100644
--- a/include/configs/MPC8641HPCN.h
+++ b/include/configs/MPC8641HPCN.h
@@ -587,10 +587,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
  */
 #define CONFIG_CMD_REGINFO
 
-#if defined(CONFIG_PCI)
-    #define CONFIG_CMD_PCI
-#endif
-
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
 /*
diff --git a/include/configs/P1010RDB.h b/include/configs/P1010RDB.h
index 08288ccf35..9f52a6fc48 100644
--- a/include/configs/P1010RDB.h
+++ b/include/configs/P1010RDB.h
@@ -140,8 +140,6 @@
 #define CONFIG_FSL_PCIE_RESET /* need PCIe reset errata */
 #define CONFIG_SYS_PCI_64BIT /* enable 64-bit PCI resources */
 
-#define CONFIG_CMD_PCI
-
 /*
  * PCI Windows
  * Memory space is mapped 1-1, but I/O space must start from 0.
diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h
index a1035d6794..152f0d89f0 100644
--- a/include/configs/P1022DS.h
+++ b/include/configs/P1022DS.h
@@ -587,10 +587,6 @@
  */
 #define CONFIG_CMD_REGINFO
 
-#ifdef CONFIG_PCI
-#define CONFIG_CMD_PCI
-#endif
-
 /*
  * USB
  */
diff --git a/include/configs/P1023RDB.h b/include/configs/P1023RDB.h
index 75d1efd127..45dcb6b04b 100644
--- a/include/configs/P1023RDB.h
+++ b/include/configs/P1023RDB.h
@@ -241,10 +241,6 @@ extern unsigned long get_clock_freq(void);
  */
 #define CONFIG_CMD_REGINFO
 
-#if defined(CONFIG_PCI)
-#define CONFIG_CMD_PCI
-#endif
-
 /*
  * USB
  */
diff --git a/include/configs/P2041RDB.h b/include/configs/P2041RDB.h
index 7c139bbcd1..6c1df93458 100644
--- a/include/configs/P2041RDB.h
+++ b/include/configs/P2041RDB.h
@@ -571,10 +571,6 @@ unsigned long get_board_sys_clk(unsigned long dummy);
  * Command line configuration.
  */
 
-#ifdef CONFIG_PCI
-#define CONFIG_CMD_PCI
-#endif
-
 /*
 * USB
 */
diff --git a/include/configs/T102xQDS.h b/include/configs/T102xQDS.h
index 163ec10cfb..1adbf1ae90 100644
--- a/include/configs/T102xQDS.h
+++ b/include/configs/T102xQDS.h
@@ -773,10 +773,6 @@ unsigned long get_board_ddr_clk(void);
  */
 #define CONFIG_CMD_REGINFO
 
-#ifdef CONFIG_PCI
-#define CONFIG_CMD_PCI
-#endif
-
 /*
  * Miscellaneous configurable options
  */
diff --git a/include/configs/T102xRDB.h b/include/configs/T102xRDB.h
index cdd459e197..7a33b8a19e 100644
--- a/include/configs/T102xRDB.h
+++ b/include/configs/T102xRDB.h
@@ -784,10 +784,6 @@ unsigned long get_board_ddr_clk(void);
  */
 #define CONFIG_CMD_REGINFO
 
-#ifdef CONFIG_PCI
-#define CONFIG_CMD_PCI
-#endif
-
 /*
  * Miscellaneous configurable options
  */
diff --git a/include/configs/T1040QDS.h b/include/configs/T1040QDS.h
index 0a848b6440..0f0e149572 100644
--- a/include/configs/T1040QDS.h
+++ b/include/configs/T1040QDS.h
@@ -652,10 +652,6 @@ unsigned long get_board_ddr_clk(void);
  */
 #define CONFIG_CMD_REGINFO
 
-#ifdef CONFIG_PCI
-#define CONFIG_CMD_PCI
-#endif
-
 /*
  * Miscellaneous configurable options
  */
diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h
index 13efcb9e36..34578cc819 100644
--- a/include/configs/T104xRDB.h
+++ b/include/configs/T104xRDB.h
@@ -767,10 +767,6 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg
  */
 #define CONFIG_CMD_REGINFO
 
-#ifdef CONFIG_PCI
-#define CONFIG_CMD_PCI
-#endif
-
 /*
  * Miscellaneous configurable options
  */
diff --git a/include/configs/T208xQDS.h b/include/configs/T208xQDS.h
index 1e4a49e886..b45e634ddb 100644
--- a/include/configs/T208xQDS.h
+++ b/include/configs/T208xQDS.h
@@ -738,10 +738,6 @@ unsigned long get_board_ddr_clk(void);
  */
 #define CONFIG_CMD_REGINFO
 
-#ifdef CONFIG_PCI
-#define CONFIG_CMD_PCI
-#endif
-
 /*
  * Miscellaneous configurable options
  */
diff --git a/include/configs/T208xRDB.h b/include/configs/T208xRDB.h
index ecce5163a1..b5b7a4a8fb 100644
--- a/include/configs/T208xRDB.h
+++ b/include/configs/T208xRDB.h
@@ -684,10 +684,6 @@ unsigned long get_board_ddr_clk(void);
  */
 #define CONFIG_CMD_REGINFO
 
-#ifdef CONFIG_PCI
-#define CONFIG_CMD_PCI
-#endif
-
 /*
  * Miscellaneous configurable options
  */
diff --git a/include/configs/T4240RDB.h b/include/configs/T4240RDB.h
index f4f025a3be..1b56020c10 100644
--- a/include/configs/T4240RDB.h
+++ b/include/configs/T4240RDB.h
@@ -272,10 +272,6 @@
  * Command line configuration.
  */
 
-#ifdef CONFIG_PCI
-#define CONFIG_CMD_PCI
-#endif
-
 /*
  * Miscellaneous configurable options
  */
diff --git a/include/configs/TQM834x.h b/include/configs/TQM834x.h
index c216ac2d47..aab8b5d9f2 100644
--- a/include/configs/TQM834x.h
+++ b/include/configs/TQM834x.h
@@ -269,13 +269,6 @@
 #define CONFIG_BOOTP_GATEWAY
 #define CONFIG_BOOTP_HOSTNAME
 
-/*
- * Command line configuration.
- */
-#if defined(CONFIG_PCI)
-    #define CONFIG_CMD_PCI
-#endif
-
 /*
  * Miscellaneous configurable options
  */
diff --git a/include/configs/UCP1020.h b/include/configs/UCP1020.h
index eea518df21..6573301493 100644
--- a/include/configs/UCP1020.h
+++ b/include/configs/UCP1020.h
@@ -352,8 +352,6 @@
 #define CONFIG_SYS_PCIE1_IO_PHYS 0xffc00000
 #define CONFIG_SYS_PCIE1_IO_SIZE 0x00010000 /* 64k */
 
-#define CONFIG_CMD_PCI
-
 #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
 #endif /* CONFIG_PCI */
 
diff --git a/include/configs/advantech_dms-ba16.h b/include/configs/advantech_dms-ba16.h
index 22a4e69be5..39d2df1804 100644
--- a/include/configs/advantech_dms-ba16.h
+++ b/include/configs/advantech_dms-ba16.h
@@ -269,7 +269,6 @@
 #define CONFIG_PWM_IMX
 #define CONFIG_IMX6_PWM_PER_CLK         66000000
 
-#undef CONFIG_CMD_PCI
 #ifdef CONFIG_CMD_PCI
 #define CONFIG_PCI_SCAN_SHOW
 #define CONFIG_PCIE_IMX
diff --git a/include/configs/apalis-tk1.h b/include/configs/apalis-tk1.h
index d6b226c425..f750d5fbf9 100644
--- a/include/configs/apalis-tk1.h
+++ b/include/configs/apalis-tk1.h
@@ -39,7 +39,6 @@
 
 /* PCI host support */
 #undef CONFIG_PCI_SCAN_SHOW
-#define CONFIG_CMD_PCI
 
 /* PCI networking support */
 #define CONFIG_E1000_NO_NVM
diff --git a/include/configs/apalis_t30.h b/include/configs/apalis_t30.h
index daa3be0999..c814c73b40 100644
--- a/include/configs/apalis_t30.h
+++ b/include/configs/apalis_t30.h
@@ -35,7 +35,6 @@
 #define CONFIG_USB_EHCI_TEGRA
 
 /* PCI host support */
-#define CONFIG_CMD_PCI
 
 /* PCI networking support */
 #define CONFIG_E1000_NO_NVM
diff --git a/include/configs/beaver.h b/include/configs/beaver.h
index 6afa1e8c04..2385173a6a 100644
--- a/include/configs/beaver.h
+++ b/include/configs/beaver.h
@@ -45,7 +45,6 @@
 #define CONFIG_USB_ETHER_ASIX
 
 /* PCI host support */
-#define CONFIG_CMD_PCI
 
 /* General networking support */
 
diff --git a/include/configs/boston.h b/include/configs/boston.h
index 2646cf09ed..86dd0433c8 100644
--- a/include/configs/boston.h
+++ b/include/configs/boston.h
@@ -20,7 +20,6 @@
 /*
  * PCI
  */
-#define CONFIG_CMD_PCI
 
 /*
  * Memory map
diff --git a/include/configs/cardhu.h b/include/configs/cardhu.h
index a490d06619..834bab073c 100644
--- a/include/configs/cardhu.h
+++ b/include/configs/cardhu.h
@@ -49,7 +49,6 @@
 #define CONFIG_USB_ETHER_ASIX
 
 /* PCI host support */
-#define CONFIG_CMD_PCI
 
 /* General networking support */
 
diff --git a/include/configs/cei-tk1-som.h b/include/configs/cei-tk1-som.h
index 768669ff12..4bb0f9e094 100644
--- a/include/configs/cei-tk1-som.h
+++ b/include/configs/cei-tk1-som.h
@@ -44,7 +44,6 @@
 #define CONFIG_USB_ETHER_ASIX
 
 /* PCI host support */
-#define CONFIG_CMD_PCI
 
 /* General networking support */
 
diff --git a/include/configs/clearfog.h b/include/configs/clearfog.h
index bd80222149..5061f6c6fd 100644
--- a/include/configs/clearfog.h
+++ b/include/configs/clearfog.h
@@ -24,7 +24,6 @@
 /*
  * Commands configuration
  */
-#define CONFIG_CMD_PCI
 
 /* I2C */
 #define CONFIG_SYS_I2C
diff --git a/include/configs/controlcenterd.h b/include/configs/controlcenterd.h
index 1ac416260e..55d705c2fc 100644
--- a/include/configs/controlcenterd.h
+++ b/include/configs/controlcenterd.h
@@ -220,7 +220,6 @@
 #define CONFIG_PCI_INDIRECT_BRIDGE
 #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
 #define CONFIG_SYS_PCI_64BIT /* enable 64-bit PCI resources */
-#define CONFIG_CMD_PCI
 
 #define CONFIG_FSL_PCI_INIT /* Use common FSL init code */
 #define CONFIG_FSL_PCIE_RESET /* need PCIe reset errata */
diff --git a/include/configs/controlcenterdc.h b/include/configs/controlcenterdc.h
index 021150ed61..979bb98850 100644
--- a/include/configs/controlcenterdc.h
+++ b/include/configs/controlcenterdc.h
@@ -33,7 +33,6 @@
  * Commands configuration
  */
 #define CONFIG_CMD_I2C
-#define CONFIG_CMD_PCI
 #define CONFIG_CMD_SCSI
 #define CONFIG_CMD_SPI
 
diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h
index 77a997b111..19f3a55e9a 100644
--- a/include/configs/corenet_ds.h
+++ b/include/configs/corenet_ds.h
@@ -585,10 +585,6 @@
  */
 #define CONFIG_CMD_REGINFO
 
-#ifdef CONFIG_PCI
-#define CONFIG_CMD_PCI
-#endif
-
 /*
 * USB
 */
diff --git a/include/configs/cyrus.h b/include/configs/cyrus.h
index ddbaf327d8..5ba393a7db 100644
--- a/include/configs/cyrus.h
+++ b/include/configs/cyrus.h
@@ -411,10 +411,6 @@
  */
 #define CONFIG_CMD_REGINFO
 
-#ifdef CONFIG_PCI
-#define CONFIG_CMD_PCI
-#endif
-
 /*
  * USB
  */
diff --git a/include/configs/db-88f6820-amc.h b/include/configs/db-88f6820-amc.h
index 864222955f..b0e988d234 100644
--- a/include/configs/db-88f6820-amc.h
+++ b/include/configs/db-88f6820-amc.h
@@ -24,7 +24,6 @@
 /*
  * Commands configuration
  */
-#define CONFIG_CMD_PCI
 
 /* SPI NOR flash default params, used by sf commands */
 #define CONFIG_SF_DEFAULT_BUS 1
diff --git a/include/configs/db-88f6820-gp.h b/include/configs/db-88f6820-gp.h
index 4a9d2f75bf..44fd968d3b 100644
--- a/include/configs/db-88f6820-gp.h
+++ b/include/configs/db-88f6820-gp.h
@@ -24,7 +24,6 @@
 /*
  * Commands configuration
  */
-#define CONFIG_CMD_PCI
 
 /* I2C */
 #define CONFIG_SYS_I2C
diff --git a/include/configs/db-mv784mp-gp.h b/include/configs/db-mv784mp-gp.h
index 7174f6b40e..4a5be6188f 100644
--- a/include/configs/db-mv784mp-gp.h
+++ b/include/configs/db-mv784mp-gp.h
@@ -22,11 +22,6 @@
 #define CONFIG_SYS_TEXT_BASE 0x00800000
 #define CONFIG_SYS_TCLK 250000000 /* 250MHz */
 
-/*
- * Commands configuration
- */
-#define CONFIG_CMD_PCI
-
 /* I2C */
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_I2C_MVTWSI
diff --git a/include/configs/ds414.h b/include/configs/ds414.h
index c1e9346290..f5998b4a52 100644
--- a/include/configs/ds414.h
+++ b/include/configs/ds414.h
@@ -48,7 +48,6 @@
 
 /* PCIe support */
 #ifndef CONFIG_SPL_BUILD
-#define CONFIG_CMD_PCI
 #define CONFIG_CMD_PCI_ENUM
 #define CONFIG_PCI_MVEBU
 #define CONFIG_PCI_SCAN_SHOW
diff --git a/include/configs/ge_bx50v3.h b/include/configs/ge_bx50v3.h
index 5e04dd24f4..362c1de54f 100644
--- a/include/configs/ge_bx50v3.h
+++ b/include/configs/ge_bx50v3.h
@@ -299,7 +299,6 @@
 #define CONFIG_PWM_IMX
 #define CONFIG_IMX6_PWM_PER_CLK 66000000
 
-#undef CONFIG_CMD_PCI
 #ifdef CONFIG_CMD_PCI
 #define CONFIG_PCI_SCAN_SHOW
 #define CONFIG_PCIE_IMX
diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h
index bddebde042..18d1e7b1f5 100644
--- a/include/configs/gw_ventana.h
+++ b/include/configs/gw_ventana.h
@@ -116,7 +116,6 @@
 /*
  * PCI express
  */
-#define CONFIG_CMD_PCI
 #ifdef CONFIG_CMD_PCI
 #define CONFIG_PCI_SCAN_SHOW
 #define CONFIG_PCI_FIXUP_DEV
diff --git a/include/configs/hrcon.h b/include/configs/hrcon.h
index c5b6fddee7..565a5aae93 100644
--- a/include/configs/hrcon.h
+++ b/include/configs/hrcon.h
@@ -509,7 +509,6 @@ void fpga_control_clear(unsigned int bus, int pin);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_PCI
 
 #define CONFIG_CMDLINE_EDITING 1 /* add command line history */
 #define CONFIG_AUTO_COMPLETE /* add autocompletion support */
diff --git a/include/configs/integratorap.h b/include/configs/integratorap.h
index ae8399426f..0589b9288e 100644
--- a/include/configs/integratorap.h
+++ b/include/configs/integratorap.h
@@ -43,8 +43,6 @@
  * PCI definitions
  */
 
-#define CONFIG_CMD_PCI
-
 #define CONFIG_TULIP
 #define CONFIG_EEPRO100
 #define CONFIG_SYS_RX_ETH_BUFFER 8 /* use 8 rx buffer on eepro100 */
diff --git a/include/configs/jetson-tk1.h b/include/configs/jetson-tk1.h
index acc97268ba..b35f358ed2 100644
--- a/include/configs/jetson-tk1.h
+++ b/include/configs/jetson-tk1.h
@@ -40,7 +40,6 @@
 #define CONFIG_USB_ETHER_ASIX
 
 /* PCI host support */
-#define CONFIG_CMD_PCI
 
 /* General networking support */
 
diff --git a/include/configs/km/km83xx-common.h b/include/configs/km/km83xx-common.h
index 0bd42799f1..810b23e8fa 100644
--- a/include/configs/km/km83xx-common.h
+++ b/include/configs/km/km83xx-common.h
@@ -219,10 +219,6 @@
 #define CONFIG_SYS_NAND_BASE CONFIG_SYS_KMBEC_FPGA_BASE
 #endif
 
-#if defined(CONFIG_PCI)
-#define CONFIG_CMD_PCI
-#endif
-
 /*
  * For booting Linux, the board info and command line data
  * have to be in the first 8 MB of memory, since this is
diff --git a/include/configs/km/kmp204x-common.h b/include/configs/km/kmp204x-common.h
index 3c66f8a170..3c127f5f7d 100644
--- a/include/configs/km/kmp204x-common.h
+++ b/include/configs/km/kmp204x-common.h
@@ -367,7 +367,6 @@ int get_scl(void);
 /*
  * additionnal command line configuration.
  */
-#define CONFIG_CMD_PCI
 
 /* we don't need flash support */
 #undef CONFIG_FLASH_CFI_MTD
diff --git a/include/configs/ls1012aqds.h b/include/configs/ls1012aqds.h
index bebb0dfce8..99f5dd4119 100644
--- a/include/configs/ls1012aqds.h
+++ b/include/configs/ls1012aqds.h
@@ -149,7 +149,6 @@
 
 #define CONFIG_NET_MULTI
 #define CONFIG_PCI_SCAN_SHOW
-#define CONFIG_CMD_PCI
 
 #define CONFIG_CMD_MEMINFO
 #define CONFIG_CMD_MEMTEST
diff --git a/include/configs/ls1012ardb.h b/include/configs/ls1012ardb.h
index 32c8cec072..f4ed0302a9 100644
--- a/include/configs/ls1012ardb.h
+++ b/include/configs/ls1012ardb.h
@@ -65,7 +65,6 @@
 
 #define CONFIG_NET_MULTI
 #define CONFIG_PCI_SCAN_SHOW
-#define CONFIG_CMD_PCI
 
 #define CONFIG_CMD_MEMINFO
 #define CONFIG_CMD_MEMTEST
diff --git a/include/configs/ls1021aiot.h b/include/configs/ls1021aiot.h
index 58f893f4fd..9896b0f04b 100644
--- a/include/configs/ls1021aiot.h
+++ b/include/configs/ls1021aiot.h
@@ -216,7 +216,6 @@
 
 #ifdef CONFIG_PCI
 #define CONFIG_PCI_SCAN_SHOW
-#define CONFIG_CMD_PCI
 #endif
 
 #define CONFIG_CMD_PING
diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h
index bd05b45f70..261eef1e2b 100644
--- a/include/configs/ls1021aqds.h
+++ b/include/configs/ls1021aqds.h
@@ -479,7 +479,6 @@ unsigned long get_board_ddr_clk(void);
 
 #ifdef CONFIG_PCI
 #define CONFIG_PCI_SCAN_SHOW
-#define CONFIG_CMD_PCI
 #endif
 
 #define CONFIG_CMDLINE_TAG
diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
index 98e902e0c6..6d195903cb 100644
--- a/include/configs/ls1021atwr.h
+++ b/include/configs/ls1021atwr.h
@@ -350,7 +350,6 @@
 
 #ifdef CONFIG_PCI
 #define CONFIG_PCI_SCAN_SHOW
-#define CONFIG_CMD_PCI
 #endif
 
 #define CONFIG_CMDLINE_TAG
diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h
index 443a6657e6..f064d5c24a 100644
--- a/include/configs/ls1043a_common.h
+++ b/include/configs/ls1043a_common.h
@@ -169,7 +169,6 @@
 #ifdef CONFIG_PCI
 #define CONFIG_NET_MULTI
 #define CONFIG_PCI_SCAN_SHOW
-#define CONFIG_CMD_PCI
 #endif
 #endif
 
diff --git a/include/configs/ls1046a_common.h b/include/configs/ls1046a_common.h
index 7d7da91a0d..e5159d8f1a 100644
--- a/include/configs/ls1046a_common.h
+++ b/include/configs/ls1046a_common.h
@@ -145,7 +145,6 @@
 
 #ifdef CONFIG_PCI
 #define CONFIG_PCI_SCAN_SHOW
-#define CONFIG_CMD_PCI
 #endif
 
 /* Command line configuration */
diff --git a/include/configs/ls2080aqds.h b/include/configs/ls2080aqds.h
index 6b943cdb32..e6384843f9 100644
--- a/include/configs/ls2080aqds.h
+++ b/include/configs/ls2080aqds.h
@@ -342,7 +342,6 @@ unsigned long get_board_ddr_clk(void);
 
 #ifdef CONFIG_PCI
 #define CONFIG_PCI_SCAN_SHOW
-#define CONFIG_CMD_PCI
 #endif
 
 /*  MMC  */
diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h
index b86726fc0e..0de535ac98 100644
--- a/include/configs/ls2080ardb.h
+++ b/include/configs/ls2080ardb.h
@@ -328,7 +328,6 @@ unsigned long get_board_sys_clk(void);
 
 #ifdef CONFIG_PCI
 #define CONFIG_PCI_SCAN_SHOW
-#define CONFIG_CMD_PCI
 #endif
 
 /*  MMC  */
diff --git a/include/configs/malta.h b/include/configs/malta.h
index 8eb6d7a269..b0b9664f57 100644
--- a/include/configs/malta.h
+++ b/include/configs/malta.h
@@ -100,7 +100,6 @@
 /*
  * Commands
  */
-#define CONFIG_CMD_PCI
 
 #define CONFIG_SYS_LONGHELP /* verbose help, undef to save memory */
 
diff --git a/include/configs/mpc8308_p1m.h b/include/configs/mpc8308_p1m.h
index cd5971d30c..755e05deda 100644
--- a/include/configs/mpc8308_p1m.h
+++ b/include/configs/mpc8308_p1m.h
@@ -382,7 +382,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_PCI
 
 #define CONFIG_CMDLINE_EDITING 1 /* add command line history */
 
diff --git a/include/configs/mvebu_armada-8k.h b/include/configs/mvebu_armada-8k.h
index 86ae19c9fb..05d41e66a2 100644
--- a/include/configs/mvebu_armada-8k.h
+++ b/include/configs/mvebu_armada-8k.h
@@ -127,7 +127,6 @@
  */
 #ifdef CONFIG_PCIE_DW_MVEBU
 #define CONFIG_E1000
-#define CONFIG_CMD_PCI
 #endif
 
 #endif /* _CONFIG_MVEBU_ARMADA_8K_H */
diff --git a/include/configs/mx6sabresd.h b/include/configs/mx6sabresd.h
index 27e767241f..0fa442985a 100644
--- a/include/configs/mx6sabresd.h
+++ b/include/configs/mx6sabresd.h
@@ -38,7 +38,6 @@
 #define CONFIG_SYS_MMC_ENV_DEV 1 /* SDHC3 */
 #endif
 
-#define CONFIG_CMD_PCI
 #ifdef CONFIG_CMD_PCI
 #define CONFIG_PCI_SCAN_SHOW
 #define CONFIG_PCIE_IMX
diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h
index 319fed4ebc..c789d166fb 100644
--- a/include/configs/mx6sxsabresd.h
+++ b/include/configs/mx6sxsabresd.h
@@ -175,7 +175,6 @@
 #define CONFIG_USB_MAX_CONTROLLER_COUNT 2
 #endif
 
-#define CONFIG_CMD_PCI
 #ifdef CONFIG_CMD_PCI
 #define CONFIG_PCI_SCAN_SHOW
 #define CONFIG_PCIE_IMX
diff --git a/include/configs/novena.h b/include/configs/novena.h
index 2bba741ac3..c6d06559c1 100644
--- a/include/configs/novena.h
+++ b/include/configs/novena.h
@@ -17,7 +17,6 @@
 #include "mx6_common.h"
 
 /* U-Boot Commands */
-#define CONFIG_CMD_PCI
 
 /* U-Boot general configurations */
 
diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h
index 6eae41c7e5..d9829d6125 100644
--- a/include/configs/p1_p2_rdb_pc.h
+++ b/include/configs/p1_p2_rdb_pc.h
@@ -686,8 +686,6 @@
 #endif
 #define CONFIG_SYS_PCIE1_IO_SIZE 0x00010000 /* 64k */
 
-#define CONFIG_CMD_PCI
-
 #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
 #endif /* CONFIG_PCI */
 
diff --git a/include/configs/p1_twr.h b/include/configs/p1_twr.h
index d5f5769463..795d238b6d 100644
--- a/include/configs/p1_twr.h
+++ b/include/configs/p1_twr.h
@@ -266,8 +266,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_SYS_PCIE1_IO_PHYS 0xffc00000
 #define CONFIG_SYS_PCIE1_IO_SIZE 0x00010000 /* 64k */
 
-#define CONFIG_CMD_PCI
-
 #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
 #endif /* CONFIG_PCI */
 
diff --git a/include/configs/p2371-2180.h b/include/configs/p2371-2180.h
index 3fb62ded1e..afaeea83e8 100644
--- a/include/configs/p2371-2180.h
+++ b/include/configs/p2371-2180.h
@@ -39,7 +39,6 @@
 #define CONFIG_USB_ETHER_ASIX
 
 /* PCI host support */
-#define CONFIG_CMD_PCI
 
 /* General networking support */
 
diff --git a/include/configs/p2771-0000.h b/include/configs/p2771-0000.h
index 55230291c2..564069a665 100644
--- a/include/configs/p2771-0000.h
+++ b/include/configs/p2771-0000.h
@@ -23,7 +23,6 @@
 #define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
 
 /* PCI host support */
-#define CONFIG_CMD_PCI
 
 #include "tegra-common-post.h"
 
diff --git a/include/configs/qemu-ppce500.h b/include/configs/qemu-ppce500.h
index 703d158b8b..2c9a3466f7 100644
--- a/include/configs/qemu-ppce500.h
+++ b/include/configs/qemu-ppce500.h
@@ -126,10 +126,6 @@ extern unsigned long long get_phys_ccsrbar_addr_early(void);
  * Command line configuration.
  */
 
-#ifdef CONFIG_PCI
-#define CONFIG_CMD_PCI
-#endif
-
 /*
  * Miscellaneous configurable options
  */
diff --git a/include/configs/r2dplus.h b/include/configs/r2dplus.h
index 7f1f115ff6..a604848073 100644
--- a/include/configs/r2dplus.h
+++ b/include/configs/r2dplus.h
@@ -11,7 +11,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_PCI
 #define CONFIG_CMD_SH_ZIMAGEBOOT
 
 /* SCIF */
diff --git a/include/configs/r7780mp.h b/include/configs/r7780mp.h
index 14390e81fb..21364ddd4a 100644
--- a/include/configs/r7780mp.h
+++ b/include/configs/r7780mp.h
@@ -21,7 +21,6 @@
  * Command line configuration.
  */
 #define CONFIG_CMD_SDRAM
-#define CONFIG_CMD_PCI
 
 #define CONFIG_CONS_SCIF0 1
 
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index edb153f79e..28ad0a12e1 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -27,8 +27,6 @@
 #define CONFIG_LMB
 #define CONFIG_ANDROID_BOOT_IMAGE
 
-#define CONFIG_CMD_PCI
-
 #define CONFIG_FS_EXT4
 #define CONFIG_EXT4_WRITE
 #define CONFIG_HOST_MAX_DEVICES 4
diff --git a/include/configs/sbc8349.h b/include/configs/sbc8349.h
index c0faac3b79..ca4cde2f37 100644
--- a/include/configs/sbc8349.h
+++ b/include/configs/sbc8349.h
@@ -398,10 +398,6 @@
  * Command line configuration.
  */
 
-#if defined(CONFIG_PCI)
-    #define CONFIG_CMD_PCI
-#endif
-
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
 /*
diff --git a/include/configs/sbc8548.h b/include/configs/sbc8548.h
index cf9809df49..c2f533b0a1 100644
--- a/include/configs/sbc8548.h
+++ b/include/configs/sbc8548.h
@@ -512,10 +512,6 @@
  */
 #define CONFIG_CMD_REGINFO
 
-#if defined(CONFIG_PCI)
-    #define CONFIG_CMD_PCI
-#endif
-
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
 /*
diff --git a/include/configs/sbc8641d.h b/include/configs/sbc8641d.h
index c5f9fcb918..de123fdd9c 100644
--- a/include/configs/sbc8641d.h
+++ b/include/configs/sbc8641d.h
@@ -452,10 +452,6 @@
 
 #define CONFIG_CMD_REGINFO
 
-#if defined(CONFIG_PCI)
-    #define CONFIG_CMD_PCI
-#endif
-
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
 /*
diff --git a/include/configs/sh7785lcr.h b/include/configs/sh7785lcr.h
index 48a77197fd..f249f4298d 100644
--- a/include/configs/sh7785lcr.h
+++ b/include/configs/sh7785lcr.h
@@ -12,7 +12,6 @@
 #define CONFIG_CPU_SH7785 1
 #define CONFIG_SH7785LCR 1
 
-#define CONFIG_CMD_PCI
 #define CONFIG_CMD_SDRAM
 #define CONFIG_CMD_SH_ZIMAGEBOOT
 
diff --git a/include/configs/socrates.h b/include/configs/socrates.h
index 406a985b60..b6ea44e3c0 100644
--- a/include/configs/socrates.h
+++ b/include/configs/socrates.h
@@ -280,10 +280,6 @@
 #define CONFIG_CMD_SDRAM
 #define CONFIG_CMD_REGINFO
 
-#if defined(CONFIG_PCI)
-    #define CONFIG_CMD_PCI
-#endif
-
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
 /*
diff --git a/include/configs/strider.h b/include/configs/strider.h
index aa7f15389c..c6cb51c36b 100644
--- a/include/configs/strider.h
+++ b/include/configs/strider.h
@@ -543,7 +543,6 @@ void fpga_control_clear(unsigned int bus, int pin);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_PCI
 
 #define CONFIG_CMDLINE_EDITING 1 /* add command line history */
 #define CONFIG_AUTO_COMPLETE /* add autocompletion support */
diff --git a/include/configs/t4qds.h b/include/configs/t4qds.h
index 6d8c78f76b..23b6bf0361 100644
--- a/include/configs/t4qds.h
+++ b/include/configs/t4qds.h
@@ -241,10 +241,6 @@
  * Command line configuration.
  */
 
-#ifdef CONFIG_PCI
-#define CONFIG_CMD_PCI
-#endif
-
 /*
  * Miscellaneous configurable options
  */
diff --git a/include/configs/tbs2910.h b/include/configs/tbs2910.h
index 4baccdc1e9..0030e90ccd 100644
--- a/include/configs/tbs2910.h
+++ b/include/configs/tbs2910.h
@@ -72,7 +72,6 @@
 #endif
 
 /* PCI */
-#define CONFIG_CMD_PCI
 #ifdef CONFIG_CMD_PCI
 #define CONFIG_PCI_SCAN_SHOW
 #define CONFIG_PCIE_IMX
diff --git a/include/configs/theadorable.h b/include/configs/theadorable.h
index e5edd5e8fd..a7001e76aa 100644
--- a/include/configs/theadorable.h
+++ b/include/configs/theadorable.h
@@ -29,9 +29,6 @@
  * This version should also enable all other non-production
  * interfaces / features.
  */
-#ifdef CONFIG_USB
-#define CONFIG_CMD_PCI
-#endif
 
 /* I2C */
 #define CONFIG_SYS_I2C
diff --git a/include/configs/trimslice.h b/include/configs/trimslice.h
index fd36634ae9..301065a831 100644
--- a/include/configs/trimslice.h
+++ b/include/configs/trimslice.h
@@ -42,7 +42,6 @@
 #define CONFIG_USB_ETHER_ASIX
 
 /* PCI host support */
-#define CONFIG_CMD_PCI
 
 /* General networking support */
 
diff --git a/include/configs/turris_omnia.h b/include/configs/turris_omnia.h
index 1020355ed5..d2c3e57570 100644
--- a/include/configs/turris_omnia.h
+++ b/include/configs/turris_omnia.h
@@ -26,7 +26,6 @@
 /*
  * Commands configuration
  */
-#define CONFIG_CMD_PCI
 
 /* I2C support */
 #define CONFIG_DM_I2C
diff --git a/include/configs/ve8313.h b/include/configs/ve8313.h
index 291185fecd..38c67cd109 100644
--- a/include/configs/ve8313.h
+++ b/include/configs/ve8313.h
@@ -312,7 +312,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_PCI
 
 #define CONFIG_CMDLINE_EDITING 1
 #define CONFIG_AUTO_COMPLETE /* add autocompletion support   */
diff --git a/include/configs/vining_2000.h b/include/configs/vining_2000.h
index 0fed7f37ca..d859ba4a5e 100644
--- a/include/configs/vining_2000.h
+++ b/include/configs/vining_2000.h
@@ -84,7 +84,6 @@
 #define CONFIG_USB_MAX_CONTROLLER_COUNT 2
 #endif
 
-#define CONFIG_CMD_PCI
 #ifdef CONFIG_CMD_PCI
 #define CONFIG_PCI_SCAN_SHOW
 #define CONFIG_PCIE_IMX
diff --git a/include/configs/vme8349.h b/include/configs/vme8349.h
index 13ebafeac8..8e9abb264c 100644
--- a/include/configs/vme8349.h
+++ b/include/configs/vme8349.h
@@ -345,10 +345,6 @@
 #define CONFIG_RTC_RX8025
 #define CONFIG_CMD_TSI148
 
-#if defined(CONFIG_PCI)
-    #define CONFIG_CMD_PCI
-#endif
-
 /* Pass Ethernet MAC to VxWorks */
 #define CONFIG_SYS_VXWORKS_MAC_PTR 0x000043f0
 
diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h
index a70fc9d4d9..f5f7a92b8b 100644
--- a/include/configs/x86-common.h
+++ b/include/configs/x86-common.h
@@ -66,7 +66,6 @@
 /*-----------------------------------------------------------------------
  * Command line configuration.
  */
-#define CONFIG_CMD_PCI
 
 #define CONFIG_CMD_ZBOOT
 
diff --git a/include/configs/xpedite517x.h b/include/configs/xpedite517x.h
index fe1c14b7ee..58325f2ec8 100644
--- a/include/configs/xpedite517x.h
+++ b/include/configs/xpedite517x.h
@@ -484,7 +484,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_PCI
 #define CONFIG_CMD_PCI_ENUM
 #define CONFIG_CMD_REGINFO
 
diff --git a/include/configs/xpedite520x.h b/include/configs/xpedite520x.h
index 8a7cf7f711..2bf12120b3 100644
--- a/include/configs/xpedite520x.h
+++ b/include/configs/xpedite520x.h
@@ -287,7 +287,6 @@
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_PCI
 #define CONFIG_CMD_PCI_ENUM
 #define CONFIG_CMD_REGINFO
 
diff --git a/include/configs/xpedite537x.h b/include/configs/xpedite537x.h
index 5d59bfe28b..2a345d4ac6 100644
--- a/include/configs/xpedite537x.h
+++ b/include/configs/xpedite537x.h
@@ -337,7 +337,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_PCI
 #define CONFIG_CMD_PCI_ENUM
 #define CONFIG_CMD_REGINFO
 
diff --git a/include/configs/xpedite550x.h b/include/configs/xpedite550x.h
index 6bf7dc3e67..0a09ded4d1 100644
--- a/include/configs/xpedite550x.h
+++ b/include/configs/xpedite550x.h
@@ -336,7 +336,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_PCI
 #define CONFIG_CMD_PCI_ENUM
 #define CONFIG_CMD_REGINFO
 
diff --git a/include/configs/zc5202.h b/include/configs/zc5202.h
index a7988e06f5..b1afde9ba0 100644
--- a/include/configs/zc5202.h
+++ b/include/configs/zc5202.h
@@ -26,7 +26,6 @@
 #define CONFIG_FEC_MXC_PHYADDR 0
 #define CONFIG_MV88E6352_SWITCH
 
-#define CONFIG_CMD_PCI
 #define CONFIG_PCI_SCAN_SHOW
 #define CONFIG_PCIE_IMX
 
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 2f1d669114..ea59f44733 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_PCI
 CONFIG_CMD_PCI_ENUM
 CONFIG_CMD_PCMCIA
 CONFIG_CMD_PORTIO
--
2.14.0.rc1.383.gd1ce394fe2-goog

_______________________________________________
U-Boot mailing list
[hidden email]
https://lists.denx.de/listinfo/u-boot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH v2 11/42] Kconfig: Drop CONFIG_CMD_PCI_ENUM

Simon Glass-3
In reply to this post by Simon Glass-3
This option enables the 'pci enum' command. It is only enabled by a few
board and these have not yet been converted to driver model, which always
enables this command. It seems easiest to just remove this option.

The affected boards can be converted to use driver model for PCI if
needed.

Signed-off-by: Simon Glass <[hidden email]>
Reviewed-by: Bin Meng <[hidden email]>
---

Changes in v2: None

 cmd/pci.c                       | 4 ++--
 include/config_distro_bootcmd.h | 2 +-
 include/configs/ds414.h         | 1 -
 include/configs/xpedite517x.h   | 1 -
 include/configs/xpedite520x.h   | 1 -
 include/configs/xpedite537x.h   | 1 -
 include/configs/xpedite550x.h   | 1 -
 scripts/config_whitelist.txt    | 1 -
 8 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/cmd/pci.c b/cmd/pci.c
index fe27b4f761..b8c799f9bd 100644
--- a/cmd/pci.c
+++ b/cmd/pci.c
@@ -694,7 +694,7 @@ static int do_pci(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
  if ((bdf = get_pci_dev(argv[2])) == -1)
  return 1;
  break;
-#if defined(CONFIG_CMD_PCI_ENUM) || defined(CONFIG_DM_PCI)
+#if defined(CONFIG_DM_PCI)
  case 'e':
  pci_init();
  return 0;
@@ -782,7 +782,7 @@ static int do_pci(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 static char pci_help_text[] =
  "[bus] [long]\n"
  "    - short or long list of PCI devices on bus 'bus'\n"
-#if defined(CONFIG_CMD_PCI_ENUM) || defined(CONFIG_DM_PCI)
+#if defined(CONFIG_DM_PCI)
  "pci enum\n"
  "    - Enumerate PCI buses\n"
 #endif
diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h
index d8dab8e46a..9ed6b9892c 100644
--- a/include/config_distro_bootcmd.h
+++ b/include/config_distro_bootcmd.h
@@ -198,7 +198,7 @@
  BOOT_TARGET_DEVICES_references_IDE_without_CONFIG_IDE
 #endif
 
-#if defined(CONFIG_CMD_PCI_ENUM) || defined(CONFIG_DM_PCI)
+#if defined(CONFIG_DM_PCI)
 #define BOOTENV_RUN_NET_PCI_ENUM "run boot_net_pci_enum; "
 #define BOOTENV_SHARED_PCI \
  "boot_net_pci_enum=pci enum\0"
diff --git a/include/configs/ds414.h b/include/configs/ds414.h
index f5998b4a52..0b84acdee8 100644
--- a/include/configs/ds414.h
+++ b/include/configs/ds414.h
@@ -48,7 +48,6 @@
 
 /* PCIe support */
 #ifndef CONFIG_SPL_BUILD
-#define CONFIG_CMD_PCI_ENUM
 #define CONFIG_PCI_MVEBU
 #define CONFIG_PCI_SCAN_SHOW
 #endif
diff --git a/include/configs/xpedite517x.h b/include/configs/xpedite517x.h
index 58325f2ec8..57fc16812e 100644
--- a/include/configs/xpedite517x.h
+++ b/include/configs/xpedite517x.h
@@ -484,7 +484,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_PCI_ENUM
 #define CONFIG_CMD_REGINFO
 
 /*
diff --git a/include/configs/xpedite520x.h b/include/configs/xpedite520x.h
index 2bf12120b3..628de82767 100644
--- a/include/configs/xpedite520x.h
+++ b/include/configs/xpedite520x.h
@@ -287,7 +287,6 @@
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_PCI_ENUM
 #define CONFIG_CMD_REGINFO
 
 /*
diff --git a/include/configs/xpedite537x.h b/include/configs/xpedite537x.h
index 2a345d4ac6..c599b22bc8 100644
--- a/include/configs/xpedite537x.h
+++ b/include/configs/xpedite537x.h
@@ -337,7 +337,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_PCI_ENUM
 #define CONFIG_CMD_REGINFO
 
 /*
diff --git a/include/configs/xpedite550x.h b/include/configs/xpedite550x.h
index 0a09ded4d1..c387d951c1 100644
--- a/include/configs/xpedite550x.h
+++ b/include/configs/xpedite550x.h
@@ -336,7 +336,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_PCI_ENUM
 #define CONFIG_CMD_REGINFO
 
 /*
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index ea59f44733..9819f02985 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_PCI_ENUM
 CONFIG_CMD_PCMCIA
 CONFIG_CMD_PORTIO
 CONFIG_CMD_READ
--
2.14.0.rc1.383.gd1ce394fe2-goog

_______________________________________________
U-Boot mailing list
[hidden email]
https://lists.denx.de/listinfo/u-boot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH v2 12/42] Kconfig; Drop CONFIG_IDE_TI_CARDBUS and associated driver

Simon Glass-3
In reply to this post by Simon Glass-3
This driver is not used by any board. Drop it.

Signed-off-by: Simon Glass <[hidden email]>
Reviewed-by: Bin Meng <[hidden email]>
---

Changes in v2: None

 drivers/pcmcia/Makefile      |   1 -
 drivers/pcmcia/ti_pci1410a.c | 623 -------------------------------------------
 2 files changed, 624 deletions(-)
 delete mode 100644 drivers/pcmcia/ti_pci1410a.c

diff --git a/drivers/pcmcia/Makefile b/drivers/pcmcia/Makefile
index b7e6188429..7d8cb5cb4c 100644
--- a/drivers/pcmcia/Makefile
+++ b/drivers/pcmcia/Makefile
@@ -5,5 +5,4 @@
 # SPDX-License-Identifier: GPL-2.0+
 #
 
-obj-$(CONFIG_IDE_TI_CARDBUS) += ti_pci1410a.o
 obj-$(CONFIG_MARUBUN_PCCARD) += marubun_pcmcia.o
diff --git a/drivers/pcmcia/ti_pci1410a.c b/drivers/pcmcia/ti_pci1410a.c
deleted file mode 100644
index d83db3f022..0000000000
--- a/drivers/pcmcia/ti_pci1410a.c
+++ /dev/null
@@ -1,623 +0,0 @@
-/*
- * (C) Copyright 2000-2002
- * Wolfgang Denk, DENX Software Engineering, [hidden email].
- * (C) Copyright 2002
- * Daniel Engström, Omicron Ceti AB
- *
- * SPDX-License-Identifier: GPL-2.0+
- *
- ********************************************************************
- *
- * Lots of code copied from:
- *
- * m8xx_pcmcia.c - Linux PCMCIA socket driver for the mpc8xx series.
- * (C) 1999-2000 Magnus Damm <[hidden email]>
- *
- * "The ExCA standard specifies that socket controllers should provide
- * two IO and five memory windows per socket, which can be independently
- * configured and positioned in the host address space and mapped to
- * arbitrary segments of card address space. " - David A Hinds. 1999
- *
- * This controller does _not_ meet the ExCA standard.
- *
- * m8xx pcmcia controller brief info:
- * + 8 windows (attrib, mem, i/o)
- * + up to two slots (SLOT_A and SLOT_B)
- * + inputpins, outputpins, event and mask registers.
- * - no offset register. sigh.
- *
- * Because of the lacking offset register we must map the whole card.
- * We assign each memory window PCMCIA_MEM_WIN_SIZE address space.
- * Make sure there is (PCMCIA_MEM_WIN_SIZE * PCMCIA_MEM_WIN_NO
- * * PCMCIA_SOCKETS_NO) bytes at PCMCIA_MEM_WIN_BASE.
- * The i/o windows are dynamically allocated at PCMCIA_IO_WIN_BASE.
- * They are maximum 64KByte each...
- */
-
-
-#undef DEBUG /**/
-
-/*
- * PCMCIA support
- */
-#include <common.h>
-#include <command.h>
-#include <config.h>
-#include <pci.h>
-#include <asm/io.h>
-
-#include <pcmcia.h>
-
-#if defined(CONFIG_CMD_PCMCIA)
-
-int pcmcia_on(int ide_base_bus);
-
-static int  hardware_disable(int slot);
-static int  hardware_enable(int slot);
-static int  voltage_set(int slot, int vcc, int vpp);
-static void print_funcid(int func);
-static void print_fixed(volatile char *p);
-static int  identify(volatile char *p);
-static int  check_ide_device(int slot, int ide_base_bus);
-
-
-/* ------------------------------------------------------------------------- */
-
-
-const char *indent = "\t   ";
-
-/* ------------------------------------------------------------------------- */
-
-
-static struct pci_device_id supported[] = {
- { PCI_VENDOR_ID_TI, 0xac50 }, /* Ti PCI1410A */
- { PCI_VENDOR_ID_TI, 0xac56 }, /* Ti PCI1510 */
- { }
-};
-
-static pci_dev_t devbusfn;
-static u32 socket_base;
-static u32 pcmcia_cis_ptr;
-
-int pcmcia_on(int ide_base_bus)
-{
- u16 dev_id;
- u32 socket_status;
- int slot = 0;
- int cis_len;
- u16 io_base;
- u16 io_len;
-
- /*
- * Find the CardBus PCI device(s).
- */
- if ((devbusfn = pci_find_devices(supported, 0)) < 0) {
- printf("Ti CardBus: not found\n");
- return 1;
- }
-
- pci_read_config_word(devbusfn, PCI_DEVICE_ID, &dev_id);
-
- if (dev_id == 0xac56) {
- debug("Enable PCMCIA Ti PCI1510\n");
- } else {
- debug("Enable PCMCIA Ti PCI1410A\n");
- }
-
- pcmcia_cis_ptr = CONFIG_SYS_PCMCIA_CIS_WIN;
- cis_len = CONFIG_SYS_PCMCIA_CIS_WIN_SIZE;
-
- io_base = CONFIG_SYS_PCMCIA_IO_WIN;
- io_len = CONFIG_SYS_PCMCIA_IO_WIN_SIZE;
-
- /*
- * Setup the PCI device.
- */
- pci_read_config_dword(devbusfn, PCI_BASE_ADDRESS_0, &socket_base);
- socket_base &= ~0xf;
-
- socket_status = readl(socket_base+8);
- if ((socket_status & 6) == 0) {
- printf("Card Present: ");
-
- switch (socket_status & 0x3c00) {
-
- case 0x400:
- printf("5V ");
- break;
- case 0x800:
- printf("3.3V ");
- break;
- case 0xc00:
- printf("3.3/5V ");
- break;
- default:
- printf("unsupported Vcc ");
- break;
- }
- switch (socket_status & 0x30) {
- case 0x10:
- printf("16bit PC-Card\n");
- break;
- case 0x20:
- printf("32bit CardBus Card\n");
- break;
- default:
- printf("8bit PC-Card\n");
- break;
- }
- }
-
-
- writeb(0x41, socket_base + 0x806); /* Enable I/O window 0 and memory window 0 */
- writeb(0x0e, socket_base + 0x807); /* Reset I/O window options */
-
- /* Careful: the linux yenta driver do not seem to reset the offset
- * in the i/o windows, so leaving them non-zero is a problem */
-
- writeb(io_base & 0xff, socket_base + 0x808); /* I/O window 0 base address */
- writeb(io_base>>8, socket_base + 0x809);
- writeb((io_base + io_len - 1) & 0xff, socket_base + 0x80a); /* I/O window 0 end address */
- writeb((io_base + io_len - 1)>>8, socket_base + 0x80b);
- writeb(0x00, socket_base + 0x836);      /* I/O window 0 offset address 0x000 */
- writeb(0x00, socket_base + 0x837);
-
-
- writeb((pcmcia_cis_ptr&0x000ff000) >> 12,
-       socket_base + 0x810); /* Memory window 0 start address bits 19-12 */
- writeb((pcmcia_cis_ptr&0x00f00000) >> 20,
-       socket_base + 0x811);  /* Memory window 0 start address bits 23-20 */
- writeb(((pcmcia_cis_ptr+cis_len-1) & 0x000ff000) >> 12,
- socket_base + 0x812); /* Memory window 0 end address bits 19-12*/
- writeb(((pcmcia_cis_ptr+cis_len-1) & 0x00f00000) >> 20,
- socket_base + 0x813); /* Memory window 0 end address bits 23-20*/
- writeb(0x00, socket_base + 0x814); /* Memory window 0 offset bits 19-12 */
- writeb(0x40, socket_base + 0x815); /* Memory window 0 offset bits 23-20 and
-    * options (read/write, attribute access) */
- writeb(0x00, socket_base + 0x816); /* ExCA card-detect and general control  */
- writeb(0x00, socket_base + 0x81e); /* ExCA global control (interrupt modes) */
-
- writeb((pcmcia_cis_ptr & 0xff000000) >> 24,
-       socket_base + 0x840); /* Memory window address bits 31-24 */
-
-
- /* turn off voltage */
- if (voltage_set(slot, 0, 0)) {
- return 1;
- }
-
- /* Enable external hardware */
- if (hardware_enable(slot)) {
- return 1;
- }
-
- if (check_ide_device(slot, ide_base_bus)) {
- return 1;
- }
-
- return 0;
-}
-
-/* ------------------------------------------------------------------------- */
-
-
-#if defined(CONFIG_CMD_PCMCIA)
-int pcmcia_off (void)
-{
- int slot = 0;
-
- writeb(0x00, socket_base + 0x806); /* disable all I/O and memory windows */
-
- writeb(0x00, socket_base + 0x808); /* I/O window 0 base address */
- writeb(0x00, socket_base + 0x809);
- writeb(0x00, socket_base + 0x80a); /* I/O window 0 end address */
- writeb(0x00, socket_base + 0x80b);
- writeb(0x00, socket_base + 0x836); /* I/O window 0 offset address  */
- writeb(0x00, socket_base + 0x837);
-
- writeb(0x00, socket_base + 0x80c); /* I/O window 1 base address  */
- writeb(0x00, socket_base + 0x80d);
- writeb(0x00, socket_base + 0x80e); /* I/O window 1 end address  */
- writeb(0x00, socket_base + 0x80f);
- writeb(0x00, socket_base + 0x838); /* I/O window 1 offset address  */
- writeb(0x00, socket_base + 0x839);
-
- writeb(0x00, socket_base + 0x810); /* Memory window 0 start address */
- writeb(0x00, socket_base + 0x811);
- writeb(0x00, socket_base + 0x812); /* Memory window 0 end address  */
- writeb(0x00, socket_base + 0x813);
- writeb(0x00, socket_base + 0x814); /* Memory window 0 offset */
- writeb(0x00, socket_base + 0x815);
-
- writeb(0xc0, socket_base + 0x840); /* Memory window 0 page address */
-
-
- /* turn off voltage */
- voltage_set(slot, 0, 0);
-
- /* disable external hardware */
- printf ("Shutdown and Poweroff Ti PCI1410A\n");
- hardware_disable(slot);
-
- return 0;
-}
-
-#endif
-
-/* ------------------------------------------------------------------------- */
-
-
-#define MAX_TUPEL_SZ 512
-#define MAX_FEATURES 4
-int ide_devices_found;
-static int check_ide_device(int slot, int ide_base_bus)
-{
- volatile char *ident = NULL;
- volatile char *feature_p[MAX_FEATURES];
- volatile char *p, *start;
- int n_features = 0;
- uchar func_id = ~0;
- uchar code, len;
- ushort config_base = 0;
- int found = 0;
- int i;
- u32 socket_status;
-
- debug ("PCMCIA MEM: %08X\n", pcmcia_cis_ptr);
-
- socket_status = readl(socket_base+8);
-
- if ((socket_status & 6) != 0 || (socket_status & 0x20) != 0) {
- printf("no card or CardBus card\n");
- return 1;
- }
-
- start = p = (volatile char *) pcmcia_cis_ptr;
-
- while ((p - start) < MAX_TUPEL_SZ) {
-
- code = *p; p += 2;
-
- if (code == 0xFF) { /* End of chain */
- break;
- }
-
- len = *p; p += 2;
-#if defined(DEBUG) && (DEBUG > 1)
- {
- volatile uchar *q = p;
- printf ("\nTuple code %02x  length %d\n\tData:",
- code, len);
-
- for (i = 0; i < len; ++i) {
- printf (" %02x", *q);
- q+= 2;
- }
- }
-#endif /* DEBUG */
- switch (code) {
- case CISTPL_VERS_1:
- ident = p + 4;
- break;
- case CISTPL_FUNCID:
- /* Fix for broken SanDisk which may have 0x80 bit set */
- func_id = *p & 0x7F;
- break;
- case CISTPL_FUNCE:
- if (n_features < MAX_FEATURES)
- feature_p[n_features++] = p;
- break;
- case CISTPL_CONFIG:
- config_base = (*(p+6) << 8) + (*(p+4));
- debug ("\n## Config_base = %04x ###\n", config_base);
- default:
- break;
- }
- p += 2 * len;
- }
-
- found = identify(ident);
-
- if (func_id != ((uchar)~0)) {
- print_funcid (func_id);
-
- if (func_id == CISTPL_FUNCID_FIXED)
- found = 1;
- else
- return 1; /* no disk drive */
- }
-
- for (i=0; i<n_features; ++i) {
- print_fixed(feature_p[i]);
- }
-
- if (!found) {
- printf("unknown card type\n");
- return 1;
- }
-
- /* select config index 1 */
- writeb(1, pcmcia_cis_ptr + config_base);
-
-#if 0
- printf("Confiuration Option Register: %02x\n", readb(pcmcia_cis_ptr + config_base));
- printf("Card Confiuration and Status Register: %02x\n", readb(pcmcia_cis_ptr + config_base + 2));
- printf("Pin Replacement Register Register: %02x\n", readb(pcmcia_cis_ptr + config_base + 4));
- printf("Socket and Copy Register: %02x\n", readb(pcmcia_cis_ptr + config_base + 6));
-#endif
- ide_devices_found |= (1 << (slot+ide_base_bus));
-
- return 0;
-}
-
-
-static int voltage_set(int slot, int vcc, int vpp)
-{
- u32 socket_control;
- int reg=0;
-
- switch (slot) {
- case 0:
- reg = socket_base + 0x10;
- break;
- default:
- return 1;
- }
-
- socket_control = 0;
-
-
- switch (vcc) {
- case 50:
- socket_control |= 0x20;
- break;
- case 33:
- socket_control |= 0x30;
- break;
- case 0:
- default: ;
- }
-
- switch (vpp) {
- case 120:
- socket_control |= 0x1;
- break;
- case 50:
- socket_control |= 0x2;
- break;
- case 33:
- socket_control |= 0x3;
- break;
- case 0:
- default: ;
- }
-
- writel(socket_control, reg);
-
- debug ("voltage_set: Ti PCI1410A Slot %d, Vcc=%d.%d, Vpp=%d.%d\n",
- slot, vcc/10, vcc%10, vpp/10, vpp%10);
-
- udelay(500);
- return 0;
-}
-
-
-static int hardware_enable(int slot)
-{
- u32 socket_status;
- u16 brg_ctrl;
- int is_82365sl;
-
- socket_status = readl(socket_base+8);
-
- if ((socket_status & 6) == 0) {
-
- switch (socket_status & 0x3c00) {
-
- case 0x400:
- printf("5V ");
- voltage_set(slot, 50, 0);
- break;
- case 0x800:
- voltage_set(slot, 33, 0);
- break;
- case 0xc00:
- voltage_set(slot, 33, 0);
- break;
- default:
- voltage_set(slot, 0, 0);
- break;
- }
- } else {
- voltage_set(slot, 0, 0);
- }
-
- pci_read_config_word(devbusfn, PCI_BRIDGE_CONTROL, &brg_ctrl);
- brg_ctrl &= ~PCI_BRIDGE_CTL_BUS_RESET;
- pci_write_config_word(devbusfn, PCI_BRIDGE_CONTROL, brg_ctrl);
- is_82365sl = ((readb(socket_base+0x800) & 0x0f) == 2);
- writeb(is_82365sl?0x90:0x98, socket_base+0x802);
- writeb(0x67, socket_base+0x803);
- udelay(100000);
-#if 0
- printf("ExCA Id %02x, Card Status %02x, Power config %02x, Interrupt Config %02x, bridge control %04x %d\n",
-       readb(socket_base+0x800), readb(socket_base+0x801),
-       readb(socket_base+0x802), readb(socket_base+0x803), brg_ctrl, is_82365sl);
-#endif
-
- return ((readb(socket_base+0x801)&0x6c)==0x6c)?0:1;
-}
-
-
-static int hardware_disable(int slot)
-{
- voltage_set(slot, 0, 0);
- return 0;
-}
-
-static void print_funcid(int func)
-{
- puts(indent);
- switch (func) {
- case CISTPL_FUNCID_MULTI:
- puts(" Multi-Function");
- break;
- case CISTPL_FUNCID_MEMORY:
- puts(" Memory");
- break;
- case CISTPL_FUNCID_SERIAL:
- puts(" Serial Port");
- break;
- case CISTPL_FUNCID_PARALLEL:
- puts(" Parallel Port");
- break;
- case CISTPL_FUNCID_FIXED:
- puts(" Fixed Disk");
- break;
- case CISTPL_FUNCID_VIDEO:
- puts(" Video Adapter");
- break;
- case CISTPL_FUNCID_NETWORK:
- puts(" Network Adapter");
- break;
- case CISTPL_FUNCID_AIMS:
- puts(" AIMS Card");
- break;
- case CISTPL_FUNCID_SCSI:
- puts(" SCSI Adapter");
- break;
- default:
- puts(" Unknown");
- break;
- }
- puts(" Card\n");
-}
-
-/* ------------------------------------------------------------------------- */
-
-static void print_fixed(volatile char *p)
-{
- if (p == NULL)
- return;
-
- puts(indent);
-
- switch (*p) {
- case CISTPL_FUNCE_IDE_IFACE:
- {   uchar iface = *(p+2);
-
- puts ((iface == CISTPL_IDE_INTERFACE) ? " IDE" : " unknown");
- puts (" interface ");
- break;
- }
- case CISTPL_FUNCE_IDE_MASTER:
- case CISTPL_FUNCE_IDE_SLAVE:
- {
- uchar f1 = *(p+2);
- uchar f2 = *(p+4);
-
- puts((f1 & CISTPL_IDE_SILICON) ? " [silicon]" : " [rotating]");
-
- if (f1 & CISTPL_IDE_UNIQUE) {
- puts(" [unique]");
- }
-
- puts((f1 & CISTPL_IDE_DUAL) ? " [dual]" : " [single]");
-
- if (f2 & CISTPL_IDE_HAS_SLEEP) {
- puts(" [sleep]");
- }
-
- if (f2 & CISTPL_IDE_HAS_STANDBY) {
- puts(" [standby]");
- }
-
- if (f2 & CISTPL_IDE_HAS_IDLE) {
- puts(" [idle]");
- }
-
- if (f2 & CISTPL_IDE_LOW_POWER) {
- puts(" [low power]");
- }
-
- if (f2 & CISTPL_IDE_REG_INHIBIT) {
- puts(" [reg inhibit]");
- }
-
- if (f2 & CISTPL_IDE_HAS_INDEX) {
- puts(" [index]");
- }
-
- if (f2 & CISTPL_IDE_IOIS16) {
- puts(" [IOis16]");
- }
-
- break;
- }
- }
- putc('\n');
-}
-
-/* ------------------------------------------------------------------------- */
-
-#define MAX_IDENT_CHARS 64
-#define MAX_IDENT_FIELDS 4
-
-static char *known_cards[] = {
- "ARGOSY PnPIDE D5",
- NULL
-};
-
-static int identify(volatile char *p)
-{
- char id_str[MAX_IDENT_CHARS];
- char data;
- char *t;
- char **card;
- int i, done;
-
- if (p == NULL)
- return (0); /* Don't know */
-
- t = id_str;
- done =0;
-
- for (i=0; i<=4 && !done; ++i, p+=2) {
- while ((data = *p) != '\0') {
- if (data == 0xFF) {
- done = 1;
- break;
- }
- *t++ = data;
- if (t == &id_str[MAX_IDENT_CHARS-1]) {
- done = 1;
- break;
- }
- p += 2;
- }
- if (!done)
- *t++ = ' ';
- }
- *t = '\0';
- while (--t > id_str) {
- if (*t == ' ') {
- *t = '\0';
- } else {
- break;
- }
- }
- puts(id_str);
- putc('\n');
-
- for (card=known_cards; *card; ++card) {
- debug ("## Compare against \"%s\"\n", *card);
- if (strcmp(*card, id_str) == 0) { /* found! */
- debug ("## CARD FOUND ##\n");
- return 1;
- }
- }
-
- return 0; /* don't know */
-}
-
-#endif /* CONFIG_CMD_PCMCIA */
--
2.14.0.rc1.383.gd1ce394fe2-goog

_______________________________________________
U-Boot mailing list
[hidden email]
https://lists.denx.de/listinfo/u-boot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH v2 13/42] Convert CONFIG_CMD_PCMCIA to Kconfig

Simon Glass-3
In reply to this post by Simon Glass-3
This converts the following to Kconfig:
   CONFIG_CMD_PCMCIA

Signed-off-by: Simon Glass <[hidden email]>
Reviewed-by: Bin Meng <[hidden email]>
---

Changes in v2:
- Sort Kconfig options in alphabetical order

 README                       | 1 -
 cmd/Kconfig                  | 8 ++++++++
 configs/ms7720se_defconfig   | 1 +
 include/config_cmd_all.h     | 1 -
 include/configs/dbau1x00.h   | 5 -----
 include/configs/ms7720se.h   | 1 -
 scripts/config_whitelist.txt | 1 -
 7 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/README b/README
index 63dd18ce10..186311bd88 100644
--- a/README
+++ b/README
@@ -812,7 +812,6 @@ The following options need to be configured:
  CONFIG_CMD_MII * MII utility commands
  CONFIG_CMD_NET  bootp, tftpboot, rarpboot
  CONFIG_CMD_NFS  NFS support
- CONFIG_CMD_PCMCIA * PCMCIA support
  CONFIG_CMD_PING * send ICMP ECHO_REQUEST to network
   host
  CONFIG_CMD_PORTIO * Port I/O
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 6654050574..7892b0b03f 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -733,6 +733,14 @@ config CMD_PCI
   peripherals. Sub-commands allow bus enumeration, displaying and
   changing configuration space and a few other features.
 
+config CMD_PCMCIA
+ bool "pinit - Set up PCMCIA device"
+ help
+  Provides a means to initialise a PCMCIA (Personal Computer Memory
+  Card International Association) device. This is an old standard from
+  about 1990. These devices are typically removable memory or network
+  cards using a standard 68-pin connector.
+
 config CMD_REMOTEPROC
  bool "remoteproc"
  depends on REMOTEPROC
diff --git a/configs/ms7720se_defconfig b/configs/ms7720se_defconfig
index dd95a236bb..be5e82aeae 100644
--- a/configs/ms7720se_defconfig
+++ b/configs/ms7720se_defconfig
@@ -15,6 +15,7 @@ CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_PCMCIA=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index b1f699080e..a008bacdd9 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -13,7 +13,6 @@
  * Alphabetical list of all possible commands.
  */
 
-#define CONFIG_CMD_PCMCIA /* PCMCIA support */
 #define CONFIG_CMD_PORTIO /* Port I/O */
 #define CONFIG_CMD_REGINFO /* Register dump */
 #define CONFIG_CMD_REISER /* Reiserfs support */
diff --git a/include/configs/dbau1x00.h b/include/configs/dbau1x00.h
index 970e214e07..cd65ceaee9 100644
--- a/include/configs/dbau1x00.h
+++ b/include/configs/dbau1x00.h
@@ -67,11 +67,6 @@
  * Command line configuration.
  */
 
-#ifdef CONFIG_DBAU1550
-
-#undef CONFIG_CMD_PCMCIA
-#endif
-
 /*
  * Miscellaneous configurable options
  */
diff --git a/include/configs/ms7720se.h b/include/configs/ms7720se.h
index 86b93a39bb..112145ce77 100644
--- a/include/configs/ms7720se.h
+++ b/include/configs/ms7720se.h
@@ -13,7 +13,6 @@
 #define CONFIG_MS7720SE 1
 
 #define CONFIG_CMD_SDRAM
-#define CONFIG_CMD_PCMCIA
 
 #define CONFIG_BOOTARGS "console=ttySC0,115200"
 #define CONFIG_BOOTFILE "/boot/zImage"
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 9819f02985..6b7056d6ea 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_PCMCIA
 CONFIG_CMD_PORTIO
 CONFIG_CMD_READ
 CONFIG_CMD_REGINFO
--
2.14.0.rc1.383.gd1ce394fe2-goog

_______________________________________________
U-Boot mailing list
[hidden email]
https://lists.denx.de/listinfo/u-boot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH v2 14/42] Kconfig: Drop CONFIG_CMD_PORTIO and associated command

Simon Glass-3
In reply to this post by Simon Glass-3
This command is not used by any board. It also looks quite similar to the
'iod' and 'iow' commands which use the correct I/O macros.

Drop it.

Signed-off-by: Simon Glass <[hidden email]>
---

Changes in v2:
- Drop mention of this from several other places
- Move CMD_PORTIO changes in from the CMD_READ patch

 README                       |   1 -
 cmd/Makefile                 |   1 -
 cmd/portio.c                 | 145 -------------------------------------------
 include/command.h            |   9 ++-
 include/config_cmd_all.h     |   1 -
 scripts/config_whitelist.txt |   1 -
 6 files changed, 4 insertions(+), 154 deletions(-)
 delete mode 100644 cmd/portio.c

diff --git a/README b/README
index 186311bd88..06a9b2eca9 100644
--- a/README
+++ b/README
@@ -814,7 +814,6 @@ The following options need to be configured:
  CONFIG_CMD_NFS  NFS support
  CONFIG_CMD_PING * send ICMP ECHO_REQUEST to network
   host
- CONFIG_CMD_PORTIO * Port I/O
  CONFIG_CMD_READ * Read raw data from partition
  CONFIG_CMD_REGINFO * Register dump
  CONFIG_CMD_RUN  run command in env variable
diff --git a/cmd/Makefile b/cmd/Makefile
index bd231f24d8..eff6bd678f 100644
--- a/cmd/Makefile
+++ b/cmd/Makefile
@@ -97,7 +97,6 @@ ifdef CONFIG_PCI
 obj-$(CONFIG_CMD_PCI) += pci.o
 endif
 obj-y += pcmcia.o
-obj-$(CONFIG_CMD_PORTIO) += portio.o
 obj-$(CONFIG_CMD_PXE) += pxe.o
 obj-$(CONFIG_CMD_QFW) += qfw.o
 obj-$(CONFIG_CMD_READ) += read.o
diff --git a/cmd/portio.c b/cmd/portio.c
deleted file mode 100644
index bf3a99791c..0000000000
--- a/cmd/portio.c
+++ /dev/null
@@ -1,145 +0,0 @@
-/*
- * (C) Copyright 2003
- * Marc Singer, [hidden email]
- *
- * SPDX-License-Identifier: GPL-2.0+
- */
-
-/*
- * Port I/O Functions
- *
- * Copied from FADS ROM, Dan Malek ([hidden email])
- */
-
-#include <common.h>
-#include <command.h>
-
-/* Display values from last command.
- * Memory modify remembered values are different from display memory.
- */
-static uint in_last_addr, in_last_size;
-static uint out_last_addr, out_last_size, out_last_value;
-
-
-int do_portio_out (cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
-{
- uint addr = out_last_addr;
- uint size = out_last_size;
- uint value = out_last_value;
-
- if (argc != 3)
- return CMD_RET_USAGE;
-
- if ((flag & CMD_FLAG_REPEAT) == 0) {
- /*
- * New command specified.  Check for a size specification.
- * Defaults to long if no or incorrect specification.
- */
- size = cmd_get_data_size (argv[0], 1);
- addr = simple_strtoul (argv[1], NULL, 16);
- value = simple_strtoul (argv[2], NULL, 16);
- }
-#if defined (CONFIG_X86)
-
- {
- unsigned short port = addr;
-
- switch (size) {
- default:
- case 1:
-    {
- unsigned char ch = value;
- __asm__ volatile ("out %0, %%dx"::"a" (ch), "d" (port));
-    }
- break;
- case 2:
-    {
- unsigned short w = value;
- __asm__ volatile ("out %0, %%dx"::"a" (w), "d" (port));
-    }
- break;
- case 4:
- __asm__ volatile ("out %0, %%dx"::"a" (value), "d" (port));
-
- break;
- }
- }
-
-#endif /* CONFIG_X86 */
-
- out_last_addr = addr;
- out_last_size = size;
- out_last_value = value;
-
- return 0;
-}
-
-U_BOOT_CMD(
- out, 3, 1, do_portio_out,
- "write datum to IO port",
- "[.b, .w, .l] port value\n    - output to IO port"
-);
-
-int do_portio_in (cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
-{
- uint addr = in_last_addr;
- uint size = in_last_size;
-
- if (argc != 2)
- return CMD_RET_USAGE;
-
- if ((flag & CMD_FLAG_REPEAT) == 0) {
- /*
- * New command specified.  Check for a size specification.
- * Defaults to long if no or incorrect specification.
- */
- size = cmd_get_data_size (argv[0], 1);
- addr = simple_strtoul (argv[1], NULL, 16);
- }
-#if defined (CONFIG_X86)
-
- {
- unsigned short port = addr;
-
- switch (size) {
- default:
- case 1:
-    {
- unsigned char ch;
- __asm__ volatile ("in %%dx, %0":"=a" (ch):"d" (port));
-
- printf (" %02x\n", ch);
-    }
- break;
- case 2:
-    {
- unsigned short w;
- __asm__ volatile ("in %%dx, %0":"=a" (w):"d" (port));
-
- printf (" %04x\n", w);
-    }
- break;
- case 4:
-    {
- unsigned long l;
- __asm__ volatile ("in %%dx, %0":"=a" (l):"d" (port));
-
- printf (" %08lx\n", l);
-    }
- break;
- }
- }
-#endif /* CONFIG_X86 */
-
- in_last_addr = addr;
- in_last_size = size;
-
- return 0;
-}
-
-U_BOOT_CMD(
- in, 2, 1, do_portio_in,
- "read data from an IO port",
- "[.b, .w, .l] port\n"
- "    - read datum from IO port"
-);
diff --git a/include/command.h b/include/command.h
index 08f04867dd..767cabb3df 100644
--- a/include/command.h
+++ b/include/command.h
@@ -80,11 +80,10 @@ int cmd_process_error(cmd_tbl_t *cmdtp, int err);
  * void function (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
  */
 
-#if defined(CONFIG_CMD_MEMORY) \
- || defined(CONFIG_CMD_I2C) \
- || defined(CONFIG_CMD_ITEST) \
- || defined(CONFIG_CMD_PCI) \
- || defined(CONFIG_CMD_PORTIO)
+#if defined(CONFIG_CMD_MEMORY) || \
+ defined(CONFIG_CMD_I2C) || \
+ defined(CONFIG_CMD_ITEST) || \
+ defined(CONFIG_CMD_PCI)
 #define CMD_DATA_SIZE
 extern int cmd_get_data_size(char* arg, int default_size);
 #endif
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index a008bacdd9..35a6a529eb 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -13,7 +13,6 @@
  * Alphabetical list of all possible commands.
  */
 
-#define CONFIG_CMD_PORTIO /* Port I/O */
 #define CONFIG_CMD_REGINFO /* Register dump */
 #define CONFIG_CMD_REISER /* Reiserfs support */
 #define CONFIG_CMD_READ /* Read data from partition */
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 6b7056d6ea..899fd501ad 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_PORTIO
 CONFIG_CMD_READ
 CONFIG_CMD_REGINFO
 CONFIG_CMD_REISER
--
2.14.0.rc1.383.gd1ce394fe2-goog

_______________________________________________
U-Boot mailing list
[hidden email]
https://lists.denx.de/listinfo/u-boot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH v2 15/42] Kconfig: Convert CMD_READ to Kconfig

Simon Glass-3
In reply to this post by Simon Glass-3
Convert this option and enable it in sandbox. Also correct a bug which
was introduced with the block-device driver model conversion.

Signed-off-by: Simon Glass <[hidden email]>
---

Changes in v2:
- Move CMD_PORTIO changes to previous patch
- Sort Kconfig options in alphabetical order

 README                       | 1 -
 cmd/Kconfig                  | 5 +++++
 cmd/read.c                   | 2 +-
 configs/sandbox_defconfig    | 3 +++
 include/config_cmd_all.h     | 1 -
 scripts/config_whitelist.txt | 1 -
 6 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/README b/README
index 06a9b2eca9..2e813b7bcb 100644
--- a/README
+++ b/README
@@ -814,7 +814,6 @@ The following options need to be configured:
  CONFIG_CMD_NFS  NFS support
  CONFIG_CMD_PING * send ICMP ECHO_REQUEST to network
   host
- CONFIG_CMD_READ * Read raw data from partition
  CONFIG_CMD_REGINFO * Register dump
  CONFIG_CMD_RUN  run command in env variable
  CONFIG_CMD_SANDBOX * sb command to access sandbox features
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 7892b0b03f..15dcfbf1e9 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -741,6 +741,11 @@ config CMD_PCMCIA
   about 1990. These devices are typically removable memory or network
   cards using a standard 68-pin connector.
 
+config CMD_READ
+ bool "read - Read binary data from a partition"
+ help
+  Provides low-level access to the data in a partition.
+
 config CMD_REMOTEPROC
  bool "remoteproc"
  depends on REMOTEPROC
diff --git a/cmd/read.c b/cmd/read.c
index 61d8ce73e4..ecf925426f 100644
--- a/cmd/read.c
+++ b/cmd/read.c
@@ -66,7 +66,7 @@ int do_read(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
  return 1;
  }
 
- if (blk_read(dev_desc, offset + blk, cnt, addr) < 0) {
+ if (blk_dread(dev_desc, offset + blk, cnt, addr) < 0) {
  printf("Error reading blocks\n");
  return 1;
  }
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index 3fe2702d30..a1844d30a2 100644
--- a/configs/sandbox_defconfig
+++ b/configs/sandbox_defconfig
@@ -193,3 +193,6 @@ CONFIG_UNIT_TEST=y
 CONFIG_UT_TIME=y
 CONFIG_UT_DM=y
 CONFIG_UT_ENV=y
+CONFIG_CMD_MTDPARTS=y
+CONFIG_CMD_MTDPARTS_SPREAD=y
+CONFIG_CMD_READ=y
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index 35a6a529eb..edfc91ff9b 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -15,7 +15,6 @@
 
 #define CONFIG_CMD_REGINFO /* Register dump */
 #define CONFIG_CMD_REISER /* Reiserfs support */
-#define CONFIG_CMD_READ /* Read data from partition */
 #define CONFIG_CMD_SANDBOX /* sb command to access sandbox features */
 #define CONFIG_CMD_SAVES /* save S record dump */
 #define CONFIG_CMD_SDRAM /* SDRAM DIMM SPD info printout */
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 899fd501ad..33a408891e 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_READ
 CONFIG_CMD_REGINFO
 CONFIG_CMD_REISER
 CONFIG_CMD_SANDBOX
--
2.14.0.rc1.383.gd1ce394fe2-goog

_______________________________________________
U-Boot mailing list
[hidden email]
https://lists.denx.de/listinfo/u-boot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH v2 16/42] Convert CONFIG_CMD_REGINFO to Kconfig

Simon Glass-3
In reply to this post by Simon Glass-3
From: Christophe Leroy <[hidden email]>

This patch converts CONFIG_CMD_REGINFO to Kconfig

Signed-off-by: Christophe Leroy <[hidden email]>
Signed-off-by: Simon Glass <[hidden email]>
---

Changes in v2:
- Fixed lots of merge conflicts with my series
- Pull in this patch from http://patchwork.ozlabs.org/patch/787724/ instead

 README                           | 1 -
 arch/powerpc/Kconfig             | 3 +++
 cmd/Kconfig                      | 5 +++++
 include/config_cmd_all.h         | 1 -
 include/configs/B4860QDS.h       | 5 -----
 include/configs/BSC9131RDB.h     | 5 -----
 include/configs/BSC9132QDS.h     | 5 -----
 include/configs/C29XPCIE.h       | 5 -----
 include/configs/MCR3000.h        | 3 ---
 include/configs/MPC8536DS.h      | 5 -----
 include/configs/MPC8541CDS.h     | 5 -----
 include/configs/MPC8544DS.h      | 5 -----
 include/configs/MPC8548CDS.h     | 5 -----
 include/configs/MPC8555CDS.h     | 5 -----
 include/configs/MPC8560ADS.h     | 8 --------
 include/configs/MPC8568MDS.h     | 5 -----
 include/configs/MPC8569MDS.h     | 5 -----
 include/configs/MPC8572DS.h      | 5 -----
 include/configs/MPC8610HPCD.h    | 2 --
 include/configs/MPC8641HPCN.h    | 5 -----
 include/configs/P1010RDB.h       | 5 -----
 include/configs/P1022DS.h        | 5 -----
 include/configs/P1023RDB.h       | 5 -----
 include/configs/T102xQDS.h       | 5 -----
 include/configs/T102xRDB.h       | 5 -----
 include/configs/T1040QDS.h       | 5 -----
 include/configs/T104xRDB.h       | 5 -----
 include/configs/T208xQDS.h       | 5 -----
 include/configs/T208xRDB.h       | 5 -----
 include/configs/T4240RDB.h       | 2 --
 include/configs/TQM834x.h        | 5 -----
 include/configs/UCP1020.h        | 5 -----
 include/configs/controlcenterd.h | 3 ---
 include/configs/corenet_ds.h     | 5 -----
 include/configs/cyrus.h          | 5 -----
 include/configs/p1_p2_rdb_pc.h   | 5 -----
 include/configs/p1_twr.h         | 5 -----
 include/configs/qemu-ppce500.h   | 2 --
 include/configs/sbc8548.h        | 5 -----
 include/configs/sbc8641d.h       | 2 --
 include/configs/smdkc100.h       | 3 ---
 include/configs/socrates.h       | 1 -
 include/configs/t4qds.h          | 2 --
 include/configs/xpedite517x.h    | 5 -----
 include/configs/xpedite520x.h    | 5 -----
 include/configs/xpedite537x.h    | 5 -----
 include/configs/xpedite550x.h    | 5 -----
 scripts/config_whitelist.txt     | 1 -
 48 files changed, 8 insertions(+), 196 deletions(-)

diff --git a/README b/README
index 2e813b7bcb..9b64ef06f4 100644
--- a/README
+++ b/README
@@ -814,7 +814,6 @@ The following options need to be configured:
  CONFIG_CMD_NFS  NFS support
  CONFIG_CMD_PING * send ICMP ECHO_REQUEST to network
   host
- CONFIG_CMD_REGINFO * Register dump
  CONFIG_CMD_RUN  run command in env variable
  CONFIG_CMD_SANDBOX * sb command to access sandbox features
  CONFIG_CMD_SAVES * save S record dump
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 8094416e4a..c79b247651 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -23,15 +23,18 @@ config MPC85xx
  imply USB_EHCI_HCD if USB
  imply CMD_HASH
  imply CMD_IRQ
+ imply CMD_REGINFO
 
 config MPC86xx
  bool "MPC86xx"
  select SYS_FSL_DDR
  select SYS_FSL_DDR_BE
  imply ENV_IS_IN_FLASH
+ imply CMD_REGINFO
 
 config 8xx
  bool "MPC8xx"
+ imply CMD_REGINFO
 
 endchoice
 
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 15dcfbf1e9..070536ac23 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -158,6 +158,11 @@ config CMD_LICENSE
  help
   Print GPL license text
 
+config CMD_REGINFO
+ bool "reginfo"
+ help
+  Register dump
+
 endmenu
 
 menu "Boot commands"
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index edfc91ff9b..cb0ab6d61a 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -13,7 +13,6 @@
  * Alphabetical list of all possible commands.
  */
 
-#define CONFIG_CMD_REGINFO /* Register dump */
 #define CONFIG_CMD_REISER /* Reiserfs support */
 #define CONFIG_CMD_SANDBOX /* sb command to access sandbox features */
 #define CONFIG_CMD_SAVES /* save S record dump */
diff --git a/include/configs/B4860QDS.h b/include/configs/B4860QDS.h
index 984803d440..ce9be95e7e 100644
--- a/include/configs/B4860QDS.h
+++ b/include/configs/B4860QDS.h
@@ -690,11 +690,6 @@ unsigned long get_board_ddr_clk(void);
 #define CONFIG_LOADS_ECHO /* echo on for serial download */
 #define CONFIG_SYS_LOADS_BAUD_CHANGE /* allow baudrate change */
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 /*
 * USB
 */
diff --git a/include/configs/BSC9131RDB.h b/include/configs/BSC9131RDB.h
index a7c97a3b79..38407af3c7 100644
--- a/include/configs/BSC9131RDB.h
+++ b/include/configs/BSC9131RDB.h
@@ -286,11 +286,6 @@ extern unsigned long get_sdram_size(void);
 #define CONFIG_LOADS_ECHO /* echo on for serial download */
 #define CONFIG_SYS_LOADS_BAUD_CHANGE /* allow baudrate change */
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 /*
  * Miscellaneous configurable options
  */
diff --git a/include/configs/BSC9132QDS.h b/include/configs/BSC9132QDS.h
index b385cf4a97..8f2bccddb5 100644
--- a/include/configs/BSC9132QDS.h
+++ b/include/configs/BSC9132QDS.h
@@ -509,11 +509,6 @@ combinations. this should be removed later
 #define CONFIG_LOADS_ECHO /* echo on for serial download */
 #define CONFIG_SYS_LOADS_BAUD_CHANGE /* allow baudrate change */
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 /*
  * Miscellaneous configurable options
  */
diff --git a/include/configs/C29XPCIE.h b/include/configs/C29XPCIE.h
index a00d3872e3..c88715f601 100644
--- a/include/configs/C29XPCIE.h
+++ b/include/configs/C29XPCIE.h
@@ -427,11 +427,6 @@
 #define CONFIG_LOADS_ECHO
 #define CONFIG_SYS_LOADS_BAUD_CHANGE
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 /*
  * Miscellaneous configurable options
  */
diff --git a/include/configs/MCR3000.h b/include/configs/MCR3000.h
index 17090da796..aabbab6e05 100644
--- a/include/configs/MCR3000.h
+++ b/include/configs/MCR3000.h
@@ -151,7 +151,4 @@
 #define BOOTFLAG_COLD 0x01
 #define BOOTFLAG_WARM 0x02
 
-/* Misc Settings */
-#define CONFIG_CMD_REGINFO
-
 #endif /* __CONFIG_H */
diff --git a/include/configs/MPC8536DS.h b/include/configs/MPC8536DS.h
index 277c9d00a7..11a7950e4d 100644
--- a/include/configs/MPC8536DS.h
+++ b/include/configs/MPC8536DS.h
@@ -580,11 +580,6 @@
 #define CONFIG_LOADS_ECHO 1 /* echo on for serial download */
 #define CONFIG_SYS_LOADS_BAUD_CHANGE 1 /* allow baudrate change */
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
 #ifdef CONFIG_MMC
diff --git a/include/configs/MPC8541CDS.h b/include/configs/MPC8541CDS.h
index 3867b31e23..aa450fcaa4 100644
--- a/include/configs/MPC8541CDS.h
+++ b/include/configs/MPC8541CDS.h
@@ -338,11 +338,6 @@ extern unsigned long get_clock_freq(void);
 #define CONFIG_BOOTP_GATEWAY
 #define CONFIG_BOOTP_HOSTNAME
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
 /*
diff --git a/include/configs/MPC8544DS.h b/include/configs/MPC8544DS.h
index cea37f8ae4..1c8e031a7e 100644
--- a/include/configs/MPC8544DS.h
+++ b/include/configs/MPC8544DS.h
@@ -344,11 +344,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_BOOTP_GATEWAY
 #define CONFIG_BOOTP_HOSTNAME
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 /*
  * USB
  */
diff --git a/include/configs/MPC8548CDS.h b/include/configs/MPC8548CDS.h
index 7c98bcb035..58cd674a5f 100644
--- a/include/configs/MPC8548CDS.h
+++ b/include/configs/MPC8548CDS.h
@@ -457,11 +457,6 @@ extern unsigned long get_clock_freq(void);
 #define CONFIG_BOOTP_GATEWAY
 #define CONFIG_BOOTP_HOSTNAME
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
 /*
diff --git a/include/configs/MPC8555CDS.h b/include/configs/MPC8555CDS.h
index 3dc24bd74e..b580c33070 100644
--- a/include/configs/MPC8555CDS.h
+++ b/include/configs/MPC8555CDS.h
@@ -336,11 +336,6 @@ extern unsigned long get_clock_freq(void);
 #define CONFIG_BOOTP_GATEWAY
 #define CONFIG_BOOTP_HOSTNAME
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
 /*
diff --git a/include/configs/MPC8560ADS.h b/include/configs/MPC8560ADS.h
index 8b8be2da0e..672ae5007c 100644
--- a/include/configs/MPC8560ADS.h
+++ b/include/configs/MPC8560ADS.h
@@ -349,14 +349,6 @@
 #define CONFIG_BOOTP_GATEWAY
 #define CONFIG_BOOTP_HOSTNAME
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
-#if defined(CONFIG_ETHER_ON_FCC)
-#endif
-
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
 /*
diff --git a/include/configs/MPC8568MDS.h b/include/configs/MPC8568MDS.h
index e6b1ea982f..29f3d09cfd 100644
--- a/include/configs/MPC8568MDS.h
+++ b/include/configs/MPC8568MDS.h
@@ -351,11 +351,6 @@ extern unsigned long get_clock_freq(void);
 #define CONFIG_BOOTP_GATEWAY
 #define CONFIG_BOOTP_HOSTNAME
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
 /*
diff --git a/include/configs/MPC8569MDS.h b/include/configs/MPC8569MDS.h
index 6f2fa4939a..a0d48af908 100644
--- a/include/configs/MPC8569MDS.h
+++ b/include/configs/MPC8569MDS.h
@@ -443,11 +443,6 @@ extern unsigned long get_clock_freq(void);
 #define CONFIG_BOOTP_GATEWAY
 #define CONFIG_BOOTP_HOSTNAME
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
 #ifdef CONFIG_MMC
diff --git a/include/configs/MPC8572DS.h b/include/configs/MPC8572DS.h
index a75d30851b..2d905e4732 100644
--- a/include/configs/MPC8572DS.h
+++ b/include/configs/MPC8572DS.h
@@ -542,11 +542,6 @@
 #define CONFIG_LOADS_ECHO 1 /* echo on for serial download */
 #define CONFIG_SYS_LOADS_BAUD_CHANGE 1 /* allow baudrate change */
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 /*
  * USB
  */
diff --git a/include/configs/MPC8610HPCD.h b/include/configs/MPC8610HPCD.h
index 807624e2ce..e13fff0375 100644
--- a/include/configs/MPC8610HPCD.h
+++ b/include/configs/MPC8610HPCD.h
@@ -262,8 +262,6 @@
 
 #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
 
-#define CONFIG_CMD_REGINFO
-
 #define CONFIG_ULI526X
 #ifdef CONFIG_ULI526X
 #endif
diff --git a/include/configs/MPC8641HPCN.h b/include/configs/MPC8641HPCN.h
index b74ef38513..607e8bd114 100644
--- a/include/configs/MPC8641HPCN.h
+++ b/include/configs/MPC8641HPCN.h
@@ -582,11 +582,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_BOOTP_GATEWAY
 #define CONFIG_BOOTP_HOSTNAME
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
 /*
diff --git a/include/configs/P1010RDB.h b/include/configs/P1010RDB.h
index 9f52a6fc48..a61c59f7fa 100644
--- a/include/configs/P1010RDB.h
+++ b/include/configs/P1010RDB.h
@@ -711,11 +711,6 @@ extern unsigned long get_sdram_size(void);
 #define CONFIG_LOADS_ECHO /* echo on for serial download */
 #define CONFIG_SYS_LOADS_BAUD_CHANGE /* allow baudrate change */
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
 #if defined(CONFIG_MMC) || defined(CONFIG_USB_EHCI_HCD) \
diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h
index 152f0d89f0..fe7c677946 100644
--- a/include/configs/P1022DS.h
+++ b/include/configs/P1022DS.h
@@ -582,11 +582,6 @@
 #define CONFIG_LOADS_ECHO
 #define CONFIG_SYS_LOADS_BAUD_CHANGE
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 /*
  * USB
  */
diff --git a/include/configs/P1023RDB.h b/include/configs/P1023RDB.h
index 45dcb6b04b..3522c32a72 100644
--- a/include/configs/P1023RDB.h
+++ b/include/configs/P1023RDB.h
@@ -236,11 +236,6 @@ extern unsigned long get_clock_freq(void);
 #define CONFIG_LOADS_ECHO /* echo on for serial download */
 #define CONFIG_SYS_LOADS_BAUD_CHANGE /* allow baudrate change */
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 /*
  * USB
  */
diff --git a/include/configs/T102xQDS.h b/include/configs/T102xQDS.h
index 1adbf1ae90..e4f8e7d980 100644
--- a/include/configs/T102xQDS.h
+++ b/include/configs/T102xQDS.h
@@ -768,11 +768,6 @@ unsigned long get_board_ddr_clk(void);
 #define CONFIG_LOADS_ECHO /* echo on for serial download */
 #define CONFIG_SYS_LOADS_BAUD_CHANGE /* allow baudrate change */
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 /*
  * Miscellaneous configurable options
  */
diff --git a/include/configs/T102xRDB.h b/include/configs/T102xRDB.h
index 7a33b8a19e..7c81dc428e 100644
--- a/include/configs/T102xRDB.h
+++ b/include/configs/T102xRDB.h
@@ -779,11 +779,6 @@ unsigned long get_board_ddr_clk(void);
 #define CONFIG_LOADS_ECHO /* echo on for serial download */
 #define CONFIG_SYS_LOADS_BAUD_CHANGE /* allow baudrate change */
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 /*
  * Miscellaneous configurable options
  */
diff --git a/include/configs/T1040QDS.h b/include/configs/T1040QDS.h
index 0f0e149572..de60b21e35 100644
--- a/include/configs/T1040QDS.h
+++ b/include/configs/T1040QDS.h
@@ -647,11 +647,6 @@ unsigned long get_board_ddr_clk(void);
 #define CONFIG_LOADS_ECHO /* echo on for serial download */
 #define CONFIG_SYS_LOADS_BAUD_CHANGE /* allow baudrate change */
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 /*
  * Miscellaneous configurable options
  */
diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h
index 34578cc819..84bcecbb05 100644
--- a/include/configs/T104xRDB.h
+++ b/include/configs/T104xRDB.h
@@ -762,11 +762,6 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg
 #define CONFIG_LOADS_ECHO /* echo on for serial download */
 #define CONFIG_SYS_LOADS_BAUD_CHANGE /* allow baudrate change */
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 /*
  * Miscellaneous configurable options
  */
diff --git a/include/configs/T208xQDS.h b/include/configs/T208xQDS.h
index b45e634ddb..28e4bb01fb 100644
--- a/include/configs/T208xQDS.h
+++ b/include/configs/T208xQDS.h
@@ -733,11 +733,6 @@ unsigned long get_board_ddr_clk(void);
 #define CONFIG_LOADS_ECHO /* echo on for serial download */
 #define CONFIG_SYS_LOADS_BAUD_CHANGE /* allow baudrate change */
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 /*
  * Miscellaneous configurable options
  */
diff --git a/include/configs/T208xRDB.h b/include/configs/T208xRDB.h
index b5b7a4a8fb..a91d39e4eb 100644
--- a/include/configs/T208xRDB.h
+++ b/include/configs/T208xRDB.h
@@ -679,11 +679,6 @@ unsigned long get_board_ddr_clk(void);
  * Environment
  */
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 /*
  * Miscellaneous configurable options
  */
diff --git a/include/configs/T4240RDB.h b/include/configs/T4240RDB.h
index 1b56020c10..0717ae5a1e 100644
--- a/include/configs/T4240RDB.h
+++ b/include/configs/T4240RDB.h
@@ -56,8 +56,6 @@
 
 #define CONFIG_DDR_ECC
 
-#define CONFIG_CMD_REGINFO
-
 /* High Level Configuration Options */
 #define CONFIG_SYS_BOOK3E_HV /* Category E.HV supported */
 #define CONFIG_MP /* support multiple processors */
diff --git a/include/configs/TQM834x.h b/include/configs/TQM834x.h
index aab8b5d9f2..b9923c316b 100644
--- a/include/configs/TQM834x.h
+++ b/include/configs/TQM834x.h
@@ -213,11 +213,6 @@
 
 #endif /* CONFIG_TSEC_ENET */
 
-/*
- * General PCI
- * Addresses are mapped 1-1.
- */
-
 #if defined(CONFIG_PCI)
 
 #define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
diff --git a/include/configs/UCP1020.h b/include/configs/UCP1020.h
index 6573301493..53d4bfa2f0 100644
--- a/include/configs/UCP1020.h
+++ b/include/configs/UCP1020.h
@@ -410,11 +410,6 @@
 #define CONFIG_LOADS_ECHO /* echo on for serial download */
 #define CONFIG_SYS_LOADS_BAUD_CHANGE /* allow baudrate change */
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 /*
  * USB
  */
diff --git a/include/configs/controlcenterd.h b/include/configs/controlcenterd.h
index 55d705c2fc..3b0290ccc4 100644
--- a/include/configs/controlcenterd.h
+++ b/include/configs/controlcenterd.h
@@ -335,9 +335,6 @@
 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
 
 #ifndef CONFIG_TRAILBLAZER
-
-#define CONFIG_CMD_REGINFO
-
 /*
  * Board initialisation callbacks
  */
diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h
index 19f3a55e9a..08c51e3434 100644
--- a/include/configs/corenet_ds.h
+++ b/include/configs/corenet_ds.h
@@ -580,11 +580,6 @@
 #define CONFIG_LOADS_ECHO /* echo on for serial download */
 #define CONFIG_SYS_LOADS_BAUD_CHANGE /* allow baudrate change */
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 /*
 * USB
 */
diff --git a/include/configs/cyrus.h b/include/configs/cyrus.h
index 5ba393a7db..aaa7a619ca 100644
--- a/include/configs/cyrus.h
+++ b/include/configs/cyrus.h
@@ -406,11 +406,6 @@
 #define CONFIG_LOADS_ECHO /* echo on for serial download */
 #define CONFIG_SYS_LOADS_BAUD_CHANGE /* allow baudrate change */
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 /*
  * USB
  */
diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h
index d9829d6125..0a2c8611a1 100644
--- a/include/configs/p1_p2_rdb_pc.h
+++ b/include/configs/p1_p2_rdb_pc.h
@@ -798,11 +798,6 @@
 #define CONFIG_LOADS_ECHO /* echo on for serial download */
 #define CONFIG_SYS_LOADS_BAUD_CHANGE /* allow baudrate change */
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 /*
  * USB
  */
diff --git a/include/configs/p1_twr.h b/include/configs/p1_twr.h
index 795d238b6d..a992763d05 100644
--- a/include/configs/p1_twr.h
+++ b/include/configs/p1_twr.h
@@ -374,11 +374,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_LOADS_ECHO /* echo on for serial download */
 #define CONFIG_SYS_LOADS_BAUD_CHANGE /* allow baudrate change */
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 /*
  * USB
  */
diff --git a/include/configs/qemu-ppce500.h b/include/configs/qemu-ppce500.h
index 2c9a3466f7..e0cc873e06 100644
--- a/include/configs/qemu-ppce500.h
+++ b/include/configs/qemu-ppce500.h
@@ -10,8 +10,6 @@
 #ifndef __QEMU_PPCE500_H
 #define __QEMU_PPCE500_H
 
-#define CONFIG_CMD_REGINFO
-
 #undef CONFIG_SYS_TEXT_BASE
 #define CONFIG_SYS_TEXT_BASE 0xf01000 /* 15 MB */
 
diff --git a/include/configs/sbc8548.h b/include/configs/sbc8548.h
index c2f533b0a1..28e53b1c2c 100644
--- a/include/configs/sbc8548.h
+++ b/include/configs/sbc8548.h
@@ -507,11 +507,6 @@
 #define CONFIG_BOOTP_GATEWAY
 #define CONFIG_BOOTP_HOSTNAME
 
-/*
- * Command line configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
 /*
diff --git a/include/configs/sbc8641d.h b/include/configs/sbc8641d.h
index de123fdd9c..dcce2ba193 100644
--- a/include/configs/sbc8641d.h
+++ b/include/configs/sbc8641d.h
@@ -450,8 +450,6 @@
 #define CONFIG_LOADS_ECHO 1 /* echo on for serial download */
 #define CONFIG_SYS_LOADS_BAUD_CHANGE 1 /* allow baudrate change */
 
-#define CONFIG_CMD_REGINFO
-
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
 /*
diff --git a/include/configs/smdkc100.h b/include/configs/smdkc100.h
index 58abac5eef..f5d541d20b 100644
--- a/include/configs/smdkc100.h
+++ b/include/configs/smdkc100.h
@@ -56,9 +56,6 @@
 /* allow to overwrite serial and ethaddr */
 #define CONFIG_ENV_OVERWRITE
 
-/***********************************************************
- * Command definition
- ***********************************************************/
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
 
diff --git a/include/configs/socrates.h b/include/configs/socrates.h
index b6ea44e3c0..cce7f901af 100644
--- a/include/configs/socrates.h
+++ b/include/configs/socrates.h
@@ -278,7 +278,6 @@
  * Command line configuration.
  */
 #define CONFIG_CMD_SDRAM
-#define CONFIG_CMD_REGINFO
 
 #undef CONFIG_WATCHDOG /* watchdog disabled */
 
diff --git a/include/configs/t4qds.h b/include/configs/t4qds.h
index 23b6bf0361..ce138f843f 100644
--- a/include/configs/t4qds.h
+++ b/include/configs/t4qds.h
@@ -10,8 +10,6 @@
 #ifndef __T4QDS_H
 #define __T4QDS_H
 
-#define CONFIG_CMD_REGINFO
-
 /* High Level Configuration Options */
 #define CONFIG_SYS_BOOK3E_HV /* Category E.HV supported */
 #define CONFIG_MP /* support multiple processors */
diff --git a/include/configs/xpedite517x.h b/include/configs/xpedite517x.h
index 57fc16812e..3753871343 100644
--- a/include/configs/xpedite517x.h
+++ b/include/configs/xpedite517x.h
@@ -481,11 +481,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
  BATL_CACHEINHIBIT)
 #define CONFIG_SYS_IBAT7U CONFIG_SYS_DBAT7U
 
-/*
- * Command configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 /*
  * Miscellaneous configurable options
  */
diff --git a/include/configs/xpedite520x.h b/include/configs/xpedite520x.h
index 628de82767..7a37b5cf7e 100644
--- a/include/configs/xpedite520x.h
+++ b/include/configs/xpedite520x.h
@@ -284,11 +284,6 @@
 #define CONFIG_BOOTP_BOOTPATH
 #define CONFIG_BOOTP_GATEWAY
 
-/*
- * Command configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 /*
  * Miscellaneous configurable options
  */
diff --git a/include/configs/xpedite537x.h b/include/configs/xpedite537x.h
index c599b22bc8..47affb5e74 100644
--- a/include/configs/xpedite537x.h
+++ b/include/configs/xpedite537x.h
@@ -334,11 +334,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 #define TSEC2_PHYIDX 0
 #define CONFIG_HAS_ETH1
 
-/*
- * Command configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 /*
  * Miscellaneous configurable options
  */
diff --git a/include/configs/xpedite550x.h b/include/configs/xpedite550x.h
index c387d951c1..60b9c00e26 100644
--- a/include/configs/xpedite550x.h
+++ b/include/configs/xpedite550x.h
@@ -333,11 +333,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 #define CONFIG_USB_EHCI_FSL
 #define CONFIG_EHCI_HCD_INIT_AFTER_RESET
 
-/*
- * Command configuration.
- */
-#define CONFIG_CMD_REGINFO
-
 /*
  * Miscellaneous configurable options
  */
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 33a408891e..01087839ee 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_REGINFO
 CONFIG_CMD_REISER
 CONFIG_CMD_SANDBOX
 CONFIG_CMD_SAVES
--
2.14.0.rc1.383.gd1ce394fe2-goog

_______________________________________________
U-Boot mailing list
[hidden email]
https://lists.denx.de/listinfo/u-boot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH v2 17/42] Convert CONFIG_CMD_REISER to Kconfig

Simon Glass-3
In reply to this post by Simon Glass-3
This converts the following to Kconfig:
   CONFIG_CMD_REISER

Signed-off-by: Simon Glass <[hidden email]>
Reviewed-by: Bin Meng <[hidden email]>
---

Changes in v2: None

 cmd/Kconfig                  | 9 +++++++++
 configs/ethernut5_defconfig  | 1 +
 include/config_cmd_all.h     | 1 -
 include/configs/ethernut5.h  | 1 -
 scripts/config_whitelist.txt | 1 -
 5 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 070536ac23..6a39e26256 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1266,6 +1266,15 @@ config CMD_MTDPARTS_SPREAD
   at least as large as the size specified in the mtdparts variable and
   2) each partition starts on a good block.
 
+config CMD_REISER
+ bool "reiser - Access to reiserfs filesystems"
+ help
+  This provides two commands which operate on a resierfs filesystem,
+  commonly used some years ago:
+
+    reiserls - list files
+    reiserload - load a file
+
 endmenu
 
 menu "Debug commands"
diff --git a/configs/ethernut5_defconfig b/configs/ethernut5_defconfig
index 65a21732e7..6a34363f1e 100644
--- a/configs/ethernut5_defconfig
+++ b/configs/ethernut5_defconfig
@@ -31,6 +31,7 @@ CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_JFFS2=y
+CONFIG_CMD_REISER=y
 CONFIG_CMD_UBI=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SPI_FLASH=y
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index cb0ab6d61a..00bc6fc88a 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -13,7 +13,6 @@
  * Alphabetical list of all possible commands.
  */
 
-#define CONFIG_CMD_REISER /* Reiserfs support */
 #define CONFIG_CMD_SANDBOX /* sb command to access sandbox features */
 #define CONFIG_CMD_SAVES /* save S record dump */
 #define CONFIG_CMD_SDRAM /* SDRAM DIMM SPD info printout */
diff --git a/include/configs/ethernut5.h b/include/configs/ethernut5.h
index 8bec154f43..cdad2e6d49 100644
--- a/include/configs/ethernut5.h
+++ b/include/configs/ethernut5.h
@@ -83,7 +83,6 @@
 #define CONFIG_AT91_GPIO
 
 #ifndef MINIMAL_LOADER
-#define CONFIG_CMD_REISER
 #define CONFIG_CMD_SAVES
 #endif
 
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 01087839ee..64f18f0af1 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_REISER
 CONFIG_CMD_SANDBOX
 CONFIG_CMD_SAVES
 CONFIG_CMD_SCSI
--
2.14.0.rc1.383.gd1ce394fe2-goog

_______________________________________________
U-Boot mailing list
[hidden email]
https://lists.denx.de/listinfo/u-boot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH v2 18/42] Kconfig: sandbox: Drop CONFIG_CMD_SANDBOX option

Simon Glass-3
In reply to this post by Simon Glass-3
This is no-longer used. Drop it.

Signed-off-by: Simon Glass <[hidden email]>
Reviewed-by: Bin Meng <[hidden email]>
---

Changes in v2: None

 README                       | 1 -
 include/config_cmd_all.h     | 1 -
 include/configs/sandbox.h    | 2 --
 scripts/config_whitelist.txt | 1 -
 4 files changed, 5 deletions(-)

diff --git a/README b/README
index 9b64ef06f4..3a4e3a8f45 100644
--- a/README
+++ b/README
@@ -815,7 +815,6 @@ The following options need to be configured:
  CONFIG_CMD_PING * send ICMP ECHO_REQUEST to network
   host
  CONFIG_CMD_RUN  run command in env variable
- CONFIG_CMD_SANDBOX * sb command to access sandbox features
  CONFIG_CMD_SAVES * save S record dump
  CONFIG_CMD_SDRAM * print SDRAM configuration information
   (requires CONFIG_CMD_I2C)
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index 00bc6fc88a..87fba76cc9 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -13,7 +13,6 @@
  * Alphabetical list of all possible commands.
  */
 
-#define CONFIG_CMD_SANDBOX /* sb command to access sandbox features */
 #define CONFIG_CMD_SAVES /* save S record dump */
 #define CONFIG_CMD_SDRAM /* SDRAM DIMM SPD info printout */
 #define CONFIG_CMD_TERMINAL /* built-in Serial Terminal */
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 28ad0a12e1..beb5a124a2 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -94,8 +94,6 @@
 #define CONFIG_BOOTP_SERVERIP
 #define CONFIG_IP_DEFRAG
 
-#define CONFIG_CMD_SANDBOX
-
 #define CONFIG_BOOTARGS ""
 
 #ifndef SANDBOX_NO_SDL
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 64f18f0af1..fd093f797d 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_SANDBOX
 CONFIG_CMD_SAVES
 CONFIG_CMD_SCSI
 CONFIG_CMD_SDRAM
--
2.14.0.rc1.383.gd1ce394fe2-goog

_______________________________________________
U-Boot mailing list
[hidden email]
https://lists.denx.de/listinfo/u-boot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH v2 19/42] Convert CONFIG_CMD_SAVES to Kconfig

Simon Glass-3
In reply to this post by Simon Glass-3
This converts the following to Kconfig:
   CONFIG_CMD_SAVES

Signed-off-by: Simon Glass <[hidden email]>
---

Changes in v2:
- Put Kconfig change in alphabetical order
- Remove some now-superfluous /* commands */ comments in header files

 README                               |  1 -
 arch/arm/Kconfig                     |  6 ++++++
 cmd/Kconfig                          |  6 ++++++
 configs/ethernut5_defconfig          |  1 +
 configs/microblaze-generic_defconfig |  1 +
 configs/x600_defconfig               |  1 +
 configs/xtfpga_defconfig             |  1 +
 include/config_cmd_all.h             |  1 -
 include/configs/calimain.h           |  8 --------
 include/configs/da850evm.h           |  5 -----
 include/configs/ea20.h               |  5 -----
 include/configs/ethernut5.h          |  1 -
 include/configs/ipam390.h            |  5 -----
 include/configs/legoev3.h            |  5 -----
 include/configs/microblaze-generic.h | 18 ------------------
 include/configs/omapl138_lcdk.h      |  4 ----
 include/configs/spear-common.h       |  5 -----
 include/configs/ti_armv7_keystone2.h |  3 ---
 include/configs/x600.h               |  5 -----
 include/configs/xtfpga.h             |  6 ------
 scripts/config_whitelist.txt         |  1 -
 21 files changed, 16 insertions(+), 73 deletions(-)

diff --git a/README b/README
index 3a4e3a8f45..318a4aa25d 100644
--- a/README
+++ b/README
@@ -815,7 +815,6 @@ The following options need to be configured:
  CONFIG_CMD_PING * send ICMP ECHO_REQUEST to network
   host
  CONFIG_CMD_RUN  run command in env variable
- CONFIG_CMD_SAVES * save S record dump
  CONFIG_CMD_SDRAM * print SDRAM configuration information
   (requires CONFIG_CMD_I2C)
  CONFIG_CMD_SF * Read/write/erase SPI NOR flash
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 7f6ab4ac7e..5e42e7b030 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -308,6 +308,7 @@ config TARGET_GPLUGD
 config ARCH_DAVINCI
  bool "TI DaVinci"
  select CPU_ARM926EJS
+ imply CMD_SAVES
  help
   Support for TI's DaVinci platform.
 
@@ -409,21 +410,25 @@ config TARGET_SPEAR300
  bool "Support spear300"
  select CPU_ARM926EJS
  select BOARD_EARLY_INIT_F
+ imply CMD_SAVES
 
 config TARGET_SPEAR310
  bool "Support spear310"
  select CPU_ARM926EJS
  select BOARD_EARLY_INIT_F
+ imply CMD_SAVES
 
 config TARGET_SPEAR320
  bool "Support spear320"
  select CPU_ARM926EJS
  select BOARD_EARLY_INIT_F
+ imply CMD_SAVES
 
 config TARGET_SPEAR600
  bool "Support spear600"
  select CPU_ARM926EJS
  select BOARD_EARLY_INIT_F
+ imply CMD_SAVES
 
 config TARGET_STV0991
  bool "Support stv0991"
@@ -572,6 +577,7 @@ config ARCH_KEYSTONE
  select CMD_POWEROFF
  imply CMD_MTDPARTS
  imply FIT
+ imply CMD_SAVES
 
 config ARCH_OMAP2PLUS
  bool "TI OMAP2+"
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 6a39e26256..f90673f95b 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -770,6 +770,12 @@ config CMD_SATA
   Attachment, where AT refers to an IBM AT (Advanced Technology)
   computer released in 1984.
 
+config CMD_SAVES
+ bool "saves - Save a file over serial in S-Record format"
+ help
+  Provides a way to save a binary file using the Motorola S-Record
+  format over the serial line.
+
 config CMD_SF
  bool "sf"
  help
diff --git a/configs/ethernut5_defconfig b/configs/ethernut5_defconfig
index 6a34363f1e..033e214a04 100644
--- a/configs/ethernut5_defconfig
+++ b/configs/ethernut5_defconfig
@@ -18,6 +18,7 @@ CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SAVES=y
 CONFIG_CMD_RARP=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/microblaze-generic_defconfig b/configs/microblaze-generic_defconfig
index f97459e6a8..789488e735 100644
--- a/configs/microblaze-generic_defconfig
+++ b/configs/microblaze-generic_defconfig
@@ -24,6 +24,7 @@ CONFIG_SYS_PROMPT="U-Boot-mONStR> "
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_MFSL=y
+CONFIG_CMD_SAVES=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_DHCP=y
diff --git a/configs/x600_defconfig b/configs/x600_defconfig
index d46289179f..cfc537a523 100644
--- a/configs/x600_defconfig
+++ b/configs/x600_defconfig
@@ -24,6 +24,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_FPGA_LOADMK=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_SAVES=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/xtfpga_defconfig b/configs/xtfpga_defconfig
index e52e62b201..f28c05f156 100644
--- a/configs/xtfpga_defconfig
+++ b/configs/xtfpga_defconfig
@@ -10,6 +10,7 @@ CONFIG_AUTOBOOT_PROMPT="Autobooting in %d seconds, press <SPACE> to stop\n"
 CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_CMD_ASKENV=y
 CONFIG_CRC32_VERIFY=y
+CONFIG_CMD_SAVES=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DIAG=y
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index 87fba76cc9..c72b24284b 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -13,7 +13,6 @@
  * Alphabetical list of all possible commands.
  */
 
-#define CONFIG_CMD_SAVES /* save S record dump */
 #define CONFIG_CMD_SDRAM /* SDRAM DIMM SPD info printout */
 #define CONFIG_CMD_TERMINAL /* built-in Serial Terminal */
 #define CONFIG_CMD_UNIVERSE /* Tundra Universe Support */
diff --git a/include/configs/calimain.h b/include/configs/calimain.h
index b6c8035fb5..044aa69baf 100644
--- a/include/configs/calimain.h
+++ b/include/configs/calimain.h
@@ -294,14 +294,6 @@
  "echo Product: $product; " \
  "gpio c 1; gpio c 2;"
 
-/*
- * U-Boot commands
- */
-#define CONFIG_CMD_SAVES
-
-#ifndef CONFIG_DRIVER_TI_EMAC
-#endif
-
 /* additions for new relocation code, must added to all boards */
 #define CONFIG_SYS_SDRAM_BASE 0xc0000000
 /* initial stack pointer in internal SRAM */
diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
index 695f3f6874..675e7a649e 100644
--- a/include/configs/da850evm.h
+++ b/include/configs/da850evm.h
@@ -263,11 +263,6 @@
  "mem=32M console=ttyS2,115200n8 root=/dev/mtdblock2 rw noinitrd ip=dhcp"
 #define CONFIG_EXTRA_ENV_SETTINGS "hwconfig=dsp:wake=yes"
 
-/*
- * U-Boot commands
- */
-#define CONFIG_CMD_SAVES
-
 #ifdef CONFIG_CMD_BDI
 #define CONFIG_CLOCKS
 #endif
diff --git a/include/configs/ea20.h b/include/configs/ea20.h
index b1c4e3a750..158eea6018 100644
--- a/include/configs/ea20.h
+++ b/include/configs/ea20.h
@@ -121,11 +121,6 @@
 #define CONFIG_CMDLINE_TAG
 #define CONFIG_SETUP_MEMORY_TAGS
 
-/*
- * U-Boot commands
- */
-#define CONFIG_CMD_SAVES
-
 #ifdef CONFIG_CMD_BDI
 #define CONFIG_CLOCKS
 #endif
diff --git a/include/configs/ethernut5.h b/include/configs/ethernut5.h
index cdad2e6d49..c1f04a92ff 100644
--- a/include/configs/ethernut5.h
+++ b/include/configs/ethernut5.h
@@ -83,7 +83,6 @@
 #define CONFIG_AT91_GPIO
 
 #ifndef MINIMAL_LOADER
-#define CONFIG_CMD_SAVES
 #endif
 
 /* NAND flash */
diff --git a/include/configs/ipam390.h b/include/configs/ipam390.h
index a21261f4d5..083ccd8ef6 100644
--- a/include/configs/ipam390.h
+++ b/include/configs/ipam390.h
@@ -236,11 +236,6 @@
  "nand write c0000100 180000 20000\0" \
  "\0"
 
-/*
- * U-Boot commands
- */
-#define CONFIG_CMD_SAVES
-
 #ifdef CONFIG_CMD_BDI
 #define CONFIG_CLOCKS
 #endif
diff --git a/include/configs/legoev3.h b/include/configs/legoev3.h
index 4ea61af920..2e6147d822 100644
--- a/include/configs/legoev3.h
+++ b/include/configs/legoev3.h
@@ -197,11 +197,6 @@
  "loadbootscr=fatload mmc 0 ${bootscraddr} boot.scr\0" \
  "bootscript=source ${bootscraddr}\0" \
 
-/*
- * U-Boot commands
- */
-#define CONFIG_CMD_SAVES
-
 #ifdef CONFIG_CMD_BDI
 #define CONFIG_CLOCKS
 #endif
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index fb0575fa4d..8ddbf599e1 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -160,24 +160,6 @@
 #define CONFIG_BOOTP_GATEWAY
 #define CONFIG_BOOTP_HOSTNAME
 
-/*
- * Command line configuration.
- */
-
-#if defined(FLASH)
-# if !defined(RAMENV)
-#  define CONFIG_CMD_SAVES
-# endif
-
-#else
-#if defined(SPIFLASH)
-
-# if !defined(RAMENV)
-#  define CONFIG_CMD_SAVES
-# endif
-#endif
-#endif
-
 #if defined(CONFIG_CMD_JFFS2)
 # define CONFIG_MTD_PARTITIONS
 #endif
diff --git a/include/configs/omapl138_lcdk.h b/include/configs/omapl138_lcdk.h
index 08e7deb30f..6ea2b5e7f3 100644
--- a/include/configs/omapl138_lcdk.h
+++ b/include/configs/omapl138_lcdk.h
@@ -274,10 +274,6 @@
  "boot_fit=0\0" \
  "console=ttyS2,115200n8\0"
 
-/*
- * U-Boot commands
- */
-#define CONFIG_CMD_SAVES
 #ifdef CONFIG_CMD_BDI
 #define CONFIG_CLOCKS
 #endif
diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h
index 83060e71a6..90ffa19b4b 100644
--- a/include/configs/spear-common.h
+++ b/include/configs/spear-common.h
@@ -93,11 +93,6 @@
 #define CONFIG_SYS_MAX_NAND_DEVICE 1
 #define CONFIG_SYS_NAND_ONFI_DETECTION
 
-/*
- * Command support defines
- */
-#define CONFIG_CMD_SAVES
-
 /*
  * Default Environment Varible definitions
  */
diff --git a/include/configs/ti_armv7_keystone2.h b/include/configs/ti_armv7_keystone2.h
index 26290ef1b2..78c6726637 100644
--- a/include/configs/ti_armv7_keystone2.h
+++ b/include/configs/ti_armv7_keystone2.h
@@ -198,9 +198,6 @@
 #define CONFIG_DEV_USB_PHY_BASE KS2_DEV_USB_PHY_BASE
 #define CONFIG_USB_PHY_CFG_BASE KS2_USB_PHY_CFG_BASE
 
-/* U-Boot command configuration */
-#define CONFIG_CMD_SAVES
-
 /* U-Boot general configuration */
 #define CONFIG_MISC_INIT_R
 #define CONFIG_MX_CYCLIC
diff --git a/include/configs/x600.h b/include/configs/x600.h
index a8435d8b01..7f19aec3ec 100644
--- a/include/configs/x600.h
+++ b/include/configs/x600.h
@@ -100,11 +100,6 @@
 #define CONFIG_USB_EHCI_SPEAR
 #define CONFIG_USB_MAX_CONTROLLER_COUNT 2
 
-/*
- * Command support defines
- */
-#define CONFIG_CMD_SAVES
-
 /* Filesystem support (for USB key) */
 #define CONFIG_SUPPORT_VFAT
 
diff --git a/include/configs/xtfpga.h b/include/configs/xtfpga.h
index 206ec344d9..df983d9f1e 100644
--- a/include/configs/xtfpga.h
+++ b/include/configs/xtfpga.h
@@ -123,12 +123,6 @@
  /* Boot Argument Buffer Size */
 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
 
-/*=================*/
-/* U-Boot commands */
-/*=================*/
-
-#define CONFIG_CMD_SAVES
-
 /*==============================*/
 /* U-Boot autoboot configuration */
 /*==============================*/
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index fd093f797d..30b3451447 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_SAVES
 CONFIG_CMD_SCSI
 CONFIG_CMD_SDRAM
 CONFIG_CMD_SF_TEST
--
2.14.0.rc1.383.gd1ce394fe2-goog

_______________________________________________
U-Boot mailing list
[hidden email]
https://lists.denx.de/listinfo/u-boot
1234 ... 7
Loading...