All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig
@ 2017-07-21 23:10 Simon Glass
  2017-07-21 23:11 ` [U-Boot] [PATCH 01/41] Convert CONFIG_CMD_MAX6957 " Simon Glass
                   ` (40 more replies)
  0 siblings, 41 replies; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:10 UTC (permalink / raw)
  To: u-boot

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


Simon Glass (41):
  Convert CONFIG_CMD_MAX6957 to Kconfig
  Kconfig: Drop CONFIG_CMD_MEM
  Convert CONFIG_CMD_MFSL to Kconfig
  Convert CONFIG_CMD_MMC_SPI to Kconfig
  Convert CONFIG_CMD_MTDPARTS 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_REGINFO 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
  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                                             | 160 +-----
 arch/Kconfig                                       |   2 +
 arch/arm/Kconfig                                   |  13 +
 arch/arm/cpu/armv7/ls102xa/Kconfig                 |   1 +
 arch/arm/cpu/armv7/vf610/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/cpu/mpc83xx/Kconfig                   |   2 +
 arch/powerpc/cpu/mpc85xx/Kconfig                   |  26 +
 arch/sh/Kconfig                                    |   2 +
 arch/sh/lib/Kconfig                                |   5 +
 arch/x86/cpu/baytrail/Kconfig                      |   1 +
 board/micronas/vct/Kconfig                         |   1 +
 board/work-microwave/work_92105/Kconfig            |   7 +
 cmd/Kconfig                                        | 226 +++++++-
 cmd/Makefile                                       |   5 +-
 cmd/fastboot/Kconfig                               |   2 +
 cmd/pci.c                                          |   4 +-
 cmd/portio.c                                       | 145 -----
 cmd/read.c                                         |   2 +-
 configs/BSC9131RDB_NAND_SYSCLK100_defconfig        |   1 +
 configs/BSC9131RDB_NAND_defconfig                  |   1 +
 configs/BSC9131RDB_SPIFLASH_SYSCLK100_defconfig    |   1 +
 configs/BSC9131RDB_SPIFLASH_defconfig              |   1 +
 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/MCR3000_defconfig                          | 100 ++--
 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                      |   2 +
 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                  |   2 +
 configs/MPC8536DS_SDCARD_defconfig                 |   2 +
 configs/MPC8536DS_SPIFLASH_defconfig               |   2 +
 configs/MPC8536DS_defconfig                        |   2 +
 configs/MPC8541CDS_defconfig                       |   2 +
 configs/MPC8541CDS_legacy_defconfig                |   2 +
 configs/MPC8544DS_defconfig                        |   2 +
 configs/MPC8548CDS_36BIT_defconfig                 |   1 +
 configs/MPC8548CDS_defconfig                       |   1 +
 configs/MPC8548CDS_legacy_defconfig                |   1 +
 configs/MPC8555CDS_defconfig                       |   2 +
 configs/MPC8555CDS_legacy_defconfig                |   2 +
 configs/MPC8568MDS_defconfig                       |   2 +
 configs/MPC8569MDS_ATM_defconfig                   |   2 +
 configs/MPC8569MDS_defconfig                       |   2 +
 configs/MPC8572DS_36BIT_defconfig                  |   2 +
 configs/MPC8572DS_defconfig                        |   2 +
 configs/MPC8610HPCD_defconfig                      |   2 +
 configs/MPC8641HPCN_36BIT_defconfig                |   2 +
 configs/MPC8641HPCN_defconfig                      |   2 +
 configs/MigoR_defconfig                            |   1 +
 .../P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig   |   1 +
 .../P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig   |   1 +
 configs/P1020RDB-PD_NAND_defconfig                 |   1 +
 configs/P1020RDB-PD_SDCARD_defconfig               |   1 +
 configs/P1020RDB-PD_SPIFLASH_defconfig             |   1 +
 configs/P1020RDB-PD_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               |   2 +
 configs/P1022DS_36BIT_SDCARD_defconfig             |   2 +
 configs/P1022DS_36BIT_SPIFLASH_defconfig           |   2 +
 configs/P1022DS_36BIT_defconfig                    |   2 +
 configs/P1022DS_NAND_defconfig                     |   2 +
 configs/P1022DS_SDCARD_defconfig                   |   2 +
 configs/P1022DS_SPIFLASH_defconfig                 |   2 +
 configs/P1022DS_defconfig                          |   2 +
 configs/P1023RDB_defconfig                         |   2 +
 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/T2080QDS_NAND_defconfig                    |   1 +
 configs/T2080QDS_SDCARD_defconfig                  |   1 +
 configs/T2080QDS_SECURE_BOOT_defconfig             |   1 +
 configs/T2080QDS_SPIFLASH_defconfig                |   1 +
 configs/T2080QDS_defconfig                         |   1 +
 configs/T2080RDB_NAND_defconfig                    |   1 +
 configs/T2080RDB_SDCARD_defconfig                  |   1 +
 configs/T2080RDB_SECURE_BOOT_defconfig             |   1 +
 configs/T2080RDB_SPIFLASH_defconfig                |   1 +
 configs/T2080RDB_defconfig                         |   1 +
 configs/T2081QDS_NAND_defconfig                    |   1 +
 configs/T2081QDS_SDCARD_defconfig                  |   1 +
 configs/T2081QDS_SPIFLASH_defconfig                |   1 +
 configs/T2081QDS_defconfig                         |   1 +
 configs/TQM834x_defconfig                          |   3 +
 configs/TWR-P1025_defconfig                        |   2 +
 configs/UCP1020_SPIFLASH_defconfig                 |   1 +
 configs/UCP1020_defconfig                          |   1 +
 configs/alt_defconfig                              |   1 +
 configs/am335x_boneblack_defconfig                 |   3 +-
 configs/am335x_boneblack_vboot_defconfig           |   2 +
 configs/am335x_evm_defconfig                       |   3 +
 configs/am335x_evm_nor_defconfig                   |   3 +
 configs/am335x_evm_norboot_defconfig               |   1 +
 configs/am335x_evm_spiboot_defconfig               |   1 +
 configs/am335x_evm_usbspl_defconfig                |   3 +
 configs/am335x_hs_evm_defconfig                    |   3 +-
 configs/am335x_igep003x_defconfig                  |   2 +
 configs/am335x_shc_defconfig                       |   1 +
 configs/am335x_shc_ict_defconfig                   |   1 +
 configs/am335x_shc_netboot_defconfig               |   1 +
 configs/am335x_shc_prompt_defconfig                |   1 +
 configs/am335x_shc_sdboot_defconfig                |   1 +
 configs/am335x_shc_sdboot_prompt_defconfig         |   1 +
 configs/am335x_sl50_defconfig                      |   2 +
 configs/am43xx_evm_defconfig                       |   4 +
 configs/am43xx_evm_ethboot_defconfig               |   4 +
 configs/am43xx_evm_usbhost_boot_defconfig          |   4 +
 configs/am43xx_hs_evm_defconfig                    |   1 +
 configs/am57xx_evm_defconfig                       |   2 +
 configs/am57xx_evm_nodt_defconfig                  |   2 +
 configs/ap121_defconfig                            |   1 +
 configs/ap143_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/at91sam9n12ek_mmc_defconfig                |   1 +
 configs/at91sam9n12ek_nandflash_defconfig          |   1 +
 configs/at91sam9n12ek_spiflash_defconfig           |   1 +
 configs/bayleybay_defconfig                        |   1 +
 configs/beaver_defconfig                           |   1 +
 configs/birdland_bav335a_defconfig                 |   2 +
 configs/birdland_bav335b_defconfig                 |   2 +
 configs/blanche_defconfig                          |   1 +
 configs/boston32r2_defconfig                       |   1 +
 configs/boston32r2el_defconfig                     |   1 +
 configs/boston64r2_defconfig                       |   1 +
 configs/boston64r2el_defconfig                     |   1 +
 configs/brppt1_nand_defconfig                      |   1 +
 configs/brppt1_spi_defconfig                       |   1 +
 configs/caddy2_defconfig                           |   2 +
 configs/cairo_defconfig                            |   3 +
 configs/cardhu_defconfig                           |   1 +
 configs/cei-tk1-som_defconfig                      |   1 +
 configs/chiliboard_defconfig                       |   1 +
 configs/chromebit_mickey_defconfig                 |   1 +
 configs/chromebook_jerry_defconfig                 |   1 +
 configs/chromebook_link64_defconfig                |   2 +
 configs/chromebook_link_defconfig                  |   2 +
 configs/chromebook_minnie_defconfig                |   1 +
 configs/chromebook_samus_defconfig                 |   2 +
 configs/chromebox_panther_defconfig                |   2 +
 configs/cl-som-am57x_defconfig                     |   2 +
 configs/clearfog_defconfig                         |   1 +
 configs/cm_fx6_defconfig                           |   1 +
 configs/cm_t335_defconfig                          |   2 +
 configs/cm_t3517_defconfig                         |   1 +
 configs/cm_t35_defconfig                           |   1 +
 configs/cm_t43_defconfig                           |   1 +
 ...conga-qeval20-qa3-e3845-internal-uart_defconfig |   1 +
 configs/conga-qeval20-qa3-e3845_defconfig          |   1 +
 .../controlcenterd_36BIT_SDCARD_DEVELOP_defconfig  |   2 +
 configs/controlcenterd_36BIT_SDCARD_defconfig      |   2 +
 configs/controlcenterdc_defconfig                  |   2 +
 configs/coreboot-x86_defconfig                     |   2 +
 configs/corvus_defconfig                           |   1 +
 configs/cougarcanyon2_defconfig                    |   2 +
 configs/crownbay_defconfig                         |   2 +
 configs/db-88f6820-amc_defconfig                   |   1 +
 configs/db-88f6820-gp_defconfig                    |   1 +
 configs/db-mv784mp-gp_defconfig                    |   1 +
 configs/devkit8000_defconfig                       |   4 +
 configs/dfi-bt700-q7x-151_defconfig                |   1 +
 configs/dra7xx_evm_defconfig                       |   2 +
 configs/ds414_defconfig                            |   1 +
 configs/ecovec_defconfig                           |   1 +
 configs/efi-x86_defconfig                          |   1 +
 configs/espt_defconfig                             |   1 +
 configs/ethernut5_defconfig                        |   1 +
 configs/flea3_defconfig                            |   1 +
 configs/galileo_defconfig                          |   2 +
 configs/gose_defconfig                             |   1 +
 configs/gwventana_emmc_defconfig                   |   3 +
 configs/gwventana_gw5904_defconfig                 |   3 +
 configs/gwventana_nand_defconfig                   |   3 +
 configs/hrcon_defconfig                            |   1 +
 configs/hrcon_dh_defconfig                         |   1 +
 configs/igep0020_defconfig                         |   3 +
 configs/igep0030_defconfig                         |   3 +
 configs/igep0032_defconfig                         |   3 +
 configs/imx6q_logic_defconfig                      |   1 +
 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/k2e_evm_defconfig                          |   5 +-
 configs/k2g_evm_defconfig                          |   6 +-
 configs/k2hk_evm_defconfig                         |   5 +-
 configs/k2l_evm_defconfig                          |   5 +-
 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 +
 .../ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig    |   1 +
 configs/ls1046aqds_SECURE_BOOT_defconfig           |   1 +
 configs/ls1046aqds_defconfig                       |   1 +
 configs/ls1046aqds_nand_defconfig                  |   1 +
 configs/ls1046aqds_qspi_defconfig                  |   1 +
 configs/ls1046aqds_sdcard_ifc_defconfig            |   1 +
 configs/ls1046aqds_sdcard_qspi_defconfig           |   1 +
 configs/ls1046ardb_emmc_defconfig                  |   1 +
 configs/ls1046ardb_qspi_SECURE_BOOT_defconfig      |   1 +
 configs/ls1046ardb_qspi_defconfig                  |   1 +
 configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig    |   1 +
 configs/ls1046ardb_sdcard_defconfig                |   1 +
 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/mccmon6_nor_defconfig                      |   1 +
 configs/mccmon6_sd_defconfig                       |   1 +
 configs/microblaze-generic_defconfig               |   4 +
 configs/minnowmax_defconfig                        |   1 +
 configs/mpc8308_p1m_defconfig                      |   1 +
 configs/ms7720se_defconfig                         |   2 +
 configs/ms7722se_defconfig                         |   1 +
 configs/mvebu_db_armada8k_defconfig                |   1 +
 configs/mvebu_mcbin-88f8040_defconfig              |   1 +
 configs/mx35pdk_defconfig                          |   1 +
 configs/mx6sabresd_defconfig                       |   4 +
 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                     |   3 +
 configs/omap3_ha_defconfig                         |   1 +
 configs/omap3_logic_defconfig                      |   2 +
 configs/omap3_overo_defconfig                      |   2 +
 configs/omap3_zoom1_defconfig                      |   1 +
 configs/omap4_panda_defconfig                      |   2 +
 configs/omap5_uevm_defconfig                       |   3 +
 configs/origen_defconfig                           |   1 +
 configs/ot1200_defconfig                           |   3 +-
 configs/ot1200_spl_defconfig                       |   3 +-
 configs/p2371-2180_defconfig                       |   1 +
 configs/p2771-0000-000_defconfig                   |   1 +
 configs/p2771-0000-500_defconfig                   |   1 +
 configs/pcm051_rev1_defconfig                      |   2 +
 configs/pcm051_rev3_defconfig                      |   2 +
 configs/pengwyn_defconfig                          |   3 +
 configs/porter_defconfig                           |   1 +
 configs/qemu-ppce500_defconfig                     |   2 +
 configs/qemu-x86_64_defconfig                      |   2 +
 configs/qemu-x86_defconfig                         |   2 +
 configs/qemu-x86_efi_payload32_defconfig           |   2 +
 configs/qemu-x86_efi_payload64_defconfig           |   2 +
 configs/r0p7734_defconfig                          |   1 +
 configs/r2dplus_defconfig                          |   2 +
 configs/r7780mp_defconfig                          |   2 +
 configs/r8a7795_salvator-x_defconfig               |   1 +
 configs/r8a7796_salvator-x_defconfig               |   1 +
 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                         |   2 +
 configs/sh7752evb_defconfig                        |   1 +
 configs/sh7753evb_defconfig                        |   1 +
 configs/sh7757lcr_defconfig                        |   1 +
 configs/sh7763rdp_defconfig                        |   1 +
 configs/sh7785lcr_32bit_defconfig                  |   3 +
 configs/sh7785lcr_defconfig                        |   3 +
 configs/shmin_defconfig                            |   1 +
 configs/silk_defconfig                             |   1 +
 configs/smartweb_defconfig                         |   1 +
 configs/smdkc100_defconfig                         |   2 +
 configs/snapper9260_defconfig                      |   1 +
 configs/snapper9g20_defconfig                      |   1 +
 configs/socrates_defconfig                         |   3 +
 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/tao3530_defconfig                          |   1 +
 configs/taurus_defconfig                           |   1 +
 configs/tbs2910_defconfig                          |   1 +
 configs/theadorable-x86-dfi-bt700_defconfig        |   1 +
 configs/theadorable_debug_defconfig                |   1 +
 configs/ti816x_evm_defconfig                       |   6 +-
 configs/topic_miami_defconfig                      |   2 +
 configs/topic_miamilite_defconfig                  |   2 +
 configs/topic_miamiplus_defconfig                  |   2 +
 configs/trats2_defconfig                           |   1 +
 configs/trats_defconfig                            |   1 +
 configs/trimslice_defconfig                        |   1 +
 configs/turris_omnia_defconfig                     |  32 +-
 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/woodburn_defconfig                         |   1 +
 configs/woodburn_sd_defconfig                      |   1 +
 configs/work_92105_defconfig                       |   1 +
 configs/x600_defconfig                             |   1 +
 configs/xilinx_zynqmp_ep_defconfig                 |   1 +
 configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig   |   1 +
 configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig   |   1 +
 configs/xilinx_zynqmp_zcu102_defconfig             |   2 +
 configs/xilinx_zynqmp_zcu102_revB_defconfig        |   2 +
 configs/xpedite517x_defconfig                      |   3 +
 configs/xpedite520x_defconfig                      |   2 +
 configs/xpedite537x_defconfig                      |   3 +
 configs/xpedite550x_defconfig                      |   2 +
 configs/xtfpga_defconfig                           |   1 +
 configs/zc5202_defconfig                           |   1 +
 configs/zynq_microzed_defconfig                    |   2 +
 configs/zynq_picozed_defconfig                     |   2 +
 configs/zynq_zc702_defconfig                       |   2 +
 configs/zynq_zc706_defconfig                       |   2 +
 configs/zynq_zc770_xm010_defconfig                 |   1 +
 configs/zynq_zc770_xm011_defconfig                 |   1 +
 configs/zynq_zc770_xm012_defconfig                 |   1 +
 configs/zynq_zc770_xm013_defconfig                 |   1 +
 configs/zynq_zed_defconfig                         |   2 +
 configs/zynq_zybo_defconfig                        |   2 +
 drivers/gpio/Kconfig                               |  18 +
 drivers/gpio/Makefile                              |   1 -
 drivers/gpio/pca953x.c                             |   8 -
 drivers/gpio/sx151x.c                              | 242 --------
 drivers/mtd/ubi/Kconfig                            |   1 +
 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                           |  34 --
 include/config_distro_bootcmd.h                    |   2 +-
 include/configs/B4860QDS.h                         |   5 -
 include/configs/BSC9131RDB.h                       |   2 -
 include/configs/BSC9132QDS.h                       |   4 -
 include/configs/C29XPCIE.h                         |   3 -
 include/configs/M5208EVBE.h                        |   1 -
 include/configs/M52277EVB.h                        |   1 -
 include/configs/M5235EVB.h                         |   2 -
 include/configs/M53017EVB.h                        |   1 -
 include/configs/M5329EVB.h                         |   1 -
 include/configs/M5373EVB.h                         |   1 -
 include/configs/M54418TWR.h                        |   3 -
 include/configs/M54451EVB.h                        |   1 -
 include/configs/M54455EVB.h                        |   2 -
 include/configs/M5475EVB.h                         |   5 -
 include/configs/M5485EVB.h                         |   5 -
 include/configs/MCR3000.h                          |   1 -
 include/configs/MPC8308RDB.h                       |   1 -
 include/configs/MPC8313ERDB.h                      |   2 -
 include/configs/MPC8315ERDB.h                      |   2 -
 include/configs/MPC8323ERDB.h                      |   4 -
 include/configs/MPC832XEMDS.h                      |   4 -
 include/configs/MPC8349EMDS.h                      |   4 -
 include/configs/MPC8349ITX.h                       |   5 -
 include/configs/MPC837XEMDS.h                      |   4 -
 include/configs/MPC837XERDB.h                      |   4 -
 include/configs/MPC8536DS.h                        |   5 -
 include/configs/MPC8540ADS.h                       |   4 -
 include/configs/MPC8541CDS.h                       |   5 -
 include/configs/MPC8544DS.h                        |   5 -
 include/configs/MPC8548CDS.h                       |   5 -
 include/configs/MPC8555CDS.h                       |   5 -
 include/configs/MPC8560ADS.h                       |   5 -
 include/configs/MPC8568MDS.h                       |   5 -
 include/configs/MPC8569MDS.h                       |   5 -
 include/configs/MPC8572DS.h                        |   5 -
 include/configs/MPC8610HPCD.h                      |   6 -
 include/configs/MPC8641HPCN.h                      |   5 -
 include/configs/MigoR.h                            |   2 -
 include/configs/P1010RDB.h                         |   4 -
 include/configs/P1022DS.h                          |   6 -
 include/configs/P1023RDB.h                         |   5 -
 include/configs/P2041RDB.h                         |   4 -
 include/configs/T102xQDS.h                         |   6 -
 include/configs/T102xRDB.h                         |   6 -
 include/configs/T1040QDS.h                         |   6 -
 include/configs/T104xRDB.h                         |   6 -
 include/configs/T208xQDS.h                         |   6 -
 include/configs/T208xRDB.h                         |   6 -
 include/configs/T4240RDB.h                         |   6 -
 include/configs/TQM834x.h                          |   6 -
 include/configs/UCP1020.h                          |   4 -
 include/configs/advantech_dms-ba16.h               |   1 -
 include/configs/am335x_evm.h                       |   2 -
 include/configs/am335x_shc.h                       |   1 -
 include/configs/am3517_evm.h                       |   1 -
 include/configs/am43xx_evm.h                       |   2 -
 include/configs/ap121.h                            |   1 -
 include/configs/ap143.h                            |   1 -
 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/apf27.h                            |   1 -
 include/configs/apx4devkit.h                       |   1 -
 include/configs/aristainetos-common.h              |   1 -
 include/configs/armadillo-800eva.h                 |   2 -
 include/configs/astro_mcf5373l.h                   |   1 -
 include/configs/at91sam9n12ek.h                    |   1 -
 include/configs/at91sam9x5ek.h                     |   1 -
 include/configs/baltos.h                           |   3 -
 include/configs/bav335x.h                          |   2 -
 include/configs/beaver.h                           |   1 -
 include/configs/boston.h                           |   1 -
 include/configs/brppt1.h                           |   3 -
 include/configs/calimain.h                         |   1 -
 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_fx6.h                           |   1 -
 include/configs/cm_t335.h                          |   4 -
 include/configs/cm_t35.h                           |   1 -
 include/configs/cm_t3517.h                         |   1 -
 include/configs/colibri_imx7.h                     |   1 -
 include/configs/colibri_t20.h                      |   1 -
 include/configs/colibri_vf.h                       |   1 -
 include/configs/controlcenterd.h                   |   4 -
 include/configs/controlcenterdc.h                  |   2 -
 include/configs/corenet_ds.h                       |   5 -
 include/configs/corvus.h                           |   1 -
 include/configs/cyrus.h                            |   5 -
 include/configs/da850evm.h                         |   2 -
 include/configs/db-88f6820-amc.h                   |   1 -
 include/configs/db-88f6820-gp.h                    |   1 -
 include/configs/db-mv784mp-gp.h                    |   1 -
 include/configs/dbau1x00.h                         |   5 -
 include/configs/devkit8000.h                       |   3 -
 include/configs/dockstar.h                         |   1 -
 include/configs/dra7xx_evm.h                       |   2 -
 include/configs/dragonboard410c.h                  |   2 -
 include/configs/ds414.h                            |   2 -
 include/configs/ea20.h                             |   2 -
 include/configs/ecovec.h                           |   2 -
 include/configs/efi-x86.h                          |   2 -
 include/configs/espt.h                             |   1 -
 include/configs/ethernut5.h                        |   3 -
 include/configs/exynos4-common.h                   |   4 -
 include/configs/exynos5-common.h                   |   1 -
 include/configs/flea3.h                            |   1 -
 include/configs/ge_bx50v3.h                        |   1 -
 include/configs/gw_ventana.h                       |   5 -
 include/configs/hrcon.h                            |   1 -
 include/configs/iconnect.h                         |   1 -
 include/configs/ids8313.h                          |   1 -
 include/configs/imx27lite-common.h                 |   1 -
 include/configs/imx31_phycore.h                    |   1 -
 include/configs/imx6-engicam.h                     |   1 -
 include/configs/imx6_logic.h                       |   1 -
 include/configs/integratorap.h                     |   2 -
 include/configs/ipam390.h                          |   5 -
 include/configs/jetson-tk1.h                       |   1 -
 include/configs/km/keymile-common.h                |   1 -
 include/configs/km/km83xx-common.h                 |   4 -
 include/configs/km/km_arm.h                        |   1 -
 include/configs/km/kmp204x-common.h                |   1 -
 include/configs/legoev3.h                          |   1 -
 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/m28evk.h                           |   1 -
 include/configs/m53evk.h                           |   1 -
 include/configs/malta.h                            |   1 -
 include/configs/mccmon6.h                          |   1 -
 include/configs/mcx.h                              |   1 -
 include/configs/microblaze-generic.h               |  11 -
 include/configs/mpc8308_p1m.h                      |   1 -
 include/configs/ms7720se.h                         |   3 -
 include/configs/ms7722se.h                         |   2 -
 include/configs/mv-common.h                        |   1 -
 include/configs/mvebu_armada-8k.h                  |   1 -
 include/configs/mx28evk.h                          |   1 -
 include/configs/mx31ads.h                          |   1 -
 include/configs/mx35pdk.h                          |   1 -
 include/configs/mx6sabreauto.h                     |   2 -
 include/configs/mx6sabresd.h                       |   3 -
 include/configs/mx6sxsabresd.h                     |   1 -
 include/configs/nas220.h                           |   1 -
 include/configs/nokia_rx51.h                       |   3 -
 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                   |   3 -
 include/configs/omap3_logic.h                      |   3 -
 include/configs/omap3_overo.h                      |   2 -
 include/configs/omap3_zoom1.h                      |   2 -
 include/configs/omap5_uevm.h                       |   1 -
 include/configs/omapl138_lcdk.h                    |   2 -
 include/configs/ot1200.h                           |   2 -
 include/configs/p1_p2_rdb_pc.h                     |   6 -
 include/configs/p1_twr.h                           |   4 -
 include/configs/p2371-2180.h                       |   1 -
 include/configs/p2771-0000.h                       |   1 -
 include/configs/pcm052.h                           |   1 -
 include/configs/pcm058.h                           |   1 -
 include/configs/pengwyn.h                          |   4 -
 include/configs/platinum.h                         |   1 -
 include/configs/pogo_e02.h                         |   1 -
 include/configs/qemu-ppce500.h                     |   6 -
 include/configs/r0p7734.h                          |   2 -
 include/configs/r2dplus.h                          |   2 -
 include/configs/r7780mp.h                          |   2 -
 include/configs/rcar-gen2-common.h                 |   2 -
 include/configs/rcar-gen3-common.h                 |   1 -
 include/configs/rsk7203.h                          |   2 -
 include/configs/s5p_goni.h                         |   4 -
 include/configs/sama5d3_xplained.h                 |   1 -
 include/configs/sandbox.h                          |   6 -
 include/configs/sbc8349.h                          |   4 -
 include/configs/sbc8548.h                          |   5 -
 include/configs/sbc8641d.h                         |   6 -
 include/configs/sh7752evb.h                        |   2 -
 include/configs/sh7753evb.h                        |   2 -
 include/configs/sh7757lcr.h                        |   2 -
 include/configs/sh7763rdp.h                        |   1 -
 include/configs/sh7785lcr.h                        |   4 -
 include/configs/shmin.h                            |   2 -
 include/configs/siemens-am33x-common.h             |   1 -
 include/configs/smartweb.h                         |   2 -
 include/configs/smdkc100.h                         |   4 -
 include/configs/smdkv310.h                         |   1 -
 include/configs/snapper9260.h                      |   2 -
 include/configs/socfpga_common.h                   |   1 -
 include/configs/socrates.h                         |   6 -
 include/configs/spear-common.h                     |   1 -
 include/configs/stm32f429-discovery.h              |   2 -
 include/configs/strider.h                          |   3 -
 include/configs/t4qds.h                            |   6 -
 include/configs/tam3517-common.h                   |   1 -
 include/configs/tao3530.h                          |   1 -
 include/configs/taurus.h                           |   1 -
 include/configs/tbs2910.h                          |   1 -
 include/configs/theadorable.h                      |   3 -
 include/configs/ti_armv7_common.h                  |   2 -
 include/configs/ti_armv7_keystone2.h               |   1 -
 include/configs/titanium.h                         |   1 -
 include/configs/trats.h                            |   1 -
 include/configs/tricorder.h                        |   1 -
 include/configs/trimslice.h                        |   1 -
 include/configs/turris_omnia.h                     |   1 -
 include/configs/twister.h                          |   4 -
 include/configs/vct.h                              |   9 -
 include/configs/ve8313.h                           |   1 -
 include/configs/veyron.h                           |   2 -
 include/configs/vf610twr.h                         |   1 -
 include/configs/vining_2000.h                      |   1 -
 include/configs/vme8349.h                          |   5 -
 include/configs/woodburn_common.h                  |   1 -
 include/configs/work_92105.h                       |   1 -
 include/configs/x600.h                             |   2 -
 include/configs/x86-common.h                       |   4 -
 include/configs/xilinx-ppc.h                       |   3 -
 include/configs/xilinx_zynqmp.h                    |   1 -
 include/configs/xilinx_zynqmp_zcu102.h             |   2 -
 include/configs/xpedite517x.h                      |   5 -
 include/configs/xpedite520x.h                      |   5 -
 include/configs/xpedite537x.h                      |   5 -
 include/configs/xpedite550x.h                      |   5 -
 include/configs/xtfpga.h                           |   2 -
 include/configs/zc5202.h                           |   1 -
 include/configs/zynq-common.h                      |   2 -
 scripts/config_whitelist.txt                       |  38 --
 644 files changed, 905 insertions(+), 1955 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

-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 01/41] Convert CONFIG_CMD_MAX6957 to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-22 15:05   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 02/41] Kconfig: Drop CONFIG_CMD_MEM Simon Glass
                   ` (39 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_MAX6957

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 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 06b31baeea..9d5030e29b 100644
--- a/configs/work_92105_defconfig
+++ b/configs/work_92105_defconfig
@@ -5,6 +5,7 @@ CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_NAND_SUPPORT=y
 CONFIG_CMD_HD44760=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 56f53b9732..6fbdaf7916 100644
--- a/include/configs/work_92105.h
+++ b/include/configs/work_92105.h
@@ -133,7 +133,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 baf87996a8..fe7001ab89 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.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 02/41] Kconfig: Drop CONFIG_CMD_MEM
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
  2017-07-21 23:11 ` [U-Boot] [PATCH 01/41] Convert CONFIG_CMD_MAX6957 " Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-22 15:05   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 03/41] Convert CONFIG_CMD_MFSL to Kconfig Simon Glass
                   ` (38 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

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 <sjg@chromium.org>
---

 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 c73f6dd574..023409b14c 100644
--- a/README
+++ b/README
@@ -4071,7 +4071,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
@@ -4085,7 +4085,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 8609f2a0a9..054731ed32 100644
--- a/include/configs/stm32f429-discovery.h
+++ b/include/configs/stm32f429-discovery.h
@@ -83,6 +83,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 fe7001ab89..1469a3c1fb 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.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 03/41] Convert CONFIG_CMD_MFSL to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
  2017-07-21 23:11 ` [U-Boot] [PATCH 01/41] Convert CONFIG_CMD_MAX6957 " Simon Glass
  2017-07-21 23:11 ` [U-Boot] [PATCH 02/41] Kconfig: Drop CONFIG_CMD_MEM Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-22 15:05   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 04/41] Convert CONFIG_CMD_MMC_SPI " Simon Glass
                   ` (37 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_MFSL

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 README                               | 1 -
 cmd/Kconfig                          | 7 +++++++
 configs/microblaze-generic_defconfig | 1 +
 include/config_cmd_all.h             | 1 -
 include/configs/microblaze-generic.h | 1 -
 scripts/config_whitelist.txt         | 1 -
 6 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/README b/README
index 023409b14c..aea19a257f 100644
--- a/README
+++ b/README
@@ -838,7 +838,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 c80ac364ea..a0155b9735 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -747,6 +747,13 @@ config CMD_SATA
 	  Attachment, where AT refers to an IBM AT (Advanced Technology)
 	  computer released in 1984.
 
+config CMD_MFSL
+	bool "frd/fwr/rspr - Access special-purpose registers and SPL"
+	depends on MICROBLAZE
+	help
+	  Provides access to Microblaze special purpose register amd FSL,
+	  whatever that is.
+
 endmenu
 
 
diff --git a/configs/microblaze-generic_defconfig b/configs/microblaze-generic_defconfig
index 4a137007bf..f79907ba14 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 2874a7850d..9106bf5e88 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_MTDPARTS	/* mtd parts support		*/
 #define CONFIG_CMD_NAND		/* NAND support			*/
 #define CONFIG_CMD_ONENAND	/* OneNAND support		*/
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index cc7f81955e..659f32e030 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -168,7 +168,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_MFSL
 
 #if defined(FLASH)
 # undef CONFIG_CMD_UBIFS
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 1469a3c1fb..3fd2b5f6ab 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_MFSL
 CONFIG_CMD_MMC_SPI
 CONFIG_CMD_MTDPARTS_SPREAD
 CONFIG_CMD_ONENAND
-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 04/41] Convert CONFIG_CMD_MMC_SPI to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (2 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 03/41] Convert CONFIG_CMD_MFSL to Kconfig Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-22 15:05   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 05/41] Convert CONFIG_CMD_MTDPARTS " Simon Glass
                   ` (36 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_MMC_SPI

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 cmd/Kconfig                        | 9 +++++++++
 configs/UCP1020_SPIFLASH_defconfig | 1 +
 configs/UCP1020_defconfig          | 1 +
 include/configs/UCP1020.h          | 1 -
 include/configs/am335x_shc.h       | 1 -
 scripts/config_whitelist.txt       | 1 -
 6 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index a0155b9735..3f12c42fa1 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -754,6 +754,15 @@ config CMD_MFSL
 	  Provides access to Microblaze special purpose register amd FSL,
 	  whatever that is.
 
+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.
+
 endmenu
 
 
diff --git a/configs/UCP1020_SPIFLASH_defconfig b/configs/UCP1020_SPIFLASH_defconfig
index 29bf82a456..868e4041a1 100644
--- a/configs/UCP1020_SPIFLASH_defconfig
+++ b/configs/UCP1020_SPIFLASH_defconfig
@@ -17,6 +17,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 dbf073d774..ee40822182 100644
--- a/configs/UCP1020_defconfig
+++ b/configs/UCP1020_defconfig
@@ -17,6 +17,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/include/configs/UCP1020.h b/include/configs/UCP1020.h
index 9a7aa81196..81f162526d 100644
--- a/include/configs/UCP1020.h
+++ b/include/configs/UCP1020.h
@@ -442,7 +442,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 247679eee3..3111cfebfb 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/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 3fd2b5f6ab..0e33f65924 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_MMC_SPI
 CONFIG_CMD_MTDPARTS_SPREAD
 CONFIG_CMD_ONENAND
 CONFIG_CMD_PCA953X
-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 05/41] Convert CONFIG_CMD_MTDPARTS to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (3 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 04/41] Convert CONFIG_CMD_MMC_SPI " Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-22 15:05   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 06/41] Convert CONFIG_CMD_MTDPARTS_SPREAD " Simon Glass
                   ` (35 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_MTDPARTS

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 README                                          | 1 -
 arch/arm/Kconfig                                | 3 +++
 arch/arm/cpu/armv7/vf610/Kconfig                | 1 +
 arch/powerpc/cpu/mpc83xx/Kconfig                | 1 +
 arch/powerpc/cpu/mpc85xx/Kconfig                | 9 +++++++++
 board/micronas/vct/Kconfig                      | 1 +
 cmd/Kconfig                                     | 1 -
 configs/BSC9131RDB_NAND_SYSCLK100_defconfig     | 1 +
 configs/BSC9131RDB_NAND_defconfig               | 1 +
 configs/BSC9131RDB_SPIFLASH_SYSCLK100_defconfig | 1 +
 configs/BSC9131RDB_SPIFLASH_defconfig           | 1 +
 configs/MPC8315ERDB_defconfig                   | 1 +
 configs/P1020RDB-PD_NAND_defconfig              | 1 +
 configs/P1020RDB-PD_SDCARD_defconfig            | 1 +
 configs/P1020RDB-PD_SPIFLASH_defconfig          | 1 +
 configs/P1020RDB-PD_defconfig                   | 1 +
 configs/T2080QDS_NAND_defconfig                 | 1 +
 configs/T2080QDS_SDCARD_defconfig               | 1 +
 configs/T2080QDS_SECURE_BOOT_defconfig          | 1 +
 configs/T2080QDS_SPIFLASH_defconfig             | 1 +
 configs/T2080QDS_defconfig                      | 1 +
 configs/T2080RDB_NAND_defconfig                 | 1 +
 configs/T2080RDB_SDCARD_defconfig               | 1 +
 configs/T2080RDB_SECURE_BOOT_defconfig          | 1 +
 configs/T2080RDB_SPIFLASH_defconfig             | 1 +
 configs/T2080RDB_defconfig                      | 1 +
 configs/T2081QDS_NAND_defconfig                 | 1 +
 configs/T2081QDS_SDCARD_defconfig               | 1 +
 configs/T2081QDS_SPIFLASH_defconfig             | 1 +
 configs/T2081QDS_defconfig                      | 1 +
 configs/TQM834x_defconfig                       | 1 +
 configs/TWR-P1025_defconfig                     | 1 +
 configs/am335x_evm_defconfig                    | 1 +
 configs/am335x_evm_nor_defconfig                | 1 +
 configs/am335x_evm_norboot_defconfig            | 1 +
 configs/am335x_evm_spiboot_defconfig            | 1 +
 configs/am335x_evm_usbspl_defconfig             | 1 +
 configs/am335x_hs_evm_defconfig                 | 3 +--
 configs/am43xx_evm_defconfig                    | 1 +
 configs/am43xx_evm_ethboot_defconfig            | 1 +
 configs/am43xx_evm_usbhost_boot_defconfig       | 1 +
 configs/am43xx_hs_evm_defconfig                 | 1 +
 configs/ap121_defconfig                         | 1 +
 configs/ap143_defconfig                         | 1 +
 configs/at91sam9n12ek_mmc_defconfig             | 1 +
 configs/at91sam9n12ek_nandflash_defconfig       | 1 +
 configs/at91sam9n12ek_spiflash_defconfig        | 1 +
 configs/brppt1_nand_defconfig                   | 1 +
 configs/brppt1_spi_defconfig                    | 1 +
 configs/cairo_defconfig                         | 1 +
 configs/chiliboard_defconfig                    | 1 +
 configs/cm_fx6_defconfig                        | 1 +
 configs/cm_t335_defconfig                       | 1 +
 configs/cm_t3517_defconfig                      | 1 +
 configs/cm_t35_defconfig                        | 1 +
 configs/cm_t43_defconfig                        | 1 +
 configs/corvus_defconfig                        | 1 +
 configs/devkit8000_defconfig                    | 1 +
 configs/flea3_defconfig                         | 1 +
 configs/imx6q_logic_defconfig                   | 1 +
 configs/k2e_evm_defconfig                       | 5 ++---
 configs/k2g_evm_defconfig                       | 6 +++---
 configs/k2hk_evm_defconfig                      | 5 ++---
 configs/k2l_evm_defconfig                       | 5 ++---
 configs/mccmon6_nor_defconfig                   | 1 +
 configs/mccmon6_sd_defconfig                    | 1 +
 configs/mx35pdk_defconfig                       | 1 +
 configs/omap3_beagle_defconfig                  | 1 +
 configs/omap3_ha_defconfig                      | 1 +
 configs/omap3_zoom1_defconfig                   | 1 +
 configs/pengwyn_defconfig                       | 1 +
 configs/smartweb_defconfig                      | 1 +
 configs/smdkc100_defconfig                      | 1 +
 configs/tao3530_defconfig                       | 1 +
 configs/taurus_defconfig                        | 1 +
 configs/ti816x_evm_defconfig                    | 6 +-----
 configs/woodburn_defconfig                      | 1 +
 configs/woodburn_sd_defconfig                   | 1 +
 drivers/mtd/ubi/Kconfig                         | 1 +
 include/config_cmd_all.h                        | 1 -
 include/configs/BSC9131RDB.h                    | 1 -
 include/configs/BSC9132QDS.h                    | 1 -
 include/configs/M54418TWR.h                     | 2 --
 include/configs/MPC8313ERDB.h                   | 1 -
 include/configs/MPC8315ERDB.h                   | 1 -
 include/configs/P1010RDB.h                      | 1 -
 include/configs/P1022DS.h                       | 1 -
 include/configs/T102xQDS.h                      | 1 -
 include/configs/T102xRDB.h                      | 1 -
 include/configs/T1040QDS.h                      | 1 -
 include/configs/T104xRDB.h                      | 1 -
 include/configs/T208xQDS.h                      | 1 -
 include/configs/T208xRDB.h                      | 1 -
 include/configs/TQM834x.h                       | 1 -
 include/configs/am3517_evm.h                    | 1 -
 include/configs/ap121.h                         | 1 -
 include/configs/ap143.h                         | 1 -
 include/configs/apf27.h                         | 1 -
 include/configs/apx4devkit.h                    | 1 -
 include/configs/aristainetos-common.h           | 1 -
 include/configs/at91sam9n12ek.h                 | 1 -
 include/configs/at91sam9x5ek.h                  | 1 -
 include/configs/baltos.h                        | 1 -
 include/configs/brppt1.h                        | 1 -
 include/configs/cm_fx6.h                        | 1 -
 include/configs/cm_t35.h                        | 1 -
 include/configs/cm_t3517.h                      | 1 -
 include/configs/colibri_imx7.h                  | 1 -
 include/configs/colibri_t20.h                   | 1 -
 include/configs/colibri_vf.h                    | 1 -
 include/configs/corvus.h                        | 1 -
 include/configs/da850evm.h                      | 1 -
 include/configs/dockstar.h                      | 1 -
 include/configs/ea20.h                          | 1 -
 include/configs/ethernut5.h                     | 1 -
 include/configs/exynos4-common.h                | 1 -
 include/configs/flea3.h                         | 1 -
 include/configs/gw_ventana.h                    | 1 -
 include/configs/iconnect.h                      | 1 -
 include/configs/ids8313.h                       | 1 -
 include/configs/imx27lite-common.h              | 1 -
 include/configs/imx31_phycore.h                 | 1 -
 include/configs/imx6-engicam.h                  | 1 -
 include/configs/imx6_logic.h                    | 1 -
 include/configs/ipam390.h                       | 1 -
 include/configs/km/keymile-common.h             | 1 -
 include/configs/km/km_arm.h                     | 1 -
 include/configs/m28evk.h                        | 1 -
 include/configs/m53evk.h                        | 1 -
 include/configs/mccmon6.h                       | 1 -
 include/configs/mcx.h                           | 1 -
 include/configs/microblaze-generic.h            | 1 -
 include/configs/mv-common.h                     | 1 -
 include/configs/mx28evk.h                       | 1 -
 include/configs/mx31ads.h                       | 1 -
 include/configs/mx35pdk.h                       | 1 -
 include/configs/nas220.h                        | 1 -
 include/configs/nokia_rx51.h                    | 1 -
 include/configs/omap3_igep00x0.h                | 1 -
 include/configs/omap3_logic.h                   | 1 -
 include/configs/omapl138_lcdk.h                 | 1 -
 include/configs/p1_p2_rdb_pc.h                  | 3 ---
 include/configs/p1_twr.h                        | 1 -
 include/configs/pcm052.h                        | 1 -
 include/configs/pcm058.h                        | 1 -
 include/configs/pengwyn.h                       | 2 --
 include/configs/platinum.h                      | 1 -
 include/configs/pogo_e02.h                      | 1 -
 include/configs/sama5d3_xplained.h              | 1 -
 include/configs/siemens-am33x-common.h          | 1 -
 include/configs/smartweb.h                      | 2 --
 include/configs/smdkc100.h                      | 1 -
 include/configs/socfpga_common.h                | 1 -
 include/configs/tam3517-common.h                | 1 -
 include/configs/tao3530.h                       | 1 -
 include/configs/taurus.h                        | 1 -
 include/configs/ti_armv7_common.h               | 1 -
 include/configs/titanium.h                      | 1 -
 include/configs/tricorder.h                     | 1 -
 include/configs/vct.h                           | 1 -
 include/configs/vf610twr.h                      | 1 -
 include/configs/woodburn_common.h               | 1 -
 include/configs/x600.h                          | 1 -
 include/configs/xilinx-ppc.h                    | 2 --
 164 files changed, 92 insertions(+), 112 deletions(-)

diff --git a/README b/README
index aea19a257f..4b670ba326 100644
--- a/README
+++ b/README
@@ -810,7 +810,6 @@ The following options need to be configured:
 		CONFIG_CMD_MISC		  Misc functions like sleep etc
 		CONFIG_CMD_MMC		* MMC memory mapped support
 		CONFIG_CMD_MII		* MII utility commands
-		CONFIG_CMD_MTDPARTS	* MTD partition support
 		CONFIG_CMD_NAND		* NAND support
 		CONFIG_CMD_NET		  bootp, tftpboot, rarpboot
 		CONFIG_CMD_NFS		  NFS support
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index f7b44392ac..6ab79a7a7a 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -570,6 +570,7 @@ config ARCH_KEYSTONE
 	select SYS_THUMB_BUILD
 	select CMD_POWEROFF
 	imply FIT
+	imply CMD_MTDPARTS
 
 config ARCH_OMAP2PLUS
 	bool "TI OMAP2+"
@@ -651,6 +652,7 @@ config ARCH_SOCFPGA
 	select SYS_THUMB_BUILD
 	imply CRC32_VERIFY
 	imply FAT_WRITE
+	imply CMD_MTDPARTS
 
 config ARCH_SUNXI
 	bool "Support sunxi (Allwinner) SoCs"
@@ -693,6 +695,7 @@ config ARCH_VF610
 	bool "Freescale Vybrid"
 	select CPU_V7
 	select SYS_FSL_ERRATUM_ESDHC111
+	imply CMD_MTDPARTS
 
 config ARCH_ZYNQ
 	bool "Xilinx Zynq Platform"
diff --git a/arch/arm/cpu/armv7/vf610/Kconfig b/arch/arm/cpu/armv7/vf610/Kconfig
index 13905b5281..634e52ed09 100644
--- a/arch/arm/cpu/armv7/vf610/Kconfig
+++ b/arch/arm/cpu/armv7/vf610/Kconfig
@@ -3,6 +3,7 @@ if ARCH_VF610
 config VF610
 	bool
 	default y
+	imply CMD_MTDPARTS
 
 choice
 	prompt "Vybrid board select"
diff --git a/arch/powerpc/cpu/mpc83xx/Kconfig b/arch/powerpc/cpu/mpc83xx/Kconfig
index cdd21a253a..4b01c8254c 100644
--- a/arch/powerpc/cpu/mpc83xx/Kconfig
+++ b/arch/powerpc/cpu/mpc83xx/Kconfig
@@ -28,6 +28,7 @@ config TARGET_MPC8313ERDB
 	bool "Support MPC8313ERDB"
 	select SUPPORT_SPL
 	select BOARD_EARLY_INIT_F
+	imply CMD_MTDPARTS
 
 config TARGET_MPC8315ERDB
 	bool "Support MPC8315ERDB"
diff --git a/arch/powerpc/cpu/mpc85xx/Kconfig b/arch/powerpc/cpu/mpc85xx/Kconfig
index 0bff79adbb..93bf274947 100644
--- a/arch/powerpc/cpu/mpc85xx/Kconfig
+++ b/arch/powerpc/cpu/mpc85xx/Kconfig
@@ -148,6 +148,7 @@ config TARGET_P1022DS
 	select SUPPORT_SPL
 	select SUPPORT_TPL
 	imply CMD_SATA
+	imply CMD_MTDPARTS
 
 config TARGET_P1023RDB
 	bool "Support P1023RDB"
@@ -217,6 +218,7 @@ config TARGET_P2020RDB
 	select ARCH_P2020
 	imply CMD_EEPROM
 	imply CMD_SATA
+	imply CMD_MTDPARTS
 
 config TARGET_P1_TWR
 	bool "Support p1_twr"
@@ -482,6 +484,7 @@ config ARCH_BSC9132
 	select SYS_PPC_E500_USE_DEBUG_TLB
 	select FSL_IFC
 	imply CMD_EEPROM
+	imply CMD_MTDPARTS
 
 config ARCH_C29X
 	bool
@@ -618,6 +621,7 @@ config ARCH_P1010
 	select FSL_IFC
 	imply CMD_EEPROM
 	imply CMD_SATA
+	imply CMD_MTDPARTS
 
 config ARCH_P1011
 	bool
@@ -662,6 +666,7 @@ config ARCH_P1021
 	select SYS_PPC_E500_USE_DEBUG_TLB
 	select FSL_ELBC
 	imply CMD_SATA
+	imply CMD_MTDPARTS
 
 config ARCH_P1022
 	bool
@@ -885,6 +890,7 @@ config ARCH_T1023
 	select SYS_FSL_SEC_COMPAT_5
 	select FSL_IFC
 	imply CMD_EEPROM
+	imply CMD_MTDPARTS
 
 config ARCH_T1024
 	bool
@@ -903,6 +909,7 @@ config ARCH_T1024
 	select SYS_FSL_SEC_COMPAT_5
 	select FSL_IFC
 	imply CMD_EEPROM
+	imply CMD_MTDPARTS
 
 config ARCH_T1040
 	bool
@@ -922,6 +929,7 @@ config ARCH_T1040
 	select SYS_FSL_SEC_COMPAT_5
 	select FSL_IFC
 	imply CMD_SATA
+	imply CMD_MTDPARTS
 
 config ARCH_T1042
 	bool
@@ -941,6 +949,7 @@ config ARCH_T1042
 	select SYS_FSL_SEC_COMPAT_5
 	select FSL_IFC
 	imply CMD_SATA
+	imply CMD_MTDPARTS
 
 config ARCH_T2080
 	bool
diff --git a/board/micronas/vct/Kconfig b/board/micronas/vct/Kconfig
index df7c0296c7..2aeb9d03ea 100644
--- a/board/micronas/vct/Kconfig
+++ b/board/micronas/vct/Kconfig
@@ -43,6 +43,7 @@ endchoice
 
 config VCT_ONENAND
 	bool "Enable VCT_ONENAND"
+	imply CMD_MTDPARTS
 
 config VCT_SMALL_IMAGE
 	bool "Enable VCT_SMALL_IMAGE"
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 3f12c42fa1..fc8398cd69 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1212,7 +1212,6 @@ config CMD_JFFS2
 	  filesystem information.
 
 config CMD_MTDPARTS
-	depends on ARCH_SUNXI
 	bool "MTD partition support"
 	help
 	  MTD partition support
diff --git a/configs/BSC9131RDB_NAND_SYSCLK100_defconfig b/configs/BSC9131RDB_NAND_SYSCLK100_defconfig
index 62c436898d..f1f28edd9c 100644
--- a/configs/BSC9131RDB_NAND_SYSCLK100_defconfig
+++ b/configs/BSC9131RDB_NAND_SYSCLK100_defconfig
@@ -22,6 +22,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_FSL_CAAM=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
diff --git a/configs/BSC9131RDB_NAND_defconfig b/configs/BSC9131RDB_NAND_defconfig
index c5d9b9ba48..1d633a32fc 100644
--- a/configs/BSC9131RDB_NAND_defconfig
+++ b/configs/BSC9131RDB_NAND_defconfig
@@ -22,6 +22,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_FSL_CAAM=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
diff --git a/configs/BSC9131RDB_SPIFLASH_SYSCLK100_defconfig b/configs/BSC9131RDB_SPIFLASH_SYSCLK100_defconfig
index 4434790b65..80834ab985 100644
--- a/configs/BSC9131RDB_SPIFLASH_SYSCLK100_defconfig
+++ b/configs/BSC9131RDB_SPIFLASH_SYSCLK100_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_FSL_CAAM=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
diff --git a/configs/BSC9131RDB_SPIFLASH_defconfig b/configs/BSC9131RDB_SPIFLASH_defconfig
index 4bce5427b8..871a193ebf 100644
--- a/configs/BSC9131RDB_SPIFLASH_defconfig
+++ b/configs/BSC9131RDB_SPIFLASH_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_FSL_CAAM=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
diff --git a/configs/MPC8315ERDB_defconfig b/configs/MPC8315ERDB_defconfig
index 32b88fc9d5..52ce29a0bc 100644
--- a/configs/MPC8315ERDB_defconfig
+++ b/configs/MPC8315ERDB_defconfig
@@ -13,6 +13,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
+CONFIG_CMD_MTDPARTS=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SYS_NS16550=y
diff --git a/configs/P1020RDB-PD_NAND_defconfig b/configs/P1020RDB-PD_NAND_defconfig
index eb9d2635b9..2ed975cdb9 100644
--- a/configs/P1020RDB-PD_NAND_defconfig
+++ b/configs/P1020RDB-PD_NAND_defconfig
@@ -30,6 +30,7 @@ CONFIG_CMD_DATE=y
 # CONFIG_CMD_HASH is not set
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
diff --git a/configs/P1020RDB-PD_SDCARD_defconfig b/configs/P1020RDB-PD_SDCARD_defconfig
index e6373f4200..777bd609e5 100644
--- a/configs/P1020RDB-PD_SDCARD_defconfig
+++ b/configs/P1020RDB-PD_SDCARD_defconfig
@@ -28,6 +28,7 @@ CONFIG_CMD_DATE=y
 # CONFIG_CMD_HASH is not set
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
diff --git a/configs/P1020RDB-PD_SPIFLASH_defconfig b/configs/P1020RDB-PD_SPIFLASH_defconfig
index 60f5ab3206..f8e6e431ae 100644
--- a/configs/P1020RDB-PD_SPIFLASH_defconfig
+++ b/configs/P1020RDB-PD_SPIFLASH_defconfig
@@ -29,6 +29,7 @@ CONFIG_CMD_DATE=y
 # CONFIG_CMD_HASH is not set
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
diff --git a/configs/P1020RDB-PD_defconfig b/configs/P1020RDB-PD_defconfig
index 30257b64f5..13266bf111 100644
--- a/configs/P1020RDB-PD_defconfig
+++ b/configs/P1020RDB-PD_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_DATE=y
 # CONFIG_CMD_HASH is not set
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
diff --git a/configs/T2080QDS_NAND_defconfig b/configs/T2080QDS_NAND_defconfig
index 650293c948..bf21bec41a 100644
--- a/configs/T2080QDS_NAND_defconfig
+++ b/configs/T2080QDS_NAND_defconfig
@@ -27,6 +27,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_FSL_CAAM=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SPI_FLASH=y
diff --git a/configs/T2080QDS_SDCARD_defconfig b/configs/T2080QDS_SDCARD_defconfig
index af336dff0b..81cfb14d01 100644
--- a/configs/T2080QDS_SDCARD_defconfig
+++ b/configs/T2080QDS_SDCARD_defconfig
@@ -27,6 +27,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_FSL_CAAM=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SPI_FLASH=y
diff --git a/configs/T2080QDS_SECURE_BOOT_defconfig b/configs/T2080QDS_SECURE_BOOT_defconfig
index 80ad085b1e..e1e8c72135 100644
--- a/configs/T2080QDS_SECURE_BOOT_defconfig
+++ b/configs/T2080QDS_SECURE_BOOT_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_DM=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SPI_FLASH=y
diff --git a/configs/T2080QDS_SPIFLASH_defconfig b/configs/T2080QDS_SPIFLASH_defconfig
index 10b29c4a9a..2d24df780e 100644
--- a/configs/T2080QDS_SPIFLASH_defconfig
+++ b/configs/T2080QDS_SPIFLASH_defconfig
@@ -28,6 +28,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_FSL_CAAM=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SPI_FLASH=y
diff --git a/configs/T2080QDS_defconfig b/configs/T2080QDS_defconfig
index 09dc9e2619..8f85d64c74 100644
--- a/configs/T2080QDS_defconfig
+++ b/configs/T2080QDS_defconfig
@@ -17,6 +17,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_FSL_CAAM=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SPI_FLASH=y
diff --git a/configs/T2080RDB_NAND_defconfig b/configs/T2080RDB_NAND_defconfig
index 8e7b677725..6b458973db 100644
--- a/configs/T2080RDB_NAND_defconfig
+++ b/configs/T2080RDB_NAND_defconfig
@@ -27,6 +27,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 # CONFIG_CMD_IRQ is not set
 CONFIG_FSL_CAAM=y
 CONFIG_MTD_NOR_FLASH=y
diff --git a/configs/T2080RDB_SDCARD_defconfig b/configs/T2080RDB_SDCARD_defconfig
index fac743f55c..f045b1ae0c 100644
--- a/configs/T2080RDB_SDCARD_defconfig
+++ b/configs/T2080RDB_SDCARD_defconfig
@@ -27,6 +27,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 # CONFIG_CMD_IRQ is not set
 CONFIG_FSL_CAAM=y
 CONFIG_MTD_NOR_FLASH=y
diff --git a/configs/T2080RDB_SECURE_BOOT_defconfig b/configs/T2080RDB_SECURE_BOOT_defconfig
index f8296387c4..5cc601deb7 100644
--- a/configs/T2080RDB_SECURE_BOOT_defconfig
+++ b/configs/T2080RDB_SECURE_BOOT_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 # CONFIG_CMD_IRQ is not set
 CONFIG_DM=y
 CONFIG_MTD_NOR_FLASH=y
diff --git a/configs/T2080RDB_SPIFLASH_defconfig b/configs/T2080RDB_SPIFLASH_defconfig
index ca7a38b7d2..f453e42e35 100644
--- a/configs/T2080RDB_SPIFLASH_defconfig
+++ b/configs/T2080RDB_SPIFLASH_defconfig
@@ -28,6 +28,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 # CONFIG_CMD_IRQ is not set
 CONFIG_FSL_CAAM=y
 CONFIG_MTD_NOR_FLASH=y
diff --git a/configs/T2080RDB_defconfig b/configs/T2080RDB_defconfig
index 424eda104e..c620ce8712 100644
--- a/configs/T2080RDB_defconfig
+++ b/configs/T2080RDB_defconfig
@@ -17,6 +17,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 # CONFIG_CMD_IRQ is not set
 CONFIG_FSL_CAAM=y
 CONFIG_MTD_NOR_FLASH=y
diff --git a/configs/T2081QDS_NAND_defconfig b/configs/T2081QDS_NAND_defconfig
index 4653515682..00b8d8d351 100644
--- a/configs/T2081QDS_NAND_defconfig
+++ b/configs/T2081QDS_NAND_defconfig
@@ -27,6 +27,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_FSL_CAAM=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SPI_FLASH=y
diff --git a/configs/T2081QDS_SDCARD_defconfig b/configs/T2081QDS_SDCARD_defconfig
index 749d87bac9..263c8237d6 100644
--- a/configs/T2081QDS_SDCARD_defconfig
+++ b/configs/T2081QDS_SDCARD_defconfig
@@ -27,6 +27,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_FSL_CAAM=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SPI_FLASH=y
diff --git a/configs/T2081QDS_SPIFLASH_defconfig b/configs/T2081QDS_SPIFLASH_defconfig
index 3e3031e134..046921fd48 100644
--- a/configs/T2081QDS_SPIFLASH_defconfig
+++ b/configs/T2081QDS_SPIFLASH_defconfig
@@ -28,6 +28,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_FSL_CAAM=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SPI_FLASH=y
diff --git a/configs/T2081QDS_defconfig b/configs/T2081QDS_defconfig
index 9afc426211..ce74b53067 100644
--- a/configs/T2081QDS_defconfig
+++ b/configs/T2081QDS_defconfig
@@ -17,6 +17,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_FSL_CAAM=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SPI_FLASH=y
diff --git a/configs/TQM834x_defconfig b/configs/TQM834x_defconfig
index ef73ed40c8..61c157053e 100644
--- a/configs/TQM834x_defconfig
+++ b/configs/TQM834x_defconfig
@@ -15,6 +15,7 @@ CONFIG_CMD_PING=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_JFFS2=y
+CONFIG_CMD_MTDPARTS=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SYS_NS16550=y
diff --git a/configs/TWR-P1025_defconfig b/configs/TWR-P1025_defconfig
index e210643aa4..906ada4b3c 100644
--- a/configs/TWR-P1025_defconfig
+++ b/configs/TWR-P1025_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig
index 4591c20f8e..860ef7dd95 100644
--- a/configs/am335x_evm_defconfig
+++ b/configs/am335x_evm_defconfig
@@ -22,6 +22,7 @@ CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_CMD_MTDPARTS=y
 CONFIG_OF_CONTROL=y
 CONFIG_OF_LIST="am335x-evm am335x-bone am335x-boneblack am335x-evmsk am335x-bonegreen am335x-icev2"
 # CONFIG_BLK is not set
diff --git a/configs/am335x_evm_nor_defconfig b/configs/am335x_evm_nor_defconfig
index 07beba6d19..9cadc0b61a 100644
--- a/configs/am335x_evm_nor_defconfig
+++ b/configs/am335x_evm_nor_defconfig
@@ -31,6 +31,7 @@ CONFIG_CMD_DFU=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_EXT4_WRITE=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_NAND=y
 CONFIG_DFU_RAM=y
diff --git a/configs/am335x_evm_norboot_defconfig b/configs/am335x_evm_norboot_defconfig
index 7e80c56953..c76ab8ff55 100644
--- a/configs/am335x_evm_norboot_defconfig
+++ b/configs/am335x_evm_norboot_defconfig
@@ -16,6 +16,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_CMD_MTDPARTS=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
 CONFIG_MMC_OMAP_HS=y
diff --git a/configs/am335x_evm_spiboot_defconfig b/configs/am335x_evm_spiboot_defconfig
index 562c048c90..5686b28413 100644
--- a/configs/am335x_evm_spiboot_defconfig
+++ b/configs/am335x_evm_spiboot_defconfig
@@ -22,6 +22,7 @@ CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_CMD_MTDPARTS=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
 CONFIG_MMC_OMAP_HS=y
diff --git a/configs/am335x_evm_usbspl_defconfig b/configs/am335x_evm_usbspl_defconfig
index 7809786e4e..0a6e26eba9 100644
--- a/configs/am335x_evm_usbspl_defconfig
+++ b/configs/am335x_evm_usbspl_defconfig
@@ -24,6 +24,7 @@ CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_CMD_MTDPARTS=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_NAND=y
 CONFIG_DFU_RAM=y
diff --git a/configs/am335x_hs_evm_defconfig b/configs/am335x_hs_evm_defconfig
index 8ad35c22dc..565747bc30 100644
--- a/configs/am335x_hs_evm_defconfig
+++ b/configs/am335x_hs_evm_defconfig
@@ -21,9 +21,9 @@ CONFIG_SPL_STACK_R=y
 CONFIG_SPL_MTD_SUPPORT=y
 # CONFIG_SPL_YMODEM_SUPPORT is not set
 # CONFIG_CMD_IMLS is not set
-CONFIG_CMD_FASTBOOT=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_CMD_MTDPARTS=y
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_OF_CONTROL=y
 CONFIG_OF_LIST="am335x-evm am335x-bone am335x-boneblack am335x-evmsk am335x-bonegreen am335x-icev2"
@@ -47,7 +47,6 @@ CONFIG_USB_MUSB_HOST=y
 CONFIG_USB_MUSB_GADGET=y
 CONFIG_USB_MUSB_TI=y
 CONFIG_USB_STORAGE=y
-CONFIG_USB_FUNCTION_FASTBOOT=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_G_DNL_MANUFACTURER="Texas Instruments"
diff --git a/configs/am43xx_evm_defconfig b/configs/am43xx_evm_defconfig
index 3878d2724a..83a48b8b3e 100644
--- a/configs/am43xx_evm_defconfig
+++ b/configs/am43xx_evm_defconfig
@@ -17,6 +17,7 @@ CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_CMD_MTDPARTS=y
 CONFIG_ISO_PARTITION=y
 CONFIG_OF_CONTROL=y
 CONFIG_OF_LIST="am437x-gp-evm am437x-sk-evm am43x-epos-evm am437x-idk-evm"
diff --git a/configs/am43xx_evm_ethboot_defconfig b/configs/am43xx_evm_ethboot_defconfig
index 6df60e83de..dfac27b929 100644
--- a/configs/am43xx_evm_ethboot_defconfig
+++ b/configs/am43xx_evm_ethboot_defconfig
@@ -35,6 +35,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_ISO_PARTITION=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
diff --git a/configs/am43xx_evm_usbhost_boot_defconfig b/configs/am43xx_evm_usbhost_boot_defconfig
index 2006957638..8fa6d91b43 100644
--- a/configs/am43xx_evm_usbhost_boot_defconfig
+++ b/configs/am43xx_evm_usbhost_boot_defconfig
@@ -39,6 +39,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_ISO_PARTITION=y
 CONFIG_OF_CONTROL=y
 CONFIG_OF_LIST="am437x-gp-evm am437x-sk-evm am43x-epos-evm am437x-idk-evm"
diff --git a/configs/am43xx_hs_evm_defconfig b/configs/am43xx_hs_evm_defconfig
index fb4bb037dd..170c6f73e1 100644
--- a/configs/am43xx_hs_evm_defconfig
+++ b/configs/am43xx_hs_evm_defconfig
@@ -27,6 +27,7 @@ CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_CMD_MTDPARTS=y
 CONFIG_ISO_PARTITION=y
 CONFIG_OF_CONTROL=y
 CONFIG_OF_LIST="am437x-gp-evm am437x-sk-evm am43x-epos-evm am437x-idk-evm"
diff --git a/configs/ap121_defconfig b/configs/ap121_defconfig
index 3e1f0587a1..bd3d0da219 100644
--- a/configs/ap121_defconfig
+++ b/configs/ap121_defconfig
@@ -22,6 +22,7 @@ CONFIG_CMD_SPI=y
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_MTDPARTS=y
 # CONFIG_ISO_PARTITION is not set
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM_SPI_FLASH=y
diff --git a/configs/ap143_defconfig b/configs/ap143_defconfig
index 58eb77b5a2..3d856e99b5 100644
--- a/configs/ap143_defconfig
+++ b/configs/ap143_defconfig
@@ -23,6 +23,7 @@ CONFIG_CMD_SPI=y
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_NET is not set
 # CONFIG_CMD_NFS is not set
+CONFIG_CMD_MTDPARTS=y
 # CONFIG_ISO_PARTITION is not set
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
diff --git a/configs/at91sam9n12ek_mmc_defconfig b/configs/at91sam9n12ek_mmc_defconfig
index f323ce8686..8edd83ff84 100644
--- a/configs/at91sam9n12ek_mmc_defconfig
+++ b/configs/at91sam9n12ek_mmc_defconfig
@@ -22,6 +22,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
 CONFIG_CLK=y
diff --git a/configs/at91sam9n12ek_nandflash_defconfig b/configs/at91sam9n12ek_nandflash_defconfig
index 08887c4cfe..a1d6fd7e54 100644
--- a/configs/at91sam9n12ek_nandflash_defconfig
+++ b/configs/at91sam9n12ek_nandflash_defconfig
@@ -22,6 +22,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
 CONFIG_CLK=y
diff --git a/configs/at91sam9n12ek_spiflash_defconfig b/configs/at91sam9n12ek_spiflash_defconfig
index 8b8229b2cb..ef3f6d2a03 100644
--- a/configs/at91sam9n12ek_spiflash_defconfig
+++ b/configs/at91sam9n12ek_spiflash_defconfig
@@ -22,6 +22,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
 CONFIG_CLK=y
diff --git a/configs/brppt1_nand_defconfig b/configs/brppt1_nand_defconfig
index ba03758b3c..83637d44e9 100644
--- a/configs/brppt1_nand_defconfig
+++ b/configs/brppt1_nand_defconfig
@@ -48,6 +48,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_NETCONSOLE=y
 # CONFIG_MMC is not set
 CONFIG_SYS_NS16550=y
diff --git a/configs/brppt1_spi_defconfig b/configs/brppt1_spi_defconfig
index 66e086db68..0162e5c4eb 100644
--- a/configs/brppt1_spi_defconfig
+++ b/configs/brppt1_spi_defconfig
@@ -53,6 +53,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_NETCONSOLE=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH=y
diff --git a/configs/cairo_defconfig b/configs/cairo_defconfig
index 6b10abb690..f6caae0280 100644
--- a/configs/cairo_defconfig
+++ b/configs/cairo_defconfig
@@ -29,6 +29,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_ISO_PARTITION=y
 CONFIG_EFI_PARTITION=y
 CONFIG_MMC_OMAP_HS=y
diff --git a/configs/chiliboard_defconfig b/configs/chiliboard_defconfig
index 82b527641d..2d37865c8f 100644
--- a/configs/chiliboard_defconfig
+++ b/configs/chiliboard_defconfig
@@ -35,6 +35,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_DM_GPIO=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
diff --git a/configs/cm_fx6_defconfig b/configs/cm_fx6_defconfig
index 26b4f8abc1..7cc7273ccd 100644
--- a/configs/cm_fx6_defconfig
+++ b/configs/cm_fx6_defconfig
@@ -46,6 +46,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_ATMEL=y
 CONFIG_SPI_FLASH_EON=y
diff --git a/configs/cm_t335_defconfig b/configs/cm_t335_defconfig
index be0536a272..f6e8689945 100644
--- a/configs/cm_t335_defconfig
+++ b/configs/cm_t335_defconfig
@@ -40,6 +40,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_ISO_PARTITION=y
 CONFIG_EFI_PARTITION=y
 CONFIG_LED_STATUS=y
diff --git a/configs/cm_t3517_defconfig b/configs/cm_t3517_defconfig
index dbe34eb59e..95118a7095 100644
--- a/configs/cm_t3517_defconfig
+++ b/configs/cm_t3517_defconfig
@@ -25,6 +25,7 @@ CONFIG_CMD_BMP=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_LED_STATUS=y
 CONFIG_LED_STATUS_GPIO=y
 CONFIG_LED_STATUS0=y
diff --git a/configs/cm_t35_defconfig b/configs/cm_t35_defconfig
index 50f6c6498c..adb91d4c8b 100644
--- a/configs/cm_t35_defconfig
+++ b/configs/cm_t35_defconfig
@@ -27,6 +27,7 @@ CONFIG_CMD_BMP=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_LED_STATUS=y
 CONFIG_LED_STATUS_GPIO=y
 CONFIG_LED_STATUS0=y
diff --git a/configs/cm_t43_defconfig b/configs/cm_t43_defconfig
index c652c4fa1e..dc36948b99 100644
--- a/configs/cm_t43_defconfig
+++ b/configs/cm_t43_defconfig
@@ -47,6 +47,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_ISO_PARTITION=y
 CONFIG_DM=y
 CONFIG_DM_GPIO=y
diff --git a/configs/corvus_defconfig b/configs/corvus_defconfig
index ac5eefd0d8..450c431b94 100644
--- a/configs/corvus_defconfig
+++ b/configs/corvus_defconfig
@@ -30,6 +30,7 @@ CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_CLK=y
diff --git a/configs/devkit8000_defconfig b/configs/devkit8000_defconfig
index f5871909ce..d2c2010d55 100644
--- a/configs/devkit8000_defconfig
+++ b/configs/devkit8000_defconfig
@@ -20,6 +20,7 @@ CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_JFFS2=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_ISO_PARTITION=y
 CONFIG_EFI_PARTITION=y
 CONFIG_MMC_OMAP_HS=y
diff --git a/configs/flea3_defconfig b/configs/flea3_defconfig
index 8a64386319..0b76e114d8 100644
--- a/configs/flea3_defconfig
+++ b/configs/flea3_defconfig
@@ -14,6 +14,7 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
+CONFIG_CMD_MTDPARTS=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_OF_LIBFDT=y
diff --git a/configs/imx6q_logic_defconfig b/configs/imx6q_logic_defconfig
index 503b14c3e2..745d3bcdaa 100644
--- a/configs/imx6q_logic_defconfig
+++ b/configs/imx6q_logic_defconfig
@@ -27,6 +27,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_CMD_MTDPARTS=y
 # CONFIG_BLK is not set
 CONFIG_SYS_I2C_MXC=y
 # CONFIG_DM_MMC_OPS is not set
diff --git a/configs/k2e_evm_defconfig b/configs/k2e_evm_defconfig
index dccaa09e67..4949f22c01 100644
--- a/configs/k2e_evm_defconfig
+++ b/configs/k2e_evm_defconfig
@@ -11,6 +11,8 @@ CONFIG_SPL_SPI_SUPPORT=y
 CONFIG_DEFAULT_DEVICE_TREE="keystone-k2e-evm"
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
+CONFIG_DTB_RESELECT=y
+CONFIG_FIT_EMBED=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL=y
@@ -43,6 +45,3 @@ CONFIG_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
-CONFIG_DTB_RESELECT=y
-CONFIG_FIT_EMBED=y
-CONFIG_OF_LIST="keystone-k2e-evm"
diff --git a/configs/k2g_evm_defconfig b/configs/k2g_evm_defconfig
index a43d7fc779..1eed60576c 100644
--- a/configs/k2g_evm_defconfig
+++ b/configs/k2g_evm_defconfig
@@ -11,6 +11,8 @@ CONFIG_SPL_SPI_SUPPORT=y
 CONFIG_DEFAULT_DEVICE_TREE="keystone-k2g-evm"
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
+CONFIG_DTB_RESELECT=y
+CONFIG_FIT_EMBED=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL=y
@@ -27,6 +29,7 @@ CONFIG_CMD_UBI=y
 CONFIG_ISO_PARTITION=y
 CONFIG_EFI_PARTITION=y
 CONFIG_OF_CONTROL=y
+CONFIG_OF_LIST="keystone-k2g-generic keystone-k2g-evm keystone-k2g-ice"
 CONFIG_DM=y
 # CONFIG_BLK is not set
 CONFIG_DM_MMC=y
@@ -45,6 +48,3 @@ CONFIG_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
-CONFIG_DTB_RESELECT=y
-CONFIG_FIT_EMBED=y
-CONFIG_OF_LIST="keystone-k2g-generic keystone-k2g-evm keystone-k2g-ice"
diff --git a/configs/k2hk_evm_defconfig b/configs/k2hk_evm_defconfig
index e0c266a77c..b9868395a4 100644
--- a/configs/k2hk_evm_defconfig
+++ b/configs/k2hk_evm_defconfig
@@ -11,6 +11,8 @@ CONFIG_SPL_SPI_SUPPORT=y
 CONFIG_DEFAULT_DEVICE_TREE="keystone-k2hk-evm"
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
+CONFIG_DTB_RESELECT=y
+CONFIG_FIT_EMBED=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL=y
@@ -43,6 +45,3 @@ CONFIG_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
-CONFIG_DTB_RESELECT=y
-CONFIG_FIT_EMBED=y
-CONFIG_OF_LIST="keystone-k2hk-evm"
diff --git a/configs/k2l_evm_defconfig b/configs/k2l_evm_defconfig
index 568e8dda67..64301c3bff 100644
--- a/configs/k2l_evm_defconfig
+++ b/configs/k2l_evm_defconfig
@@ -11,6 +11,8 @@ CONFIG_SPL_SPI_SUPPORT=y
 CONFIG_DEFAULT_DEVICE_TREE="keystone-k2l-evm"
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
+CONFIG_DTB_RESELECT=y
+CONFIG_FIT_EMBED=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL=y
@@ -43,6 +45,3 @@ CONFIG_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_STORAGE=y
-CONFIG_DTB_RESELECT=y
-CONFIG_FIT_EMBED=y
-CONFIG_OF_LIST="keystone-k2l-evm"
diff --git a/configs/mccmon6_nor_defconfig b/configs/mccmon6_nor_defconfig
index acc43ad94a..b0f2692233 100644
--- a/configs/mccmon6_nor_defconfig
+++ b/configs/mccmon6_nor_defconfig
@@ -27,6 +27,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_DM=y
 CONFIG_MTD=y
 CONFIG_MTD_NOR_FLASH=y
diff --git a/configs/mccmon6_sd_defconfig b/configs/mccmon6_sd_defconfig
index 61c436e22c..dcda48a547 100644
--- a/configs/mccmon6_sd_defconfig
+++ b/configs/mccmon6_sd_defconfig
@@ -28,6 +28,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_DM=y
 CONFIG_MTD=y
 CONFIG_MTD_NOR_FLASH=y
diff --git a/configs/mx35pdk_defconfig b/configs/mx35pdk_defconfig
index 0da348adff..324a4dbb5e 100644
--- a/configs/mx35pdk_defconfig
+++ b/configs/mx35pdk_defconfig
@@ -17,6 +17,7 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_EFI_PARTITION=y
 # CONFIG_PARTITION_UUIDS is not set
 CONFIG_MTD_NOR_FLASH=y
diff --git a/configs/omap3_beagle_defconfig b/configs/omap3_beagle_defconfig
index 3e4dee747b..fbffc3c33e 100644
--- a/configs/omap3_beagle_defconfig
+++ b/configs/omap3_beagle_defconfig
@@ -18,6 +18,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT4_WRITE=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_LED_STATUS=y
 CONFIG_LED_STATUS0=y
 CONFIG_LED_STATUS_BIT=1
diff --git a/configs/omap3_ha_defconfig b/configs/omap3_ha_defconfig
index fa09a53fa8..6569d3b097 100644
--- a/configs/omap3_ha_defconfig
+++ b/configs/omap3_ha_defconfig
@@ -20,6 +20,7 @@ CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
diff --git a/configs/omap3_zoom1_defconfig b/configs/omap3_zoom1_defconfig
index a76ac6f2d8..ecf7a3687b 100644
--- a/configs/omap3_zoom1_defconfig
+++ b/configs/omap3_zoom1_defconfig
@@ -25,6 +25,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_ISO_PARTITION=y
 CONFIG_EFI_PARTITION=y
 CONFIG_MMC_OMAP_HS=y
diff --git a/configs/pengwyn_defconfig b/configs/pengwyn_defconfig
index 973f3cd53b..6b30c7ad78 100644
--- a/configs/pengwyn_defconfig
+++ b/configs/pengwyn_defconfig
@@ -46,6 +46,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_CMD_DIAG=y
 CONFIG_ISO_PARTITION=y
 CONFIG_EFI_PARTITION=y
diff --git a/configs/smartweb_defconfig b/configs/smartweb_defconfig
index a769fc5535..d16653fa7e 100644
--- a/configs/smartweb_defconfig
+++ b/configs/smartweb_defconfig
@@ -31,6 +31,7 @@ CONFIG_CMD_DFU=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 # CONFIG_DOS_PARTITION is not set
 CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
diff --git a/configs/smdkc100_defconfig b/configs/smdkc100_defconfig
index edaf73a72c..a1eca8694d 100644
--- a/configs/smdkc100_defconfig
+++ b/configs/smdkc100_defconfig
@@ -11,4 +11,5 @@ CONFIG_SYS_PROMPT="SMDKC100 # "
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 # CONFIG_MMC is not set
diff --git a/configs/tao3530_defconfig b/configs/tao3530_defconfig
index 93714d13c5..bad954da3e 100644
--- a/configs/tao3530_defconfig
+++ b/configs/tao3530_defconfig
@@ -20,6 +20,7 @@ CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
diff --git a/configs/taurus_defconfig b/configs/taurus_defconfig
index 70d44a760b..cd7031f1d2 100644
--- a/configs/taurus_defconfig
+++ b/configs/taurus_defconfig
@@ -34,6 +34,7 @@ CONFIG_CMD_DFU=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_MTDPARTS=y
 # CONFIG_DOS_PARTITION is not set
 CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
diff --git a/configs/ti816x_evm_defconfig b/configs/ti816x_evm_defconfig
index 2ae72b2f77..481dcc6b7e 100644
--- a/configs/ti816x_evm_defconfig
+++ b/configs/ti816x_evm_defconfig
@@ -30,17 +30,13 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_EXT4_WRITE=y
+CONFIG_CMD_MTDPARTS=y
 # CONFIG_ISO_PARTITION is not set
 # CONFIG_EFI_PARTITION is not set
 CONFIG_OF_CONTROL=y
 CONFIG_DM=y
 CONFIG_DM_GPIO=y
 CONFIG_DM_I2C=y
-CONFIG_CMD_DHCP=y
-CONFIG_CMD_MII=y
-CONFIG_CMD_PING=y
-CONFIG_CMD_EXT2=y
-CONFIG_CMD_FAT=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 # CONFIG_USE_PRIVATE_LIBGCC is not set
diff --git a/configs/woodburn_defconfig b/configs/woodburn_defconfig
index 53a97078b3..6c01f75a7d 100644
--- a/configs/woodburn_defconfig
+++ b/configs/woodburn_defconfig
@@ -17,6 +17,7 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_EFI_PARTITION=y
 # CONFIG_PARTITION_UUIDS is not set
 CONFIG_MTD_NOR_FLASH=y
diff --git a/configs/woodburn_sd_defconfig b/configs/woodburn_sd_defconfig
index 22172c57b3..8d1a1f1480 100644
--- a/configs/woodburn_sd_defconfig
+++ b/configs/woodburn_sd_defconfig
@@ -27,6 +27,7 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_MTDPARTS=y
 CONFIG_EFI_PARTITION=y
 # CONFIG_PARTITION_UUIDS is not set
 # CONFIG_SPL_PARTITION_UUIDS is not set
diff --git a/drivers/mtd/ubi/Kconfig b/drivers/mtd/ubi/Kconfig
index cb9ba78681..372a706687 100644
--- a/drivers/mtd/ubi/Kconfig
+++ b/drivers/mtd/ubi/Kconfig
@@ -4,6 +4,7 @@ config MTD_UBI
 	bool "Enable UBI - Unsorted block images"
 	select CRC32
 	select RBTREE if ARCH_SUNXI
+	imply CMD_MTDPARTS
 	help
 	  UBI is a software layer above MTD layer which admits of LVM-like
 	  logical volumes on top of MTD devices, hides some complexities of
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index 9106bf5e88..3b350e0343 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_MTDPARTS	/* mtd parts support		*/
 #define CONFIG_CMD_NAND		/* NAND support			*/
 #define CONFIG_CMD_ONENAND	/* OneNAND support		*/
 #define CONFIG_CMD_PCI		/* pciinfo			*/
diff --git a/include/configs/BSC9131RDB.h b/include/configs/BSC9131RDB.h
index 59b2252e6f..9c0e4659f9 100644
--- a/include/configs/BSC9131RDB.h
+++ b/include/configs/BSC9131RDB.h
@@ -336,7 +336,6 @@ extern unsigned long get_sdram_size(void);
  */
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
-#define CONFIG_CMD_MTDPARTS
 #define MTDIDS_DEFAULT "nand0=ff800000.flash,"
 #define MTDPARTS_DEFAULT "mtdparts=ff800000.flash:1m(uboot)," \
 			"8m(kernel),512k(dtb),-(fs)"
diff --git a/include/configs/BSC9132QDS.h b/include/configs/BSC9132QDS.h
index 407e499de1..5491c47a77 100644
--- a/include/configs/BSC9132QDS.h
+++ b/include/configs/BSC9132QDS.h
@@ -558,7 +558,6 @@ combinations. this should be removed later
 #ifdef CONFIG_MTD_NOR_FLASH
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_FLASH_CFI_MTD
 #define MTDIDS_DEFAULT "nor0=88000000.nor,nand0=ff800000.flash,"
 #define MTDPARTS_DEFAULT "mtdparts=88000000.nor:256k(dtb),7m(kernel)," \
diff --git a/include/configs/M54418TWR.h b/include/configs/M54418TWR.h
index f4d970d0d8..09e21a8359 100644
--- a/include/configs/M54418TWR.h
+++ b/include/configs/M54418TWR.h
@@ -325,7 +325,6 @@
 #ifdef CONFIG_CMD_JFFS2
 #define CONFIG_JFFS2_DEV		"nand0"
 #define CONFIG_JFFS2_PART_OFFSET	(0x800000)
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_MTD_DEVICE
 #define MTDIDS_DEFAULT		"nand0=m54418twr.nand"
 
@@ -336,7 +335,6 @@
 #endif
 
 #ifdef CONFIG_CMD_UBI
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_MTD_DEVICE	/* needed for mtdparts command */
 #define CONFIG_MTD_PARTITIONS	/* mtdparts and UBI support */
 #define CONFIG_RBTREE
diff --git a/include/configs/MPC8313ERDB.h b/include/configs/MPC8313ERDB.h
index 38a4a6220b..7494b3d0b2 100644
--- a/include/configs/MPC8313ERDB.h
+++ b/include/configs/MPC8313ERDB.h
@@ -259,7 +259,6 @@
 
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITION
-#define CONFIG_CMD_MTDPARTS
 #define MTDIDS_DEFAULT			"nand0=e2800000.flash"
 #define MTDPARTS_DEFAULT		\
 	"mtdparts=e2800000.flash:512k(uboot),128k(env),6m at 1m(kernel),-(fs)"
diff --git a/include/configs/MPC8315ERDB.h b/include/configs/MPC8315ERDB.h
index 522f12ceec..8799a9eb27 100644
--- a/include/configs/MPC8315ERDB.h
+++ b/include/configs/MPC8315ERDB.h
@@ -235,7 +235,6 @@
 
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITION
-#define CONFIG_CMD_MTDPARTS
 #define MTDIDS_DEFAULT			"nand0=e0600000.flash"
 #define MTDPARTS_DEFAULT		\
 	"mtdparts=e0600000.flash:512k(uboot),128k(env),6m at 1m(kernel),-(fs)"
diff --git a/include/configs/P1010RDB.h b/include/configs/P1010RDB.h
index 0dc062a094..a249fa6ef2 100644
--- a/include/configs/P1010RDB.h
+++ b/include/configs/P1010RDB.h
@@ -354,7 +354,6 @@ extern unsigned long get_sdram_size(void);
 
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITION
-#define CONFIG_CMD_MTDPARTS
 #define MTDIDS_DEFAULT			"nand0=ff800000.flash"
 #define MTDPARTS_DEFAULT		\
 	"mtdparts=ff800000.flash:2m(uboot-env),1m(dtb),5m(kernel),56m(fs),-(usr)"
diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h
index 2ee6c6442f..132f335dfd 100644
--- a/include/configs/P1022DS.h
+++ b/include/configs/P1022DS.h
@@ -534,7 +534,6 @@
  */
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_FLASH_CFI_MTD
 #ifdef CONFIG_PHYS_64BIT
 #define MTDIDS_DEFAULT "nor0=fe8000000.nor"
diff --git a/include/configs/T102xQDS.h b/include/configs/T102xQDS.h
index 2e3a8c1184..cbd92d92f6 100644
--- a/include/configs/T102xQDS.h
+++ b/include/configs/T102xQDS.h
@@ -758,7 +758,6 @@ unsigned long get_board_ddr_clk(void);
 #ifdef CONFIG_MTD_NOR_FLASH
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_FLASH_CFI_MTD
 #define MTDIDS_DEFAULT    "nor0=fe8000000.nor,nand0=fff800000.flash," \
 			  "spi0=spife110000.0"
diff --git a/include/configs/T102xRDB.h b/include/configs/T102xRDB.h
index 025e7de8d0..58c93788d7 100644
--- a/include/configs/T102xRDB.h
+++ b/include/configs/T102xRDB.h
@@ -770,7 +770,6 @@ unsigned long get_board_ddr_clk(void);
 #ifdef CONFIG_MTD_NOR_FLASH
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_FLASH_CFI_MTD
 #define MTDIDS_DEFAULT "nor0=fe8000000.nor,nand0=fff800000.flash," \
 			"spi0=spife110000.1"
diff --git a/include/configs/T1040QDS.h b/include/configs/T1040QDS.h
index 86f7880ff1..4e42450da0 100644
--- a/include/configs/T1040QDS.h
+++ b/include/configs/T1040QDS.h
@@ -637,7 +637,6 @@ unsigned long get_board_ddr_clk(void);
 #ifdef CONFIG_MTD_NOR_FLASH
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_FLASH_CFI_MTD
 #define MTDIDS_DEFAULT "nor0=fe8000000.nor,nand0=fff800000.flash," \
 			"spi0=spife110000.0"
diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h
index 350dacaa38..69cbee0dfa 100644
--- a/include/configs/T104xRDB.h
+++ b/include/configs/T104xRDB.h
@@ -810,7 +810,6 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg
 #ifdef CONFIG_MTD_NOR_FLASH
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_FLASH_CFI_MTD
 #define MTDIDS_DEFAULT "nor0=fe8000000.nor,nand0=fff800000.flash," \
 			"spi0=spife110000.0"
diff --git a/include/configs/T208xQDS.h b/include/configs/T208xQDS.h
index 9edf19081c..4fce859073 100644
--- a/include/configs/T208xQDS.h
+++ b/include/configs/T208xQDS.h
@@ -724,7 +724,6 @@ unsigned long get_board_ddr_clk(void);
 #ifdef CONFIG_MTD_NOR_FLASH
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_FLASH_CFI_MTD
 #define MTDIDS_DEFAULT "nor0=fe8000000.nor,nand0=fff800000.flash," \
 			"spi0=spife110000.0"
diff --git a/include/configs/T208xRDB.h b/include/configs/T208xRDB.h
index 0e70aa83ea..0857bc8f17 100644
--- a/include/configs/T208xRDB.h
+++ b/include/configs/T208xRDB.h
@@ -672,7 +672,6 @@ unsigned long get_board_ddr_clk(void);
 #ifdef CONFIG_MTD_NOR_FLASH
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_FLASH_CFI_MTD
 #define MTDIDS_DEFAULT "nor0=fe8000000.nor,nand0=fff800000.flash," \
 			"spi0=spife110000.1"
diff --git a/include/configs/TQM834x.h b/include/configs/TQM834x.h
index a79dabef61..c7c31cf3b8 100644
--- a/include/configs/TQM834x.h
+++ b/include/configs/TQM834x.h
@@ -520,7 +520,6 @@
  * JFFS2 partitions
  */
 /* mtdparts command line support */
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_MTD_DEVICE		/* needed for mtdparts commands */
 #define CONFIG_FLASH_CFI_MTD
 #define MTDIDS_DEFAULT		"nor0=TQM834x-0"
diff --git a/include/configs/am3517_evm.h b/include/configs/am3517_evm.h
index 829dd3ecb9..55f546354a 100644
--- a/include/configs/am3517_evm.h
+++ b/include/configs/am3517_evm.h
@@ -89,7 +89,6 @@
 
 /* commands to include */
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_MTDPARTS
 
 /* I2C */
 #define CONFIG_SYS_I2C
diff --git a/include/configs/ap121.h b/include/configs/ap121.h
index 2284b8bc66..18da34851e 100644
--- a/include/configs/ap121.h
+++ b/include/configs/ap121.h
@@ -49,7 +49,6 @@
 /*
  * Command
  */
-#define CONFIG_CMD_MTDPARTS
 
 /* Miscellaneous configurable options */
 #define CONFIG_SYS_CBSIZE               256
diff --git a/include/configs/ap143.h b/include/configs/ap143.h
index 2950783097..fa64845611 100644
--- a/include/configs/ap143.h
+++ b/include/configs/ap143.h
@@ -53,7 +53,6 @@
 /*
  * Command
  */
-#define CONFIG_CMD_MTDPARTS
 
 /* Miscellaneous configurable options */
 #define CONFIG_SYS_CBSIZE               256
diff --git a/include/configs/apf27.h b/include/configs/apf27.h
index 073f3b4fef..ebae4deeb4 100644
--- a/include/configs/apf27.h
+++ b/include/configs/apf27.h
@@ -54,7 +54,6 @@
 /*
  * U-Boot Commands
  */
-#define CONFIG_CMD_MTDPARTS	/* MTD partition support	*/
 #define CONFIG_CMD_NAND		/* NAND support			*/
 #define CONFIG_CMD_NAND_LOCK_UNLOCK
 #define CONFIG_CMD_NAND_TRIMFFS
diff --git a/include/configs/apx4devkit.h b/include/configs/apx4devkit.h
index cce39f27c7..63ad5e7973 100644
--- a/include/configs/apx4devkit.h
+++ b/include/configs/apx4devkit.h
@@ -53,7 +53,6 @@
 /* UBI and NAND partitioning */
 #ifdef CONFIG_CMD_NAND
 #define CONFIG_CMD_UBIFS
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_RBTREE
 #define CONFIG_LZO
 #define CONFIG_MTD_DEVICE
diff --git a/include/configs/aristainetos-common.h b/include/configs/aristainetos-common.h
index 7360e11ff1..f8ebfd8153 100644
--- a/include/configs/aristainetos-common.h
+++ b/include/configs/aristainetos-common.h
@@ -209,7 +209,6 @@
 
 /* UBI support */
 #define CONFIG_LZO
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_MTD_PARTITIONS
 #define CONFIG_MTD_DEVICE
 #define CONFIG_RBTREE
diff --git a/include/configs/at91sam9n12ek.h b/include/configs/at91sam9n12ek.h
index 50ddbd6475..5b3a4591fd 100644
--- a/include/configs/at91sam9n12ek.h
+++ b/include/configs/at91sam9n12ek.h
@@ -90,7 +90,6 @@
 
 #define CONFIG_MTD_PARTITIONS
 #define CONFIG_MTD_DEVICE
-#define CONFIG_CMD_MTDPARTS
 #define MTDIDS_DEFAULT			"nand0=atmel_nand"
 #define MTDPARTS_DEFAULT						\
 	"mtdparts=atmel_nand:256k(bootstrap)ro,512k(uboot)ro,"		\
diff --git a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h
index fd2dbed137..bfbb9453b8 100644
--- a/include/configs/at91sam9x5ek.h
+++ b/include/configs/at91sam9x5ek.h
@@ -90,7 +90,6 @@
 #define CONFIG_CMD_NAND_TRIMFFS
 
 #define CONFIG_MTD_DEVICE
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_MTD_PARTITIONS
 #define CONFIG_RBTREE
 #define CONFIG_LZO
diff --git a/include/configs/baltos.h b/include/configs/baltos.h
index fe4ac05f38..b58030663d 100644
--- a/include/configs/baltos.h
+++ b/include/configs/baltos.h
@@ -35,7 +35,6 @@
 #define CONFIG_SYS_BOOTM_LEN         SZ_64M
 
 /* UBI Support */
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_MTD_PARTITIONS
 #define CONFIG_MTD_DEVICE
 #define CONFIG_RBTREE
diff --git a/include/configs/brppt1.h b/include/configs/brppt1.h
index 07e743ac81..e35ea0ea4a 100644
--- a/include/configs/brppt1.h
+++ b/include/configs/brppt1.h
@@ -54,7 +54,6 @@
  */
 #if defined(CONFIG_SPI_BOOT) || defined(CONFIG_NAND)
 #define CONFIG_MTD_DEVICE		/* Required for mtdparts */
-#define CONFIG_CMD_MTDPARTS
 #endif /* CONFIG_SPI_BOOT, ... */
 
 #ifdef CONFIG_SPL_OS_BOOT
diff --git a/include/configs/cm_fx6.h b/include/configs/cm_fx6.h
index 1d9c1650d5..062b3188e6 100644
--- a/include/configs/cm_fx6.h
+++ b/include/configs/cm_fx6.h
@@ -18,7 +18,6 @@
 #define CONFIG_MACH_TYPE		4273
 
 /* CMD */
-#define CONFIG_CMD_MTDPARTS
 
 /* MMC */
 #define CONFIG_SYS_FSL_USDHC_NUM	3
diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h
index ee7c9de969..5f92308682 100644
--- a/include/configs/cm_t35.h
+++ b/include/configs/cm_t35.h
@@ -83,7 +83,6 @@
 #define CONFIG_USB_TTY
 
 /* commands to include */
-#define CONFIG_CMD_MTDPARTS	/* Enable MTD parts commands */
 #define CONFIG_MTD_DEVICE	/* needed for mtdparts commands */
 #define CONFIG_MTD_PARTITIONS
 #define MTDIDS_DEFAULT		"nand0=nand"
diff --git a/include/configs/cm_t3517.h b/include/configs/cm_t3517.h
index dd78b0c7e8..346608d8e3 100644
--- a/include/configs/cm_t3517.h
+++ b/include/configs/cm_t3517.h
@@ -91,7 +91,6 @@
 #endif /* CONFIG_USB_MUSB_AM35X */
 
 /* commands to include */
-#define CONFIG_CMD_MTDPARTS	/* Enable MTD parts commands */
 #define CONFIG_MTD_DEVICE	/* needed for mtdparts commands */
 #define CONFIG_MTD_PARTITIONS
 #define MTDIDS_DEFAULT		"nand0=nand"
diff --git a/include/configs/colibri_imx7.h b/include/configs/colibri_imx7.h
index 3388a95ed3..a58aacf664 100644
--- a/include/configs/colibri_imx7.h
+++ b/include/configs/colibri_imx7.h
@@ -178,7 +178,6 @@
 #define CONFIG_CMD_UBIFS	/* increases size by almost 60 KB */
 
 /* Dynamic MTD partition support */
-#define CONFIG_CMD_MTDPARTS	/* Enable 'mtdparts' command line support */
 #define CONFIG_MTD_PARTITIONS
 #define CONFIG_MTD_DEVICE	/* needed for mtdparts commands */
 #define MTDIDS_DEFAULT		"nand0=gpmi-nand"
diff --git a/include/configs/colibri_t20.h b/include/configs/colibri_t20.h
index 7355f78fcf..b0fec6940d 100644
--- a/include/configs/colibri_t20.h
+++ b/include/configs/colibri_t20.h
@@ -46,7 +46,6 @@
 #define CONFIG_SYS_MAX_NAND_DEVICE	1
 
 /* Dynamic MTD partition support */
-#define CONFIG_CMD_MTDPARTS	/* Enable 'mtdparts' command line support */
 #define CONFIG_MTD_PARTITIONS
 #define CONFIG_MTD_DEVICE	/* needed for mtdparts commands */
 #define MTDIDS_DEFAULT		"nand0=tegra_nand"
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h
index 6e8cd914b3..810b92bd93 100644
--- a/include/configs/colibri_vf.h
+++ b/include/configs/colibri_vf.h
@@ -49,7 +49,6 @@
 #define CONFIG_SYS_NAND_BASE		NFC_BASE_ADDR
 
 /* Dynamic MTD partition support */
-#define CONFIG_CMD_MTDPARTS	/* Enable 'mtdparts' command line support */
 #define CONFIG_MTD_PARTITIONS
 #define CONFIG_MTD_DEVICE	/* needed for mtdparts commands */
 #define MTDIDS_DEFAULT		"nand0=vf610_nfc"
diff --git a/include/configs/corvus.h b/include/configs/corvus.h
index 8b8b1220b4..ea5da9119b 100644
--- a/include/configs/corvus.h
+++ b/include/configs/corvus.h
@@ -98,7 +98,6 @@
 #define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS	2
 
 /* USB DFU support */
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
 
diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
index b7199bb9e0..1bb38651d2 100644
--- a/include/configs/da850evm.h
+++ b/include/configs/da850evm.h
@@ -284,7 +284,6 @@
 #ifdef CONFIG_USE_NAND
 #define CONFIG_CMD_NAND
 
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
 #define CONFIG_LZO
diff --git a/include/configs/dockstar.h b/include/configs/dockstar.h
index 3b56fd6739..ec0f9e6c98 100644
--- a/include/configs/dockstar.h
+++ b/include/configs/dockstar.h
@@ -83,7 +83,6 @@
 #define CONFIG_RBTREE
 #define CONFIG_MTD_DEVICE               /* needed for mtdparts commands */
 #define CONFIG_MTD_PARTITIONS
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_LZO
 
 #endif /* _CONFIG_DOCKSTAR_H */
diff --git a/include/configs/ea20.h b/include/configs/ea20.h
index 6fc6ec90af..0b8464c044 100644
--- a/include/configs/ea20.h
+++ b/include/configs/ea20.h
@@ -140,7 +140,6 @@
 #ifdef CONFIG_SYS_USE_NAND
 #define CONFIG_CMD_NAND
 
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
 #define CONFIG_LZO
diff --git a/include/configs/ethernut5.h b/include/configs/ethernut5.h
index e7f7a7cbe6..9da3432284 100644
--- a/include/configs/ethernut5.h
+++ b/include/configs/ethernut5.h
@@ -84,7 +84,6 @@
 #define CONFIG_AT91_GPIO
 
 /* Command line configuration */
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_CMD_NAND
 
 #ifndef MINIMAL_LOADER
diff --git a/include/configs/exynos4-common.h b/include/configs/exynos4-common.h
index 787c6de3ae..c995f35b73 100644
--- a/include/configs/exynos4-common.h
+++ b/include/configs/exynos4-common.h
@@ -21,7 +21,6 @@
 #define CONFIG_MMC_DEFAULT_DEV	0
 
 #undef CONFIG_CMD_ONENAND
-#undef CONFIG_CMD_MTDPARTS
 
 /* TIZEN THOR downloader support */
 #define CONFIG_CMD_THOR_DOWNLOAD
diff --git a/include/configs/flea3.h b/include/configs/flea3.h
index 0ab33953ac..976730cdd3 100644
--- a/include/configs/flea3.h
+++ b/include/configs/flea3.h
@@ -122,7 +122,6 @@
 /*
  * MTD Command for mtdparts
  */
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_MTD_DEVICE
 #define CONFIG_FLASH_CFI_MTD
 #define CONFIG_MTD_PARTITIONS
diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h
index de08f2c7cc..ad8a53c264 100644
--- a/include/configs/gw_ventana.h
+++ b/include/configs/gw_ventana.h
@@ -205,7 +205,6 @@
  * MTD Command for mtdparts
  */
 #define CONFIG_LZO
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
 #ifdef CONFIG_SPI_FLASH
diff --git a/include/configs/iconnect.h b/include/configs/iconnect.h
index 63e50606d7..f922bd12cc 100644
--- a/include/configs/iconnect.h
+++ b/include/configs/iconnect.h
@@ -90,6 +90,5 @@
 #define CONFIG_RBTREE
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
-#define CONFIG_CMD_MTDPARTS
 
 #endif /* _CONFIG_ICONNECT_H */
diff --git a/include/configs/ids8313.h b/include/configs/ids8313.h
index 7bedcb94d7..a164155284 100644
--- a/include/configs/ids8313.h
+++ b/include/configs/ids8313.h
@@ -476,7 +476,6 @@
 #define CONFIG_JFFS2_DEV		"0"
 
 /* mtdparts command line support */
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_FLASH_CFI_MTD
 #define CONFIG_MTD_DEVICE
 #define MTDIDS_DEFAULT		"nor0=ff800000.flash,nand0=e1000000.flash"
diff --git a/include/configs/imx27lite-common.h b/include/configs/imx27lite-common.h
index 18d8d2fd3d..bc23fd00ac 100644
--- a/include/configs/imx27lite-common.h
+++ b/include/configs/imx27lite-common.h
@@ -141,7 +141,6 @@
 /*
  * MTD partitions
  */
-#define CONFIG_CMD_MTDPARTS
 
 /*
  * U-Boot general configuration
diff --git a/include/configs/imx31_phycore.h b/include/configs/imx31_phycore.h
index 739af03e88..aa5698963d 100644
--- a/include/configs/imx31_phycore.h
+++ b/include/configs/imx31_phycore.h
@@ -161,7 +161,6 @@
 /*
  * JFFS2 partitions
  */
-#undef CONFIG_CMD_MTDPARTS
 #define CONFIG_JFFS2_DEV	"nor0"
 
 /* EET platform additions */
diff --git a/include/configs/imx6-engicam.h b/include/configs/imx6-engicam.h
index 12a9bfb589..aaf907772f 100644
--- a/include/configs/imx6-engicam.h
+++ b/include/configs/imx6-engicam.h
@@ -160,7 +160,6 @@
 
 /* MTD device */
 # define CONFIG_MTD_DEVICE
-# define CONFIG_CMD_MTDPARTS
 # define CONFIG_MTD_PARTITIONS
 # define MTDIDS_DEFAULT			"nand0=gpmi-nand"
 # define MTDPARTS_DEFAULT		"mtdparts=gpmi-nand:2m(spl),2m(uboot)," \
diff --git a/include/configs/imx6_logic.h b/include/configs/imx6_logic.h
index 821f1ffacd..648404fb74 100644
--- a/include/configs/imx6_logic.h
+++ b/include/configs/imx6_logic.h
@@ -156,7 +156,6 @@
 
 /* MTD device */
 # define CONFIG_MTD_DEVICE
-# define CONFIG_CMD_MTDPARTS
 # define CONFIG_MTD_PARTITIONS
 # define MTDIDS_DEFAULT		"nand0=gpmi-nand"
 # define MTDPARTS_DEFAULT	"mtdparts=gpmi-nand:4m(uboot)," \
diff --git a/include/configs/ipam390.h b/include/configs/ipam390.h
index f78aa47ae2..b2b969ade2 100644
--- a/include/configs/ipam390.h
+++ b/include/configs/ipam390.h
@@ -252,7 +252,6 @@
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_NAND_TRIMFFS
 
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
 #define CONFIG_LZO
diff --git a/include/configs/km/keymile-common.h b/include/configs/km/keymile-common.h
index c2b38d8af6..ac230e14d5 100644
--- a/include/configs/km/keymile-common.h
+++ b/include/configs/km/keymile-common.h
@@ -13,7 +13,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_MTDPARTS
 
 #undef	CONFIG_WATCHDOG		/* disable platform specific watchdog */
 
diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h
index 0c5f6e7515..9cd4ab13d7 100644
--- a/include/configs/km/km_arm.h
+++ b/include/configs/km/km_arm.h
@@ -118,7 +118,6 @@
 /*
  * Commands configuration
  */
-#define CONFIG_CMD_MTDPARTS
 
 /*
  * NAND Flash configuration
diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h
index 8dea0313a3..02588d3276 100644
--- a/include/configs/m28evk.h
+++ b/include/configs/m28evk.h
@@ -37,7 +37,6 @@
 		(CONFIG_ENV_OFFSET + CONFIG_ENV_RANGE)
 
 #define CONFIG_CMD_UBIFS
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_RBTREE
 #define CONFIG_LZO
 #define CONFIG_MTD_DEVICE
diff --git a/include/configs/m53evk.h b/include/configs/m53evk.h
index a92c228334..b198ebed31 100644
--- a/include/configs/m53evk.h
+++ b/include/configs/m53evk.h
@@ -101,7 +101,6 @@
 		(CONFIG_ENV_OFFSET + CONFIG_ENV_RANGE)
 
 #define CONFIG_CMD_UBIFS
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_RBTREE
 #define CONFIG_LZO
 #define CONFIG_MTD_DEVICE
diff --git a/include/configs/mccmon6.h b/include/configs/mccmon6.h
index fca1af9d2b..8a672812d0 100644
--- a/include/configs/mccmon6.h
+++ b/include/configs/mccmon6.h
@@ -80,7 +80,6 @@
 #define CONFIG_SYS_FLASH_BANKS_SIZES	{ (32 * SZ_1M) }
 
 /* MTD support */
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
 
diff --git a/include/configs/mcx.h b/include/configs/mcx.h
index 0c237a59cb..cc934e7e55 100644
--- a/include/configs/mcx.h
+++ b/include/configs/mcx.h
@@ -87,7 +87,6 @@
 #define CONFIG_LZO
 #define CONFIG_MTD_PARTITIONS
 #define CONFIG_MTD_DEVICE
-#define CONFIG_CMD_MTDPARTS
 
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_OMAP24_I2C_SPEED	100000
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index 659f32e030..84b4154ec5 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -202,7 +202,6 @@
 
 #if defined(CONFIG_MTD_PARTITIONS)
 /* MTD partitions */
-#define CONFIG_CMD_MTDPARTS	/* mtdparts command line support */
 #define CONFIG_MTD_DEVICE	/* needed for mtdparts commands */
 #define CONFIG_FLASH_CFI_MTD
 #define MTDIDS_DEFAULT		"nor0=flash-0"
diff --git a/include/configs/mv-common.h b/include/configs/mv-common.h
index 13bd6cff3d..80f56ad4ea 100644
--- a/include/configs/mv-common.h
+++ b/include/configs/mv-common.h
@@ -132,7 +132,6 @@
 #define CONFIG_RBTREE
 #define CONFIG_MTD_DEVICE               /* needed for mtdparts commands */
 #define CONFIG_MTD_PARTITIONS
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_LZO
 #endif
 
diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h
index fac26fb2f2..0211916b4d 100644
--- a/include/configs/mx28evk.h
+++ b/include/configs/mx28evk.h
@@ -65,7 +65,6 @@
 /* UBI and NAND partitioning */
 #ifdef CONFIG_CMD_NAND
 #define CONFIG_CMD_UBIFS
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_RBTREE
 #define CONFIG_LZO
 #define CONFIG_MTD_DEVICE
diff --git a/include/configs/mx31ads.h b/include/configs/mx31ads.h
index 5db3677566..d84801b7c6 100644
--- a/include/configs/mx31ads.h
+++ b/include/configs/mx31ads.h
@@ -153,7 +153,6 @@
 /*
  * JFFS2 partitions
  */
-#undef CONFIG_CMD_MTDPARTS
 #define CONFIG_JFFS2_DEV	"nor0"
 
 #endif /* __CONFIG_H */
diff --git a/include/configs/mx35pdk.h b/include/configs/mx35pdk.h
index e60b96f7dc..a4191ac86f 100644
--- a/include/configs/mx35pdk.h
+++ b/include/configs/mx35pdk.h
@@ -141,7 +141,6 @@
 /*
  * MTD Command for mtdparts
  */
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_MTD_DEVICE
 #define CONFIG_FLASH_CFI_MTD
 #define CONFIG_MTD_PARTITIONS
diff --git a/include/configs/nas220.h b/include/configs/nas220.h
index dfa81223c4..c206ec6ad6 100644
--- a/include/configs/nas220.h
+++ b/include/configs/nas220.h
@@ -107,7 +107,6 @@
 #define CONFIG_RBTREE
 #define CONFIG_MTD_DEVICE               /* needed for mtdparts commands */
 #define CONFIG_MTD_PARTITIONS
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_LZO
 
 /*
diff --git a/include/configs/nokia_rx51.h b/include/configs/nokia_rx51.h
index 5e2d5991e7..0b12734a09 100644
--- a/include/configs/nokia_rx51.h
+++ b/include/configs/nokia_rx51.h
@@ -105,7 +105,6 @@
 #ifdef ONENAND_SUPPORT
 
 #define CONFIG_CMD_ONENAND		/* ONENAND support */
-#define CONFIG_CMD_MTDPARTS		/* mtd parts support */
 
 #ifdef UBIFS_SUPPORT
 #define CONFIG_CMD_UBIFS		/* UBIFS Support */
diff --git a/include/configs/omap3_igep00x0.h b/include/configs/omap3_igep00x0.h
index 59da726bd6..4bc36b8575 100644
--- a/include/configs/omap3_igep00x0.h
+++ b/include/configs/omap3_igep00x0.h
@@ -52,7 +52,6 @@
 #define CONFIG_USBD_MANUFACTURER	"Texas Instruments"
 #define CONFIG_USBD_PRODUCT_NAME	"IGEP"
 
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_CMD_ONENAND
 
 #ifndef CONFIG_SPL_BUILD
diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h
index f8978037f2..2c926d0787 100644
--- a/include/configs/omap3_logic.h
+++ b/include/configs/omap3_logic.h
@@ -54,7 +54,6 @@
 
 /* commands to include */
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_CMD_NAND_LOCK_UNLOCK	/* nand (un)lock commands	*/
 
 /* I2C */
diff --git a/include/configs/omapl138_lcdk.h b/include/configs/omapl138_lcdk.h
index 5f118950aa..dee0ae0d9a 100644
--- a/include/configs/omapl138_lcdk.h
+++ b/include/configs/omapl138_lcdk.h
@@ -294,7 +294,6 @@
 #ifdef CONFIG_USE_NAND
 #define CONFIG_CMD_NAND
 
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
 #define CONFIG_LZO
diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h
index a72a57c904..a76e69fa9a 100644
--- a/include/configs/p1_p2_rdb_pc.h
+++ b/include/configs/p1_p2_rdb_pc.h
@@ -72,7 +72,6 @@
  */
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_FLASH_CFI_MTD
 #define MTDIDS_DEFAULT "nor0=ec000000.nor"
 #define MTDPARTS_DEFAULT "mtdparts=ec000000.nor:128k(dtb),6016k(kernel)," \
@@ -98,7 +97,6 @@
  */
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_FLASH_CFI_MTD
 #ifdef CONFIG_PHYS_64BIT
 #define MTDIDS_DEFAULT "nor0=fef000000.nor"
@@ -157,7 +155,6 @@
  */
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_FLASH_CFI_MTD
 #ifdef CONFIG_PHYS_64BIT
 #define MTDIDS_DEFAULT "nor0=fef000000.nor"
diff --git a/include/configs/p1_twr.h b/include/configs/p1_twr.h
index dffb15aea9..04d01e2ec3 100644
--- a/include/configs/p1_twr.h
+++ b/include/configs/p1_twr.h
@@ -350,7 +350,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
  */
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_FLASH_CFI_MTD
 #define MTDIDS_DEFAULT "nor0=ec000000.nor"
 #define MTDPARTS_DEFAULT "mtdparts=ec000000.nor:256k(vsc7385-firmware)," \
diff --git a/include/configs/pcm052.h b/include/configs/pcm052.h
index 8c0e26486f..ee0308cf42 100644
--- a/include/configs/pcm052.h
+++ b/include/configs/pcm052.h
@@ -39,7 +39,6 @@
 #define CONFIG_LZO
 
 /* Dynamic MTD partition support */
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_MTD_PARTITIONS
 #define CONFIG_MTD_DEVICE
 
diff --git a/include/configs/pcm058.h b/include/configs/pcm058.h
index 39018ac62f..afb6247930 100644
--- a/include/configs/pcm058.h
+++ b/include/configs/pcm058.h
@@ -79,7 +79,6 @@
 /* Filesystem support */
 #define CONFIG_LZO
 #define CONFIG_CMD_UBIFS
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_MTD_PARTITIONS
 #define CONFIG_MTD_DEVICE
 #define MTDIDS_DEFAULT    "nand0=nand"
diff --git a/include/configs/pengwyn.h b/include/configs/pengwyn.h
index 9c8720bee9..482045d99f 100644
--- a/include/configs/pengwyn.h
+++ b/include/configs/pengwyn.h
@@ -152,8 +152,6 @@
 /* #define CONFIG_SYS_NAND_U_BOOT_OFFS	0x80000 */
 #define CONFIG_SYS_NAND_U_BOOT_OFFS	0x200000
 
-#define CONFIG_CMD_MTDPARTS
-
 #define MTDIDS_DEFAULT			"nand0=omap2-nand.0"
 /* Size must be a multiple of Nand erase size (524288 b) */
 #define MTDPARTS_DEFAULT		"mtdparts=omap2-nand.0:512k(SPL)," \
diff --git a/include/configs/platinum.h b/include/configs/platinum.h
index 9c2182cbea..a052bea509 100644
--- a/include/configs/platinum.h
+++ b/include/configs/platinum.h
@@ -19,7 +19,6 @@
  * Console configuration
  */
 
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_NAND_TRIMFFS
 #define CONFIG_CMD_UBIFS
diff --git a/include/configs/pogo_e02.h b/include/configs/pogo_e02.h
index f94e74f0fc..93881b9052 100644
--- a/include/configs/pogo_e02.h
+++ b/include/configs/pogo_e02.h
@@ -81,7 +81,6 @@
 #define CONFIG_RBTREE
 #define CONFIG_MTD_DEVICE               /* needed for mtdparts commands */
 #define CONFIG_MTD_PARTITIONS
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_LZO
 
 #endif /* _CONFIG_POGO_E02_H */
diff --git a/include/configs/sama5d3_xplained.h b/include/configs/sama5d3_xplained.h
index fbe26cae21..ceeb58f0d8 100644
--- a/include/configs/sama5d3_xplained.h
+++ b/include/configs/sama5d3_xplained.h
@@ -53,7 +53,6 @@
 #define CONFIG_PMECC_CAP		4
 #define CONFIG_PMECC_SECTOR_SIZE	512
 #define CONFIG_CMD_NAND_TRIMFFS
-#define CONFIG_CMD_MTDPARTS
 
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
diff --git a/include/configs/siemens-am33x-common.h b/include/configs/siemens-am33x-common.h
index 21029d10ae..b4a8c3c7c5 100644
--- a/include/configs/siemens-am33x-common.h
+++ b/include/configs/siemens-am33x-common.h
@@ -242,7 +242,6 @@
 
 /* UBI Support */
 #ifndef CONFIG_SPL_BUILD
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_MTD_PARTITIONS
 #define CONFIG_MTD_DEVICE
 #define CONFIG_RBTREE
diff --git a/include/configs/smartweb.h b/include/configs/smartweb.h
index 8400278209..0550255b50 100644
--- a/include/configs/smartweb.h
+++ b/include/configs/smartweb.h
@@ -91,7 +91,6 @@
 #define CONFIG_SYS_NAND_ENABLE_PIN	AT91_PIN_PC14
 #define CONFIG_SYS_NAND_READY_PIN	AT91_PIN_PC13
 
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_MTD_DEVICE
 #define MTDIDS_NAME_STR		"atmel_nand"
 #define MTDIDS_DEFAULT		"nand0=" MTDIDS_NAME_STR
@@ -155,7 +154,6 @@
 #define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS	2
 
 /* USB DFU support */
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
 
diff --git a/include/configs/smdkc100.h b/include/configs/smdkc100.h
index ab75504188..873d7ed82a 100644
--- a/include/configs/smdkc100.h
+++ b/include/configs/smdkc100.h
@@ -63,7 +63,6 @@
 
 #define CONFIG_CMD_REGINFO
 #define CONFIG_CMD_ONENAND
-#define CONFIG_CMD_MTDPARTS
 
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
index 1bed85e78b..0c600db7a0 100644
--- a/include/configs/socfpga_common.h
+++ b/include/configs/socfpga_common.h
@@ -188,7 +188,6 @@ unsigned int cm_get_l4_sp_clk_hz(void);
 /* Enable multiple SPI NOR flash manufacturers */
 #ifndef CONFIG_SPL_BUILD
 #define CONFIG_SPI_FLASH_MTD
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
 #define MTDIDS_DEFAULT			"nor0=ff705000.spi.0"
diff --git a/include/configs/tam3517-common.h b/include/configs/tam3517-common.h
index 0b87c9ca97..f4642c802b 100644
--- a/include/configs/tam3517-common.h
+++ b/include/configs/tam3517-common.h
@@ -227,7 +227,6 @@
 #define CONFIG_LZO
 #define CONFIG_MTD_PARTITIONS
 #define CONFIG_MTD_DEVICE
-#define CONFIG_CMD_MTDPARTS
 
 /* Setup MTD for NAND on the SOM */
 #define MTDIDS_DEFAULT		"nand0=omap2-nand.0"
diff --git a/include/configs/tao3530.h b/include/configs/tao3530.h
index f994d2dbf3..897966cfab 100644
--- a/include/configs/tao3530.h
+++ b/include/configs/tao3530.h
@@ -62,7 +62,6 @@
 #define CONFIG_ENV_OVERWRITE
 
 /* commands to include */
-#define CONFIG_CMD_MTDPARTS	/* Enable MTD parts commands */
 #define CONFIG_MTD_DEVICE	/* needed for mtdparts commands */
 #define MTDIDS_DEFAULT			"nand0=nand"
 #define MTDPARTS_DEFAULT		"mtdparts=nand:512k(x-loader),"\
diff --git a/include/configs/taurus.h b/include/configs/taurus.h
index bed2a5c3c0..e03731b9b9 100644
--- a/include/configs/taurus.h
+++ b/include/configs/taurus.h
@@ -114,7 +114,6 @@
 #define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS	2
 
 /* USB DFU support */
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
 
diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h
index a4676d3a7f..a94748c35d 100644
--- a/include/configs/ti_armv7_common.h
+++ b/include/configs/ti_armv7_common.h
@@ -139,7 +139,6 @@
  */
 #if defined(CONFIG_SPI_BOOT) || defined(CONFIG_NOR) || defined(CONFIG_NAND) || defined(CONFIG_NAND_DAVINCI)
 #define CONFIG_MTD_DEVICE		/* Required for mtdparts */
-#define CONFIG_CMD_MTDPARTS
 #endif
 
 #define CONFIG_SUPPORT_RAW_INITRD
diff --git a/include/configs/titanium.h b/include/configs/titanium.h
index 79e37e2cef..e41b626625 100644
--- a/include/configs/titanium.h
+++ b/include/configs/titanium.h
@@ -190,7 +190,6 @@
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
 #define CONFIG_RBTREE
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_CMD_UBIFS
 
 #endif			       /* __CONFIG_H */
diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h
index d18a333d01..c8a685a04a 100644
--- a/include/configs/tricorder.h
+++ b/include/configs/tricorder.h
@@ -98,7 +98,6 @@
 #define CONFIG_SYS_NAND_MAX_ECCPOS	56
 
 /* commands to include */
-#define CONFIG_CMD_MTDPARTS		/* Enable MTD parts commands */
 #define CONFIG_CMD_NAND			/* NAND support */
 #define CONFIG_CMD_NAND_LOCK_UNLOCK	/* nand (un)lock commands */
 #define CONFIG_CMD_UBIFS		/* UBIFS commands */
diff --git a/include/configs/vct.h b/include/configs/vct.h
index 7b04e65d70..230acf03cd 100644
--- a/include/configs/vct.h
+++ b/include/configs/vct.h
@@ -237,7 +237,6 @@ int vct_gpio_get(int pin);
 #define	CONFIG_RBTREE
 #define CONFIG_MTD_DEVICE		/* needed for mtdparts commands */
 #define CONFIG_MTD_PARTITIONS
-#define CONFIG_CMD_MTDPARTS
 
 #define MTDIDS_DEFAULT		"onenand0=onenand"
 #define MTDPARTS_DEFAULT	"mtdparts=onenand:128k(u-boot),"	\
diff --git a/include/configs/vf610twr.h b/include/configs/vf610twr.h
index 2460294d88..c73868bcf1 100644
--- a/include/configs/vf610twr.h
+++ b/include/configs/vf610twr.h
@@ -45,7 +45,6 @@
 #define CONFIG_LZO
 
 /* Dynamic MTD partition support */
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_MTD_PARTITIONS
 #define CONFIG_MTD_DEVICE
 #define MTDIDS_DEFAULT			"nand0=fsl_nfc"
diff --git a/include/configs/woodburn_common.h b/include/configs/woodburn_common.h
index 46a6706171..68a9db5b20 100644
--- a/include/configs/woodburn_common.h
+++ b/include/configs/woodburn_common.h
@@ -135,7 +135,6 @@
 /*
  * MTD Command for mtdparts
  */
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_MTD_DEVICE
 #define CONFIG_FLASH_CFI_MTD
 #define CONFIG_MTD_PARTITIONS
diff --git a/include/configs/x600.h b/include/configs/x600.h
index c7d32fedb3..3ff6b70bde 100644
--- a/include/configs/x600.h
+++ b/include/configs/x600.h
@@ -106,7 +106,6 @@
 /*
  * Command support defines
  */
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_SAVES
 #define CONFIG_CMD_UBIFS
diff --git a/include/configs/xilinx-ppc.h b/include/configs/xilinx-ppc.h
index e8a0c1c33d..924e0d11e7 100644
--- a/include/configs/xilinx-ppc.h
+++ b/include/configs/xilinx-ppc.h
@@ -25,7 +25,6 @@
 
 /*Cmd*/
 #define CONFIG_CMD_REGINFO
-#undef CONFIG_CMD_MTDPARTS
 
 /*Misc*/
 #define CONFIG_SYS_LONGHELP		/* undef to save memory         */
@@ -74,7 +73,6 @@
 #define	CONFIG_SYS_FLASH_EMPTY_INFO	1
 #define	CONFIG_SYS_MAX_FLASH_BANKS	1
 #define	CONFIG_SYS_FLASH_PROTECTION
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_MTD_DEVICE		/* needed for mtdparts commands */
 #define CONFIG_FLASH_CFI_MTD
 #else
-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 06/41] Convert CONFIG_CMD_MTDPARTS_SPREAD to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (4 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 05/41] Convert CONFIG_CMD_MTDPARTS " Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-22 15:17   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 07/41] Convert CONFIG_CMD_ONENAND " Simon Glass
                   ` (34 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_MTDPARTS_SPREAD

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 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 fc8398cd69..e5b63116dc 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1229,6 +1229,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 7a1b9ef052..eaaa25f407 100644
--- a/configs/sandbox_defconfig
+++ b/configs/sandbox_defconfig
@@ -60,6 +60,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 0e33f65924..603c979a45 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.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 07/41] Convert CONFIG_CMD_ONENAND to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (5 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 06/41] Convert CONFIG_CMD_MTDPARTS_SPREAD " Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-22 15:17   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 08/41] Convert CONFIG_CMD_PCA953X " Simon Glass
                   ` (33 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_ONENAND

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 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                    | 2 --
 include/configs/omap3_igep00x0.h                | 2 --
 include/configs/s5p_goni.h                      | 1 -
 include/configs/smdkc100.h                      | 1 -
 include/configs/vct.h                           | 4 ----
 scripts/config_whitelist.txt                    | 1 -
 20 files changed, 19 insertions(+), 14 deletions(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index e5b63116dc..3e994e46c9 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -631,6 +631,14 @@ config CMD_NAND_TORTURE
 
 endif # CMD_NAND
 
+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 a86a00997f..a347c547e2 100644
--- a/configs/igep0020_defconfig
+++ b/configs/igep0020_defconfig
@@ -18,6 +18,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=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 2616fb2e1a..01e340832b 100644
--- a/configs/igep0030_defconfig
+++ b/configs/igep0030_defconfig
@@ -18,6 +18,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=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 5859e6e95e..71e01a59bf 100644
--- a/configs/igep0032_defconfig
+++ b/configs/igep0032_defconfig
@@ -17,6 +17,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=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 8aeab15bfb..3e93eb7e0f 100644
--- a/configs/s5p_goni_defconfig
+++ b/configs/s5p_goni_defconfig
@@ -11,6 +11,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 a1eca8694d..b91c2ac473 100644
--- a/configs/smdkc100_defconfig
+++ b/configs/smdkc100_defconfig
@@ -8,6 +8,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 5d4cccccba..03b4ed6a5b 100644
--- a/configs/vct_platinum_onenand_defconfig
+++ b/configs/vct_platinum_onenand_defconfig
@@ -8,6 +8,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 5a5edd8260..d1b8c6c5a4 100644
--- a/configs/vct_platinum_onenand_small_defconfig
+++ b/configs/vct_platinum_onenand_small_defconfig
@@ -14,6 +14,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 1f0a3f8b49..79f2eae0a1 100644
--- a/configs/vct_platinumavc_onenand_defconfig
+++ b/configs/vct_platinumavc_onenand_defconfig
@@ -8,6 +8,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 9e2fcbf6d0..6da8046809 100644
--- a/configs/vct_platinumavc_onenand_small_defconfig
+++ b/configs/vct_platinumavc_onenand_small_defconfig
@@ -14,6 +14,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 ac9cf36f68..ae30275adc 100644
--- a/configs/vct_premium_onenand_defconfig
+++ b/configs/vct_premium_onenand_defconfig
@@ -8,6 +8,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 6e649ec0d7..3e188ab6c3 100644
--- a/configs/vct_premium_onenand_small_defconfig
+++ b/configs/vct_premium_onenand_small_defconfig
@@ -14,6 +14,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 3b350e0343..dc3f4e38a8 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -14,7 +14,6 @@
  */
 
 #define CONFIG_CMD_NAND		/* NAND support			*/
-#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 0b12734a09..ac9ee4d779 100644
--- a/include/configs/nokia_rx51.h
+++ b/include/configs/nokia_rx51.h
@@ -104,8 +104,6 @@
 
 #ifdef ONENAND_SUPPORT
 
-#define CONFIG_CMD_ONENAND		/* ONENAND support */
-
 #ifdef UBIFS_SUPPORT
 #define CONFIG_CMD_UBIFS		/* UBIFS Support */
 #endif
diff --git a/include/configs/omap3_igep00x0.h b/include/configs/omap3_igep00x0.h
index 4bc36b8575..55928a78ed 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 c328e43dd6..dcfd483f3d 100644
--- a/include/configs/s5p_goni.h
+++ b/include/configs/s5p_goni.h
@@ -52,7 +52,6 @@
 #define CONFIG_PWM			1
 
 #define CONFIG_CMD_REGINFO
-#define CONFIG_CMD_ONENAND
 
 /* USB Composite download gadget - g_dnl */
 #define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_32M
diff --git a/include/configs/smdkc100.h b/include/configs/smdkc100.h
index 873d7ed82a..0580c8ceda 100644
--- a/include/configs/smdkc100.h
+++ b/include/configs/smdkc100.h
@@ -62,7 +62,6 @@
 #undef CONFIG_CMD_NAND
 
 #define CONFIG_CMD_REGINFO
-#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 230acf03cd..08ac7e0c2a 100644
--- a/include/configs/vct.h
+++ b/include/configs/vct.h
@@ -109,10 +109,6 @@
 #define CONFIG_CMD_NAND
 #endif
 
-#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 603c979a45..c58cdee5cd 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.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 08/41] Convert CONFIG_CMD_PCA953X to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (6 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 07/41] Convert CONFIG_CMD_ONENAND " Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-22 15:17   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 09/41] Kconfig: Drop CONFIG_CMD_PCA953X_INFO Simon Glass
                   ` (32 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_PCA953X

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 README                                      | 1 -
 arch/powerpc/cpu/mpc83xx/Kconfig            | 1 +
 configs/cl-som-am57x_defconfig              | 1 +
 configs/cm_t335_defconfig                   | 1 +
 configs/ot1200_defconfig                    | 3 ++-
 configs/ot1200_spl_defconfig                | 3 ++-
 configs/snapper9260_defconfig               | 1 +
 configs/snapper9g20_defconfig               | 1 +
 configs/xilinx_zynqmp_zcu102_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, 24 insertions(+), 14 deletions(-)

diff --git a/README b/README
index 4b670ba326..5c1ff03625 100644
--- a/README
+++ b/README
@@ -813,7 +813,6 @@ The following options need to be configured:
 		CONFIG_CMD_NAND		* NAND support
 		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 4b01c8254c..43ad366007 100644
--- a/arch/powerpc/cpu/mpc83xx/Kconfig
+++ b/arch/powerpc/cpu/mpc83xx/Kconfig
@@ -91,6 +91,7 @@ config TARGET_HRCON
 config TARGET_STRIDER
 	bool "Support strider"
 	select SYS_FSL_ERRATUM_ESDHC111
+	imply CMD_PCA953X
 
 endchoice
 
diff --git a/configs/cl-som-am57x_defconfig b/configs/cl-som-am57x_defconfig
index bf753bc074..2f1863f1ee 100644
--- a/configs/cl-som-am57x_defconfig
+++ b/configs/cl-som-am57x_defconfig
@@ -33,6 +33,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 f6e8689945..4fff445b5a 100644
--- a/configs/cm_t335_defconfig
+++ b/configs/cm_t335_defconfig
@@ -43,6 +43,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 7f1d7a8716..ae2fdbd8e7 100644
--- a/configs/ot1200_defconfig
+++ b/configs/ot1200_defconfig
@@ -23,12 +23,13 @@ CONFIG_CMD_EXT4=y
 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
 CONFIG_SPI_FLASH_SST=y
 CONFIG_SPI_FLASH_WINBOND=y
-CONFIG_DM=y
 CONFIG_DM_THERMAL=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
diff --git a/configs/ot1200_spl_defconfig b/configs/ot1200_spl_defconfig
index 6c33853987..95e652b453 100644
--- a/configs/ot1200_spl_defconfig
+++ b/configs/ot1200_spl_defconfig
@@ -31,12 +31,13 @@ CONFIG_CMD_EXT4=y
 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
 CONFIG_SPI_FLASH_SST=y
 CONFIG_SPI_FLASH_WINBOND=y
-CONFIG_DM=y
 CONFIG_DM_THERMAL=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
diff --git a/configs/snapper9260_defconfig b/configs/snapper9260_defconfig
index 2fbd7d2a8d..a36ac71f99 100644
--- a/configs/snapper9260_defconfig
+++ b/configs/snapper9260_defconfig
@@ -22,6 +22,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 12cafd9815..fc1d9b18cc 100644
--- a/configs/snapper9g20_defconfig
+++ b/configs/snapper9g20_defconfig
@@ -21,6 +21,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_defconfig b/configs/xilinx_zynqmp_zcu102_defconfig
index 4f1524b149..1d5150c7e4 100644
--- a/configs/xilinx_zynqmp_zcu102_defconfig
+++ b/configs/xilinx_zynqmp_zcu102_defconfig
@@ -46,6 +46,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 4b944cb6e1..4136d76d29 100644
--- a/configs/xilinx_zynqmp_zcu102_revB_defconfig
+++ b/configs/xilinx_zynqmp_zcu102_revB_defconfig
@@ -46,6 +46,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 2788db0830..bdfa81f2c1 100644
--- a/configs/xpedite517x_defconfig
+++ b/configs/xpedite517x_defconfig
@@ -18,6 +18,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 904f7b9bc5..3bd5fd1ade 100644
--- a/configs/xpedite520x_defconfig
+++ b/configs/xpedite520x_defconfig
@@ -20,6 +20,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 cad0d239e9..5a41103bb8 100644
--- a/configs/xpedite550x_defconfig
+++ b/configs/xpedite550x_defconfig
@@ -20,6 +20,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 15135e538d..2fffd4dc3d 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -103,6 +103,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 a04f4cd23d..ff9dde85a4 100644
--- a/include/configs/cl-som-am57x.h
+++ b/include/configs/cl-som-am57x.h
@@ -75,7 +75,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 3fb9daebbc..fe7ced313a 100644
--- a/include/configs/cm_t335.h
+++ b/include/configs/cm_t335.h
@@ -165,7 +165,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 be6bbad32e..91532016ac 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 d3e73f2097..3f860b47e3 100644
--- a/include/configs/snapper9260.h
+++ b/include/configs/snapper9260.h
@@ -139,7 +139,6 @@
 
 /* Command line configuration */
 #define CONFIG_CMD_NAND
-#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 994ac73e13..f65215f46b 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 07f26544fd..34abc3673a 100644
--- a/include/configs/xpedite517x.h
+++ b/include/configs/xpedite517x.h
@@ -485,7 +485,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
  * Command configuration.
  */
 #define CONFIG_CMD_NAND
-#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 2645006b37..9007b29d43 100644
--- a/include/configs/xpedite520x.h
+++ b/include/configs/xpedite520x.h
@@ -288,7 +288,6 @@
  * Command configuration.
  */
 #define CONFIG_CMD_NAND
-#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 abbaeaad10..250d641eb8 100644
--- a/include/configs/xpedite537x.h
+++ b/include/configs/xpedite537x.h
@@ -338,7 +338,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
  * Command configuration.
  */
 #define CONFIG_CMD_NAND
-#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 254fc12cf6..dda1c5a50f 100644
--- a/include/configs/xpedite550x.h
+++ b/include/configs/xpedite550x.h
@@ -337,7 +337,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
  * Command configuration.
  */
 #define CONFIG_CMD_NAND
-#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 c58cdee5cd..cadfb9692c 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.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 09/41] Kconfig: Drop CONFIG_CMD_PCA953X_INFO
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (7 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 08/41] Convert CONFIG_CMD_PCA953X " Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-22 15:17   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 10/41] Convert CONFIG_CMD_PCI to Kconfig Simon Glass
                   ` (31 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

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 <sjg@chromium.org>
---

 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          | 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 -
 13 files changed, 20 deletions(-)

diff --git a/README b/README
index 5c1ff03625..43691cc167 100644
--- a/README
+++ b/README
@@ -813,7 +813,6 @@ The following options need to be configured:
 		CONFIG_CMD_NAND		* NAND support
 		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 ff9dde85a4..ecc87fb6d2 100644
--- a/include/configs/cl-som-am57x.h
+++ b/include/configs/cl-som-am57x.h
@@ -75,7 +75,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 fe7ced313a..220268ade0 100644
--- a/include/configs/cm_t335.h
+++ b/include/configs/cm_t335.h
@@ -165,7 +165,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 91532016ac..d9bb2c1cbf 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 3f860b47e3..e080f363fb 100644
--- a/include/configs/snapper9260.h
+++ b/include/configs/snapper9260.h
@@ -139,6 +139,5 @@
 
 /* Command line configuration */
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_PCA953X_INFO
 
 #endif /* __CONFIG_H */
diff --git a/include/configs/strider.h b/include/configs/strider.h
index f65215f46b..a33b2be507 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 34abc3673a..4930c4b3e0 100644
--- a/include/configs/xpedite517x.h
+++ b/include/configs/xpedite517x.h
@@ -485,7 +485,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
  * Command configuration.
  */
 #define CONFIG_CMD_NAND
-#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 9007b29d43..16b2ebbef5 100644
--- a/include/configs/xpedite520x.h
+++ b/include/configs/xpedite520x.h
@@ -288,7 +288,6 @@
  * Command configuration.
  */
 #define CONFIG_CMD_NAND
-#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 250d641eb8..f058827141 100644
--- a/include/configs/xpedite537x.h
+++ b/include/configs/xpedite537x.h
@@ -338,7 +338,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
  * Command configuration.
  */
 #define CONFIG_CMD_NAND
-#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 dda1c5a50f..80be9b5d8d 100644
--- a/include/configs/xpedite550x.h
+++ b/include/configs/xpedite550x.h
@@ -337,7 +337,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
  * Command configuration.
  */
 #define CONFIG_CMD_NAND
-#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 cadfb9692c..edb6a92d2b 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.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 10/41] Convert CONFIG_CMD_PCI to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (8 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 09/41] Kconfig: Drop CONFIG_CMD_PCA953X_INFO Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-22 15:18   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 11/41] Kconfig: Drop CONFIG_CMD_PCI_ENUM Simon Glass
                   ` (30 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_PCI

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 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 ++++++
 .../BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig   |  1 +
 .../BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig   |  1 +
 .../BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig |  1 +
 .../BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig |  1 +
 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 +
 .../P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig   |  1 +
 .../P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_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 +
 ...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                  |  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                  |  3 +-
 configs/ls1012ardb_qspi_SECURE_BOOT_defconfig      |  1 +
 configs/ls1012ardb_qspi_defconfig                  |  1 +
 .../ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig    |  1 +
 configs/ls1046aqds_SECURE_BOOT_defconfig           |  1 +
 configs/ls1046aqds_defconfig                       |  1 +
 configs/ls1046aqds_nand_defconfig                  |  1 +
 configs/ls1046aqds_qspi_defconfig                  |  1 +
 configs/ls1046aqds_sdcard_ifc_defconfig            |  1 +
 configs/ls1046aqds_sdcard_qspi_defconfig           |  1 +
 configs/ls1046ardb_emmc_defconfig                  |  1 +
 configs/ls1046ardb_qspi_SECURE_BOOT_defconfig      |  1 +
 configs/ls1046ardb_qspi_defconfig                  |  1 +
 configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig    |  1 +
 configs/ls1046ardb_sdcard_defconfig                |  1 +
 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                     | 32 +++++-----------------
 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                         |  1 -
 include/configs/M54455EVB.h                        |  1 -
 include/configs/M5475EVB.h                         |  4 ---
 include/configs/M5485EVB.h                         |  4 ---
 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                          |  4 ---
 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                    |  1 -
 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 -
 324 files changed, 233 insertions(+), 272 deletions(-)

diff --git a/README b/README
index 43691cc167..fe63a7090b 100644
--- a/README
+++ b/README
@@ -813,7 +813,6 @@ The following options need to be configured:
 		CONFIG_CMD_NAND		* NAND support
 		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 93bf274947..11030d6180 100644
--- a/arch/powerpc/cpu/mpc85xx/Kconfig
+++ b/arch/powerpc/cpu/mpc85xx/Kconfig
@@ -485,6 +485,7 @@ config ARCH_BSC9132
 	select FSL_IFC
 	imply CMD_EEPROM
 	imply CMD_MTDPARTS
+	imply CMD_PCI
 
 config ARCH_C29X
 	bool
@@ -498,6 +499,7 @@ config ARCH_C29X
 	select SYS_FSL_SEC_COMPAT_6
 	select SYS_PPC_E500_USE_DEBUG_TLB
 	select FSL_IFC
+	imply CMD_PCI
 
 config ARCH_MPC8536
 	bool
@@ -622,6 +624,7 @@ config ARCH_P1010
 	imply CMD_EEPROM
 	imply CMD_SATA
 	imply CMD_MTDPARTS
+	imply CMD_PCI
 
 config ARCH_P1011
 	bool
@@ -651,6 +654,7 @@ config ARCH_P1020
 	select SYS_PPC_E500_USE_DEBUG_TLB
 	select FSL_ELBC
 	imply CMD_SATA
+	imply CMD_PCI
 
 config ARCH_P1021
 	bool
@@ -711,6 +715,7 @@ config ARCH_P1024
 	select FSL_ELBC
 	imply CMD_EEPROM
 	imply CMD_SATA
+	imply CMD_PCI
 
 config ARCH_P1025
 	bool
@@ -1053,6 +1058,7 @@ config E500
 
 config E500MC
 	bool
+	imply CMD_PCI
 	help
 		Enble PowerPC E500MC core
 
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 3e994e46c9..007895c4ce 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -771,6 +771,14 @@ config CMD_MMC_SPI
 	  to 20MHz. It is useful since it reduces the amount of protocol code
 	  required.
 
+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.
+
 endmenu
 
 
diff --git a/configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig b/configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig
index e8c548286b..87ea4b0064 100644
--- a/configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig
+++ b/configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_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/BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig b/configs/BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig
index 3afb011012..a59ffc652c 100644
--- a/configs/BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig
+++ b/configs/BSC9132QDS_SDCARD_DDRCLK133_SECURE_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/BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig b/configs/BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig
index c5d17bc516..2292dc16c7 100644
--- a/configs/BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig
+++ b/configs/BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_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/BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig b/configs/BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig
index ba0772c07d..5450a0f398 100644
--- a/configs/BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig
+++ b/configs/BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_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/M5235EVB_Flash32_defconfig b/configs/M5235EVB_Flash32_defconfig
index 19596cbeb1..2d3f05fb6a 100644
--- a/configs/M5235EVB_Flash32_defconfig
+++ b/configs/M5235EVB_Flash32_defconfig
@@ -7,6 +7,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 026177db4c..8e2f543997 100644
--- a/configs/M5235EVB_defconfig
+++ b/configs/M5235EVB_defconfig
@@ -7,6 +7,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 c0f994a5ea..89d91ad560 100644
--- a/configs/MPC8308RDB_defconfig
+++ b/configs/MPC8308RDB_defconfig
@@ -9,6 +9,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 f4bdfe046d..30d29e8bba 100644
--- a/configs/MPC8313ERDB_33_defconfig
+++ b/configs/MPC8313ERDB_33_defconfig
@@ -8,6 +8,7 @@ CONFIG_BOOTDELAY=6
 CONFIG_HUSH_PARSER=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 119c04e661..e9168b9668 100644
--- a/configs/MPC8313ERDB_66_defconfig
+++ b/configs/MPC8313ERDB_66_defconfig
@@ -8,6 +8,7 @@ CONFIG_BOOTDELAY=6
 CONFIG_HUSH_PARSER=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 64247a5335..11909a80aa 100644
--- a/configs/MPC8313ERDB_NAND_33_defconfig
+++ b/configs/MPC8313ERDB_NAND_33_defconfig
@@ -11,6 +11,7 @@ CONFIG_SPL=y
 CONFIG_HUSH_PARSER=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 363d849efc..0fcd58cbb9 100644
--- a/configs/MPC8313ERDB_NAND_66_defconfig
+++ b/configs/MPC8313ERDB_NAND_66_defconfig
@@ -11,6 +11,7 @@ CONFIG_SPL=y
 CONFIG_HUSH_PARSER=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 52ce29a0bc..514cd82a7c 100644
--- a/configs/MPC8315ERDB_defconfig
+++ b/configs/MPC8315ERDB_defconfig
@@ -8,6 +8,7 @@ CONFIG_HUSH_PARSER=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 54d8a3ea1d..3c2fd2e469 100644
--- a/configs/MPC8323ERDB_defconfig
+++ b/configs/MPC8323ERDB_defconfig
@@ -8,6 +8,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 787ac9dbce..47f7b7908e 100644
--- a/configs/MPC837XEMDS_HOST_defconfig
+++ b/configs/MPC837XEMDS_HOST_defconfig
@@ -8,6 +8,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_MMC=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 fc21671ce7..e82cb01614 100644
--- a/configs/MPC837XERDB_defconfig
+++ b/configs/MPC837XERDB_defconfig
@@ -9,6 +9,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 5db680bbd1..9a299245ad 100644
--- a/configs/MPC8536DS_36BIT_defconfig
+++ b/configs/MPC8536DS_36BIT_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/MPC8536DS_SDCARD_defconfig b/configs/MPC8536DS_SDCARD_defconfig
index 761c1652b1..bb1ad0a014 100644
--- a/configs/MPC8536DS_SDCARD_defconfig
+++ b/configs/MPC8536DS_SDCARD_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_HASH is not set
diff --git a/configs/MPC8536DS_SPIFLASH_defconfig b/configs/MPC8536DS_SPIFLASH_defconfig
index 156c8590ba..09a0689a44 100644
--- a/configs/MPC8536DS_SPIFLASH_defconfig
+++ b/configs/MPC8536DS_SPIFLASH_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_HASH is not set
diff --git a/configs/MPC8536DS_defconfig b/configs/MPC8536DS_defconfig
index 3c563d6ff9..06a2bb6141 100644
--- a/configs/MPC8536DS_defconfig
+++ b/configs/MPC8536DS_defconfig
@@ -13,6 +13,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 8268388d84..65b7aab840 100644
--- a/configs/MPC8541CDS_defconfig
+++ b/configs/MPC8541CDS_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_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 09a9c0f90b..2bf0a0a995 100644
--- a/configs/MPC8541CDS_legacy_defconfig
+++ b/configs/MPC8541CDS_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/MPC8544DS_defconfig b/configs/MPC8544DS_defconfig
index cb15afa9cc..884f47ae75 100644
--- a/configs/MPC8544DS_defconfig
+++ b/configs/MPC8544DS_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_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 00c7a76508..6681ca6e5f 100644
--- a/configs/MPC8555CDS_defconfig
+++ b/configs/MPC8555CDS_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_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 36da612318..7b7b55c0ed 100644
--- a/configs/MPC8555CDS_legacy_defconfig
+++ b/configs/MPC8555CDS_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/MPC8568MDS_defconfig b/configs/MPC8568MDS_defconfig
index 6e3cfa16f2..9d5e8bcec2 100644
--- a/configs/MPC8568MDS_defconfig
+++ b/configs/MPC8568MDS_defconfig
@@ -8,6 +8,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 6adb9cf087..77851961aa 100644
--- a/configs/MPC8569MDS_ATM_defconfig
+++ b/configs/MPC8569MDS_ATM_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/MPC8569MDS_defconfig b/configs/MPC8569MDS_defconfig
index 73cf6e35b7..ec7bb61357 100644
--- a/configs/MPC8569MDS_defconfig
+++ b/configs/MPC8569MDS_defconfig
@@ -9,6 +9,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 6aef6d8434..b95d3cbc17 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/P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig b/configs/P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig
index a5cec4b8b1..739a1120f3 100644
--- a/configs/P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig
+++ b/configs/P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_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_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
diff --git a/configs/P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig b/configs/P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig
index 2c1f471c61..cfa9455ec1 100644
--- a/configs/P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig
+++ b/configs/P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_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_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
diff --git a/configs/P1021RDB-PC_36BIT_NAND_defconfig b/configs/P1021RDB-PC_36BIT_NAND_defconfig
index f6bbf7db4b..b3dfea7e59 100644
--- a/configs/P1021RDB-PC_36BIT_NAND_defconfig
+++ b/configs/P1021RDB-PC_36BIT_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_36BIT_SDCARD_defconfig b/configs/P1021RDB-PC_36BIT_SDCARD_defconfig
index bbeeba0bc8..b9139f4312 100644
--- a/configs/P1021RDB-PC_36BIT_SDCARD_defconfig
+++ b/configs/P1021RDB-PC_36BIT_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_36BIT_SPIFLASH_defconfig b/configs/P1021RDB-PC_36BIT_SPIFLASH_defconfig
index ec326a089a..a852500f30 100644
--- a/configs/P1021RDB-PC_36BIT_SPIFLASH_defconfig
+++ b/configs/P1021RDB-PC_36BIT_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_36BIT_defconfig b/configs/P1021RDB-PC_36BIT_defconfig
index 42ab8b95b1..73eefdf894 100644
--- a/configs/P1021RDB-PC_36BIT_defconfig
+++ b/configs/P1021RDB-PC_36BIT_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/P1021RDB-PC_NAND_defconfig b/configs/P1021RDB-PC_NAND_defconfig
index a9af7462a1..39920d7eec 100644
--- a/configs/P1021RDB-PC_NAND_defconfig
+++ b/configs/P1021RDB-PC_NAND_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_SDCARD_defconfig b/configs/P1021RDB-PC_SDCARD_defconfig
index ca77237cf4..ccc15ff2fa 100644
--- a/configs/P1021RDB-PC_SDCARD_defconfig
+++ b/configs/P1021RDB-PC_SDCARD_defconfig
@@ -22,6 +22,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 86052a4c7d..36514c44fd 100644
--- a/configs/P1021RDB-PC_SPIFLASH_defconfig
+++ b/configs/P1021RDB-PC_SPIFLASH_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_defconfig b/configs/P1021RDB-PC_defconfig
index 6aff0a0a9d..60e996ac52 100644
--- a/configs/P1021RDB-PC_defconfig
+++ b/configs/P1021RDB-PC_defconfig
@@ -13,6 +13,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 9c83a469a8..f2344702d6 100644
--- a/configs/P1022DS_36BIT_NAND_defconfig
+++ b/configs/P1022DS_36BIT_NAND_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_HASH is not set
diff --git a/configs/P1022DS_36BIT_SDCARD_defconfig b/configs/P1022DS_36BIT_SDCARD_defconfig
index e1f9a9888d..8993dda8da 100644
--- a/configs/P1022DS_36BIT_SDCARD_defconfig
+++ b/configs/P1022DS_36BIT_SDCARD_defconfig
@@ -22,6 +22,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/P1022DS_36BIT_SPIFLASH_defconfig b/configs/P1022DS_36BIT_SPIFLASH_defconfig
index 25521d8787..6170f41648 100644
--- a/configs/P1022DS_36BIT_SPIFLASH_defconfig
+++ b/configs/P1022DS_36BIT_SPIFLASH_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_HASH is not set
diff --git a/configs/P1022DS_36BIT_defconfig b/configs/P1022DS_36BIT_defconfig
index 58335cbab0..0102a62b53 100644
--- a/configs/P1022DS_36BIT_defconfig
+++ b/configs/P1022DS_36BIT_defconfig
@@ -13,6 +13,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/P1022DS_NAND_defconfig b/configs/P1022DS_NAND_defconfig
index 04bb7a13cd..7069267cd7 100644
--- a/configs/P1022DS_NAND_defconfig
+++ b/configs/P1022DS_NAND_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_HASH is not set
diff --git a/configs/P1022DS_SDCARD_defconfig b/configs/P1022DS_SDCARD_defconfig
index af7b4dbd5e..2589a7137e 100644
--- a/configs/P1022DS_SDCARD_defconfig
+++ b/configs/P1022DS_SDCARD_defconfig
@@ -21,6 +21,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/P1022DS_SPIFLASH_defconfig b/configs/P1022DS_SPIFLASH_defconfig
index 22c3b6b278..b664bac9b5 100644
--- a/configs/P1022DS_SPIFLASH_defconfig
+++ b/configs/P1022DS_SPIFLASH_defconfig
@@ -22,6 +22,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/P1022DS_defconfig b/configs/P1022DS_defconfig
index c0864a44e9..ecca46d416 100644
--- a/configs/P1022DS_defconfig
+++ b/configs/P1022DS_defconfig
@@ -12,6 +12,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/P1023RDB_defconfig b/configs/P1023RDB_defconfig
index c53b7e0819..55481b86e1 100644
--- a/configs/P1023RDB_defconfig
+++ b/configs/P1023RDB_defconfig
@@ -12,6 +12,7 @@ CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_EEPROM is not set
 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 50ac75d701..ecf811dea6 100644
--- a/configs/P1025RDB_36BIT_defconfig
+++ b/configs/P1025RDB_36BIT_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/P1025RDB_NAND_defconfig b/configs/P1025RDB_NAND_defconfig
index 221d4ae9f2..3eabb1a7c5 100644
--- a/configs/P1025RDB_NAND_defconfig
+++ b/configs/P1025RDB_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/P1025RDB_SDCARD_defconfig b/configs/P1025RDB_SDCARD_defconfig
index 43fed3530e..91fdcf294f 100644
--- a/configs/P1025RDB_SDCARD_defconfig
+++ b/configs/P1025RDB_SDCARD_defconfig
@@ -22,6 +22,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/P1025RDB_SPIFLASH_defconfig b/configs/P1025RDB_SPIFLASH_defconfig
index 672b7bbbf9..7469938290 100644
--- a/configs/P1025RDB_SPIFLASH_defconfig
+++ b/configs/P1025RDB_SPIFLASH_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/P1025RDB_defconfig b/configs/P1025RDB_defconfig
index 22bfb2edcf..ba04b04c12 100644
--- a/configs/P1025RDB_defconfig
+++ b/configs/P1025RDB_defconfig
@@ -13,6 +13,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_NAND_defconfig b/configs/P2020RDB-PC_36BIT_NAND_defconfig
index 86a38b85e2..4ecc6cb245 100644
--- a/configs/P2020RDB-PC_36BIT_NAND_defconfig
+++ b/configs/P2020RDB-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/P2020RDB-PC_36BIT_SDCARD_defconfig b/configs/P2020RDB-PC_36BIT_SDCARD_defconfig
index f67d7cd586..c978c4eaa7 100644
--- a/configs/P2020RDB-PC_36BIT_SDCARD_defconfig
+++ b/configs/P2020RDB-PC_36BIT_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_36BIT_SPIFLASH_defconfig b/configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig
index ee8227a5ba..43847d6242 100644
--- a/configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig
+++ b/configs/P2020RDB-PC_36BIT_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_36BIT_defconfig b/configs/P2020RDB-PC_36BIT_defconfig
index e40e371bf5..011b028405 100644
--- a/configs/P2020RDB-PC_36BIT_defconfig
+++ b/configs/P2020RDB-PC_36BIT_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/P2020RDB-PC_NAND_defconfig b/configs/P2020RDB-PC_NAND_defconfig
index 4b2651c8e6..3196d86c43 100644
--- a/configs/P2020RDB-PC_NAND_defconfig
+++ b/configs/P2020RDB-PC_NAND_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_SDCARD_defconfig b/configs/P2020RDB-PC_SDCARD_defconfig
index f4cb697687..28a193a445 100644
--- a/configs/P2020RDB-PC_SDCARD_defconfig
+++ b/configs/P2020RDB-PC_SDCARD_defconfig
@@ -22,6 +22,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 5091022f81..814e2746b5 100644
--- a/configs/P2020RDB-PC_SPIFLASH_defconfig
+++ b/configs/P2020RDB-PC_SPIFLASH_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_defconfig b/configs/P2020RDB-PC_defconfig
index df1dbffaa4..7cd1cd096d 100644
--- a/configs/P2020RDB-PC_defconfig
+++ b/configs/P2020RDB-PC_defconfig
@@ -13,6 +13,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 61c157053e..2ee7fcd902 100644
--- a/configs/TQM834x_defconfig
+++ b/configs/TQM834x_defconfig
@@ -8,6 +8,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 906ada4b3c..05f2586ad2 100644
--- a/configs/TWR-P1025_defconfig
+++ b/configs/TWR-P1025_defconfig
@@ -14,6 +14,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 9179aaf92f..9b379504ce 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 14b74c4a16..8fc49b3195 100644
--- a/configs/bayleybay_defconfig
+++ b/configs/bayleybay_defconfig
@@ -29,6 +29,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 71d6cd52c1..0242e783fa 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 007cce1075..fcc8333f72 100644
--- a/configs/caddy2_defconfig
+++ b/configs/caddy2_defconfig
@@ -7,6 +7,7 @@ CONFIG_SYS_EXTRA_OPTIONS="CADDY2"
 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 1a5e47dba5..8f258b975a 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 557919c5d8..8fdd09d0a1 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 3105fed469..fdc3079046 100644
--- a/configs/chromebook_link_defconfig
+++ b/configs/chromebook_link_defconfig
@@ -21,6 +21,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 ab2d27eb03..3c0c10a05e 100644
--- a/configs/chromebook_samus_defconfig
+++ b/configs/chromebook_samus_defconfig
@@ -21,6 +21,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 30d4019856..d8490bf062 100644
--- a/configs/chromebox_panther_defconfig
+++ b/configs/chromebox_panther_defconfig
@@ -17,6 +17,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 3bb6c6bf65..f558a25782 100644
--- a/configs/clearfog_defconfig
+++ b/configs/clearfog_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_CACHE=y
diff --git a/configs/conga-qeval20-qa3-e3845-internal-uart_defconfig b/configs/conga-qeval20-qa3-e3845-internal-uart_defconfig
index a0cce754ff..853c2d2809 100644
--- a/configs/conga-qeval20-qa3-e3845-internal-uart_defconfig
+++ b/configs/conga-qeval20-qa3-e3845-internal-uart_defconfig
@@ -29,6 +29,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 26eed7c268..64cfcf95d7 100644
--- a/configs/conga-qeval20-qa3-e3845_defconfig
+++ b/configs/conga-qeval20-qa3-e3845_defconfig
@@ -28,6 +28,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 d05f35d967..99200da9bb 100644
--- a/configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig
+++ b/configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig
@@ -23,6 +23,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 d2af507054..f409d95d8a 100644
--- a/configs/controlcenterd_36BIT_SDCARD_defconfig
+++ b/configs/controlcenterd_36BIT_SDCARD_defconfig
@@ -23,6 +23,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 a46c46875d..c7102810a3 100644
--- a/configs/controlcenterdc_defconfig
+++ b/configs/controlcenterdc_defconfig
@@ -23,6 +23,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 8b51073030..9e9f112b85 100644
--- a/configs/coreboot-x86_defconfig
+++ b/configs/coreboot-x86_defconfig
@@ -14,6 +14,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 1008ef7301..b356532880 100644
--- a/configs/cougarcanyon2_defconfig
+++ b/configs/cougarcanyon2_defconfig
@@ -13,6 +13,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 ac50681e19..678daa98d2 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 3831f403b8..7725ed8150 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 f0b0d698b1..1196dfc431 100644
--- a/configs/db-88f6820-gp_defconfig
+++ b/configs/db-88f6820-gp_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-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 c86e0a9e4f..80427a8120 100644
--- a/configs/dfi-bt700-q7x-151_defconfig
+++ b/configs/dfi-bt700-q7x-151_defconfig
@@ -27,6 +27,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 2fae904589..7eee9618c1 100644
--- a/configs/efi-x86_defconfig
+++ b/configs/efi-x86_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_NET is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
diff --git a/configs/galileo_defconfig b/configs/galileo_defconfig
index f60abc3422..f3b32c101f 100644
--- a/configs/galileo_defconfig
+++ b/configs/galileo_defconfig
@@ -22,6 +22,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 57f46af193..0549fc71f8 100644
--- a/configs/gwventana_emmc_defconfig
+++ b/configs/gwventana_emmc_defconfig
@@ -37,6 +37,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 4bf7122963..cd161f3a03 100644
--- a/configs/gwventana_gw5904_defconfig
+++ b/configs/gwventana_gw5904_defconfig
@@ -37,6 +37,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 ea6c13d9dc..5ba5f173b3 100644
--- a/configs/gwventana_nand_defconfig
+++ b/configs/gwventana_nand_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/hrcon_defconfig b/configs/hrcon_defconfig
index aea06769f4..b18c4180d2 100644
--- a/configs/hrcon_defconfig
+++ b/configs/hrcon_defconfig
@@ -17,6 +17,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 8e911d49a0..d716c15ed2 100644
--- a/configs/hrcon_dh_defconfig
+++ b/configs/hrcon_dh_defconfig
@@ -16,6 +16,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 cace5adcb2..1e809efae1 100644
--- a/configs/integratorap_cm720t_defconfig
+++ b/configs/integratorap_cm720t_defconfig
@@ -7,6 +7,7 @@ CONFIG_CM720T=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 a1639ada33..df21099ac9 100644
--- a/configs/integratorap_cm920t_defconfig
+++ b/configs/integratorap_cm920t_defconfig
@@ -7,6 +7,7 @@ CONFIG_CM920T=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 f288dc88e2..7716e324aa 100644
--- a/configs/integratorap_cm926ejs_defconfig
+++ b/configs/integratorap_cm926ejs_defconfig
@@ -7,6 +7,7 @@ CONFIG_CM926EJ_S=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 c13af27def..80851f5151 100644
--- a/configs/integratorap_cm946es_defconfig
+++ b/configs/integratorap_cm946es_defconfig
@@ -7,6 +7,7 @@ CONFIG_CM946ES=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 65a5832e44..45c4d843e5 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 695d7d1349..ea8e262317 100644
--- a/configs/ls1012aqds_qspi_defconfig
+++ b/configs/ls1012aqds_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
@@ -30,8 +31,8 @@ CONFIG_CMD_FAT=y
 CONFIG_OF_CONTROL=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
-# CONFIG_BLK is not set
 CONFIG_SCSI=y
+# CONFIG_BLK is not set
 CONFIG_DM_MMC=y
 # CONFIG_DM_MMC_OPS is not set
 CONFIG_DM_SPI_FLASH=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 acf0a90c29..c46e64949a 100644
--- a/configs/ls1012ardb_qspi_defconfig
+++ b/configs/ls1012ardb_qspi_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/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig b/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig
index d13652a2f5..3844893089 100644
--- a/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig
+++ b/configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig
@@ -35,6 +35,7 @@ CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=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/ls1046aqds_SECURE_BOOT_defconfig b/configs/ls1046aqds_SECURE_BOOT_defconfig
index cead5afe03..74ac7cfc2b 100644
--- a/configs/ls1046aqds_SECURE_BOOT_defconfig
+++ b/configs/ls1046aqds_SECURE_BOOT_defconfig
@@ -15,6 +15,7 @@ CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=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/ls1046aqds_defconfig b/configs/ls1046aqds_defconfig
index 87df2fec9b..814c04af3d 100644
--- a/configs/ls1046aqds_defconfig
+++ b/configs/ls1046aqds_defconfig
@@ -14,6 +14,7 @@ CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=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/ls1046aqds_nand_defconfig b/configs/ls1046aqds_nand_defconfig
index a3c60651ec..b2c436f482 100644
--- a/configs/ls1046aqds_nand_defconfig
+++ b/configs/ls1046aqds_nand_defconfig
@@ -20,6 +20,7 @@ CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=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/ls1046aqds_qspi_defconfig b/configs/ls1046aqds_qspi_defconfig
index d145c5a3a2..04d6d0ca83 100644
--- a/configs/ls1046aqds_qspi_defconfig
+++ b/configs/ls1046aqds_qspi_defconfig
@@ -16,6 +16,7 @@ CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=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/ls1046aqds_sdcard_ifc_defconfig b/configs/ls1046aqds_sdcard_ifc_defconfig
index 19b80777fb..4ac72ca120 100644
--- a/configs/ls1046aqds_sdcard_ifc_defconfig
+++ b/configs/ls1046aqds_sdcard_ifc_defconfig
@@ -20,6 +20,7 @@ CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=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/ls1046aqds_sdcard_qspi_defconfig b/configs/ls1046aqds_sdcard_qspi_defconfig
index e49de18746..bae12d9d8f 100644
--- a/configs/ls1046aqds_sdcard_qspi_defconfig
+++ b/configs/ls1046aqds_sdcard_qspi_defconfig
@@ -21,6 +21,7 @@ CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=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/ls1046ardb_emmc_defconfig b/configs/ls1046ardb_emmc_defconfig
index c50931a339..12923c193a 100644
--- a/configs/ls1046ardb_emmc_defconfig
+++ b/configs/ls1046ardb_emmc_defconfig
@@ -17,6 +17,7 @@ CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=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/ls1046ardb_qspi_SECURE_BOOT_defconfig b/configs/ls1046ardb_qspi_SECURE_BOOT_defconfig
index de14dc1a33..6cba3a5bf8 100644
--- a/configs/ls1046ardb_qspi_SECURE_BOOT_defconfig
+++ b/configs/ls1046ardb_qspi_SECURE_BOOT_defconfig
@@ -14,6 +14,7 @@ CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=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/ls1046ardb_qspi_defconfig b/configs/ls1046ardb_qspi_defconfig
index 0a8f1a0501..56495ce087 100644
--- a/configs/ls1046ardb_qspi_defconfig
+++ b/configs/ls1046ardb_qspi_defconfig
@@ -13,6 +13,7 @@ CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=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/ls1046ardb_sdcard_SECURE_BOOT_defconfig b/configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig
index 5162c2cadc..1b7ab2eab7 100644
--- a/configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig
+++ b/configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=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/ls1046ardb_sdcard_defconfig b/configs/ls1046ardb_sdcard_defconfig
index da8c5b815b..e42758210e 100644
--- a/configs/ls1046ardb_sdcard_defconfig
+++ b/configs/ls1046ardb_sdcard_defconfig
@@ -18,6 +18,7 @@ CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=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/ls2080aqds_SECURE_BOOT_defconfig b/configs/ls2080aqds_SECURE_BOOT_defconfig
index 617c522851..b486d6522a 100644
--- a/configs/ls2080aqds_SECURE_BOOT_defconfig
+++ b/configs/ls2080aqds_SECURE_BOOT_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_SETEXPR is not set
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
diff --git a/configs/ls2080aqds_defconfig b/configs/ls2080aqds_defconfig
index 0106e9ad0d..732ad590c9 100644
--- a/configs/ls2080aqds_defconfig
+++ b/configs/ls2080aqds_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_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 6548bc099f..0eec9b81c9 100644
--- a/configs/ls2080aqds_nand_defconfig
+++ b/configs/ls2080aqds_nand_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_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 f08e7bfa87..7c0570e17c 100644
--- a/configs/ls2080aqds_qspi_defconfig
+++ b/configs/ls2080aqds_qspi_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_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 f933b8fa2c..04b14b0bd4 100644
--- a/configs/ls2080aqds_sdcard_defconfig
+++ b/configs/ls2080aqds_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_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 70839e6f01..6494d3c740 100644
--- a/configs/ls2080ardb_SECURE_BOOT_defconfig
+++ b/configs/ls2080ardb_SECURE_BOOT_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_SETEXPR is not set
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
diff --git a/configs/ls2080ardb_defconfig b/configs/ls2080ardb_defconfig
index ed79c97121..97271a5ed4 100644
--- a/configs/ls2080ardb_defconfig
+++ b/configs/ls2080ardb_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_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 58eb4c68ef..de5fa32622 100644
--- a/configs/ls2080ardb_nand_defconfig
+++ b/configs/ls2080ardb_nand_defconfig
@@ -23,6 +23,7 @@ CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=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 bc2792e533..f89fbc9a17 100644
--- a/configs/ls2081ardb_defconfig
+++ b/configs/ls2081ardb_defconfig
@@ -16,6 +16,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 76b2f32677..d95e49238b 100644
--- a/configs/ls2088ardb_qspi_defconfig
+++ b/configs/ls2088ardb_qspi_defconfig
@@ -16,6 +16,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 a64a0a3455..582551b931 100644
--- a/configs/minnowmax_defconfig
+++ b/configs/minnowmax_defconfig
@@ -30,6 +30,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 ee92e4fb83..0e158c6ec5 100644
--- a/configs/mpc8308_p1m_defconfig
+++ b/configs/mpc8308_p1m_defconfig
@@ -6,6 +6,7 @@ CONFIG_OF_STDOUT_VIA_ALIAS=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 7f36eda665..caeaafbcf8 100644
--- a/configs/mvebu_db_armada8k_defconfig
+++ b/configs/mvebu_db_armada8k_defconfig
@@ -22,6 +22,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 a4fec5dc1f..b41dd7ceb6 100644
--- a/configs/mvebu_mcbin-88f8040_defconfig
+++ b/configs/mvebu_mcbin-88f8040_defconfig
@@ -23,6 +23,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 d8e05cfe04..535c98005f 100644
--- a/configs/mx6sabresd_defconfig
+++ b/configs/mx6sabresd_defconfig
@@ -28,6 +28,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 15cbbace85..59385fd484 100644
--- a/configs/novena_defconfig
+++ b/configs/novena_defconfig
@@ -29,6 +29,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 d04f052355..ee6430b7c5 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 f4640b906a..777ba9c4c4 100644
--- a/configs/qemu-ppce500_defconfig
+++ b/configs/qemu-ppce500_defconfig
@@ -14,6 +14,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 2b43827254..c31e6407cc 100644
--- a/configs/qemu-x86_64_defconfig
+++ b/configs/qemu-x86_64_defconfig
@@ -38,6 +38,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 b648326041..c356073161 100644
--- a/configs/qemu-x86_defconfig
+++ b/configs/qemu-x86_defconfig
@@ -19,6 +19,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 e092dbdef6..47e590cdf4 100644
--- a/configs/qemu-x86_efi_payload32_defconfig
+++ b/configs/qemu-x86_efi_payload32_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/qemu-x86_efi_payload64_defconfig b/configs/qemu-x86_efi_payload64_defconfig
index f8f6295617..bd066645b8 100644
--- a/configs/qemu-x86_efi_payload64_defconfig
+++ b/configs/qemu-x86_efi_payload64_defconfig
@@ -17,6 +17,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 ba68b504d0..aaf351d2a1 100644
--- a/configs/r2dplus_defconfig
+++ b/configs/r2dplus_defconfig
@@ -2,6 +2,7 @@ CONFIG_SH=y
 CONFIG_TARGET_R2DPLUS=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 2a37db824d..57204fb7e5 100644
--- a/configs/r7780mp_defconfig
+++ b/configs/r7780mp_defconfig
@@ -14,6 +14,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 eaaa25f407..52ae05b447 100644
--- a/configs/sandbox_defconfig
+++ b/configs/sandbox_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_flattree_defconfig b/configs/sandbox_flattree_defconfig
index c5ef69f241..d74520eaaa 100644
--- a/configs/sandbox_flattree_defconfig
+++ b/configs/sandbox_flattree_defconfig
@@ -34,6 +34,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 747d4b1bba..0ac772cfb2 100644
--- a/configs/sandbox_noblk_defconfig
+++ b/configs/sandbox_noblk_defconfig
@@ -38,6 +38,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 6889206c1b..83e4a88108 100644
--- a/configs/sandbox_spl_defconfig
+++ b/configs/sandbox_spl_defconfig
@@ -46,6 +46,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 8cb58e9d18..27f40f2a7b 100644
--- a/configs/sh7785lcr_32bit_defconfig
+++ b/configs/sh7785lcr_32bit_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/sh7785lcr_defconfig b/configs/sh7785lcr_defconfig
index 5b6ebf8528..6b3b453f02 100644
--- a/configs/sh7785lcr_defconfig
+++ b/configs/sh7785lcr_defconfig
@@ -14,6 +14,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 5def6d5991..1fc772260f 100644
--- a/configs/socrates_defconfig
+++ b/configs/socrates_defconfig
@@ -12,6 +12,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 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_NFS is not set
diff --git a/configs/som-db5800-som-6867_defconfig b/configs/som-db5800-som-6867_defconfig
index 56a7e4b017..eb31a0f2a4 100644
--- a/configs/som-db5800-som-6867_defconfig
+++ b/configs/som-db5800-som-6867_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/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 90a238cacf..05a2245a4c 100644
--- a/configs/tbs2910_defconfig
+++ b/configs/tbs2910_defconfig
@@ -22,6 +22,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 1703cee841..9a45d85749 100644
--- a/configs/theadorable-x86-dfi-bt700_defconfig
+++ b/configs/theadorable-x86-dfi-bt700_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/theadorable_debug_defconfig b/configs/theadorable_debug_defconfig
index ada88e76a2..a3736b360e 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 cb42ac559a..90d0bf2d83 100644
--- a/configs/trimslice_defconfig
+++ b/configs/trimslice_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/turris_omnia_defconfig b/configs/turris_omnia_defconfig
index 512b9da74d..975990b6c7 100644
--- a/configs/turris_omnia_defconfig
+++ b/configs/turris_omnia_defconfig
@@ -7,56 +7,38 @@ CONFIG_TARGET_TURRIS_OMNIA=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
-CONFIG_SPL_BOOT_DEVICE_SPI=y
-CONFIG_DISTRO_DEFAULTS=y
 CONFIG_DEFAULT_DEVICE_TREE="armada-385-turris-omnia"
+CONFIG_DEBUG_UART=y
+CONFIG_DISTRO_DEFAULTS=y
 CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
+# CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL=y
 CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
+CONFIG_CMD_MMC=y
 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
-CONFIG_CMD_GO=y
-CONFIG_CMD_RUN=y
-CONFIG_CMD_MMC=y
-CONFIG_CMD_SAVEENV=y
-CONFIG_CMD_LOADB=y
-CONFIG_CMD_LOADS=y
-CONFIG_CMD_MEMORY=y
-CONFIG_CMD_ECHO=y
-CONFIG_CMD_SETEXPR=y
-# CONFIG_PARTITION_UUIDS is not set
 # CONFIG_SPL_PARTITION_UUIDS is not set
-CONFIG_DOS_PARTITION=y
 CONFIG_SPL_OF_TRANSLATE=y
 CONFIG_MISC=y
 CONFIG_ATSHA204A=y
-CONFIG_DEBUG_UART=y
-CONFIG_DEBUG_UART_NS16550=y
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_MV=y
 CONFIG_DEBUG_UART_BASE=0xd0012000
 CONFIG_DEBUG_UART_CLOCK=250000000
 CONFIG_DEBUG_UART_SHIFT=2
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
-CONFIG_MMC_SDHCI=y
-CONFIG_MMC_SDHCI_MV=y
 CONFIG_USB_EHCI_HCD=y
-CONFIG_USB_EHCI=y
-CONFIG_USB_EHCI_MARVELL=y
 CONFIG_USB_STORAGE=y
 CONFIG_WDT=y
 CONFIG_WDT_ORION=y
-CONFIG_ARCH_MISC_INIT=y
-CONFIG_BOARD_EARLY_INIT_F=y
-CONFIG_CMDLINE=y
-CONFIG_HUSH_PARSER=y
-CONFIG_SYS_PROMPT="=> "
-# CONFIG_DISPLAY_BOARDINFO is not set
diff --git a/configs/ve8313_defconfig b/configs/ve8313_defconfig
index 2fdf77d80b..3515bdc7cb 100644
--- a/configs/ve8313_defconfig
+++ b/configs/ve8313_defconfig
@@ -6,6 +6,7 @@ CONFIG_OF_STDOUT_VIA_ALIAS=y
 CONFIG_BOOTDELAY=6
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=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 c27a44744a..e986fb1e0d 100644
--- a/configs/vme8349_defconfig
+++ b/configs/vme8349_defconfig
@@ -6,6 +6,7 @@ CONFIG_OF_STDOUT_VIA_ALIAS=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 bdfa81f2c1..9afc57c11e 100644
--- a/configs/xpedite517x_defconfig
+++ b/configs/xpedite517x_defconfig
@@ -10,6 +10,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/xpedite520x_defconfig b/configs/xpedite520x_defconfig
index 3bd5fd1ade..997dbad44d 100644
--- a/configs/xpedite520x_defconfig
+++ b/configs/xpedite520x_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/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 5a41103bb8..52dbcfcc11 100644
--- a/configs/xpedite550x_defconfig
+++ b/configs/xpedite550x_defconfig
@@ -11,6 +11,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 b1f86d98ae..c616371a5f 100644
--- a/configs/zc5202_defconfig
+++ b/configs/zc5202_defconfig
@@ -22,6 +22,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 dc3f4e38a8..2225cf7a6b 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -14,7 +14,6 @@
  */
 
 #define CONFIG_CMD_NAND		/* NAND support			*/
-#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 2226aba674..bcd5827e69 100644
--- a/include/configs/B4860QDS.h
+++ b/include/configs/B4860QDS.h
@@ -704,10 +704,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 5491c47a77..ea1547f873 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 398d0e0550..9820dca3bf 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 7247111cf5..e2c3e1ae2d 100644
--- a/include/configs/M5235EVB.h
+++ b/include/configs/M5235EVB.h
@@ -34,7 +34,6 @@
 #define CONFIG_BOOTP_HOSTNAME
 
 /* Command line configuration */
-#define CONFIG_CMD_PCI
 #define CONFIG_CMD_REGINFO
 
 #define CONFIG_MCFFEC
diff --git a/include/configs/M54455EVB.h b/include/configs/M54455EVB.h
index 39ba94065a..ab7e7aef94 100644
--- a/include/configs/M54455EVB.h
+++ b/include/configs/M54455EVB.h
@@ -36,7 +36,6 @@
 #define CONFIG_BOOTP_HOSTNAME
 
 /* Command line configuration */
-#undef CONFIG_CMD_PCI
 #define CONFIG_CMD_REGINFO
 
 /* Network configuration */
diff --git a/include/configs/M5475EVB.h b/include/configs/M5475EVB.h
index cf9d3b8e1b..5d87d0d95b 100644
--- a/include/configs/M5475EVB.h
+++ b/include/configs/M5475EVB.h
@@ -26,7 +26,6 @@
 #define CONFIG_WATCHDOG_TIMEOUT	5000	/* timeout in milliseconds, max timeout is 6.71sec */
 
 /* Command line configuration */
-#define CONFIG_CMD_PCI
 #define CONFIG_CMD_REGINFO
 
 #define CONFIG_SLTTMR
@@ -69,9 +68,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 934c9d8903..6226fd67b6 100644
--- a/include/configs/M5485EVB.h
+++ b/include/configs/M5485EVB.h
@@ -26,7 +26,6 @@
 #define CONFIG_WATCHDOG_TIMEOUT	5000	/* timeout in milliseconds, max timeout is 6.71sec */
 
 /* Command line configuration */
-#define CONFIG_CMD_PCI
 #define CONFIG_CMD_REGINFO
 
 #define CONFIG_SLTTMR
@@ -68,9 +67,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 0f26467e29..6e73c975a5 100644
--- a/include/configs/MPC8308RDB.h
+++ b/include/configs/MPC8308RDB.h
@@ -416,7 +416,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 7494b3d0b2..083df72f70 100644
--- a/include/configs/MPC8313ERDB.h
+++ b/include/configs/MPC8313ERDB.h
@@ -467,7 +467,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 8799a9eb27..c04e50ca09 100644
--- a/include/configs/MPC8315ERDB.h
+++ b/include/configs/MPC8315ERDB.h
@@ -445,7 +445,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 ea99aead45..3878a96e06 100644
--- a/include/configs/MPC8323ERDB.h
+++ b/include/configs/MPC8323ERDB.h
@@ -321,10 +321,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 716fc3822e..f50fa96bbf 100644
--- a/include/configs/MPC832XEMDS.h
+++ b/include/configs/MPC832XEMDS.h
@@ -405,10 +405,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 2f91dd57bb..f3dc6d6c70 100644
--- a/include/configs/MPC8349EMDS.h
+++ b/include/configs/MPC8349EMDS.h
@@ -464,10 +464,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 53e089a82a..a825cd6a79 100644
--- a/include/configs/MPC8349ITX.h
+++ b/include/configs/MPC8349ITX.h
@@ -488,10 +488,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 459efb560c..7919db2b71 100644
--- a/include/configs/MPC837XEMDS.h
+++ b/include/configs/MPC837XEMDS.h
@@ -468,10 +468,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 7afbc9096f..212f2dbdc2 100644
--- a/include/configs/MPC837XERDB.h
+++ b/include/configs/MPC837XERDB.h
@@ -481,10 +481,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 470bb72fcb..10bf1b000b 100644
--- a/include/configs/MPC8536DS.h
+++ b/include/configs/MPC8536DS.h
@@ -590,10 +590,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 0f96ac0242..47bda22f00 100644
--- a/include/configs/MPC8540ADS.h
+++ b/include/configs/MPC8540ADS.h
@@ -316,10 +316,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 029aa572ce..816ff4b9a9 100644
--- a/include/configs/MPC8541CDS.h
+++ b/include/configs/MPC8541CDS.h
@@ -344,10 +344,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 ffa8796407..3dff6376a3 100644
--- a/include/configs/MPC8544DS.h
+++ b/include/configs/MPC8544DS.h
@@ -350,10 +350,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 43e05516ab..c0fde19bad 100644
--- a/include/configs/MPC8548CDS.h
+++ b/include/configs/MPC8548CDS.h
@@ -463,10 +463,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 96a125c323..9c8e3811f1 100644
--- a/include/configs/MPC8555CDS.h
+++ b/include/configs/MPC8555CDS.h
@@ -342,10 +342,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 8d026addb3..23ba5f5e3a 100644
--- a/include/configs/MPC8560ADS.h
+++ b/include/configs/MPC8560ADS.h
@@ -356,10 +356,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 3734055bd3..0bdcfb1b0d 100644
--- a/include/configs/MPC8568MDS.h
+++ b/include/configs/MPC8568MDS.h
@@ -357,10 +357,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 eb7db20b7f..2156460ff9 100644
--- a/include/configs/MPC8569MDS.h
+++ b/include/configs/MPC8569MDS.h
@@ -450,10 +450,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 d8e0dfd807..0917f542f9 100644
--- a/include/configs/MPC8572DS.h
+++ b/include/configs/MPC8572DS.h
@@ -549,10 +549,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 1db3a633ef..8eae3072e6 100644
--- a/include/configs/MPC8610HPCD.h
+++ b/include/configs/MPC8610HPCD.h
@@ -428,10 +428,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 e87b11180a..a1e6303de7 100644
--- a/include/configs/MPC8641HPCN.h
+++ b/include/configs/MPC8641HPCN.h
@@ -589,10 +589,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 a249fa6ef2..c823958e5a 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 132f335dfd..9ead71f245 100644
--- a/include/configs/P1022DS.h
+++ b/include/configs/P1022DS.h
@@ -593,10 +593,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 719043d5a1..d676c1c819 100644
--- a/include/configs/P1023RDB.h
+++ b/include/configs/P1023RDB.h
@@ -243,10 +243,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 967c83c53b..8ae83417f3 100644
--- a/include/configs/P2041RDB.h
+++ b/include/configs/P2041RDB.h
@@ -580,10 +580,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 cbd92d92f6..514303486e 100644
--- a/include/configs/T102xQDS.h
+++ b/include/configs/T102xQDS.h
@@ -779,10 +779,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 58c93788d7..c4e79664d9 100644
--- a/include/configs/T102xRDB.h
+++ b/include/configs/T102xRDB.h
@@ -790,10 +790,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 4e42450da0..417e2419bf 100644
--- a/include/configs/T1040QDS.h
+++ b/include/configs/T1040QDS.h
@@ -658,10 +658,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 69cbee0dfa..da44aa05f1 100644
--- a/include/configs/T104xRDB.h
+++ b/include/configs/T104xRDB.h
@@ -772,10 +772,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 4fce859073..618ab1ec57 100644
--- a/include/configs/T208xQDS.h
+++ b/include/configs/T208xQDS.h
@@ -744,10 +744,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 0857bc8f17..3a43325523 100644
--- a/include/configs/T208xRDB.h
+++ b/include/configs/T208xRDB.h
@@ -690,10 +690,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 ed3b0f7202..878f120c45 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 c7c31cf3b8..8c12eb1704 100644
--- a/include/configs/TQM834x.h
+++ b/include/configs/TQM834x.h
@@ -275,10 +275,6 @@
  */
 #define CONFIG_CMD_REGINFO
 
-#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 81f162526d..ccaa89d7cf 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 58cf7ad888..9cd23f8da8 100644
--- a/include/configs/advantech_dms-ba16.h
+++ b/include/configs/advantech_dms-ba16.h
@@ -270,7 +270,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 c3cade9ea6..c7564dc1a6 100644
--- a/include/configs/apalis-tk1.h
+++ b/include/configs/apalis-tk1.h
@@ -40,7 +40,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 9772d8b5c3..a3339e20b7 100644
--- a/include/configs/apalis_t30.h
+++ b/include/configs/apalis_t30.h
@@ -36,7 +36,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 f3d7a2fad2..058c21992e 100644
--- a/include/configs/beaver.h
+++ b/include/configs/beaver.h
@@ -46,7 +46,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 50aaa7be8c..a9ea6fc0a2 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 f1b5a71edf..e224e91664 100644
--- a/include/configs/cardhu.h
+++ b/include/configs/cardhu.h
@@ -50,7 +50,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 fd8df46776..a3c4fce264 100644
--- a/include/configs/cei-tk1-som.h
+++ b/include/configs/cei-tk1-som.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/clearfog.h b/include/configs/clearfog.h
index 77c2493e66..8dd85b6531 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 072650dfae..0fa1b76b7e 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 f10cddafe0..09af7829ca 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 92e6ee0033..4a62662e42 100644
--- a/include/configs/corenet_ds.h
+++ b/include/configs/corenet_ds.h
@@ -594,10 +594,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 6079540bc9..6f877a8ac8 100644
--- a/include/configs/cyrus.h
+++ b/include/configs/cyrus.h
@@ -412,10 +412,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 0f0ab01f62..071f95f325 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 292bfb8f7d..d43ad68846 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 187ead3e4b..0f9055af08 100644
--- a/include/configs/db-mv784mp-gp.h
+++ b/include/configs/db-mv784mp-gp.h
@@ -26,7 +26,6 @@
  * Commands configuration
  */
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_PCI
 
 /* I2C */
 #define CONFIG_SYS_I2C
diff --git a/include/configs/ds414.h b/include/configs/ds414.h
index aaba5d8eab..e094bafa1e 100644
--- a/include/configs/ds414.h
+++ b/include/configs/ds414.h
@@ -49,7 +49,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 ad97a16bc7..5325228aa7 100644
--- a/include/configs/ge_bx50v3.h
+++ b/include/configs/ge_bx50v3.h
@@ -300,7 +300,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 ad8a53c264..56c002ee4e 100644
--- a/include/configs/gw_ventana.h
+++ b/include/configs/gw_ventana.h
@@ -121,7 +121,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 405129b7e2..eb0c6c3870 100644
--- a/include/configs/hrcon.h
+++ b/include/configs/hrcon.h
@@ -511,7 +511,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 1d1b8b31c2..2ba548b4c2 100644
--- a/include/configs/integratorap.h
+++ b/include/configs/integratorap.h
@@ -44,8 +44,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 89f6cbc85b..d3535c613e 100644
--- a/include/configs/jetson-tk1.h
+++ b/include/configs/jetson-tk1.h
@@ -41,7 +41,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 7d69224bd1..0baad77829 100644
--- a/include/configs/km/km83xx-common.h
+++ b/include/configs/km/km83xx-common.h
@@ -221,10 +221,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 664a64c55a..bf351c44ca 100644
--- a/include/configs/km/kmp204x-common.h
+++ b/include/configs/km/kmp204x-common.h
@@ -369,7 +369,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 9e6c7a797c..162b866ad5 100644
--- a/include/configs/ls1012aqds.h
+++ b/include/configs/ls1012aqds.h
@@ -150,7 +150,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 0705bc5f68..653837c689 100644
--- a/include/configs/ls1012ardb.h
+++ b/include/configs/ls1012ardb.h
@@ -66,7 +66,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 c1ec2d440c..100b8511ac 100644
--- a/include/configs/ls1021aiot.h
+++ b/include/configs/ls1021aiot.h
@@ -217,7 +217,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 152954165c..62dd7f03e3 100644
--- a/include/configs/ls1021aqds.h
+++ b/include/configs/ls1021aqds.h
@@ -481,7 +481,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 067ef4df93..5f3b4ef36a 100644
--- a/include/configs/ls1021atwr.h
+++ b/include/configs/ls1021atwr.h
@@ -351,7 +351,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 32f7162bbc..24221cfd40 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 1b91676c2d..d30eabf0ec 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 5e1867d81e..0ee770c910 100644
--- a/include/configs/ls2080aqds.h
+++ b/include/configs/ls2080aqds.h
@@ -346,7 +346,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 e8aacd3dcd..950999411c 100644
--- a/include/configs/ls2080ardb.h
+++ b/include/configs/ls2080ardb.h
@@ -331,7 +331,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 1f977cb71a..ec292aeabf 100644
--- a/include/configs/malta.h
+++ b/include/configs/malta.h
@@ -101,7 +101,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 b865d9f916..885b81d3a8 100644
--- a/include/configs/mpc8308_p1m.h
+++ b/include/configs/mpc8308_p1m.h
@@ -383,7 +383,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 ac116edf31..cee89051fc 100644
--- a/include/configs/mvebu_armada-8k.h
+++ b/include/configs/mvebu_armada-8k.h
@@ -137,7 +137,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 b39ab729d8..1b2a93b3b2 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 041159806b..af4669397c 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 a76e69fa9a..e7cbfd5192 100644
--- a/include/configs/p1_p2_rdb_pc.h
+++ b/include/configs/p1_p2_rdb_pc.h
@@ -687,8 +687,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 04d01e2ec3..a4a6cf2b6f 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 22fc122cc3..b5e20c2275 100644
--- a/include/configs/p2371-2180.h
+++ b/include/configs/p2371-2180.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/p2771-0000.h b/include/configs/p2771-0000.h
index 791a48a3be..9ae395bcf8 100644
--- a/include/configs/p2771-0000.h
+++ b/include/configs/p2771-0000.h
@@ -24,7 +24,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 c26810723e..9782813cdf 100644
--- a/include/configs/qemu-ppce500.h
+++ b/include/configs/qemu-ppce500.h
@@ -128,10 +128,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 744d567805..19f9088b3d 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 bb79a9ffea..c40de4d1b6 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_SCIF_CONSOLE	1
 #define CONFIG_CONS_SCIF0	1
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 1e8404cbdf..3f671da18e 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 4d87f5334a..1585d31fe1 100644
--- a/include/configs/sbc8349.h
+++ b/include/configs/sbc8349.h
@@ -400,10 +400,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 e872e7f810..16c10da122 100644
--- a/include/configs/sbc8548.h
+++ b/include/configs/sbc8548.h
@@ -513,10 +513,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 33b6d1fb93..0e8e703691 100644
--- a/include/configs/sbc8641d.h
+++ b/include/configs/sbc8641d.h
@@ -453,10 +453,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 ab30428063..eb657be108 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 bfd4e5fe3f..ef2cd7540a 100644
--- a/include/configs/socrates.h
+++ b/include/configs/socrates.h
@@ -282,10 +282,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 a33b2be507..94a4ebd281 100644
--- a/include/configs/strider.h
+++ b/include/configs/strider.h
@@ -545,7 +545,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 79f6b162f7..4690a99b2c 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 94e207c8c4..f4da06c4e4 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 ab9c5c3ab8..ad5bf57afe 100644
--- a/include/configs/trimslice.h
+++ b/include/configs/trimslice.h
@@ -43,7 +43,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 4ad603d2fb..d938152388 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 f0e9a2e58d..b94a8757b2 100644
--- a/include/configs/ve8313.h
+++ b/include/configs/ve8313.h
@@ -314,7 +314,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 78e14b38c1..cd5ed9f284 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 1aed81fc14..e32555ae85 100644
--- a/include/configs/vme8349.h
+++ b/include/configs/vme8349.h
@@ -347,10 +347,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 d104449e3b..b8f46a1f54 100644
--- a/include/configs/x86-common.h
+++ b/include/configs/x86-common.h
@@ -70,7 +70,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 4930c4b3e0..2bbb95d12e 100644
--- a/include/configs/xpedite517x.h
+++ b/include/configs/xpedite517x.h
@@ -485,7 +485,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
  * Command configuration.
  */
 #define CONFIG_CMD_NAND
-#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 16b2ebbef5..646d97a8f5 100644
--- a/include/configs/xpedite520x.h
+++ b/include/configs/xpedite520x.h
@@ -288,7 +288,6 @@
  * Command configuration.
  */
 #define CONFIG_CMD_NAND
-#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 f058827141..db0089c98d 100644
--- a/include/configs/xpedite537x.h
+++ b/include/configs/xpedite537x.h
@@ -338,7 +338,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
  * Command configuration.
  */
 #define CONFIG_CMD_NAND
-#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 80be9b5d8d..3e3ac55bcd 100644
--- a/include/configs/xpedite550x.h
+++ b/include/configs/xpedite550x.h
@@ -337,7 +337,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
  * Command configuration.
  */
 #define CONFIG_CMD_NAND
-#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 edb6a92d2b..131cc9a4ee 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.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 11/41] Kconfig: Drop CONFIG_CMD_PCI_ENUM
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (9 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 10/41] Convert CONFIG_CMD_PCI to Kconfig Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-22 15:32   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 12/41] Kconfig; Drop CONFIG_IDE_TI_CARDBUS and associated driver Simon Glass
                   ` (29 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

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 <sjg@chromium.org>
---

 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 e094bafa1e..a125ba2cdd 100644
--- a/include/configs/ds414.h
+++ b/include/configs/ds414.h
@@ -49,7 +49,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 2bbb95d12e..1848d9f444 100644
--- a/include/configs/xpedite517x.h
+++ b/include/configs/xpedite517x.h
@@ -485,7 +485,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
  * Command configuration.
  */
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_PCI_ENUM
 #define CONFIG_CMD_REGINFO
 
 /*
diff --git a/include/configs/xpedite520x.h b/include/configs/xpedite520x.h
index 646d97a8f5..881ef3188d 100644
--- a/include/configs/xpedite520x.h
+++ b/include/configs/xpedite520x.h
@@ -288,7 +288,6 @@
  * Command configuration.
  */
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_PCI_ENUM
 #define CONFIG_CMD_REGINFO
 
 /*
diff --git a/include/configs/xpedite537x.h b/include/configs/xpedite537x.h
index db0089c98d..ad2490f456 100644
--- a/include/configs/xpedite537x.h
+++ b/include/configs/xpedite537x.h
@@ -338,7 +338,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
  * Command configuration.
  */
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_PCI_ENUM
 #define CONFIG_CMD_REGINFO
 
 /*
diff --git a/include/configs/xpedite550x.h b/include/configs/xpedite550x.h
index 3e3ac55bcd..9fccd563fa 100644
--- a/include/configs/xpedite550x.h
+++ b/include/configs/xpedite550x.h
@@ -337,7 +337,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
  * Command configuration.
  */
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_PCI_ENUM
 #define CONFIG_CMD_REGINFO
 
 /*
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 131cc9a4ee..0eba95d4a1 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.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 12/41] Kconfig; Drop CONFIG_IDE_TI_CARDBUS and associated driver
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (10 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 11/41] Kconfig: Drop CONFIG_CMD_PCI_ENUM Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-22 15:32   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 13/41] Convert CONFIG_CMD_PCMCIA to Kconfig Simon Glass
                   ` (28 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This driver is not used by any board. Drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 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, wd at denx.de.
- * (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 <damm@bitsmart.com>
- *
- * "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.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 13/41] Convert CONFIG_CMD_PCMCIA to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (11 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 12/41] Kconfig; Drop CONFIG_IDE_TI_CARDBUS and associated driver Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-22 15:32   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 14/41] Kconfig: Drop CONFIG_CMD_PORTIO and associated command Simon Glass
                   ` (27 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_PCMCIA

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 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 fe63a7090b..e05be8d9a7 100644
--- a/README
+++ b/README
@@ -813,7 +813,6 @@ The following options need to be configured:
 		CONFIG_CMD_NAND		* NAND support
 		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 007895c4ce..c9fb24d984 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -779,6 +779,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.
+
 endmenu
 
 
diff --git a/configs/ms7720se_defconfig b/configs/ms7720se_defconfig
index 30e52692d0..e1d8588233 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 2225cf7a6b..ea9860cf91 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -14,7 +14,6 @@
  */
 
 #define CONFIG_CMD_NAND		/* NAND support			*/
-#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 9db3380a95..782e0cbfda 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 2855c00723..158b73ce50 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 0eba95d4a1..6662b60754 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.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 14/41] Kconfig: Drop CONFIG_CMD_PORTIO and associated command
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (12 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 13/41] Convert CONFIG_CMD_PCMCIA to Kconfig Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-22 15:32   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 15/41] Kconfig: Convert CMD_READ to Kconfig Simon Glass
                   ` (26 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

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 <sjg@chromium.org>
---

 cmd/portio.c | 145 -----------------------------------------------------------
 1 file changed, 145 deletions(-)
 delete mode 100644 cmd/portio.c

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, elf at buici.com
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-/*
- * Port I/O Functions
- *
- * Copied from FADS ROM, Dan Malek (dmalek at jlc.net)
- */
-
-#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"
-);
-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 15/41] Kconfig: Convert CMD_READ to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (13 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 14/41] Kconfig: Drop CONFIG_CMD_PORTIO and associated command Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-22 15:33   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 16/41] Convert CONFIG_CMD_REGINFO " Simon Glass
                   ` (25 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

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 <sjg@chromium.org>
---

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

diff --git a/README b/README
index e05be8d9a7..8dc75009d1 100644
--- a/README
+++ b/README
@@ -815,8 +815,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
 		CONFIG_CMD_SANDBOX	* sb command to access sandbox features
diff --git a/cmd/Kconfig b/cmd/Kconfig
index c9fb24d984..2546ef61f6 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -787,6 +787,11 @@ config CMD_PCMCIA
 	  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.
+
 endmenu
 
 
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/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 52ae05b447..0e839dce73 100644
--- a/configs/sandbox_defconfig
+++ b/configs/sandbox_defconfig
@@ -192,3 +192,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/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 ea9860cf91..2a59976550 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -14,10 +14,8 @@
  */
 
 #define CONFIG_CMD_NAND		/* NAND support			*/
-#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	*/
 #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 6662b60754..d3344bfebf 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_PORTIO
-CONFIG_CMD_READ
 CONFIG_CMD_REGINFO
 CONFIG_CMD_REISER
 CONFIG_CMD_SANDBOX
-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 16/41] Convert CONFIG_CMD_REGINFO to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (14 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 15/41] Kconfig: Convert CMD_READ to Kconfig Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-22 15:53   ` Bin Meng
  2017-07-22 16:34   ` LEROY Christophe
  2017-07-21 23:11 ` [U-Boot] [PATCH 17/41] Convert CONFIG_CMD_REISER " Simon Glass
                   ` (24 subsequent siblings)
  40 siblings, 2 replies; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_REGINFO

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 README                                             |   1 -
 arch/powerpc/cpu/mpc85xx/Kconfig                   |  11 +++
 cmd/Kconfig                                        |   6 ++
 .../BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig   |   1 -
 .../BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig   |   1 -
 .../BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig |   1 -
 .../BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig |   1 -
 configs/MCR3000_defconfig                          | 100 +++++++++------------
 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/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 +
 .../P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig   |   2 +-
 .../P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig   |   2 +-
 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/TQM834x_defconfig                          |   1 +
 .../controlcenterd_36BIT_SDCARD_DEVELOP_defconfig  |   1 +
 configs/controlcenterd_36BIT_SDCARD_defconfig      |   1 +
 configs/qemu-ppce500_defconfig                     |   1 +
 configs/sbc8641d_defconfig                         |   1 +
 configs/socrates_defconfig                         |   1 +
 configs/xpedite517x_defconfig                      |   1 +
 configs/xpedite537x_defconfig                      |   1 +
 include/config_cmd_all.h                           |   1 -
 include/configs/B4860QDS.h                         |   1 -
 include/configs/BSC9131RDB.h                       |   1 -
 include/configs/BSC9132QDS.h                       |   1 -
 include/configs/C29XPCIE.h                         |   1 -
 include/configs/M5208EVBE.h                        |   1 -
 include/configs/M52277EVB.h                        |   1 -
 include/configs/M5235EVB.h                         |   1 -
 include/configs/M53017EVB.h                        |   1 -
 include/configs/M5329EVB.h                         |   1 -
 include/configs/M5373EVB.h                         |   1 -
 include/configs/M54418TWR.h                        |   1 -
 include/configs/M54451EVB.h                        |   1 -
 include/configs/M54455EVB.h                        |   1 -
 include/configs/M5475EVB.h                         |   1 -
 include/configs/M5485EVB.h                         |   1 -
 include/configs/MCR3000.h                          |   1 -
 include/configs/MPC8536DS.h                        |   1 -
 include/configs/MPC8541CDS.h                       |   1 -
 include/configs/MPC8544DS.h                        |   1 -
 include/configs/MPC8548CDS.h                       |   1 -
 include/configs/MPC8555CDS.h                       |   1 -
 include/configs/MPC8560ADS.h                       |   1 -
 include/configs/MPC8568MDS.h                       |   1 -
 include/configs/MPC8569MDS.h                       |   1 -
 include/configs/MPC8572DS.h                        |   1 -
 include/configs/MPC8610HPCD.h                      |   2 -
 include/configs/MPC8641HPCN.h                      |   1 -
 include/configs/P1010RDB.h                         |   1 -
 include/configs/P1022DS.h                          |   1 -
 include/configs/P1023RDB.h                         |   1 -
 include/configs/T102xQDS.h                         |   1 -
 include/configs/T102xRDB.h                         |   1 -
 include/configs/T1040QDS.h                         |   1 -
 include/configs/T104xRDB.h                         |   1 -
 include/configs/T208xQDS.h                         |   1 -
 include/configs/T208xRDB.h                         |   1 -
 include/configs/T4240RDB.h                         |   2 -
 include/configs/TQM834x.h                          |   1 -
 include/configs/UCP1020.h                          |   1 -
 include/configs/astro_mcf5373l.h                   |   1 -
 include/configs/controlcenterd.h                   |   3 -
 include/configs/corenet_ds.h                       |   1 -
 include/configs/cyrus.h                            |   1 -
 include/configs/dragonboard410c.h                  |   1 -
 include/configs/p1_p2_rdb_pc.h                     |   1 -
 include/configs/p1_twr.h                           |   1 -
 include/configs/qemu-ppce500.h                     |   2 -
 include/configs/s5p_goni.h                         |   2 -
 include/configs/sbc8548.h                          |   1 -
 include/configs/sbc8641d.h                         |   2 -
 include/configs/smdkc100.h                         |   2 -
 include/configs/socrates.h                         |   1 -
 include/configs/t4qds.h                            |   2 -
 include/configs/vct.h                              |   1 -
 include/configs/xilinx-ppc.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 -
 105 files changed, 95 insertions(+), 135 deletions(-)

diff --git a/README b/README
index 8dc75009d1..f5558eb9f1 100644
--- a/README
+++ b/README
@@ -815,7 +815,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/cpu/mpc85xx/Kconfig b/arch/powerpc/cpu/mpc85xx/Kconfig
index 11030d6180..450456d622 100644
--- a/arch/powerpc/cpu/mpc85xx/Kconfig
+++ b/arch/powerpc/cpu/mpc85xx/Kconfig
@@ -553,6 +553,7 @@ config ARCH_MPC8548
 	select SYS_FSL_SEC_BE
 	select SYS_FSL_SEC_COMPAT_2
 	select SYS_PPC_E500_USE_DEBUG_TLB
+	imply CMD_REGINFO
 
 config ARCH_MPC8555
 	bool
@@ -655,6 +656,7 @@ config ARCH_P1020
 	select FSL_ELBC
 	imply CMD_SATA
 	imply CMD_PCI
+	imply CMD_REGINFO
 
 config ARCH_P1021
 	bool
@@ -671,6 +673,7 @@ config ARCH_P1021
 	select FSL_ELBC
 	imply CMD_SATA
 	imply CMD_MTDPARTS
+	imply CMD_REGINFO
 
 config ARCH_P1022
 	bool
@@ -716,6 +719,7 @@ config ARCH_P1024
 	imply CMD_EEPROM
 	imply CMD_SATA
 	imply CMD_PCI
+	imply CMD_REGINFO
 
 config ARCH_P1025
 	bool
@@ -731,6 +735,7 @@ config ARCH_P1025
 	select SYS_PPC_E500_USE_DEBUG_TLB
 	select FSL_ELBC
 	imply CMD_SATA
+	imply CMD_REGINFO
 
 config ARCH_P2020
 	bool
@@ -747,6 +752,7 @@ config ARCH_P2020
 	select SYS_PPC_E500_USE_DEBUG_TLB
 	select FSL_ELBC
 	imply CMD_EEPROM
+	imply CMD_REGINFO
 
 config ARCH_P2041
 	bool
@@ -794,6 +800,7 @@ config ARCH_P3041
 	select SYS_FSL_SEC_COMPAT_4
 	select FSL_ELBC
 	imply CMD_SATA
+	imply CMD_REGINFO
 
 config ARCH_P4080
 	bool
@@ -830,6 +837,7 @@ config ARCH_P4080
 	select SYS_FSL_SEC_COMPAT_4
 	select FSL_ELBC
 	imply CMD_SATA
+	imply CMD_REGINFO
 
 config ARCH_P5020
 	bool
@@ -852,6 +860,7 @@ config ARCH_P5020
 	select SYS_PPC64
 	select FSL_ELBC
 	imply CMD_SATA
+	imply CMD_REGINFO
 
 config ARCH_P5040
 	bool
@@ -874,6 +883,7 @@ config ARCH_P5040
 	select SYS_PPC64
 	select FSL_ELBC
 	imply CMD_SATA
+	imply CMD_REGINFO
 
 config ARCH_QEMU_E500
 	bool
@@ -1380,6 +1390,7 @@ config SYS_PPC_E500_USE_DEBUG_TLB
 
 config FSL_IFC
 	bool
+	imply CMD_REGINFO
 
 config FSL_ELBC
 	bool
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 2546ef61f6..354949f132 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -792,6 +792,12 @@ config CMD_READ
 	help
 	  Provides low-level access to the data in a partition.
 
+config CMD_REGINFO
+	bool "reginfo - Print register information"
+	depends on PPC
+	help
+	  Provides access to low-level register information.
+
 endmenu
 
 
diff --git a/configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig b/configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig
index 87ea4b0064..e8c548286b 100644
--- a/configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig
+++ b/configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig
@@ -15,7 +15,6 @@ 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/BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig b/configs/BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig
index a59ffc652c..3afb011012 100644
--- a/configs/BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig
+++ b/configs/BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig
@@ -15,7 +15,6 @@ 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/BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig b/configs/BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig
index 2292dc16c7..c5d17bc516 100644
--- a/configs/BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig
+++ b/configs/BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig
@@ -15,7 +15,6 @@ 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/BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig b/configs/BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig
index 5450a0f398..ba0772c07d 100644
--- a/configs/BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig
+++ b/configs/BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig
@@ -15,7 +15,6 @@ 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/MCR3000_defconfig b/configs/MCR3000_defconfig
index 562face283..c8f45d6747 100644
--- a/configs/MCR3000_defconfig
+++ b/configs/MCR3000_defconfig
@@ -1,47 +1,19 @@
 CONFIG_PPC=y
 CONFIG_8xx=y
 CONFIG_TARGET_MCR3000=y
-CONFIG_BOOTDELAY=5
-CONFIG_HUSH_PARSER=y
-# CONFIG_CMD_SETEXPR is not set
-CONFIG_CMD_NET=y
-CONFIG_CMD_DHCP=y
-# CONFIG_LED_STATUS_BOARD_SPECIFIC is not set
-# CONFIG_MMC is not set
-CONFIG_MTD_NOR_FLASH=y
-# CONFIG_PCI is not set
-CONFIG_OF_LIBFDT=y
-CONFIG_SYS_PROMPT="S3K> "
-CONFIG_NETDEVICES=y
-CONFIG_MPC8XX_FEC=y
-
-CONFIG_CMD_SAVEENV=y
-CONFIG_CMD_FLASH=y
-CONFIG_CMD_MII=y
-CONFIG_CMD_PING=y
-CONFIG_CMD_ASKENV=y
-CONFIG_CMD_MTDPARTS=y
-CONFIG_CMD_NAND=y
-# CONFIG_CMD_BDI is not set
-# CONFIG_CMD_ECHO is not set
-# CONFIG_CMD_FPGA is not set
-# CONFIG_CMD_IMI is not set
-# CONFIG_CMD_IMLS is not set
-# CONFIG_CMD_ITEST is not set
-# CONFIG_CMD_CONSOLE is not set
-# CONFIG_CMD_LOADB is not set
-# CONFIG_CMD_LOADS is not set
-# CONFIG_CMD_MD5SUM is not set
-# CONFIG_CMD_MISC is not set
-# CONFIG_CMD_SETGETDCR is not set
-# CONFIG_CMD_SHA1 is not set
-# CONFIG_CMD_SOURCE is not set
+CONFIG_8xx_GCLK_FREQ=132000000
 CONFIG_CMD_IMMAP=y
-
-CONFIG_SYS_IMMR=0xFF000000
-
-CONFIG_SYS_OR0_PRELIM=0xFFC00926
+CONFIG_SYS_SIUMCR=0x00600400
+CONFIG_SYS_SYPCR=0xFFFFFF8F
+CONFIG_SYS_TBSCR=0x00C3
+CONFIG_SYS_PISCR=0x0000
+CONFIG_SYS_PLPRCR_BOOL=y
+CONFIG_SYS_PLPRCR=0x00460004
+CONFIG_SYS_SCCR=0x00C20000
+CONFIG_SYS_SCCR_MASK=0x60000000
+CONFIG_SYS_DER=0x2002000F
 CONFIG_SYS_BR0_PRELIM=0x04000801
+CONFIG_SYS_OR0_PRELIM=0xFFC00926
 CONFIG_SYS_BR1_PRELIM_BOOL=y
 CONFIG_SYS_BR1_PRELIM=0x00000081
 CONFIG_SYS_OR1_PRELIM=0xFE000E00
@@ -63,26 +35,38 @@ CONFIG_SYS_OR6_PRELIM=0xFFFF0908
 CONFIG_SYS_BR7_PRELIM_BOOL=y
 CONFIG_SYS_BR7_PRELIM=0x1C000001
 CONFIG_SYS_OR7_PRELIM=0xFFFF810A
-
-CONFIG_8xx_GCLK_FREQ=132000000
-
-CONFIG_SYS_SYPCR=0xFFFFFF8F
-CONFIG_SYS_SIUMCR=0x00600400
-CONFIG_SYS_TBSCR=0x00C3
-CONFIG_SYS_PISCR=0x0000
-CONFIG_SYS_PLPRCR_BOOL=y
-CONFIG_SYS_PLPRCR=0x00460004
-CONFIG_SYS_SCCR_MASK=0x60000000
-CONFIG_SYS_SCCR=0x00C20000
-CONFIG_SYS_DER=0x2002000F
-
-CONFIG_AUTOBOOT=y
+CONFIG_SYS_IMMR=0xFF000000
+CONFIG_OF_BOARD_SETUP=y
+CONFIG_BOOTDELAY=5
+CONFIG_HUSH_PARSER=y
+CONFIG_SYS_PROMPT="S3K> "
 CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="\nEnter password - autoboot in %d sec...\n"
 CONFIG_AUTOBOOT_DELAY_STR="root"
-
-CONFIG_OF_BOARD_SETUP=y
-
-CONFIG_LZMA=y
+# CONFIG_CMD_BDI is not set
+# CONFIG_CMD_CONSOLE is not set
+# CONFIG_CMD_IMI is not set
+# CONFIG_CMD_IMLS is not set
+CONFIG_CMD_ASKENV=y
+# CONFIG_CMD_LOADB is not set
+# CONFIG_CMD_LOADS is not set
+CONFIG_CMD_NAND=y
+# CONFIG_CMD_FPGA is not set
+CONFIG_CMD_REGINFO=y
+# CONFIG_CMD_ECHO is not set
+# CONFIG_CMD_ITEST is not set
+# CONFIG_CMD_SOURCE is not set
+# CONFIG_CMD_SETEXPR is not set
+CONFIG_CMD_DHCP=y
+CONFIG_CMD_MII=y
+CONFIG_CMD_PING=y
+# CONFIG_CMD_MISC is not set
+CONFIG_CMD_MTDPARTS=y
+# CONFIG_MMC is not set
+CONFIG_MTD_NOR_FLASH=y
+CONFIG_NETDEVICES=y
+CONFIG_MPC8XX_FEC=y
+# CONFIG_PCI is not set
 CONFIG_SHA256=y
-
+CONFIG_LZMA=y
+CONFIG_OF_LIBFDT=y
diff --git a/configs/MPC8536DS_36BIT_defconfig b/configs/MPC8536DS_36BIT_defconfig
index 9a299245ad..f588004c66 100644
--- a/configs/MPC8536DS_36BIT_defconfig
+++ b/configs/MPC8536DS_36BIT_defconfig
@@ -15,6 +15,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=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 bb1ad0a014..7d03f51b43 100644
--- a/configs/MPC8536DS_SDCARD_defconfig
+++ b/configs/MPC8536DS_SDCARD_defconfig
@@ -15,6 +15,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=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 09a0689a44..cc4be93b4d 100644
--- a/configs/MPC8536DS_SPIFLASH_defconfig
+++ b/configs/MPC8536DS_SPIFLASH_defconfig
@@ -15,6 +15,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=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 06a2bb6141..47e12ef95d 100644
--- a/configs/MPC8536DS_defconfig
+++ b/configs/MPC8536DS_defconfig
@@ -14,6 +14,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/MPC8541CDS_defconfig b/configs/MPC8541CDS_defconfig
index 65b7aab840..6c76cbf84b 100644
--- a/configs/MPC8541CDS_defconfig
+++ b/configs/MPC8541CDS_defconfig
@@ -8,6 +8,7 @@ CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=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 2bf0a0a995..3c4a58126e 100644
--- a/configs/MPC8541CDS_legacy_defconfig
+++ b/configs/MPC8541CDS_legacy_defconfig
@@ -9,6 +9,7 @@ CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=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 884f47ae75..62469816e0 100644
--- a/configs/MPC8544DS_defconfig
+++ b/configs/MPC8544DS_defconfig
@@ -11,6 +11,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/MPC8555CDS_defconfig b/configs/MPC8555CDS_defconfig
index 6681ca6e5f..9aba0da1fa 100644
--- a/configs/MPC8555CDS_defconfig
+++ b/configs/MPC8555CDS_defconfig
@@ -8,6 +8,7 @@ CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=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 7b7b55c0ed..4e3ad8c8ba 100644
--- a/configs/MPC8555CDS_legacy_defconfig
+++ b/configs/MPC8555CDS_legacy_defconfig
@@ -9,6 +9,7 @@ CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=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 9d5e8bcec2..d84168aa86 100644
--- a/configs/MPC8568MDS_defconfig
+++ b/configs/MPC8568MDS_defconfig
@@ -9,6 +9,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=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 77851961aa..62576c15cf 100644
--- a/configs/MPC8569MDS_ATM_defconfig
+++ b/configs/MPC8569MDS_ATM_defconfig
@@ -11,6 +11,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/MPC8569MDS_defconfig b/configs/MPC8569MDS_defconfig
index ec7bb61357..af2a5aa1e6 100644
--- a/configs/MPC8569MDS_defconfig
+++ b/configs/MPC8569MDS_defconfig
@@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=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 e705535ae3..7f8dec1005 100644
--- a/configs/MPC8572DS_36BIT_defconfig
+++ b/configs/MPC8572DS_36BIT_defconfig
@@ -13,6 +13,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=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 8d362fc227..3bf174189d 100644
--- a/configs/MPC8572DS_defconfig
+++ b/configs/MPC8572DS_defconfig
@@ -12,6 +12,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=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 b95d3cbc17..3368e85b84 100644
--- a/configs/MPC8610HPCD_defconfig
+++ b/configs/MPC8610HPCD_defconfig
@@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=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 c3345aede8..e56b748b31 100644
--- a/configs/MPC8641HPCN_36BIT_defconfig
+++ b/configs/MPC8641HPCN_36BIT_defconfig
@@ -11,6 +11,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=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 8bc4ecc2b9..a99c63c592 100644
--- a/configs/MPC8641HPCN_defconfig
+++ b/configs/MPC8641HPCN_defconfig
@@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
diff --git a/configs/P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig b/configs/P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig
index 739a1120f3..382f3c6f91 100644
--- a/configs/P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig
+++ b/configs/P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig
@@ -17,7 +17,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
-CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
diff --git a/configs/P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig b/configs/P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig
index cfa9455ec1..2936d20eb4 100644
--- a/configs/P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig
+++ b/configs/P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig
@@ -17,7 +17,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
-CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=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 f2344702d6..43a8a8a933 100644
--- a/configs/P1022DS_36BIT_NAND_defconfig
+++ b/configs/P1022DS_36BIT_NAND_defconfig
@@ -25,6 +25,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=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 8993dda8da..225fa23b89 100644
--- a/configs/P1022DS_36BIT_SDCARD_defconfig
+++ b/configs/P1022DS_36BIT_SDCARD_defconfig
@@ -23,6 +23,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=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 6170f41648..ec5d89626f 100644
--- a/configs/P1022DS_36BIT_SPIFLASH_defconfig
+++ b/configs/P1022DS_36BIT_SPIFLASH_defconfig
@@ -24,6 +24,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=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 0102a62b53..c747eb6b08 100644
--- a/configs/P1022DS_36BIT_defconfig
+++ b/configs/P1022DS_36BIT_defconfig
@@ -14,6 +14,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=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 7069267cd7..c3274555ba 100644
--- a/configs/P1022DS_NAND_defconfig
+++ b/configs/P1022DS_NAND_defconfig
@@ -25,6 +25,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=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 2589a7137e..5024e37b6b 100644
--- a/configs/P1022DS_SDCARD_defconfig
+++ b/configs/P1022DS_SDCARD_defconfig
@@ -22,6 +22,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=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 b664bac9b5..9b683ac0d0 100644
--- a/configs/P1022DS_SPIFLASH_defconfig
+++ b/configs/P1022DS_SPIFLASH_defconfig
@@ -23,6 +23,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=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 ecca46d416..2364250538 100644
--- a/configs/P1022DS_defconfig
+++ b/configs/P1022DS_defconfig
@@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=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 55481b86e1..8cad90f2df 100644
--- a/configs/P1023RDB_defconfig
+++ b/configs/P1023RDB_defconfig
@@ -13,6 +13,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/TQM834x_defconfig b/configs/TQM834x_defconfig
index 2ee7fcd902..21c002ba63 100644
--- a/configs/TQM834x_defconfig
+++ b/configs/TQM834x_defconfig
@@ -9,6 +9,7 @@ CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig b/configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig
index 99200da9bb..a12ffc57b3 100644
--- a/configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig
+++ b/configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig
@@ -24,6 +24,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_SATA=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=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 f409d95d8a..93b92c1d98 100644
--- a/configs/controlcenterd_36BIT_SDCARD_defconfig
+++ b/configs/controlcenterd_36BIT_SDCARD_defconfig
@@ -24,6 +24,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_SATA=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_BMP=y
diff --git a/configs/qemu-ppce500_defconfig b/configs/qemu-ppce500_defconfig
index 777ba9c4c4..c94e76186f 100644
--- a/configs/qemu-ppce500_defconfig
+++ b/configs/qemu-ppce500_defconfig
@@ -15,6 +15,7 @@ CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_GREPENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_HASH is not set
diff --git a/configs/sbc8641d_defconfig b/configs/sbc8641d_defconfig
index ee4ec6fa1f..30754dd5ef 100644
--- a/configs/sbc8641d_defconfig
+++ b/configs/sbc8641d_defconfig
@@ -8,6 +8,7 @@ CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_PING=y
 CONFIG_DOS_PARTITION=y
diff --git a/configs/socrates_defconfig b/configs/socrates_defconfig
index 1fc772260f..76943a633a 100644
--- a/configs/socrates_defconfig
+++ b/configs/socrates_defconfig
@@ -13,6 +13,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/xpedite517x_defconfig b/configs/xpedite517x_defconfig
index 9afc57c11e..a2eb6f154d 100644
--- a/configs/xpedite517x_defconfig
+++ b/configs/xpedite517x_defconfig
@@ -11,6 +11,7 @@ CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=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 63b0e40fc5..a848fac769 100644
--- a/configs/xpedite537x_defconfig
+++ b/configs/xpedite537x_defconfig
@@ -12,6 +12,7 @@ CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_REGINFO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index 2a59976550..aa570a1b56 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -14,7 +14,6 @@
  */
 
 #define CONFIG_CMD_NAND		/* NAND support			*/
-#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 bcd5827e69..a95193fb88 100644
--- a/include/configs/B4860QDS.h
+++ b/include/configs/B4860QDS.h
@@ -702,7 +702,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
 * USB
diff --git a/include/configs/BSC9131RDB.h b/include/configs/BSC9131RDB.h
index 9c0e4659f9..2c9c456f36 100644
--- a/include/configs/BSC9131RDB.h
+++ b/include/configs/BSC9131RDB.h
@@ -293,7 +293,6 @@ extern unsigned long get_sdram_size(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
diff --git a/include/configs/BSC9132QDS.h b/include/configs/BSC9132QDS.h
index ea1547f873..9281df3886 100644
--- a/include/configs/BSC9132QDS.h
+++ b/include/configs/BSC9132QDS.h
@@ -518,7 +518,6 @@ combinations. this should be removed later
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
diff --git a/include/configs/C29XPCIE.h b/include/configs/C29XPCIE.h
index 9820dca3bf..784e65ecf3 100644
--- a/include/configs/C29XPCIE.h
+++ b/include/configs/C29XPCIE.h
@@ -434,7 +434,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
diff --git a/include/configs/M5208EVBE.h b/include/configs/M5208EVBE.h
index f8b1d4af38..fe4a230b46 100644
--- a/include/configs/M5208EVBE.h
+++ b/include/configs/M5208EVBE.h
@@ -21,7 +21,6 @@
 #define CONFIG_WATCHDOG_TIMEOUT		5000
 
 /* Command line configuration */
-#define CONFIG_CMD_REGINFO
 
 #define CONFIG_MCFFEC
 #ifdef CONFIG_MCFFEC
diff --git a/include/configs/M52277EVB.h b/include/configs/M52277EVB.h
index fc9b26ff46..15bbbd6b57 100644
--- a/include/configs/M52277EVB.h
+++ b/include/configs/M52277EVB.h
@@ -36,7 +36,6 @@
 #define CONFIG_BOOTP_HOSTNAME
 
 /* Command line configuration */
-#define CONFIG_CMD_REGINFO
 
 #define CONFIG_HOSTNAME			M52277EVB
 #define CONFIG_SYS_UBOOT_END		0x3FFFF
diff --git a/include/configs/M5235EVB.h b/include/configs/M5235EVB.h
index e2c3e1ae2d..83a01fe801 100644
--- a/include/configs/M5235EVB.h
+++ b/include/configs/M5235EVB.h
@@ -34,7 +34,6 @@
 #define CONFIG_BOOTP_HOSTNAME
 
 /* Command line configuration */
-#define CONFIG_CMD_REGINFO
 
 #define CONFIG_MCFFEC
 #ifdef CONFIG_MCFFEC
diff --git a/include/configs/M53017EVB.h b/include/configs/M53017EVB.h
index b88c3709c6..55e1163a83 100644
--- a/include/configs/M53017EVB.h
+++ b/include/configs/M53017EVB.h
@@ -26,7 +26,6 @@
 #define CONFIG_WATCHDOG_TIMEOUT		5000
 
 /* Command line configuration */
-#define CONFIG_CMD_REGINFO
 
 #define CONFIG_SYS_UNIFY_CACHE
 
diff --git a/include/configs/M5329EVB.h b/include/configs/M5329EVB.h
index 999bcd9495..0f6cf6f898 100644
--- a/include/configs/M5329EVB.h
+++ b/include/configs/M5329EVB.h
@@ -26,7 +26,6 @@
 #define CONFIG_WATCHDOG_TIMEOUT	5000	/* timeout in milliseconds, max timeout is 6.71sec */
 
 /* Command line configuration */
-#define CONFIG_CMD_REGINFO
 
 #ifdef CONFIG_NANDFLASH_SIZE
 #      define CONFIG_CMD_NAND
diff --git a/include/configs/M5373EVB.h b/include/configs/M5373EVB.h
index 3a39e5031d..99868a35e3 100644
--- a/include/configs/M5373EVB.h
+++ b/include/configs/M5373EVB.h
@@ -26,7 +26,6 @@
 #define CONFIG_WATCHDOG_TIMEOUT	3360	/* timeout in ms, max is 3.36 sec */
 
 /* Command line configuration */
-#define CONFIG_CMD_REGINFO
 
 #ifdef CONFIG_NANDFLASH_SIZE
 #      define CONFIG_CMD_NAND
diff --git a/include/configs/M54418TWR.h b/include/configs/M54418TWR.h
index 09e21a8359..7201f9026e 100644
--- a/include/configs/M54418TWR.h
+++ b/include/configs/M54418TWR.h
@@ -38,7 +38,6 @@
 
 /* Command line configuration */
 #undef CONFIG_CMD_NAND
-#define CONFIG_CMD_REGINFO
 
 /*
  * NAND FLASH
diff --git a/include/configs/M54451EVB.h b/include/configs/M54451EVB.h
index 7d6edda361..3c1cd9c837 100644
--- a/include/configs/M54451EVB.h
+++ b/include/configs/M54451EVB.h
@@ -36,7 +36,6 @@
 #define CONFIG_BOOTP_HOSTNAME
 
 /* Command line configuration */
-#define CONFIG_CMD_REGINFO
 
 /* Network configuration */
 #define CONFIG_MCFFEC
diff --git a/include/configs/M54455EVB.h b/include/configs/M54455EVB.h
index ab7e7aef94..2376a19a47 100644
--- a/include/configs/M54455EVB.h
+++ b/include/configs/M54455EVB.h
@@ -36,7 +36,6 @@
 #define CONFIG_BOOTP_HOSTNAME
 
 /* Command line configuration */
-#define CONFIG_CMD_REGINFO
 
 /* Network configuration */
 #define CONFIG_MCFFEC
diff --git a/include/configs/M5475EVB.h b/include/configs/M5475EVB.h
index 5d87d0d95b..15e648f294 100644
--- a/include/configs/M5475EVB.h
+++ b/include/configs/M5475EVB.h
@@ -26,7 +26,6 @@
 #define CONFIG_WATCHDOG_TIMEOUT	5000	/* timeout in milliseconds, max timeout is 6.71sec */
 
 /* Command line configuration */
-#define CONFIG_CMD_REGINFO
 
 #define CONFIG_SLTTMR
 
diff --git a/include/configs/M5485EVB.h b/include/configs/M5485EVB.h
index 6226fd67b6..8f0f92218b 100644
--- a/include/configs/M5485EVB.h
+++ b/include/configs/M5485EVB.h
@@ -26,7 +26,6 @@
 #define CONFIG_WATCHDOG_TIMEOUT	5000	/* timeout in milliseconds, max timeout is 6.71sec */
 
 /* Command line configuration */
-#define CONFIG_CMD_REGINFO
 
 #define CONFIG_SLTTMR
 
diff --git a/include/configs/MCR3000.h b/include/configs/MCR3000.h
index 15bb0e9d6a..7b36e51081 100644
--- a/include/configs/MCR3000.h
+++ b/include/configs/MCR3000.h
@@ -153,6 +153,5 @@
 #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 10bf1b000b..a5ba3bbf37 100644
--- a/include/configs/MPC8536DS.h
+++ b/include/configs/MPC8536DS.h
@@ -588,7 +588,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 #undef CONFIG_WATCHDOG			/* watchdog disabled */
 
diff --git a/include/configs/MPC8541CDS.h b/include/configs/MPC8541CDS.h
index 816ff4b9a9..d912c6bd8b 100644
--- a/include/configs/MPC8541CDS.h
+++ b/include/configs/MPC8541CDS.h
@@ -342,7 +342,6 @@ extern unsigned long get_clock_freq(void);
 /*
  * 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 3dff6376a3..0ab81dce4e 100644
--- a/include/configs/MPC8544DS.h
+++ b/include/configs/MPC8544DS.h
@@ -348,7 +348,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * USB
diff --git a/include/configs/MPC8548CDS.h b/include/configs/MPC8548CDS.h
index c0fde19bad..be28500d78 100644
--- a/include/configs/MPC8548CDS.h
+++ b/include/configs/MPC8548CDS.h
@@ -461,7 +461,6 @@ extern unsigned long get_clock_freq(void);
 /*
  * 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 9c8e3811f1..0c756129a7 100644
--- a/include/configs/MPC8555CDS.h
+++ b/include/configs/MPC8555CDS.h
@@ -340,7 +340,6 @@ extern unsigned long get_clock_freq(void);
 /*
  * 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 23ba5f5e3a..b4ee029bfe 100644
--- a/include/configs/MPC8560ADS.h
+++ b/include/configs/MPC8560ADS.h
@@ -354,7 +354,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 #if defined(CONFIG_ETHER_ON_FCC)
 #endif
diff --git a/include/configs/MPC8568MDS.h b/include/configs/MPC8568MDS.h
index 0bdcfb1b0d..3c335fe712 100644
--- a/include/configs/MPC8568MDS.h
+++ b/include/configs/MPC8568MDS.h
@@ -355,7 +355,6 @@ extern unsigned long get_clock_freq(void);
 /*
  * 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 2156460ff9..e16a6df1ba 100644
--- a/include/configs/MPC8569MDS.h
+++ b/include/configs/MPC8569MDS.h
@@ -448,7 +448,6 @@ extern unsigned long get_clock_freq(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 #undef CONFIG_WATCHDOG			/* watchdog disabled */
 
diff --git a/include/configs/MPC8572DS.h b/include/configs/MPC8572DS.h
index 0917f542f9..1c846f57d5 100644
--- a/include/configs/MPC8572DS.h
+++ b/include/configs/MPC8572DS.h
@@ -547,7 +547,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * USB
diff --git a/include/configs/MPC8610HPCD.h b/include/configs/MPC8610HPCD.h
index 8eae3072e6..3e00d646bf 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 a1e6303de7..e02c4f40b5 100644
--- a/include/configs/MPC8641HPCN.h
+++ b/include/configs/MPC8641HPCN.h
@@ -587,7 +587,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 /*
  * 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 c823958e5a..6c165a0b2c 100644
--- a/include/configs/P1010RDB.h
+++ b/include/configs/P1010RDB.h
@@ -720,7 +720,6 @@ extern unsigned long get_sdram_size(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 #undef CONFIG_WATCHDOG			/* watchdog disabled */
 
diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h
index 9ead71f245..896f74d5a3 100644
--- a/include/configs/P1022DS.h
+++ b/include/configs/P1022DS.h
@@ -591,7 +591,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * USB
diff --git a/include/configs/P1023RDB.h b/include/configs/P1023RDB.h
index d676c1c819..4aa5e57518 100644
--- a/include/configs/P1023RDB.h
+++ b/include/configs/P1023RDB.h
@@ -241,7 +241,6 @@ extern unsigned long get_clock_freq(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * USB
diff --git a/include/configs/T102xQDS.h b/include/configs/T102xQDS.h
index 514303486e..173588810d 100644
--- a/include/configs/T102xQDS.h
+++ b/include/configs/T102xQDS.h
@@ -777,7 +777,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
diff --git a/include/configs/T102xRDB.h b/include/configs/T102xRDB.h
index c4e79664d9..f87af6ba44 100644
--- a/include/configs/T102xRDB.h
+++ b/include/configs/T102xRDB.h
@@ -788,7 +788,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
diff --git a/include/configs/T1040QDS.h b/include/configs/T1040QDS.h
index 417e2419bf..b8bda52f43 100644
--- a/include/configs/T1040QDS.h
+++ b/include/configs/T1040QDS.h
@@ -656,7 +656,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h
index da44aa05f1..6182c8d73c 100644
--- a/include/configs/T104xRDB.h
+++ b/include/configs/T104xRDB.h
@@ -770,7 +770,6 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
diff --git a/include/configs/T208xQDS.h b/include/configs/T208xQDS.h
index 618ab1ec57..8558ba8ba0 100644
--- a/include/configs/T208xQDS.h
+++ b/include/configs/T208xQDS.h
@@ -742,7 +742,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
diff --git a/include/configs/T208xRDB.h b/include/configs/T208xRDB.h
index 3a43325523..682a87e732 100644
--- a/include/configs/T208xRDB.h
+++ b/include/configs/T208xRDB.h
@@ -688,7 +688,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
diff --git a/include/configs/T4240RDB.h b/include/configs/T4240RDB.h
index 878f120c45..63fed3c3cc 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 8c12eb1704..e2667f9632 100644
--- a/include/configs/TQM834x.h
+++ b/include/configs/TQM834x.h
@@ -273,7 +273,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
diff --git a/include/configs/UCP1020.h b/include/configs/UCP1020.h
index ccaa89d7cf..8f3f5f910e 100644
--- a/include/configs/UCP1020.h
+++ b/include/configs/UCP1020.h
@@ -418,7 +418,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * USB
diff --git a/include/configs/astro_mcf5373l.h b/include/configs/astro_mcf5373l.h
index 61989d6bab..61f0d7a938 100644
--- a/include/configs/astro_mcf5373l.h
+++ b/include/configs/astro_mcf5373l.h
@@ -59,7 +59,6 @@
 
 /* Define which commands should be available at u-boot command prompt */
 
-#define CONFIG_CMD_REGINFO
 #define CONFIG_CMDLINE_EDITING
 
 #define CONFIG_MCFRTC
diff --git a/include/configs/controlcenterd.h b/include/configs/controlcenterd.h
index 0fa1b76b7e..e35ded6977 100644
--- a/include/configs/controlcenterd.h
+++ b/include/configs/controlcenterd.h
@@ -338,9 +338,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 4a62662e42..e6648bda46 100644
--- a/include/configs/corenet_ds.h
+++ b/include/configs/corenet_ds.h
@@ -592,7 +592,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
 * USB
diff --git a/include/configs/cyrus.h b/include/configs/cyrus.h
index 6f877a8ac8..4b75bce969 100644
--- a/include/configs/cyrus.h
+++ b/include/configs/cyrus.h
@@ -410,7 +410,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * USB
diff --git a/include/configs/dragonboard410c.h b/include/configs/dragonboard410c.h
index 11c842d952..712e11725b 100644
--- a/include/configs/dragonboard410c.h
+++ b/include/configs/dragonboard410c.h
@@ -49,7 +49,6 @@
 /* Enable that for switching of boot partitions */
 /* Disabled by default as some sub-commands can brick eMMC */
 /*#define CONFIG_SUPPORT_EMMC_BOOT */
-#define CONFIG_CMD_REGINFO	/* Register dump		*/
 #define CONFIG_CMD_TFTP
 
 /* Partition table support */
diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h
index e7cbfd5192..6b89bab058 100644
--- a/include/configs/p1_p2_rdb_pc.h
+++ b/include/configs/p1_p2_rdb_pc.h
@@ -807,7 +807,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * USB
diff --git a/include/configs/p1_twr.h b/include/configs/p1_twr.h
index a4a6cf2b6f..560b4380d3 100644
--- a/include/configs/p1_twr.h
+++ b/include/configs/p1_twr.h
@@ -380,7 +380,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_REGINFO
 
 /*
  * USB
diff --git a/include/configs/qemu-ppce500.h b/include/configs/qemu-ppce500.h
index 9782813cdf..cdca1a27ef 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/s5p_goni.h b/include/configs/s5p_goni.h
index dcfd483f3d..108b573a11 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_REGINFO
-
 /* 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/sbc8548.h b/include/configs/sbc8548.h
index 16c10da122..b3de6545b2 100644
--- a/include/configs/sbc8548.h
+++ b/include/configs/sbc8548.h
@@ -511,7 +511,6 @@
 /*
  * 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 0e8e703691..175a6407f9 100644
--- a/include/configs/sbc8641d.h
+++ b/include/configs/sbc8641d.h
@@ -451,8 +451,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 0580c8ceda..e24721bb32 100644
--- a/include/configs/smdkc100.h
+++ b/include/configs/smdkc100.h
@@ -61,8 +61,6 @@
  ***********************************************************/
 #undef CONFIG_CMD_NAND
 
-#define CONFIG_CMD_REGINFO
-
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
 
diff --git a/include/configs/socrates.h b/include/configs/socrates.h
index ef2cd7540a..89119dd14a 100644
--- a/include/configs/socrates.h
+++ b/include/configs/socrates.h
@@ -280,7 +280,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/vct.h b/include/configs/vct.h
index 08ac7e0c2a..07e2d9e898 100644
--- a/include/configs/vct.h
+++ b/include/configs/vct.h
@@ -247,7 +247,6 @@ int vct_gpio_get(int pin);
  * (NOR/OneNAND) usage and Linux kernel booting.
  */
 #if defined(CONFIG_VCT_SMALL_IMAGE)
-#undef CONFIG_CMD_REGINFO
 #undef CONFIG_CMD_STRINGS
 #undef CONFIG_CMD_TERMINAL
 
diff --git a/include/configs/xilinx-ppc.h b/include/configs/xilinx-ppc.h
index 924e0d11e7..e24b2f2e42 100644
--- a/include/configs/xilinx-ppc.h
+++ b/include/configs/xilinx-ppc.h
@@ -24,7 +24,6 @@
 #define CONFIG_SYS_MALLOC_LEN		(CONFIG_ENV_SIZE + 128 * 1024)
 
 /*Cmd*/
-#define CONFIG_CMD_REGINFO
 
 /*Misc*/
 #define CONFIG_SYS_LONGHELP		/* undef to save memory         */
diff --git a/include/configs/xpedite517x.h b/include/configs/xpedite517x.h
index 1848d9f444..87cdd2a3fd 100644
--- a/include/configs/xpedite517x.h
+++ b/include/configs/xpedite517x.h
@@ -485,7 +485,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
  * Command configuration.
  */
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
diff --git a/include/configs/xpedite520x.h b/include/configs/xpedite520x.h
index 881ef3188d..afa03157ab 100644
--- a/include/configs/xpedite520x.h
+++ b/include/configs/xpedite520x.h
@@ -288,7 +288,6 @@
  * Command configuration.
  */
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
diff --git a/include/configs/xpedite537x.h b/include/configs/xpedite537x.h
index ad2490f456..73ae952c29 100644
--- a/include/configs/xpedite537x.h
+++ b/include/configs/xpedite537x.h
@@ -338,7 +338,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
  * Command configuration.
  */
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
diff --git a/include/configs/xpedite550x.h b/include/configs/xpedite550x.h
index 9fccd563fa..9f9e4bc5bd 100644
--- a/include/configs/xpedite550x.h
+++ b/include/configs/xpedite550x.h
@@ -337,7 +337,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
  * Command configuration.
  */
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_REGINFO
 
 /*
  * Miscellaneous configurable options
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index d3344bfebf..54a018144f 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.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 17/41] Convert CONFIG_CMD_REISER to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (15 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 16/41] Convert CONFIG_CMD_REGINFO " Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-22 15:55   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 18/41] Kconfig: sandbox: Drop CONFIG_CMD_SANDBOX option Simon Glass
                   ` (23 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_REISER

Signed-off-by: Simon Glass <sjg@chromium.org>
---

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

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 354949f132..aac79f4bcf 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1274,6 +1274,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/include/config_cmd_all.h b/include/config_cmd_all.h
index aa570a1b56..226e3ce4b5 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -14,7 +14,6 @@
  */
 
 #define CONFIG_CMD_NAND		/* NAND support			*/
-#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 9da3432284..8b9aaaa2c4 100644
--- a/include/configs/ethernut5.h
+++ b/include/configs/ethernut5.h
@@ -87,7 +87,6 @@
 #define CONFIG_CMD_NAND
 
 #ifndef MINIMAL_LOADER
-#define CONFIG_CMD_REISER
 #define CONFIG_CMD_SAVES
 #define CONFIG_CMD_UBIFS
 #endif
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 54a018144f..489af2bee6 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.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 18/41] Kconfig: sandbox: Drop CONFIG_CMD_SANDBOX option
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (16 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 17/41] Convert CONFIG_CMD_REISER " Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-22 15:56   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 19/41] Convert CONFIG_CMD_SAVES to Kconfig Simon Glass
                   ` (22 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This is no-longer used. Drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 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 f5558eb9f1..cb954098e4 100644
--- a/README
+++ b/README
@@ -816,7 +816,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 226e3ce4b5..26c08eeef6 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -14,7 +14,6 @@
  */
 
 #define CONFIG_CMD_NAND		/* NAND 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 */
 #define CONFIG_CMD_TERMINAL	/* built-in Serial Terminal	*/
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 3f671da18e..5af382969b 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -95,8 +95,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 489af2bee6..221525b78a 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.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 19/41] Convert CONFIG_CMD_SAVES to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (17 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 18/41] Kconfig: sandbox: Drop CONFIG_CMD_SANDBOX option Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-22 16:00   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 20/41] Convert CONFIG_CMD_SCSI " Simon Glass
                   ` (21 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_SAVES

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 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           | 1 -
 include/configs/da850evm.h           | 1 -
 include/configs/ea20.h               | 1 -
 include/configs/ethernut5.h          | 1 -
 include/configs/ipam390.h            | 1 -
 include/configs/legoev3.h            | 1 -
 include/configs/microblaze-generic.h | 8 --------
 include/configs/omapl138_lcdk.h      | 1 -
 include/configs/spear-common.h       | 1 -
 include/configs/ti_armv7_keystone2.h | 1 -
 include/configs/x600.h               | 1 -
 include/configs/xtfpga.h             | 2 --
 scripts/config_whitelist.txt         | 1 -
 21 files changed, 16 insertions(+), 23 deletions(-)

diff --git a/README b/README
index cb954098e4..ce179b828e 100644
--- a/README
+++ b/README
@@ -816,7 +816,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 6ab79a7a7a..c3c389298d 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"
@@ -571,6 +576,7 @@ config ARCH_KEYSTONE
 	select CMD_POWEROFF
 	imply FIT
 	imply CMD_MTDPARTS
+	imply CMD_SAVES
 
 config ARCH_OMAP2PLUS
 	bool "TI OMAP2+"
diff --git a/cmd/Kconfig b/cmd/Kconfig
index aac79f4bcf..4be801cdfe 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -798,6 +798,12 @@ config CMD_REGINFO
 	help
 	  Provides access to low-level register information.
 
+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.
+
 endmenu
 
 
diff --git a/configs/ethernut5_defconfig b/configs/ethernut5_defconfig
index 197052dba6..20bff59cac 100644
--- a/configs/ethernut5_defconfig
+++ b/configs/ethernut5_defconfig
@@ -16,6 +16,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 f79907ba14..471be29ee5 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 2e5d5f1ae8..f10d81116a 100644
--- a/configs/x600_defconfig
+++ b/configs/x600_defconfig
@@ -22,6 +22,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 9f85d63965..0fc7141257 100644
--- a/configs/xtfpga_defconfig
+++ b/configs/xtfpga_defconfig
@@ -9,6 +9,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 26c08eeef6..6ad3f17169 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -14,7 +14,6 @@
  */
 
 #define CONFIG_CMD_NAND		/* NAND support			*/
-#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_UBIFS	/* UBIFS Support		*/
diff --git a/include/configs/calimain.h b/include/configs/calimain.h
index d43e3314a7..e0fe981b43 100644
--- a/include/configs/calimain.h
+++ b/include/configs/calimain.h
@@ -298,7 +298,6 @@
 /*
  * U-Boot commands
  */
-#define CONFIG_CMD_SAVES
 
 #ifndef CONFIG_DRIVER_TI_EMAC
 #endif
diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
index 1bb38651d2..689f68c869 100644
--- a/include/configs/da850evm.h
+++ b/include/configs/da850evm.h
@@ -272,7 +272,6 @@
 /*
  * U-Boot commands
  */
-#define CONFIG_CMD_SAVES
 
 #ifdef CONFIG_CMD_BDI
 #define CONFIG_CLOCKS
diff --git a/include/configs/ea20.h b/include/configs/ea20.h
index 0b8464c044..38cf11076d 100644
--- a/include/configs/ea20.h
+++ b/include/configs/ea20.h
@@ -127,7 +127,6 @@
 /*
  * U-Boot commands
  */
-#define CONFIG_CMD_SAVES
 
 #ifdef CONFIG_CMD_BDI
 #define CONFIG_CLOCKS
diff --git a/include/configs/ethernut5.h b/include/configs/ethernut5.h
index 8b9aaaa2c4..4ad114e8ba 100644
--- a/include/configs/ethernut5.h
+++ b/include/configs/ethernut5.h
@@ -87,7 +87,6 @@
 #define CONFIG_CMD_NAND
 
 #ifndef MINIMAL_LOADER
-#define CONFIG_CMD_SAVES
 #define CONFIG_CMD_UBIFS
 #endif
 
diff --git a/include/configs/ipam390.h b/include/configs/ipam390.h
index b2b969ade2..95cd769843 100644
--- a/include/configs/ipam390.h
+++ b/include/configs/ipam390.h
@@ -240,7 +240,6 @@
 /*
  * U-Boot commands
  */
-#define CONFIG_CMD_SAVES
 
 #ifdef CONFIG_CMD_BDI
 #define CONFIG_CLOCKS
diff --git a/include/configs/legoev3.h b/include/configs/legoev3.h
index 15da4074f2..34c65f3920 100644
--- a/include/configs/legoev3.h
+++ b/include/configs/legoev3.h
@@ -200,7 +200,6 @@
 /*
  * U-Boot commands
  */
-#define CONFIG_CMD_SAVES
 
 #ifdef CONFIG_CMD_BDI
 #define CONFIG_CLOCKS
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index 84b4154ec5..5a1875ad15 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -172,16 +172,8 @@
 #if defined(FLASH)
 # undef CONFIG_CMD_UBIFS
 
-# if !defined(RAMENV)
-#  define CONFIG_CMD_SAVES
-# endif
-
 #else
 #if defined(SPIFLASH)
-
-# if !defined(RAMENV)
-#  define CONFIG_CMD_SAVES
-# endif
 #else
 # undef CONFIG_CMD_UBIFS
 #endif
diff --git a/include/configs/omapl138_lcdk.h b/include/configs/omapl138_lcdk.h
index dee0ae0d9a..168da4ab95 100644
--- a/include/configs/omapl138_lcdk.h
+++ b/include/configs/omapl138_lcdk.h
@@ -283,7 +283,6 @@
 /*
  * 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 86e14ffac8..d69e116085 100644
--- a/include/configs/spear-common.h
+++ b/include/configs/spear-common.h
@@ -97,7 +97,6 @@
  * Command support defines
  */
 #define CONFIG_CMD_NAND
-#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 ac8dabd9ca..b76d20c969 100644
--- a/include/configs/ti_armv7_keystone2.h
+++ b/include/configs/ti_armv7_keystone2.h
@@ -202,7 +202,6 @@
 #define CONFIG_USB_PHY_CFG_BASE			KS2_USB_PHY_CFG_BASE
 
 /* U-Boot command configuration */
-#define CONFIG_CMD_SAVES
 #define CONFIG_CMD_UBIFS
 
 /* U-Boot general configuration */
diff --git a/include/configs/x600.h b/include/configs/x600.h
index 3ff6b70bde..c5fd973147 100644
--- a/include/configs/x600.h
+++ b/include/configs/x600.h
@@ -107,7 +107,6 @@
  * Command support defines
  */
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_SAVES
 #define CONFIG_CMD_UBIFS
 #define CONFIG_LZO
 
diff --git a/include/configs/xtfpga.h b/include/configs/xtfpga.h
index 7d7d9bb983..44120db963 100644
--- a/include/configs/xtfpga.h
+++ b/include/configs/xtfpga.h
@@ -127,8 +127,6 @@
 /* U-Boot commands */
 /*=================*/
 
-#define CONFIG_CMD_SAVES
-
 /*==============================*/
 /* U-Boot autoboot configuration */
 /*==============================*/
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 221525b78a..a0b39a355f 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.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 20/41] Convert CONFIG_CMD_SCSI to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (18 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 19/41] Convert CONFIG_CMD_SAVES to Kconfig Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-22 16:04   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 21/41] Convert CONFIG_CMD_SDRAM " Simon Glass
                   ` (20 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_SCSI

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 arch/arm/Kconfig                  | 3 +++
 cmd/Kconfig                       | 9 +++++++++
 cmd/Makefile                      | 2 +-
 configs/cl-som-am57x_defconfig    | 1 +
 configs/controlcenterdc_defconfig | 1 +
 configs/ls1012aqds_qspi_defconfig | 1 +
 include/configs/cl-som-am57x.h    | 1 -
 include/configs/controlcenterdc.h | 1 -
 include/configs/ls1012aqds.h      | 1 -
 include/configs/ls1012ardb.h      | 1 -
 include/configs/ls1021aiot.h      | 1 -
 include/configs/ls1043ardb.h      | 1 -
 scripts/config_whitelist.txt      | 1 -
 13 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index c3c389298d..3cc252ac27 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -878,6 +878,7 @@ config TARGET_LS1012ARDB
 	select ARM64
 	select BOARD_LATE_INIT
 	imply SCSI
+	imply CMD_SCSI
 	help
 	  Support for Freescale LS1012ARDB platform.
 	  The LS1012A Reference design board (RDB) is a high-performance
@@ -931,6 +932,7 @@ config TARGET_LS1021AIOT
 	select ARCH_LS1021A
 	select ARCH_SUPPORT_PSCI
 	imply SCSI
+	imply CMD_SCSI
 	help
 	  Support for Freescale LS1021AIOT platform.
 	  The LS1021A Freescale board (IOT) is a high-performance
@@ -958,6 +960,7 @@ config TARGET_LS1043ARDB
 	select SUPPORT_SPL
 	select BOARD_EARLY_INIT_F
 	imply SCSI
+	imply CMD_SCSI
 	help
 	  Support for Freescale LS1043ARDB platform.
 
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 4be801cdfe..ce1a358e08 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1289,6 +1289,15 @@ config CMD_REISER
 	    reiserls - list files
 	    reiserload - load a file
 
+config CMD_SCSI
+	bool "scsi - Access to SCSI devices"
+	select SCSI
+	help
+	  This provides a 'scsi' command which provides access to SCSI (Small
+	  Computer System Interface) devices. The command provides a way to
+	  scan the bus, reset the bus, read and write data and get information
+	  about devices.
+
 endmenu
 
 menu "Debug commands"
diff --git a/cmd/Makefile b/cmd/Makefile
index eff6bd678f..a85fe25dda 100644
--- a/cmd/Makefile
+++ b/cmd/Makefile
@@ -106,7 +106,7 @@ obj-$(CONFIG_CMD_REMOTEPROC) += remoteproc.o
 obj-$(CONFIG_SANDBOX) += host.o
 obj-$(CONFIG_CMD_SATA) += sata.o
 obj-$(CONFIG_CMD_SF) += sf.o
-obj-$(CONFIG_SCSI) += scsi.o disk.o
+obj-$(CONFIG_CMD_SCSI) += scsi.o disk.o
 obj-$(CONFIG_CMD_SHA1SUM) += sha1sum.o
 obj-$(CONFIG_CMD_SETEXPR) += setexpr.o
 obj-$(CONFIG_CMD_SPI) += spi.o
diff --git a/configs/cl-som-am57x_defconfig b/configs/cl-som-am57x_defconfig
index 2f1863f1ee..10c10f2387 100644
--- a/configs/cl-som-am57x_defconfig
+++ b/configs/cl-som-am57x_defconfig
@@ -32,6 +32,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_CMD_SCSI=y
 CONFIG_ISO_PARTITION=y
 CONFIG_CMD_PCA953X=y
 CONFIG_LED_STATUS=y
diff --git a/configs/controlcenterdc_defconfig b/configs/controlcenterdc_defconfig
index c7102810a3..01db848b4e 100644
--- a/configs/controlcenterdc_defconfig
+++ b/configs/controlcenterdc_defconfig
@@ -32,6 +32,7 @@ CONFIG_CMD_TIME=y
 CONFIG_CMD_TPM=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_EXT4=y
+CONFIG_CMD_SCSI=y
 CONFIG_EFI_PARTITION=y
 CONFIG_OF_BOARD_FIXUP=y
 CONFIG_SPL_OF_TRANSLATE=y
diff --git a/configs/ls1012aqds_qspi_defconfig b/configs/ls1012aqds_qspi_defconfig
index ea8e262317..c8864fa7b0 100644
--- a/configs/ls1012aqds_qspi_defconfig
+++ b/configs/ls1012aqds_qspi_defconfig
@@ -28,6 +28,7 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_SCSI=y
 CONFIG_OF_CONTROL=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
diff --git a/include/configs/cl-som-am57x.h b/include/configs/cl-som-am57x.h
index ecc87fb6d2..d4a28a597c 100644
--- a/include/configs/cl-som-am57x.h
+++ b/include/configs/cl-som-am57x.h
@@ -65,7 +65,6 @@
 
 #ifndef CONFIG_SPL_BUILD
 /* SATA */
-#define CONFIG_CMD_SCSI
 #define CONFIG_LIBATA
 #define CONFIG_SCSI_AHCI
 #define CONFIG_SCSI_AHCI_PLAT
diff --git a/include/configs/controlcenterdc.h b/include/configs/controlcenterdc.h
index 09af7829ca..a9beb80c92 100644
--- a/include/configs/controlcenterdc.h
+++ b/include/configs/controlcenterdc.h
@@ -33,7 +33,6 @@
  * Commands configuration
  */
 #define CONFIG_CMD_I2C
-#define CONFIG_CMD_SCSI
 #define CONFIG_CMD_SPI
 
 /* SPI NOR flash default params, used by sf commands */
diff --git a/include/configs/ls1012aqds.h b/include/configs/ls1012aqds.h
index 162b866ad5..46cc33deac 100644
--- a/include/configs/ls1012aqds.h
+++ b/include/configs/ls1012aqds.h
@@ -137,7 +137,6 @@
 #define CONFIG_LIBATA
 #define CONFIG_SCSI_AHCI
 #define CONFIG_SCSI_AHCI_PLAT
-#define CONFIG_CMD_SCSI
 
 #define CONFIG_SYS_SATA				AHCI_BASE_ADDR
 
diff --git a/include/configs/ls1012ardb.h b/include/configs/ls1012ardb.h
index 653837c689..8d7888aec8 100644
--- a/include/configs/ls1012ardb.h
+++ b/include/configs/ls1012ardb.h
@@ -53,7 +53,6 @@
 #define CONFIG_LIBATA
 #define CONFIG_SCSI_AHCI
 #define CONFIG_SCSI_AHCI_PLAT
-#define CONFIG_CMD_SCSI
 
 #define CONFIG_SYS_SATA				AHCI_BASE_ADDR
 
diff --git a/include/configs/ls1021aiot.h b/include/configs/ls1021aiot.h
index 100b8511ac..9c3133caa8 100644
--- a/include/configs/ls1021aiot.h
+++ b/include/configs/ls1021aiot.h
@@ -143,7 +143,6 @@
 #define CONFIG_FSL_ESDHC
 
 /* SATA */
-#define CONFIG_CMD_SCSI
 #define CONFIG_LIBATA
 #define CONFIG_SCSI_AHCI
 #define CONFIG_SCSI_AHCI_PLAT
diff --git a/include/configs/ls1043ardb.h b/include/configs/ls1043ardb.h
index deae787358..79f2dc2987 100644
--- a/include/configs/ls1043ardb.h
+++ b/include/configs/ls1043ardb.h
@@ -299,7 +299,6 @@
 #ifndef SPL_NO_SATA
 #define CONFIG_LIBATA
 #define CONFIG_SCSI_AHCI
-#define CONFIG_CMD_SCSI
 #ifndef CONFIG_CMD_EXT2
 #define CONFIG_CMD_EXT2
 #endif
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index a0b39a355f..4949e182c9 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_SCSI
 CONFIG_CMD_SDRAM
 CONFIG_CMD_SF_TEST
 CONFIG_CMD_SH_ZIMAGEBOOT
-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 21/41] Convert CONFIG_CMD_SDRAM to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (19 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 20/41] Convert CONFIG_CMD_SCSI " Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-22 16:26   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 22/41] Convert CONFIG_CMD_SF_TEST " Simon Glass
                   ` (19 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_SDRAM

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 README                               | 2 --
 cmd/Kconfig                          | 7 +++++++
 configs/MPC8349ITXGP_defconfig       | 1 +
 configs/MPC8349ITX_LOWBOOT_defconfig | 1 +
 configs/MPC8349ITX_defconfig         | 1 +
 configs/MigoR_defconfig              | 1 +
 configs/alt_defconfig                | 1 +
 configs/ap325rxa_defconfig           | 1 +
 configs/ap_sh4a_4a_defconfig         | 1 +
 configs/armadillo-800eva_defconfig   | 1 +
 configs/blanche_defconfig            | 1 +
 configs/ecovec_defconfig             | 1 +
 configs/espt_defconfig               | 1 +
 configs/gose_defconfig               | 1 +
 configs/koelsch_defconfig            | 1 +
 configs/lager_defconfig              | 1 +
 configs/ms7720se_defconfig           | 1 +
 configs/ms7722se_defconfig           | 1 +
 configs/porter_defconfig             | 1 +
 configs/r0p7734_defconfig            | 1 +
 configs/r7780mp_defconfig            | 1 +
 configs/r8a7795_salvator-x_defconfig | 1 +
 configs/r8a7796_salvator-x_defconfig | 1 +
 configs/rsk7203_defconfig            | 1 +
 configs/sh7752evb_defconfig          | 1 +
 configs/sh7753evb_defconfig          | 1 +
 configs/sh7757lcr_defconfig          | 1 +
 configs/sh7763rdp_defconfig          | 1 +
 configs/sh7785lcr_32bit_defconfig    | 1 +
 configs/sh7785lcr_defconfig          | 1 +
 configs/shmin_defconfig              | 1 +
 configs/silk_defconfig               | 1 +
 configs/socrates_defconfig           | 1 +
 configs/stout_defconfig              | 1 +
 include/config_cmd_all.h             | 1 -
 include/configs/MPC8349ITX.h         | 1 -
 include/configs/MigoR.h              | 2 --
 include/configs/ap325rxa.h           | 2 --
 include/configs/ap_sh4a_4a.h         | 2 --
 include/configs/armadillo-800eva.h   | 2 --
 include/configs/ecovec.h             | 2 --
 include/configs/espt.h               | 1 -
 include/configs/ms7720se.h           | 2 --
 include/configs/ms7722se.h           | 2 --
 include/configs/r0p7734.h            | 2 --
 include/configs/r7780mp.h            | 1 -
 include/configs/rcar-gen2-common.h   | 2 --
 include/configs/rcar-gen3-common.h   | 1 -
 include/configs/rsk7203.h            | 2 --
 include/configs/sh7752evb.h          | 2 --
 include/configs/sh7753evb.h          | 2 --
 include/configs/sh7757lcr.h          | 2 --
 include/configs/sh7763rdp.h          | 1 -
 include/configs/sh7785lcr.h          | 1 -
 include/configs/shmin.h              | 2 --
 include/configs/socrates.h           | 1 -
 scripts/config_whitelist.txt         | 1 -
 57 files changed, 39 insertions(+), 39 deletions(-)

diff --git a/README b/README
index ce179b828e..3958821f57 100644
--- a/README
+++ b/README
@@ -816,8 +816,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_SDRAM	* print SDRAM configuration information
-					  (requires CONFIG_CMD_I2C)
 		CONFIG_CMD_SF		* Read/write/erase SPI NOR flash
 		CONFIG_CMD_SOFTSWITCH	* Soft switch setting command for BF60x
 		CONFIG_CMD_SOURCE	  "source" command Support
diff --git a/cmd/Kconfig b/cmd/Kconfig
index ce1a358e08..28aba0e780 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -804,6 +804,13 @@ config CMD_SAVES
 	  Provides a way to save a binary file using the Motorola S-Record
 	  format over the serial line.
 
+config CMD_SDRAM
+	bool "sdram - Print SDRAM configuration information"
+	help
+	  Provides information about attached SDRAM. This assumed that the
+	  SDRAM has an EEPROM with information that can be read using the
+	  I2C bus. This is only available on some boards.
+
 endmenu
 
 
diff --git a/configs/MPC8349ITXGP_defconfig b/configs/MPC8349ITXGP_defconfig
index 09af09d4c3..f1cfd3705c 100644
--- a/configs/MPC8349ITXGP_defconfig
+++ b/configs/MPC8349ITXGP_defconfig
@@ -9,6 +9,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="MPC8349E-mITX-GP> "
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SDRAM=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 0650c7979a..4974dd1a9c 100644
--- a/configs/MPC8349ITX_LOWBOOT_defconfig
+++ b/configs/MPC8349ITX_LOWBOOT_defconfig
@@ -12,6 +12,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_SATA=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SDRAM=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 3763f49ba6..22805ae63e 100644
--- a/configs/MPC8349ITX_defconfig
+++ b/configs/MPC8349ITX_defconfig
@@ -12,6 +12,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_SATA=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
diff --git a/configs/MigoR_defconfig b/configs/MigoR_defconfig
index f09794e13c..eb4ab40e26 100644
--- a/configs/MigoR_defconfig
+++ b/configs/MigoR_defconfig
@@ -12,6 +12,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_EDITENV is not set
 # CONFIG_CMD_ENV_EXISTS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
diff --git a/configs/alt_defconfig b/configs/alt_defconfig
index 04dda72532..3e7a0fdfc3 100644
--- a/configs/alt_defconfig
+++ b/configs/alt_defconfig
@@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/ap325rxa_defconfig b/configs/ap325rxa_defconfig
index ebefd126a8..2571049f95 100644
--- a/configs/ap325rxa_defconfig
+++ b/configs/ap325rxa_defconfig
@@ -13,6 +13,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_ENV_EXISTS is not set
 CONFIG_CMD_IDE=y
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
diff --git a/configs/ap_sh4a_4a_defconfig b/configs/ap_sh4a_4a_defconfig
index 41c8be9120..ba753d6753 100644
--- a/configs/ap_sh4a_4a_defconfig
+++ b/configs/ap_sh4a_4a_defconfig
@@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
diff --git a/configs/armadillo-800eva_defconfig b/configs/armadillo-800eva_defconfig
index 4c16ec19fd..35bb0720eb 100644
--- a/configs/armadillo-800eva_defconfig
+++ b/configs/armadillo-800eva_defconfig
@@ -17,6 +17,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
diff --git a/configs/blanche_defconfig b/configs/blanche_defconfig
index bf7700cbe1..2d99b4466f 100644
--- a/configs/blanche_defconfig
+++ b/configs/blanche_defconfig
@@ -8,6 +8,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_XIMG is not set
 CONFIG_CMD_MMC=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/ecovec_defconfig b/configs/ecovec_defconfig
index cc172f5181..b2cc056e33 100644
--- a/configs/ecovec_defconfig
+++ b/configs/ecovec_defconfig
@@ -16,6 +16,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
diff --git a/configs/espt_defconfig b/configs/espt_defconfig
index a6a7af9755..ee2a13d14a 100644
--- a/configs/espt_defconfig
+++ b/configs/espt_defconfig
@@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
diff --git a/configs/gose_defconfig b/configs/gose_defconfig
index 5627a18631..3d9c48b216 100644
--- a/configs/gose_defconfig
+++ b/configs/gose_defconfig
@@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/koelsch_defconfig b/configs/koelsch_defconfig
index 465a6be8e7..8f447c7d37 100644
--- a/configs/koelsch_defconfig
+++ b/configs/koelsch_defconfig
@@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/lager_defconfig b/configs/lager_defconfig
index c2f216bd51..8c4f45e7ff 100644
--- a/configs/lager_defconfig
+++ b/configs/lager_defconfig
@@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/ms7720se_defconfig b/configs/ms7720se_defconfig
index e1d8588233..7e343de66c 100644
--- a/configs/ms7720se_defconfig
+++ b/configs/ms7720se_defconfig
@@ -16,6 +16,7 @@ CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_PCMCIA=y
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
diff --git a/configs/ms7722se_defconfig b/configs/ms7722se_defconfig
index 92f3158dae..dcc7d7d5a3 100644
--- a/configs/ms7722se_defconfig
+++ b/configs/ms7722se_defconfig
@@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
diff --git a/configs/porter_defconfig b/configs/porter_defconfig
index a50d9ed99b..bea42bef90 100644
--- a/configs/porter_defconfig
+++ b/configs/porter_defconfig
@@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/r0p7734_defconfig b/configs/r0p7734_defconfig
index 91b08dc24f..7fc54456e8 100644
--- a/configs/r0p7734_defconfig
+++ b/configs/r0p7734_defconfig
@@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
diff --git a/configs/r7780mp_defconfig b/configs/r7780mp_defconfig
index 57204fb7e5..30c036dd81 100644
--- a/configs/r7780mp_defconfig
+++ b/configs/r7780mp_defconfig
@@ -15,6 +15,7 @@ CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
diff --git a/configs/r8a7795_salvator-x_defconfig b/configs/r8a7795_salvator-x_defconfig
index c0e3999f96..52bfb28505 100644
--- a/configs/r8a7795_salvator-x_defconfig
+++ b/configs/r8a7795_salvator-x_defconfig
@@ -9,6 +9,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/r8a7796_salvator-x_defconfig b/configs/r8a7796_salvator-x_defconfig
index d57305112b..2ad0ff8f7d 100644
--- a/configs/r8a7796_salvator-x_defconfig
+++ b/configs/r8a7796_salvator-x_defconfig
@@ -10,6 +10,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/rsk7203_defconfig b/configs/rsk7203_defconfig
index 1aeb78aad1..2289ca06fb 100644
--- a/configs/rsk7203_defconfig
+++ b/configs/rsk7203_defconfig
@@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
diff --git a/configs/sh7752evb_defconfig b/configs/sh7752evb_defconfig
index 4e19243f0d..e6e61d81da 100644
--- a/configs/sh7752evb_defconfig
+++ b/configs/sh7752evb_defconfig
@@ -17,6 +17,7 @@ CONFIG_CMD_MD5SUM=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
diff --git a/configs/sh7753evb_defconfig b/configs/sh7753evb_defconfig
index 23b7d7df48..0363c6f95e 100644
--- a/configs/sh7753evb_defconfig
+++ b/configs/sh7753evb_defconfig
@@ -16,6 +16,7 @@ CONFIG_CMD_MD5SUM=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
diff --git a/configs/sh7757lcr_defconfig b/configs/sh7757lcr_defconfig
index 44224e1e43..28425e6d15 100644
--- a/configs/sh7757lcr_defconfig
+++ b/configs/sh7757lcr_defconfig
@@ -17,6 +17,7 @@ CONFIG_CMD_MD5SUM=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
diff --git a/configs/sh7763rdp_defconfig b/configs/sh7763rdp_defconfig
index 028616666c..3e564b5f8d 100644
--- a/configs/sh7763rdp_defconfig
+++ b/configs/sh7763rdp_defconfig
@@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
diff --git a/configs/sh7785lcr_32bit_defconfig b/configs/sh7785lcr_32bit_defconfig
index 27f40f2a7b..1280e588c0 100644
--- a/configs/sh7785lcr_32bit_defconfig
+++ b/configs/sh7785lcr_32bit_defconfig
@@ -16,6 +16,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SDRAM=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 6b3b453f02..cd9a59b62a 100644
--- a/configs/sh7785lcr_defconfig
+++ b/configs/sh7785lcr_defconfig
@@ -15,6 +15,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_FPGA is not set
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
diff --git a/configs/shmin_defconfig b/configs/shmin_defconfig
index dffff1187b..685c105f72 100644
--- a/configs/shmin_defconfig
+++ b/configs/shmin_defconfig
@@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
diff --git a/configs/silk_defconfig b/configs/silk_defconfig
index d161c3bb88..2abeb82258 100644
--- a/configs/silk_defconfig
+++ b/configs/silk_defconfig
@@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/socrates_defconfig b/configs/socrates_defconfig
index 76943a633a..1d80beb312 100644
--- a/configs/socrates_defconfig
+++ b/configs/socrates_defconfig
@@ -14,6 +14,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
 CONFIG_CMD_REGINFO=y
+CONFIG_CMD_SDRAM=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/stout_defconfig b/configs/stout_defconfig
index 48989aaea6..2efa5b7a57 100644
--- a/configs/stout_defconfig
+++ b/configs/stout_defconfig
@@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_SDRAM=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index 6ad3f17169..db9f336431 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -14,7 +14,6 @@
  */
 
 #define CONFIG_CMD_NAND		/* NAND support			*/
-#define CONFIG_CMD_SDRAM	/* SDRAM DIMM SPD info printout */
 #define CONFIG_CMD_TERMINAL	/* built-in Serial Terminal	*/
 #define CONFIG_CMD_UBIFS	/* UBIFS Support		*/
 #define CONFIG_CMD_UNIVERSE	/* Tundra Universe Support	*/
diff --git a/include/configs/MPC8349ITX.h b/include/configs/MPC8349ITX.h
index a825cd6a79..393d2103f5 100644
--- a/include/configs/MPC8349ITX.h
+++ b/include/configs/MPC8349ITX.h
@@ -478,7 +478,6 @@ boards, we say we have two, but don't display a message if we find only one. */
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_SDRAM
 
 #if defined(CONFIG_COMPACT_FLASH) || defined(CONFIG_SATA_SIL3114) \
 				|| defined(CONFIG_USB_STORAGE)
diff --git a/include/configs/MigoR.h b/include/configs/MigoR.h
index 7217426d3a..ed753870cc 100644
--- a/include/configs/MigoR.h
+++ b/include/configs/MigoR.h
@@ -12,8 +12,6 @@
 #define CONFIG_CPU_SH7722	1
 #define CONFIG_MIGO_R		1
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS		"console=ttySC0,115200 root=1f01"
 
 #define CONFIG_DISPLAY_BOARDINFO
diff --git a/include/configs/ap325rxa.h b/include/configs/ap325rxa.h
index b3c22cf4a4..622c4b4758 100644
--- a/include/configs/ap325rxa.h
+++ b/include/configs/ap325rxa.h
@@ -13,8 +13,6 @@
 #define CONFIG_CPU_SH7723	1
 #define CONFIG_AP325RXA	1
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS		"console=ttySC2,38400"
 
 #define CONFIG_DISPLAY_BOARDINFO
diff --git a/include/configs/ap_sh4a_4a.h b/include/configs/ap_sh4a_4a.h
index 440505dd1f..4fa6b2eb38 100644
--- a/include/configs/ap_sh4a_4a.h
+++ b/include/configs/ap_sh4a_4a.h
@@ -16,8 +16,6 @@
 
 #define CONFIG_SYS_TEXT_BASE 0x8BFC0000
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS		"console=ttySC4,115200"
 
 #define CONFIG_DISPLAY_BOARDINFO
diff --git a/include/configs/armadillo-800eva.h b/include/configs/armadillo-800eva.h
index 2023895c3e..d670423b53 100644
--- a/include/configs/armadillo-800eva.h
+++ b/include/configs/armadillo-800eva.h
@@ -16,8 +16,6 @@
 
 #include <asm/arch/rmobile.h>
 
-#define CONFIG_CMD_SDRAM
-
 #define BOARD_LATE_INIT
 
 #define CONFIG_BOOTARGS		""
diff --git a/include/configs/ecovec.h b/include/configs/ecovec.h
index 2404441860..463a1ba688 100644
--- a/include/configs/ecovec.h
+++ b/include/configs/ecovec.h
@@ -28,8 +28,6 @@
 #define CONFIG_ECOVEC_ROMIMAGE_ADDR 0xA0040000
 #define CONFIG_SYS_TEXT_BASE 0x8FFC0000
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS		"console=ttySC0,115200"
 
 #define CONFIG_DISPLAY_BOARDINFO
diff --git a/include/configs/espt.h b/include/configs/espt.h
index 845bcc1c9a..47a3c153ba 100644
--- a/include/configs/espt.h
+++ b/include/configs/espt.h
@@ -17,7 +17,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_SDRAM
 
 #define CONFIG_BOOTARGS         "console=ttySC0,115200 root=1f01"
 #define CONFIG_ENV_OVERWRITE    1
diff --git a/include/configs/ms7720se.h b/include/configs/ms7720se.h
index 158b73ce50..791c26b937 100644
--- a/include/configs/ms7720se.h
+++ b/include/configs/ms7720se.h
@@ -12,8 +12,6 @@
 #define CONFIG_CPU_SH7720	1
 #define CONFIG_MS7720SE		1
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS		"console=ttySC0,115200"
 #define CONFIG_BOOTFILE		"/boot/zImage"
 #define CONFIG_LOADADDR		0x8E000000
diff --git a/include/configs/ms7722se.h b/include/configs/ms7722se.h
index de6e58a71e..57f07b40b4 100644
--- a/include/configs/ms7722se.h
+++ b/include/configs/ms7722se.h
@@ -12,8 +12,6 @@
 #define CONFIG_CPU_SH7722	1
 #define CONFIG_MS7722SE		1
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS		"console=ttySC0,115200 root=1f01"
 
 #define CONFIG_DISPLAY_BOARDINFO
diff --git a/include/configs/r0p7734.h b/include/configs/r0p7734.h
index 6212dbae21..1304676e4a 100644
--- a/include/configs/r0p7734.h
+++ b/include/configs/r0p7734.h
@@ -16,8 +16,6 @@
 
 #define CONFIG_SYS_TEXT_BASE 0x8FFC0000
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS		"console=ttySC3,115200"
 
 #define CONFIG_DISPLAY_BOARDINFO
diff --git a/include/configs/r7780mp.h b/include/configs/r7780mp.h
index c40de4d1b6..cd6a3bdd85 100644
--- a/include/configs/r7780mp.h
+++ b/include/configs/r7780mp.h
@@ -20,7 +20,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_SDRAM
 
 #define CONFIG_SCIF_CONSOLE	1
 #define CONFIG_CONS_SCIF0	1
diff --git a/include/configs/rcar-gen2-common.h b/include/configs/rcar-gen2-common.h
index 365950d729..217443d596 100644
--- a/include/configs/rcar-gen2-common.h
+++ b/include/configs/rcar-gen2-common.h
@@ -11,8 +11,6 @@
 
 #include <asm/arch/rmobile.h>
 
-#define CONFIG_CMD_SDRAM
-
 /* Support File sytems */
 #define CONFIG_SUPPORT_VFAT
 #define CONFIG_FS_EXT4
diff --git a/include/configs/rcar-gen3-common.h b/include/configs/rcar-gen3-common.h
index 8da3e7a235..a0eedf033a 100644
--- a/include/configs/rcar-gen3-common.h
+++ b/include/configs/rcar-gen3-common.h
@@ -12,7 +12,6 @@
 
 #include <asm/arch/rmobile.h>
 
-#define CONFIG_CMD_SDRAM
 #define CONFIG_CMD_EXT2
 #define CONFIG_CMD_EXT4
 #define CONFIG_CMD_EXT4_WRITE
diff --git a/include/configs/rsk7203.h b/include/configs/rsk7203.h
index 8dc839df96..11d4fcddc0 100644
--- a/include/configs/rsk7203.h
+++ b/include/configs/rsk7203.h
@@ -13,8 +13,6 @@
 #define CONFIG_CPU_SH7203	1
 #define CONFIG_RSK7203	1
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS		"console=ttySC0,115200"
 #define CONFIG_LOADADDR		0x0C100000 /* RSK7203_SDRAM_BASE + 1MB */
 
diff --git a/include/configs/sh7752evb.h b/include/configs/sh7752evb.h
index 3342a2966c..1c93349232 100644
--- a/include/configs/sh7752evb.h
+++ b/include/configs/sh7752evb.h
@@ -14,8 +14,6 @@
 
 #define CONFIG_SYS_TEXT_BASE	0x5ff80000
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS		"console=ttySC2,115200 root=/dev/nfs ip=dhcp"
 
 #define CONFIG_DISPLAY_BOARDINFO
diff --git a/include/configs/sh7753evb.h b/include/configs/sh7753evb.h
index 78670422f7..9e8c730b8d 100644
--- a/include/configs/sh7753evb.h
+++ b/include/configs/sh7753evb.h
@@ -14,8 +14,6 @@
 
 #define CONFIG_SYS_TEXT_BASE	0x5ff80000
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS		"console=ttySC2,115200 root=/dev/nfs ip=dhcp"
 
 #define CONFIG_DISPLAY_BOARDINFO
diff --git a/include/configs/sh7757lcr.h b/include/configs/sh7757lcr.h
index e9cd3d749a..7fe1ac2ecd 100644
--- a/include/configs/sh7757lcr.h
+++ b/include/configs/sh7757lcr.h
@@ -15,8 +15,6 @@
 
 #define CONFIG_SYS_TEXT_BASE	0x8ef80000
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS		"console=ttySC2,115200 root=/dev/nfs ip=dhcp"
 
 #define CONFIG_DISPLAY_BOARDINFO
diff --git a/include/configs/sh7763rdp.h b/include/configs/sh7763rdp.h
index 2186f21f7a..6241b5745f 100644
--- a/include/configs/sh7763rdp.h
+++ b/include/configs/sh7763rdp.h
@@ -17,7 +17,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_SDRAM
 
 #define CONFIG_BOOTARGS         "console=ttySC2,115200 root=1f01"
 #define CONFIG_ENV_OVERWRITE    1
diff --git a/include/configs/sh7785lcr.h b/include/configs/sh7785lcr.h
index eb657be108..b0afc67257 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_SDRAM
 #define CONFIG_CMD_SH_ZIMAGEBOOT
 
 #define CONFIG_BOOTARGS		"console=ttySC1,115200 root=/dev/nfs ip=dhcp"
diff --git a/include/configs/shmin.h b/include/configs/shmin.h
index 995f76a1ea..4e331dae92 100644
--- a/include/configs/shmin.h
+++ b/include/configs/shmin.h
@@ -15,8 +15,6 @@
 /* T-SH7706LSR*/
 /* #define CONFIG_T_SH7706LSR	1 */
 
-#define CONFIG_CMD_SDRAM
-
 #define CONFIG_BOOTARGS		"console=ttySC0,115200"
 
 /*
diff --git a/include/configs/socrates.h b/include/configs/socrates.h
index 89119dd14a..7f534b1515 100644
--- a/include/configs/socrates.h
+++ b/include/configs/socrates.h
@@ -279,7 +279,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_SDRAM
 
 #undef CONFIG_WATCHDOG			/* watchdog disabled		*/
 
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 4949e182c9..6d61b4a526 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_SDRAM
 CONFIG_CMD_SF_TEST
 CONFIG_CMD_SH_ZIMAGEBOOT
 CONFIG_CMD_SPL
-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 22/41] Convert CONFIG_CMD_SF_TEST to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (20 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 21/41] Convert CONFIG_CMD_SDRAM " Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-22 16:26   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 23/41] Convert CONFIG_CMD_SH_ZIMAGEBOOT " Simon Glass
                   ` (18 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_SF_TEST

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 README                                   |  6 ------
 arch/Kconfig                             |  1 +
 arch/x86/cpu/baytrail/Kconfig            |  1 +
 cmd/Kconfig                              | 11 +++++++++++
 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/coreboot-x86_defconfig           |  1 +
 configs/cougarcanyon2_defconfig          |  1 +
 configs/crownbay_defconfig               |  1 +
 configs/galileo_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/sandbox_defconfig                |  4 +---
 include/configs/efi-x86.h                |  2 --
 include/configs/sandbox.h                |  1 -
 include/configs/veyron.h                 |  2 --
 include/configs/x86-common.h             |  1 -
 scripts/config_whitelist.txt             |  1 -
 25 files changed, 29 insertions(+), 16 deletions(-)

diff --git a/README b/README
index 3958821f57..d0d6fe2b8d 100644
--- a/README
+++ b/README
@@ -2506,12 +2506,6 @@ The following options need to be configured:
 		CONFIG_SF_DEFAULT_MODE 		(see include/spi.h)
 		CONFIG_SF_DEFAULT_SPEED		in Hz
 
-		CONFIG_CMD_SF_TEST
-
-		Define this option to include a destructive SPI flash
-		test ('sf test').
-
-- SystemACE Support:
 		CONFIG_SYSTEMACE
 
 		Adding this option adds support for Xilinx SystemACE
diff --git a/arch/Kconfig b/arch/Kconfig
index 7e76abdbf3..a3c9b99ea5 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -77,6 +77,7 @@ config SANDBOX
 	imply LZMA
 	imply SCSI
 	imply CMD_SATA
+	imply CMD_SF_TEST
 
 config SH
 	bool "SuperH architecture"
diff --git a/arch/x86/cpu/baytrail/Kconfig b/arch/x86/cpu/baytrail/Kconfig
index 6c85186486..31e988c6ea 100644
--- a/arch/x86/cpu/baytrail/Kconfig
+++ b/arch/x86/cpu/baytrail/Kconfig
@@ -7,6 +7,7 @@
 config INTEL_BAYTRAIL
 	bool
 	select HAVE_FSP if !EFI
+	imply CMD_SF_TEST
 
 if INTEL_BAYTRAIL
 config INTERNAL_UART
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 28aba0e780..d01fda2450 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -811,6 +811,17 @@ config CMD_SDRAM
 	  SDRAM has an EEPROM with information that can be read using the
 	  I2C bus. This is only available on some boards.
 
+config CMD_SF_TEST
+	bool "sf test - Allow testing of SPI flash"
+	help
+	  Provides a way to test that SPI flash is working correctly. the
+	  test is destructive, in that an area of SPI flash must be provided
+	  for the test to use. Performance informatoin is also provided,
+	  measuring the performance of reading, writing and erasing in
+	  Mbps (Million Bits Per Second). This value shold approximately
+	  equal the SPI bus speed for a single-bit-wide SPI bus, assuming
+	  everything is working properly.
+
 endmenu
 
 
diff --git a/configs/chromebit_mickey_defconfig b/configs/chromebit_mickey_defconfig
index 7d0351e324..a3bba8e5a2 100644
--- a/configs/chromebit_mickey_defconfig
+++ b/configs/chromebit_mickey_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_SF_TEST=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_TIME=y
diff --git a/configs/chromebook_jerry_defconfig b/configs/chromebook_jerry_defconfig
index 8f33bb8316..3dea406d4c 100644
--- a/configs/chromebook_jerry_defconfig
+++ b/configs/chromebook_jerry_defconfig
@@ -21,6 +21,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_SF_TEST=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_TIME=y
diff --git a/configs/chromebook_link64_defconfig b/configs/chromebook_link64_defconfig
index 8fdd09d0a1..545cbdf066 100644
--- a/configs/chromebook_link64_defconfig
+++ b/configs/chromebook_link64_defconfig
@@ -38,6 +38,7 @@ CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SF_TEST=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 fdc3079046..05c55e6bcb 100644
--- a/configs/chromebook_link_defconfig
+++ b/configs/chromebook_link_defconfig
@@ -22,6 +22,7 @@ CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SF_TEST=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/chromebook_minnie_defconfig b/configs/chromebook_minnie_defconfig
index db1488a2ad..19ae3df239 100644
--- a/configs/chromebook_minnie_defconfig
+++ b/configs/chromebook_minnie_defconfig
@@ -20,6 +20,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_SF_TEST=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_TIME=y
diff --git a/configs/chromebook_samus_defconfig b/configs/chromebook_samus_defconfig
index 3c0c10a05e..4e4d64c405 100644
--- a/configs/chromebook_samus_defconfig
+++ b/configs/chromebook_samus_defconfig
@@ -22,6 +22,7 @@ CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SF_TEST=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 d8490bf062..a2cbfe08fd 100644
--- a/configs/chromebox_panther_defconfig
+++ b/configs/chromebox_panther_defconfig
@@ -18,6 +18,7 @@ CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SF_TEST=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/coreboot-x86_defconfig b/configs/coreboot-x86_defconfig
index 9e9f112b85..8eb06df15a 100644
--- a/configs/coreboot-x86_defconfig
+++ b/configs/coreboot-x86_defconfig
@@ -15,6 +15,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SF_TEST=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 b356532880..abe7b1d17b 100644
--- a/configs/cougarcanyon2_defconfig
+++ b/configs/cougarcanyon2_defconfig
@@ -14,6 +14,7 @@ CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SF_TEST=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 678daa98d2..549abc8196 100644
--- a/configs/crownbay_defconfig
+++ b/configs/crownbay_defconfig
@@ -20,6 +20,7 @@ CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SF_TEST=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/galileo_defconfig b/configs/galileo_defconfig
index f3b32c101f..67a7df9611 100644
--- a/configs/galileo_defconfig
+++ b/configs/galileo_defconfig
@@ -23,6 +23,7 @@ CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SF_TEST=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/qemu-x86_64_defconfig b/configs/qemu-x86_64_defconfig
index c31e6407cc..55355c5be3 100644
--- a/configs/qemu-x86_64_defconfig
+++ b/configs/qemu-x86_64_defconfig
@@ -39,6 +39,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SF_TEST=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 c356073161..b028942197 100644
--- a/configs/qemu-x86_defconfig
+++ b/configs/qemu-x86_defconfig
@@ -20,6 +20,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SF_TEST=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 47e590cdf4..a68cd16cfc 100644
--- a/configs/qemu-x86_efi_payload32_defconfig
+++ b/configs/qemu-x86_efi_payload32_defconfig
@@ -17,6 +17,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SF_TEST=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 bd066645b8..314cae6a34 100644
--- a/configs/qemu-x86_efi_payload64_defconfig
+++ b/configs/qemu-x86_efi_payload64_defconfig
@@ -18,6 +18,7 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_SF_TEST=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index 0e839dce73..7ceae2d582 100644
--- a/configs/sandbox_defconfig
+++ b/configs/sandbox_defconfig
@@ -40,6 +40,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_REMOTEPROC=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_READ=y
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_TFTPSRV=y
 CONFIG_CMD_RARP=y
@@ -192,6 +193,3 @@ 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/configs/efi-x86.h b/include/configs/efi-x86.h
index 9dcb481707..c455b592ae 100644
--- a/include/configs/efi-x86.h
+++ b/include/configs/efi-x86.h
@@ -9,8 +9,6 @@
 
 #include <configs/x86-common.h>
 
-#undef CONFIG_CMD_SF_TEST
-
 #undef CONFIG_TPM_TIS_BASE_ADDRESS
 
 #undef CONFIG_ENV_IS_IN_SPI_FLASH
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 5af382969b..fd579f72a8 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -53,7 +53,6 @@
 #define CONFIG_ENV_IS_NOWHERE
 
 /* SPI - enable all SPI flash types for testing purposes */
-#define CONFIG_CMD_SF_TEST
 
 #define CONFIG_I2C_EDID
 
diff --git a/include/configs/veyron.h b/include/configs/veyron.h
index 3bd8dd60b5..68835165e6 100644
--- a/include/configs/veyron.h
+++ b/include/configs/veyron.h
@@ -18,8 +18,6 @@
 #define CONFIG_SPL_SPI_LOAD
 #define CONFIG_SPI_FLASH_GIGADEVICE
 
-#define CONFIG_CMD_SF_TEST
-
 #define CONFIG_KEYBOARD
 
 #endif
diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h
index b8f46a1f54..028eb2e57c 100644
--- a/include/configs/x86-common.h
+++ b/include/configs/x86-common.h
@@ -111,7 +111,6 @@
 /*-----------------------------------------------------------------------
  * FLASH configuration
  */
-#define CONFIG_CMD_SF_TEST
 #define CONFIG_SPI
 
 /*-----------------------------------------------------------------------
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 6d61b4a526..d6f52068ff 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_SF_TEST
 CONFIG_CMD_SH_ZIMAGEBOOT
 CONFIG_CMD_SPL
 CONFIG_CMD_SPL_NAND_OFS
-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 23/41] Convert CONFIG_CMD_SH_ZIMAGEBOOT to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (21 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 22/41] Convert CONFIG_CMD_SF_TEST " Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-22 16:26   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 24/41] Convert CONFIG_CMD_SPL " Simon Glass
                   ` (17 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_SH_ZIMAGEBOOT

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 arch/sh/Kconfig                   | 2 ++
 arch/sh/lib/Kconfig               | 5 +++++
 configs/r2dplus_defconfig         | 1 +
 configs/sh7785lcr_32bit_defconfig | 1 +
 configs/sh7785lcr_defconfig       | 1 +
 include/configs/r2dplus.h         | 1 -
 include/configs/sh7785lcr.h       | 2 --
 scripts/config_whitelist.txt      | 1 -
 8 files changed, 10 insertions(+), 4 deletions(-)
 create mode 100644 arch/sh/lib/Kconfig

diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 6ac22af2f1..d20761e66c 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -125,6 +125,8 @@ config SYS_CPU
 	default "sh3" if CPU_SH3
 	default "sh4" if CPU_SH4
 
+source "arch/sh/lib/Kconfig"
+
 source "board/alphaproject/ap_sh4a_4a/Kconfig"
 source "board/espt/Kconfig"
 source "board/mpr2/Kconfig"
diff --git a/arch/sh/lib/Kconfig b/arch/sh/lib/Kconfig
new file mode 100644
index 0000000000..5142cb1af2
--- /dev/null
+++ b/arch/sh/lib/Kconfig
@@ -0,0 +1,5 @@
+config CMD_SH_ZIMAGEBOOT
+	bool "Boot a zImage on SH"
+	help
+	  This is special SH-specific command to boot a zImage (compressed
+	  Linux image) on SH-architecture boards.
diff --git a/configs/r2dplus_defconfig b/configs/r2dplus_defconfig
index aaf351d2a1..f6c0592b4b 100644
--- a/configs/r2dplus_defconfig
+++ b/configs/r2dplus_defconfig
@@ -1,5 +1,6 @@
 CONFIG_SH=y
 CONFIG_TARGET_R2DPLUS=y
+CONFIG_CMD_SH_ZIMAGEBOOT=y
 CONFIG_BOOTDELAY=-1
 CONFIG_CMD_IDE=y
 CONFIG_CMD_PCI=y
diff --git a/configs/sh7785lcr_32bit_defconfig b/configs/sh7785lcr_32bit_defconfig
index 1280e588c0..8353a744fb 100644
--- a/configs/sh7785lcr_32bit_defconfig
+++ b/configs/sh7785lcr_32bit_defconfig
@@ -1,6 +1,7 @@
 CONFIG_SH=y
 CONFIG_SH_32BIT=y
 CONFIG_TARGET_SH7785LCR=y
+CONFIG_CMD_SH_ZIMAGEBOOT=y
 CONFIG_BOOTDELAY=3
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_BDI is not set
diff --git a/configs/sh7785lcr_defconfig b/configs/sh7785lcr_defconfig
index cd9a59b62a..110b2ba15f 100644
--- a/configs/sh7785lcr_defconfig
+++ b/configs/sh7785lcr_defconfig
@@ -1,5 +1,6 @@
 CONFIG_SH=y
 CONFIG_TARGET_SH7785LCR=y
+CONFIG_CMD_SH_ZIMAGEBOOT=y
 CONFIG_BOOTDELAY=3
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_BDI is not set
diff --git a/include/configs/r2dplus.h b/include/configs/r2dplus.h
index 19f9088b3d..7fa7932048 100644
--- a/include/configs/r2dplus.h
+++ b/include/configs/r2dplus.h
@@ -11,7 +11,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_SH_ZIMAGEBOOT
 
 /* SCIF */
 #define CONFIG_SCIF_CONSOLE	1
diff --git a/include/configs/sh7785lcr.h b/include/configs/sh7785lcr.h
index b0afc67257..d925aadb8d 100644
--- a/include/configs/sh7785lcr.h
+++ b/include/configs/sh7785lcr.h
@@ -12,8 +12,6 @@
 #define CONFIG_CPU_SH7785	1
 #define CONFIG_SH7785LCR	1
 
-#define CONFIG_CMD_SH_ZIMAGEBOOT
-
 #define CONFIG_BOOTARGS		"console=ttySC1,115200 root=/dev/nfs ip=dhcp"
 
 #define CONFIG_EXTRA_ENV_SETTINGS					\
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index d6f52068ff..1a39eb41b4 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_SH_ZIMAGEBOOT
 CONFIG_CMD_SPL
 CONFIG_CMD_SPL_NAND_OFS
 CONFIG_CMD_SPL_WRITE_SIZE
-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 24/41] Convert CONFIG_CMD_SPL to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (22 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 23/41] Convert CONFIG_CMD_SH_ZIMAGEBOOT " Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-22 16:26   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 25/41] Convert CONFIG_CMD_SPL_NAND_OFS " Simon Glass
                   ` (16 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_SPL

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 arch/arm/Kconfig                          | 1 +
 arch/arm/mach-imx/mx6/Kconfig             | 1 +
 arch/arm/mach-omap2/am33xx/Kconfig        | 1 +
 cmd/Kconfig                               | 9 +++++++++
 configs/am335x_boneblack_defconfig        | 2 +-
 configs/am335x_boneblack_vboot_defconfig  | 1 +
 configs/am335x_evm_defconfig              | 1 +
 configs/am335x_evm_nor_defconfig          | 1 +
 configs/am335x_evm_usbspl_defconfig       | 1 +
 configs/am335x_igep003x_defconfig         | 1 +
 configs/am335x_sl50_defconfig             | 1 +
 configs/am43xx_evm_defconfig              | 1 +
 configs/am43xx_evm_ethboot_defconfig      | 1 +
 configs/am43xx_evm_usbhost_boot_defconfig | 1 +
 configs/am57xx_evm_defconfig              | 1 +
 configs/am57xx_evm_nodt_defconfig         | 1 +
 configs/birdland_bav335a_defconfig        | 1 +
 configs/birdland_bav335b_defconfig        | 1 +
 configs/cairo_defconfig                   | 1 +
 configs/devkit8000_defconfig              | 1 +
 configs/dra7xx_evm_defconfig              | 1 +
 configs/igep0020_defconfig                | 1 +
 configs/igep0030_defconfig                | 1 +
 configs/igep0032_defconfig                | 1 +
 configs/ipam390_defconfig                 | 1 +
 configs/microblaze-generic_defconfig      | 1 +
 configs/mx6sabresd_defconfig              | 1 +
 configs/omap3_beagle_defconfig            | 1 +
 configs/omap3_logic_defconfig             | 1 +
 configs/omap3_overo_defconfig             | 1 +
 configs/omap4_panda_defconfig             | 1 +
 configs/omap5_uevm_defconfig              | 1 +
 configs/pcm051_rev1_defconfig             | 1 +
 configs/pcm051_rev3_defconfig             | 1 +
 configs/pengwyn_defconfig                 | 1 +
 configs/twister_defconfig                 | 1 +
 include/configs/gw_ventana.h              | 1 -
 include/configs/ipam390.h                 | 1 -
 include/configs/microblaze-generic.h      | 1 -
 include/configs/mx6sabreauto.h            | 1 -
 include/configs/mx6sabresd.h              | 1 -
 include/configs/ti_armv7_common.h         | 1 -
 include/configs/trats.h                   | 1 -
 include/configs/twister.h                 | 1 -
 include/configs/zynq-common.h             | 1 -
 scripts/config_whitelist.txt              | 1 -
 46 files changed, 44 insertions(+), 11 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 3cc252ac27..c6cfac97ac 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -728,6 +728,7 @@ config ARCH_ZYNQ
 	select CLK_ZYNQ
 	imply CMD_CLK
 	imply FAT_WRITE
+	imply CMD_SPL
 
 config ARCH_ZYNQMP
 	bool "Support Xilinx ZynqMP Platform"
diff --git a/arch/arm/mach-imx/mx6/Kconfig b/arch/arm/mach-imx/mx6/Kconfig
index 1595a764c5..6461c88b17 100644
--- a/arch/arm/mach-imx/mx6/Kconfig
+++ b/arch/arm/mach-imx/mx6/Kconfig
@@ -144,6 +144,7 @@ config TARGET_GW_VENTANA
 	bool "gw_ventana"
 	select SUPPORT_SPL
 	imply CMD_SATA
+	imply CMD_SPL
 
 config TARGET_KOSAGI_NOVENA
 	bool "Kosagi Novena"
diff --git a/arch/arm/mach-omap2/am33xx/Kconfig b/arch/arm/mach-omap2/am33xx/Kconfig
index d8abba992a..7260d27877 100644
--- a/arch/arm/mach-omap2/am33xx/Kconfig
+++ b/arch/arm/mach-omap2/am33xx/Kconfig
@@ -81,6 +81,7 @@ config TARGET_AM335X_SHC
 	select DM
 	select DM_SERIAL
 	select DM_GPIO
+	imply CMD_SPL
 
 config TARGET_AM335X_SL50
 	bool "Support am335x_sl50"
diff --git a/cmd/Kconfig b/cmd/Kconfig
index d01fda2450..0cc5d56d7f 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -270,6 +270,15 @@ config CMD_POWEROFF
 	help
 	  Poweroff/Shutdown the system
 
+config CMD_SPL
+	bool "spl export - Export boot information for Falcon boot"
+	depends on SPL
+	help
+	  Falcon mode allows booting directly from SPL into an Operating
+	  System such as Linux, thus skipping U-Boot proper. See
+	  doc/README.falcon for full information about how to use this
+	  command.
+
 endmenu
 
 menu "Environment commands"
diff --git a/configs/am335x_boneblack_defconfig b/configs/am335x_boneblack_defconfig
index c69867705e..195b24f7f7 100644
--- a/configs/am335x_boneblack_defconfig
+++ b/configs/am335x_boneblack_defconfig
@@ -22,8 +22,8 @@ CONFIG_USB_FUNCTION_FASTBOOT=y
 CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
-CONFIG_CMD_FASTBOOT=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_DFU_TFTP=y
 CONFIG_DFU_MMC=y
diff --git a/configs/am335x_boneblack_vboot_defconfig b/configs/am335x_boneblack_vboot_defconfig
index b11d0a71da..e7890fc8b5 100644
--- a/configs/am335x_boneblack_vboot_defconfig
+++ b/configs/am335x_boneblack_vboot_defconfig
@@ -25,6 +25,7 @@ CONFIG_USB_FUNCTION_FASTBOOT=y
 CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_OF_CONTROL=y
diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig
index 860ef7dd95..2e5bb103a5 100644
--- a/configs/am335x_evm_defconfig
+++ b/configs/am335x_evm_defconfig
@@ -20,6 +20,7 @@ CONFIG_USB_FUNCTION_FASTBOOT=y
 CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MTDPARTS=y
diff --git a/configs/am335x_evm_nor_defconfig b/configs/am335x_evm_nor_defconfig
index 9cadc0b61a..c70cd6d247 100644
--- a/configs/am335x_evm_nor_defconfig
+++ b/configs/am335x_evm_nor_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_FASTBOOT=y
 CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 CONFIG_CMD_GPT=y
diff --git a/configs/am335x_evm_usbspl_defconfig b/configs/am335x_evm_usbspl_defconfig
index 0a6e26eba9..49f732b81e 100644
--- a/configs/am335x_evm_usbspl_defconfig
+++ b/configs/am335x_evm_usbspl_defconfig
@@ -22,6 +22,7 @@ CONFIG_USB_FUNCTION_FASTBOOT=y
 CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MTDPARTS=y
diff --git a/configs/am335x_igep003x_defconfig b/configs/am335x_igep003x_defconfig
index 8fc31461f1..cef7c315cf 100644
--- a/configs/am335x_igep003x_defconfig
+++ b/configs/am335x_igep003x_defconfig
@@ -28,6 +28,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
diff --git a/configs/am335x_sl50_defconfig b/configs/am335x_sl50_defconfig
index 855e1ca9e2..10e1d1c870 100644
--- a/configs/am335x_sl50_defconfig
+++ b/configs/am335x_sl50_defconfig
@@ -28,6 +28,7 @@ CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
 CONFIG_AUTOBOOT_DELAY_STR="d"
 CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
diff --git a/configs/am43xx_evm_defconfig b/configs/am43xx_evm_defconfig
index 83a48b8b3e..5d707b92e3 100644
--- a/configs/am43xx_evm_defconfig
+++ b/configs/am43xx_evm_defconfig
@@ -15,6 +15,7 @@ CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MTDPARTS=y
diff --git a/configs/am43xx_evm_ethboot_defconfig b/configs/am43xx_evm_ethboot_defconfig
index dfac27b929..19d596278d 100644
--- a/configs/am43xx_evm_ethboot_defconfig
+++ b/configs/am43xx_evm_ethboot_defconfig
@@ -14,6 +14,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
diff --git a/configs/am43xx_evm_usbhost_boot_defconfig b/configs/am43xx_evm_usbhost_boot_defconfig
index 8fa6d91b43..fd6ff5f285 100644
--- a/configs/am43xx_evm_usbhost_boot_defconfig
+++ b/configs/am43xx_evm_usbhost_boot_defconfig
@@ -18,6 +18,7 @@ CONFIG_SPL_USB_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig
index 658ab92487..4b1ceb820b 100644
--- a/configs/am57xx_evm_defconfig
+++ b/configs/am57xx_evm_defconfig
@@ -31,6 +31,7 @@ CONFIG_FASTBOOT_USB_DEV=1
 CONFIG_FASTBOOT_FLASH=y
 CONFIG_FASTBOOT_FLASH_MMC_DEV=1
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_PMIC is not set
diff --git a/configs/am57xx_evm_nodt_defconfig b/configs/am57xx_evm_nodt_defconfig
index 6048e6c911..d8cbcda21a 100644
--- a/configs/am57xx_evm_nodt_defconfig
+++ b/configs/am57xx_evm_nodt_defconfig
@@ -23,6 +23,7 @@ CONFIG_FASTBOOT_FLASH=y
 CONFIG_FASTBOOT_FLASH_MMC_DEV=1
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
diff --git a/configs/birdland_bav335a_defconfig b/configs/birdland_bav335a_defconfig
index 073a58d94e..18e0100a7b 100644
--- a/configs/birdland_bav335a_defconfig
+++ b/configs/birdland_bav335a_defconfig
@@ -25,6 +25,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
diff --git a/configs/birdland_bav335b_defconfig b/configs/birdland_bav335b_defconfig
index 5269c177d4..a143142ae7 100644
--- a/configs/birdland_bav335b_defconfig
+++ b/configs/birdland_bav335b_defconfig
@@ -25,6 +25,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
diff --git a/configs/cairo_defconfig b/configs/cairo_defconfig
index f6caae0280..a1506ff339 100644
--- a/configs/cairo_defconfig
+++ b/configs/cairo_defconfig
@@ -12,6 +12,7 @@ CONFIG_SYS_PROMPT="Cairo # "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
diff --git a/configs/devkit8000_defconfig b/configs/devkit8000_defconfig
index d2c2010d55..17cdab7428 100644
--- a/configs/devkit8000_defconfig
+++ b/configs/devkit8000_defconfig
@@ -8,6 +8,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig
index 6dd1baf6e9..4634e8e7af 100644
--- a/configs/dra7xx_evm_defconfig
+++ b/configs/dra7xx_evm_defconfig
@@ -30,6 +30,7 @@ CONFIG_FASTBOOT_BUF_SIZE=0x2f000000
 CONFIG_FASTBOOT_FLASH=y
 CONFIG_FASTBOOT_FLASH_MMC_DEV=1
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_ISO_PARTITION=y
diff --git a/configs/igep0020_defconfig b/configs/igep0020_defconfig
index a347c547e2..bcd4f22b79 100644
--- a/configs/igep0020_defconfig
+++ b/configs/igep0020_defconfig
@@ -15,6 +15,7 @@ CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_ONENAND_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
diff --git a/configs/igep0030_defconfig b/configs/igep0030_defconfig
index 01e340832b..30ab21079e 100644
--- a/configs/igep0030_defconfig
+++ b/configs/igep0030_defconfig
@@ -15,6 +15,7 @@ CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_ONENAND_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
diff --git a/configs/igep0032_defconfig b/configs/igep0032_defconfig
index 71e01a59bf..493bf41713 100644
--- a/configs/igep0032_defconfig
+++ b/configs/igep0032_defconfig
@@ -14,6 +14,7 @@ CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_ONENAND_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
diff --git a/configs/ipam390_defconfig b/configs/ipam390_defconfig
index 3c32a6b0ec..68bbe8667d 100644
--- a/configs/ipam390_defconfig
+++ b/configs/ipam390_defconfig
@@ -16,6 +16,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot > "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CRC32_VERIFY=y
 # CONFIG_CMD_FLASH is not set
diff --git a/configs/microblaze-generic_defconfig b/configs/microblaze-generic_defconfig
index 471be29ee5..45aaf3bbd5 100644
--- a/configs/microblaze-generic_defconfig
+++ b/configs/microblaze-generic_defconfig
@@ -21,6 +21,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_SYS_OS_BASE=0x2c060000
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot-mONStR> "
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_MFSL=y
diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig
index 535c98005f..7bd6da1654 100644
--- a/configs/mx6sabresd_defconfig
+++ b/configs/mx6sabresd_defconfig
@@ -21,6 +21,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
diff --git a/configs/omap3_beagle_defconfig b/configs/omap3_beagle_defconfig
index fbffc3c33e..aebacd2918 100644
--- a/configs/omap3_beagle_defconfig
+++ b/configs/omap3_beagle_defconfig
@@ -9,6 +9,7 @@ CONFIG_SPL=y
 CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
diff --git a/configs/omap3_logic_defconfig b/configs/omap3_logic_defconfig
index db8f4683e2..022a7c15c8 100644
--- a/configs/omap3_logic_defconfig
+++ b/configs/omap3_logic_defconfig
@@ -17,6 +17,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="OMAP Logic # "
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 # CONFIG_CMD_EEPROM is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_USB is not set
diff --git a/configs/omap3_overo_defconfig b/configs/omap3_overo_defconfig
index f4c3d3233d..a5e2f25873 100644
--- a/configs/omap3_overo_defconfig
+++ b/configs/omap3_overo_defconfig
@@ -15,6 +15,7 @@ CONFIG_SYS_PROMPT="Overo # "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
diff --git a/configs/omap4_panda_defconfig b/configs/omap4_panda_defconfig
index 3d91f137e8..44eaed8590 100644
--- a/configs/omap4_panda_defconfig
+++ b/configs/omap4_panda_defconfig
@@ -12,6 +12,7 @@ CONFIG_SPL=y
 # CONFIG_SPL_I2C_SUPPORT is not set
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
diff --git a/configs/omap5_uevm_defconfig b/configs/omap5_uevm_defconfig
index 0af00b14be..81edba49b3 100644
--- a/configs/omap5_uevm_defconfig
+++ b/configs/omap5_uevm_defconfig
@@ -12,6 +12,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
diff --git a/configs/pcm051_rev1_defconfig b/configs/pcm051_rev1_defconfig
index 466aa511ba..8faaad9b6f 100644
--- a/configs/pcm051_rev1_defconfig
+++ b/configs/pcm051_rev1_defconfig
@@ -27,6 +27,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
diff --git a/configs/pcm051_rev3_defconfig b/configs/pcm051_rev3_defconfig
index 7150e79ed6..b2126f0f56 100644
--- a/configs/pcm051_rev3_defconfig
+++ b/configs/pcm051_rev3_defconfig
@@ -27,6 +27,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
diff --git a/configs/pengwyn_defconfig b/configs/pengwyn_defconfig
index 6b30c7ad78..0a3553f60f 100644
--- a/configs/pengwyn_defconfig
+++ b/configs/pengwyn_defconfig
@@ -28,6 +28,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
diff --git a/configs/twister_defconfig b/configs/twister_defconfig
index f7c933630b..4d3157a28b 100644
--- a/configs/twister_defconfig
+++ b/configs/twister_defconfig
@@ -9,6 +9,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="twister => "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h
index 56c002ee4e..321a487cb9 100644
--- a/include/configs/gw_ventana.h
+++ b/include/configs/gw_ventana.h
@@ -12,7 +12,6 @@
 #define CONFIG_SYS_NAND_U_BOOT_OFFS     (14 * SZ_1M)
 
 /* Falcon Mode */
-#define CONFIG_CMD_SPL
 #define CONFIG_SYS_SPL_ARGS_ADDR	0x18000000
 #define CONFIG_CMD_SPL_WRITE_SIZE	(128 * SZ_1K)
 
diff --git a/include/configs/ipam390.h b/include/configs/ipam390.h
index 95cd769843..2999ac36e7 100644
--- a/include/configs/ipam390.h
+++ b/include/configs/ipam390.h
@@ -285,7 +285,6 @@
 					GENERATED_GBL_DATA_SIZE)
 
 /* add FALCON boot mode */
-#define CONFIG_CMD_SPL
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00200000
 #define CONFIG_SYS_SPL_ARGS_ADDR	LINUX_BOOT_PARAM_ADDR
 #define CONFIG_CMD_SPL_NAND_OFS		0x00180000
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index 5a1875ad15..b71f85b163 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -260,7 +260,6 @@
 #endif
 
 /* SPL part */
-#define CONFIG_CMD_SPL
 #define CONFIG_SPL_FRAMEWORK
 
 #define CONFIG_SPL_LDSCRIPT	"arch/microblaze/cpu/u-boot-spl.lds"
diff --git a/include/configs/mx6sabreauto.h b/include/configs/mx6sabreauto.h
index 900e2a904b..f561bfd2a3 100644
--- a/include/configs/mx6sabreauto.h
+++ b/include/configs/mx6sabreauto.h
@@ -34,7 +34,6 @@
 #ifdef CONFIG_SPL_OS_BOOT
 #define CONFIG_SPL_FS_LOAD_ARGS_NAME	"args"
 #define CONFIG_SPL_FS_LOAD_KERNEL_NAME	"uImage"
-#define CONFIG_CMD_SPL
 #define CONFIG_SYS_SPL_ARGS_ADDR       0x18000000
 #define CONFIG_CMD_SPL_WRITE_SIZE      (128 * SZ_1K)
 
diff --git a/include/configs/mx6sabresd.h b/include/configs/mx6sabresd.h
index 0fa442985a..9622394c8f 100644
--- a/include/configs/mx6sabresd.h
+++ b/include/configs/mx6sabresd.h
@@ -24,7 +24,6 @@
 /* Falcon Mode */
 #define CONFIG_SPL_FS_LOAD_ARGS_NAME	"args"
 #define CONFIG_SPL_FS_LOAD_KERNEL_NAME	"uImage"
-#define CONFIG_CMD_SPL
 #define CONFIG_SYS_SPL_ARGS_ADDR       0x18000000
 #define CONFIG_CMD_SPL_WRITE_SIZE      (128 * SZ_1K)
 
diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h
index a94748c35d..dc7cd92e80 100644
--- a/include/configs/ti_armv7_common.h
+++ b/include/configs/ti_armv7_common.h
@@ -204,7 +204,6 @@
 
 
 /* spl export command */
-#define CONFIG_CMD_SPL
 #endif
 
 /* General parts of the framework, required. */
diff --git a/include/configs/trats.h b/include/configs/trats.h
index e08bbc49ae..affdf0230e 100644
--- a/include/configs/trats.h
+++ b/include/configs/trats.h
@@ -167,7 +167,6 @@
 	"fdtaddr=40800000\0" \
 
 /* Falcon mode definitions */
-#define CONFIG_CMD_SPL
 #define CONFIG_SYS_SPL_ARGS_ADDR        CONFIG_SYS_SDRAM_BASE + 0x100
 
 /* GPT */
diff --git a/include/configs/twister.h b/include/configs/twister.h
index 94dde90e60..c45ae87a41 100644
--- a/include/configs/twister.h
+++ b/include/configs/twister.h
@@ -36,7 +36,6 @@
 	"bootcmd=run nandboot\0"
 
 /* SPL OS boot options */
-#define CONFIG_CMD_SPL
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x400 /* 1024 byte */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00200000
 #define CONFIG_CMD_SPL_NAND_OFS	(CONFIG_SYS_NAND_SPL_KERNEL_OFFS+\
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index 4b6b088851..b69f4c7ba4 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -276,7 +276,6 @@
 /* Commands */
 
 /* SPL part */
-#define CONFIG_CMD_SPL
 #define CONFIG_SPL_FRAMEWORK
 
 #define CONFIG_SPL_LDSCRIPT	"arch/arm/mach-zynq/u-boot-spl.lds"
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 1a39eb41b4..44d38f8ca1 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_SPL
 CONFIG_CMD_SPL_NAND_OFS
 CONFIG_CMD_SPL_WRITE_SIZE
 CONFIG_CMD_STRINGS
-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 25/41] Convert CONFIG_CMD_SPL_NAND_OFS to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (23 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 24/41] Convert CONFIG_CMD_SPL " Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-22 16:26   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 26/41] Convert CONFIG_CMD_SPL_WRITE_SIZE " Simon Glass
                   ` (15 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_SPL_NAND_OFS

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 cmd/Kconfig                                | 10 ++++++++++
 configs/am335x_boneblack_defconfig         |  1 +
 configs/am335x_boneblack_vboot_defconfig   |  1 +
 configs/am335x_evm_defconfig               |  1 +
 configs/am335x_evm_nor_defconfig           |  1 +
 configs/am335x_evm_usbspl_defconfig        |  1 +
 configs/am335x_igep003x_defconfig          |  1 +
 configs/am335x_shc_defconfig               |  1 +
 configs/am335x_shc_ict_defconfig           |  1 +
 configs/am335x_shc_netboot_defconfig       |  1 +
 configs/am335x_shc_prompt_defconfig        |  1 +
 configs/am335x_shc_sdboot_defconfig        |  1 +
 configs/am335x_shc_sdboot_prompt_defconfig |  1 +
 configs/am335x_sl50_defconfig              |  1 +
 configs/am43xx_evm_defconfig               |  1 +
 configs/am43xx_evm_ethboot_defconfig       |  1 +
 configs/am43xx_evm_usbhost_boot_defconfig  |  1 +
 configs/am57xx_evm_defconfig               |  1 +
 configs/am57xx_evm_nodt_defconfig          |  1 +
 configs/birdland_bav335a_defconfig         |  1 +
 configs/birdland_bav335b_defconfig         |  1 +
 configs/cairo_defconfig                    |  1 +
 configs/devkit8000_defconfig               |  1 +
 configs/dra7xx_evm_defconfig               |  1 +
 configs/gwventana_emmc_defconfig           |  1 +
 configs/gwventana_gw5904_defconfig         |  1 +
 configs/gwventana_nand_defconfig           |  1 +
 configs/igep0020_defconfig                 |  1 +
 configs/igep0030_defconfig                 |  1 +
 configs/igep0032_defconfig                 |  1 +
 configs/ipam390_defconfig                  |  1 +
 configs/microblaze-generic_defconfig       |  1 +
 configs/mx6sabresd_defconfig               |  1 +
 configs/omap3_beagle_defconfig             |  1 +
 configs/omap3_logic_defconfig              |  1 +
 configs/omap3_overo_defconfig              |  1 +
 configs/omap4_panda_defconfig              |  1 +
 configs/omap5_uevm_defconfig               |  1 +
 configs/pcm051_rev1_defconfig              |  1 +
 configs/pcm051_rev3_defconfig              |  1 +
 configs/pengwyn_defconfig                  |  1 +
 configs/topic_miami_defconfig              |  1 +
 configs/topic_miamilite_defconfig          |  1 +
 configs/topic_miamiplus_defconfig          |  1 +
 configs/twister_defconfig                  |  1 +
 configs/zynq_microzed_defconfig            |  1 +
 configs/zynq_picozed_defconfig             |  1 +
 configs/zynq_zc702_defconfig               |  1 +
 configs/zynq_zc706_defconfig               |  1 +
 configs/zynq_zc770_xm010_defconfig         |  1 +
 configs/zynq_zc770_xm011_defconfig         |  1 +
 configs/zynq_zc770_xm012_defconfig         |  1 +
 configs/zynq_zc770_xm013_defconfig         |  1 +
 configs/zynq_zed_defconfig                 |  1 +
 configs/zynq_zybo_defconfig                |  1 +
 include/configs/am335x_evm.h               |  1 -
 include/configs/am43xx_evm.h               |  1 -
 include/configs/baltos.h                   |  1 -
 include/configs/bav335x.h                  |  1 -
 include/configs/brppt1.h                   |  1 -
 include/configs/cm_t335.h                  |  1 -
 include/configs/devkit8000.h               |  2 --
 include/configs/dra7xx_evm.h               |  1 -
 include/configs/gw_ventana.h               |  1 -
 include/configs/ipam390.h                  |  1 -
 include/configs/omap3_beagle.h             |  1 -
 include/configs/omap3_cairo.h              |  1 -
 include/configs/omap3_logic.h              |  1 -
 include/configs/omap3_overo.h              |  1 -
 include/configs/omap3_zoom1.h              |  1 -
 include/configs/pengwyn.h                  |  1 -
 include/configs/twister.h                  |  2 --
 scripts/config_whitelist.txt               |  1 -
 73 files changed, 64 insertions(+), 20 deletions(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 0cc5d56d7f..c5c9b8c5e5 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -279,6 +279,16 @@ config CMD_SPL
 	  doc/README.falcon for full information about how to use this
 	  command.
 
+config CMD_SPL_NAND_OFS
+	hex "Offset of OS command line args for Falcon-mode NAND boot"
+	depends on CMD_SPL
+	default 0
+	help
+	  This provides the offset of the command line arguments for Linux
+	  when booting from NAND in Falcon mode.  See doc/README.falcon
+	  for full information about how to use this option (and also see
+	  board/gateworks/gw_ventana/README for an example).
+
 endmenu
 
 menu "Environment commands"
diff --git a/configs/am335x_boneblack_defconfig b/configs/am335x_boneblack_defconfig
index 195b24f7f7..a251a0defc 100644
--- a/configs/am335x_boneblack_defconfig
+++ b/configs/am335x_boneblack_defconfig
@@ -23,6 +23,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_DFU_TFTP=y
diff --git a/configs/am335x_boneblack_vboot_defconfig b/configs/am335x_boneblack_vboot_defconfig
index e7890fc8b5..a964169d3c 100644
--- a/configs/am335x_boneblack_vboot_defconfig
+++ b/configs/am335x_boneblack_vboot_defconfig
@@ -26,6 +26,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_OF_CONTROL=y
diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig
index 2e5bb103a5..83716dfc3b 100644
--- a/configs/am335x_evm_defconfig
+++ b/configs/am335x_evm_defconfig
@@ -21,6 +21,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x00080000
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MTDPARTS=y
diff --git a/configs/am335x_evm_nor_defconfig b/configs/am335x_evm_nor_defconfig
index c70cd6d247..36ad9d1c0c 100644
--- a/configs/am335x_evm_nor_defconfig
+++ b/configs/am335x_evm_nor_defconfig
@@ -20,6 +20,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x00080000
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 CONFIG_CMD_GPT=y
diff --git a/configs/am335x_evm_usbspl_defconfig b/configs/am335x_evm_usbspl_defconfig
index 49f732b81e..63aa238a56 100644
--- a/configs/am335x_evm_usbspl_defconfig
+++ b/configs/am335x_evm_usbspl_defconfig
@@ -23,6 +23,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x81000000
 CONFIG_FASTBOOT_BUF_SIZE=0x07000000
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x00080000
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MTDPARTS=y
diff --git a/configs/am335x_igep003x_defconfig b/configs/am335x_igep003x_defconfig
index cef7c315cf..4b9b67b059 100644
--- a/configs/am335x_igep003x_defconfig
+++ b/configs/am335x_igep003x_defconfig
@@ -29,6 +29,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
diff --git a/configs/am335x_shc_defconfig b/configs/am335x_shc_defconfig
index 4bd1b65880..14329b0913 100644
--- a/configs/am335x_shc_defconfig
+++ b/configs/am335x_shc_defconfig
@@ -28,6 +28,7 @@ CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau
 CONFIG_AUTOBOOT_DELAY_STR="shc"
 CONFIG_AUTOBOOT_STOP_STR="noautoboot"
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
diff --git a/configs/am335x_shc_ict_defconfig b/configs/am335x_shc_ict_defconfig
index 1025cd1d5c..88de993bc0 100644
--- a/configs/am335x_shc_ict_defconfig
+++ b/configs/am335x_shc_ict_defconfig
@@ -28,6 +28,7 @@ CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau
 CONFIG_AUTOBOOT_DELAY_STR="shc"
 CONFIG_AUTOBOOT_STOP_STR="noautoboot"
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
diff --git a/configs/am335x_shc_netboot_defconfig b/configs/am335x_shc_netboot_defconfig
index 0011234d55..26d3bc99a9 100644
--- a/configs/am335x_shc_netboot_defconfig
+++ b/configs/am335x_shc_netboot_defconfig
@@ -29,6 +29,7 @@ CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau
 CONFIG_AUTOBOOT_DELAY_STR="shc"
 CONFIG_AUTOBOOT_STOP_STR="noautoboot"
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
diff --git a/configs/am335x_shc_prompt_defconfig b/configs/am335x_shc_prompt_defconfig
index a6c617f87e..58593b2a51 100644
--- a/configs/am335x_shc_prompt_defconfig
+++ b/configs/am335x_shc_prompt_defconfig
@@ -26,6 +26,7 @@ CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau
 CONFIG_AUTOBOOT_DELAY_STR="shc"
 CONFIG_AUTOBOOT_STOP_STR="noautoboot"
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
diff --git a/configs/am335x_shc_sdboot_defconfig b/configs/am335x_shc_sdboot_defconfig
index fa231543a2..c2a50d4ed6 100644
--- a/configs/am335x_shc_sdboot_defconfig
+++ b/configs/am335x_shc_sdboot_defconfig
@@ -28,6 +28,7 @@ CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau
 CONFIG_AUTOBOOT_DELAY_STR="shc"
 CONFIG_AUTOBOOT_STOP_STR="noautoboot"
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
diff --git a/configs/am335x_shc_sdboot_prompt_defconfig b/configs/am335x_shc_sdboot_prompt_defconfig
index fa231543a2..c2a50d4ed6 100644
--- a/configs/am335x_shc_sdboot_prompt_defconfig
+++ b/configs/am335x_shc_sdboot_prompt_defconfig
@@ -28,6 +28,7 @@ CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau
 CONFIG_AUTOBOOT_DELAY_STR="shc"
 CONFIG_AUTOBOOT_STOP_STR="noautoboot"
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
diff --git a/configs/am335x_sl50_defconfig b/configs/am335x_sl50_defconfig
index 10e1d1c870..e61cf7c11e 100644
--- a/configs/am335x_sl50_defconfig
+++ b/configs/am335x_sl50_defconfig
@@ -29,6 +29,7 @@ CONFIG_AUTOBOOT_DELAY_STR="d"
 CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
diff --git a/configs/am43xx_evm_defconfig b/configs/am43xx_evm_defconfig
index 5d707b92e3..602338a45d 100644
--- a/configs/am43xx_evm_defconfig
+++ b/configs/am43xx_evm_defconfig
@@ -16,6 +16,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x00100000
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MTDPARTS=y
diff --git a/configs/am43xx_evm_ethboot_defconfig b/configs/am43xx_evm_ethboot_defconfig
index 19d596278d..320aa451bf 100644
--- a/configs/am43xx_evm_ethboot_defconfig
+++ b/configs/am43xx_evm_ethboot_defconfig
@@ -15,6 +15,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x00100000
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
diff --git a/configs/am43xx_evm_usbhost_boot_defconfig b/configs/am43xx_evm_usbhost_boot_defconfig
index fd6ff5f285..db71fc6057 100644
--- a/configs/am43xx_evm_usbhost_boot_defconfig
+++ b/configs/am43xx_evm_usbhost_boot_defconfig
@@ -19,6 +19,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x00100000
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig
index 4b1ceb820b..6dbc2ca28c 100644
--- a/configs/am57xx_evm_defconfig
+++ b/configs/am57xx_evm_defconfig
@@ -32,6 +32,7 @@ CONFIG_FASTBOOT_FLASH=y
 CONFIG_FASTBOOT_FLASH_MMC_DEV=1
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_PMIC is not set
diff --git a/configs/am57xx_evm_nodt_defconfig b/configs/am57xx_evm_nodt_defconfig
index d8cbcda21a..206ac27a21 100644
--- a/configs/am57xx_evm_nodt_defconfig
+++ b/configs/am57xx_evm_nodt_defconfig
@@ -24,6 +24,7 @@ CONFIG_FASTBOOT_FLASH_MMC_DEV=1
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
diff --git a/configs/birdland_bav335a_defconfig b/configs/birdland_bav335a_defconfig
index 18e0100a7b..0db9909337 100644
--- a/configs/birdland_bav335a_defconfig
+++ b/configs/birdland_bav335a_defconfig
@@ -26,6 +26,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
diff --git a/configs/birdland_bav335b_defconfig b/configs/birdland_bav335b_defconfig
index a143142ae7..641c359e94 100644
--- a/configs/birdland_bav335b_defconfig
+++ b/configs/birdland_bav335b_defconfig
@@ -26,6 +26,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
diff --git a/configs/cairo_defconfig b/configs/cairo_defconfig
index a1506ff339..35578500f9 100644
--- a/configs/cairo_defconfig
+++ b/configs/cairo_defconfig
@@ -13,6 +13,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x240000
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
diff --git a/configs/devkit8000_defconfig b/configs/devkit8000_defconfig
index 17cdab7428..84f1ba381b 100644
--- a/configs/devkit8000_defconfig
+++ b/configs/devkit8000_defconfig
@@ -9,6 +9,7 @@ CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x680000
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig
index 4634e8e7af..166986d7f9 100644
--- a/configs/dra7xx_evm_defconfig
+++ b/configs/dra7xx_evm_defconfig
@@ -31,6 +31,7 @@ CONFIG_FASTBOOT_FLASH=y
 CONFIG_FASTBOOT_FLASH_MMC_DEV=1
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_ISO_PARTITION=y
diff --git a/configs/gwventana_emmc_defconfig b/configs/gwventana_emmc_defconfig
index 0549fc71f8..4bbe4ac049 100644
--- a/configs/gwventana_emmc_defconfig
+++ b/configs/gwventana_emmc_defconfig
@@ -31,6 +31,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Ventana > "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x1100000
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
diff --git a/configs/gwventana_gw5904_defconfig b/configs/gwventana_gw5904_defconfig
index cd161f3a03..16120d163f 100644
--- a/configs/gwventana_gw5904_defconfig
+++ b/configs/gwventana_gw5904_defconfig
@@ -31,6 +31,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Ventana > "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x1100000
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
diff --git a/configs/gwventana_nand_defconfig b/configs/gwventana_nand_defconfig
index 5ba5f173b3..87c56c7bd5 100644
--- a/configs/gwventana_nand_defconfig
+++ b/configs/gwventana_nand_defconfig
@@ -32,6 +32,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Ventana > "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x1100000
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
diff --git a/configs/igep0020_defconfig b/configs/igep0020_defconfig
index bcd4f22b79..c8fbcd2765 100644
--- a/configs/igep0020_defconfig
+++ b/configs/igep0020_defconfig
@@ -16,6 +16,7 @@ CONFIG_SPL_ONENAND_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
diff --git a/configs/igep0030_defconfig b/configs/igep0030_defconfig
index 30ab21079e..59222534b0 100644
--- a/configs/igep0030_defconfig
+++ b/configs/igep0030_defconfig
@@ -16,6 +16,7 @@ CONFIG_SPL_ONENAND_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
diff --git a/configs/igep0032_defconfig b/configs/igep0032_defconfig
index 493bf41713..c511bc3f4f 100644
--- a/configs/igep0032_defconfig
+++ b/configs/igep0032_defconfig
@@ -15,6 +15,7 @@ CONFIG_SPL_ONENAND_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
diff --git a/configs/ipam390_defconfig b/configs/ipam390_defconfig
index 68bbe8667d..83009be0a8 100644
--- a/configs/ipam390_defconfig
+++ b/configs/ipam390_defconfig
@@ -17,6 +17,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot > "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x00180000
 CONFIG_CMD_ASKENV=y
 CONFIG_CRC32_VERIFY=y
 # CONFIG_CMD_FLASH is not set
diff --git a/configs/microblaze-generic_defconfig b/configs/microblaze-generic_defconfig
index 45aaf3bbd5..0bf052f3fc 100644
--- a/configs/microblaze-generic_defconfig
+++ b/configs/microblaze-generic_defconfig
@@ -22,6 +22,7 @@ CONFIG_SYS_OS_BASE=0x2c060000
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot-mONStR> "
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_MFSL=y
diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig
index 7bd6da1654..f16e0756f3 100644
--- a/configs/mx6sabresd_defconfig
+++ b/configs/mx6sabresd_defconfig
@@ -22,6 +22,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
diff --git a/configs/omap3_beagle_defconfig b/configs/omap3_beagle_defconfig
index aebacd2918..03db663f5d 100644
--- a/configs/omap3_beagle_defconfig
+++ b/configs/omap3_beagle_defconfig
@@ -10,6 +10,7 @@ CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x240000
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
diff --git a/configs/omap3_logic_defconfig b/configs/omap3_logic_defconfig
index 022a7c15c8..5e95b46367 100644
--- a/configs/omap3_logic_defconfig
+++ b/configs/omap3_logic_defconfig
@@ -18,6 +18,7 @@ CONFIG_SYS_PROMPT="OMAP Logic # "
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x240000
 # CONFIG_CMD_EEPROM is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_USB is not set
diff --git a/configs/omap3_overo_defconfig b/configs/omap3_overo_defconfig
index a5e2f25873..6b546dd419 100644
--- a/configs/omap3_overo_defconfig
+++ b/configs/omap3_overo_defconfig
@@ -16,6 +16,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x240000
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
diff --git a/configs/omap4_panda_defconfig b/configs/omap4_panda_defconfig
index 44eaed8590..fec6b301f9 100644
--- a/configs/omap4_panda_defconfig
+++ b/configs/omap4_panda_defconfig
@@ -13,6 +13,7 @@ CONFIG_SPL=y
 CONFIG_SPL_OS_BOOT=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
diff --git a/configs/omap5_uevm_defconfig b/configs/omap5_uevm_defconfig
index 81edba49b3..338324d1f9 100644
--- a/configs/omap5_uevm_defconfig
+++ b/configs/omap5_uevm_defconfig
@@ -13,6 +13,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
diff --git a/configs/pcm051_rev1_defconfig b/configs/pcm051_rev1_defconfig
index 8faaad9b6f..d405b27d43 100644
--- a/configs/pcm051_rev1_defconfig
+++ b/configs/pcm051_rev1_defconfig
@@ -28,6 +28,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
diff --git a/configs/pcm051_rev3_defconfig b/configs/pcm051_rev3_defconfig
index b2126f0f56..1513cb6f2d 100644
--- a/configs/pcm051_rev3_defconfig
+++ b/configs/pcm051_rev3_defconfig
@@ -28,6 +28,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
diff --git a/configs/pengwyn_defconfig b/configs/pengwyn_defconfig
index 0a3553f60f..41bf2563c0 100644
--- a/configs/pengwyn_defconfig
+++ b/configs/pengwyn_defconfig
@@ -29,6 +29,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x240000
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
diff --git a/configs/topic_miami_defconfig b/configs/topic_miami_defconfig
index 8df2fb13ce..88c2614b2f 100644
--- a/configs/topic_miami_defconfig
+++ b/configs/topic_miami_defconfig
@@ -12,6 +12,7 @@ CONFIG_SPL=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="zynq-uboot> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
diff --git a/configs/topic_miamilite_defconfig b/configs/topic_miamilite_defconfig
index cddc084a05..8eff0ec200 100644
--- a/configs/topic_miamilite_defconfig
+++ b/configs/topic_miamilite_defconfig
@@ -12,6 +12,7 @@ CONFIG_SPL=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="zynq-uboot> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
diff --git a/configs/topic_miamiplus_defconfig b/configs/topic_miamiplus_defconfig
index 1016718797..b8c41d4355 100644
--- a/configs/topic_miamiplus_defconfig
+++ b/configs/topic_miamiplus_defconfig
@@ -12,6 +12,7 @@ CONFIG_SPL=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="zynq-uboot> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
diff --git a/configs/twister_defconfig b/configs/twister_defconfig
index 4d3157a28b..226990aebd 100644
--- a/configs/twister_defconfig
+++ b/configs/twister_defconfig
@@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="twister => "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
+CONFIG_CMD_SPL_NAND_OFS=0x00800000
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
diff --git a/configs/zynq_microzed_defconfig b/configs/zynq_microzed_defconfig
index 2d7fffc1f4..f9221427e2 100644
--- a/configs/zynq_microzed_defconfig
+++ b/configs/zynq_microzed_defconfig
@@ -11,6 +11,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
diff --git a/configs/zynq_picozed_defconfig b/configs/zynq_picozed_defconfig
index 7ca69a973c..0419ed5b89 100644
--- a/configs/zynq_picozed_defconfig
+++ b/configs/zynq_picozed_defconfig
@@ -8,6 +8,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
diff --git a/configs/zynq_zc702_defconfig b/configs/zynq_zc702_defconfig
index 8f20b09244..ea1e0777c2 100644
--- a/configs/zynq_zc702_defconfig
+++ b/configs/zynq_zc702_defconfig
@@ -13,6 +13,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
diff --git a/configs/zynq_zc706_defconfig b/configs/zynq_zc706_defconfig
index 825346abd6..29f2ce6fc6 100644
--- a/configs/zynq_zc706_defconfig
+++ b/configs/zynq_zc706_defconfig
@@ -12,6 +12,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
diff --git a/configs/zynq_zc770_xm010_defconfig b/configs/zynq_zc770_xm010_defconfig
index a1ef49f250..12e3742e9c 100644
--- a/configs/zynq_zc770_xm010_defconfig
+++ b/configs/zynq_zc770_xm010_defconfig
@@ -12,6 +12,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
diff --git a/configs/zynq_zc770_xm011_defconfig b/configs/zynq_zc770_xm011_defconfig
index 148f70360b..bc676e7476 100644
--- a/configs/zynq_zc770_xm011_defconfig
+++ b/configs/zynq_zc770_xm011_defconfig
@@ -13,6 +13,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_NAND=y
 CONFIG_CMD_FPGA_LOADBP=y
diff --git a/configs/zynq_zc770_xm012_defconfig b/configs/zynq_zc770_xm012_defconfig
index 943efdb141..3e53373d04 100644
--- a/configs/zynq_zc770_xm012_defconfig
+++ b/configs/zynq_zc770_xm012_defconfig
@@ -12,6 +12,7 @@ CONFIG_SPL=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_FPGA_LOADBP=y
 CONFIG_CMD_FPGA_LOADFS=y
 CONFIG_CMD_FPGA_LOADMK=y
diff --git a/configs/zynq_zc770_xm013_defconfig b/configs/zynq_zc770_xm013_defconfig
index 5c029109e2..5f0f656c1a 100644
--- a/configs/zynq_zc770_xm013_defconfig
+++ b/configs/zynq_zc770_xm013_defconfig
@@ -13,6 +13,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_FPGA_LOADBP=y
 CONFIG_CMD_FPGA_LOADFS=y
diff --git a/configs/zynq_zed_defconfig b/configs/zynq_zed_defconfig
index 2887ca4167..de61ed406b 100644
--- a/configs/zynq_zed_defconfig
+++ b/configs/zynq_zed_defconfig
@@ -11,6 +11,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
diff --git a/configs/zynq_zybo_defconfig b/configs/zynq_zybo_defconfig
index f3f89cb5e4..2bc2f155f3 100644
--- a/configs/zynq_zybo_defconfig
+++ b/configs/zynq_zybo_defconfig
@@ -13,6 +13,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_SPL_NAND_OFS=0x0
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index b97f525994..3f2aa80693 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -239,7 +239,6 @@
 #define CONFIG_SPL_NAND_AM33XX_BCH
 #endif
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS	0x00080000 /* os parameters */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00200000 /* kernel offset */
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index 1d8e39c203..ff2c91da5c 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -322,7 +322,6 @@
 #endif
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS		0x00100000 /* os parameters */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00300000 /* kernel offset */
 #define CONFIG_CMD_SPL_WRITE_SIZE	CONFIG_SYS_NAND_BLOCK_SIZE
 #endif
diff --git a/include/configs/baltos.h b/include/configs/baltos.h
index b58030663d..cf6d10cb72 100644
--- a/include/configs/baltos.h
+++ b/include/configs/baltos.h
@@ -48,7 +48,6 @@
 #ifdef CONFIG_NAND
 #define CONFIG_SYS_NAND_U_BOOT_OFFS	0x00080000
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS 0x00080000 /* os parameters */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x00200000 /* kernel offset */
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
diff --git a/include/configs/bav335x.h b/include/configs/bav335x.h
index 71b1b96ec4..5eadb70412 100644
--- a/include/configs/bav335x.h
+++ b/include/configs/bav335x.h
@@ -399,7 +399,6 @@ DEFAULT_LINUX_BOOT_ENV \
 #define CONFIG_SPL_NAND_AM33XX_BCH
 #endif
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS	0x00080000 /* os parameters */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00200000 /* kernel offset */
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
diff --git a/include/configs/brppt1.h b/include/configs/brppt1.h
index e35ea0ea4a..813a3882a7 100644
--- a/include/configs/brppt1.h
+++ b/include/configs/brppt1.h
@@ -66,7 +66,6 @@
 
 /* NAND */
 #ifdef CONFIG_NAND
-#define CONFIG_CMD_SPL_NAND_OFS			0x080000 /* end of u-boot */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS		0x140000
 #define CONFIG_CMD_SPL_WRITE_SIZE		0x2000
 #endif /* CONFIG_NAND */
diff --git a/include/configs/cm_t335.h b/include/configs/cm_t335.h
index 220268ade0..a6cc6f16a1 100644
--- a/include/configs/cm_t335.h
+++ b/include/configs/cm_t335.h
@@ -141,7 +141,6 @@
 #define CONFIG_SYS_ENV_SECT_SIZE	(128 << 10)	/* 128 KiB */
 #define CONFIG_SYS_NAND_ONFI_DETECTION
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS		0x400000 /* un-assigned: (using dtb) */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x500000
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
index 92ce1273c6..d71912e8db 100644
--- a/include/configs/devkit8000.h
+++ b/include/configs/devkit8000.h
@@ -216,8 +216,6 @@
 
 /* SPL OS boot options */
 #define CONFIG_CMD_SPL_WRITE_SIZE       0x400 /* 1024 byte */
-#define CONFIG_CMD_SPL_NAND_OFS (CONFIG_SYS_NAND_SPL_KERNEL_OFFS+\
-					0x400000)
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x280000
 
 #undef CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR
diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
index d2f7c7cfff..8cee33d419 100644
--- a/include/configs/dra7xx_evm.h
+++ b/include/configs/dra7xx_evm.h
@@ -214,7 +214,6 @@
 #endif
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS		0x00080000 /* os-boot params*/
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00200000 /* kernel offset */
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h
index 321a487cb9..8529159f2b 100644
--- a/include/configs/gw_ventana.h
+++ b/include/configs/gw_ventana.h
@@ -16,7 +16,6 @@
 #define CONFIG_CMD_SPL_WRITE_SIZE	(128 * SZ_1K)
 
 /* Falcon Mode - NAND support: args at 17MB kernel at 18MB */
-#define CONFIG_CMD_SPL_NAND_OFS		(17 * SZ_1M)
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	(18 * SZ_1M)
 
 /* Falcon Mode - MMC support: args at 1MB kernel@2MB */
diff --git a/include/configs/ipam390.h b/include/configs/ipam390.h
index 2999ac36e7..23d66cecc5 100644
--- a/include/configs/ipam390.h
+++ b/include/configs/ipam390.h
@@ -287,7 +287,6 @@
 /* add FALCON boot mode */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00200000
 #define CONFIG_SYS_SPL_ARGS_ADDR	LINUX_BOOT_PARAM_ADDR
-#define CONFIG_CMD_SPL_NAND_OFS		0x00180000
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x400
 
 /* GPIO support */
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
index 0d48d4ecc1..7432305431 100644
--- a/include/configs/omap3_beagle.h
+++ b/include/configs/omap3_beagle.h
@@ -280,7 +280,6 @@
 #define CONFIG_SYS_NAND_U_BOOT_OFFS	0x80000
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS		0x240000
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x280000
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
diff --git a/include/configs/omap3_cairo.h b/include/configs/omap3_cairo.h
index b5d2b007e8..981e90ee76 100644
--- a/include/configs/omap3_cairo.h
+++ b/include/configs/omap3_cairo.h
@@ -204,7 +204,6 @@
 #define CONFIG_SYS_NAND_U_BOOT_OFFS	0x80000
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS		0x240000
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x280000
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h
index 2c926d0787..d265280ccf 100644
--- a/include/configs/omap3_logic.h
+++ b/include/configs/omap3_logic.h
@@ -274,7 +274,6 @@
 
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS		0x240000
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x280000
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index 111aec58d3..7be5150784 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -225,7 +225,6 @@
 #define CONFIG_SYS_NAND_U_BOOT_OFFS	0x80000
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS		0x240000
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x280000
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
diff --git a/include/configs/omap3_zoom1.h b/include/configs/omap3_zoom1.h
index 6c869c4c07..b05e096ea5 100644
--- a/include/configs/omap3_zoom1.h
+++ b/include/configs/omap3_zoom1.h
@@ -57,7 +57,6 @@
 #if defined(CONFIG_CMD_NAND)
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS		0x240000
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x280000
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
diff --git a/include/configs/pengwyn.h b/include/configs/pengwyn.h
index 482045d99f..f7f50f1e36 100644
--- a/include/configs/pengwyn.h
+++ b/include/configs/pengwyn.h
@@ -165,7 +165,6 @@
 #define CONFIG_SYS_ENV_SECT_SIZE	(128 << 10)	/* 128 KiB */
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
-#define CONFIG_CMD_SPL_NAND_OFS		0x240000 /* un-assigned */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x280000
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
diff --git a/include/configs/twister.h b/include/configs/twister.h
index c45ae87a41..80d480b103 100644
--- a/include/configs/twister.h
+++ b/include/configs/twister.h
@@ -38,8 +38,6 @@
 /* SPL OS boot options */
 #define CONFIG_CMD_SPL_WRITE_SIZE	0x400 /* 1024 byte */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00200000
-#define CONFIG_CMD_SPL_NAND_OFS	(CONFIG_SYS_NAND_SPL_KERNEL_OFFS+\
-						0x600000)
 
 #define CONFIG_SYS_SPL_ARGS_ADDR	(PHYS_SDRAM_1 + 0x100)
 
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 44d38f8ca1..e463e53f17 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_SPL_NAND_OFS
 CONFIG_CMD_SPL_WRITE_SIZE
 CONFIG_CMD_STRINGS
 CONFIG_CMD_SX151X
-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 26/41] Convert CONFIG_CMD_SPL_WRITE_SIZE to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (24 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 25/41] Convert CONFIG_CMD_SPL_NAND_OFS " Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-23  3:04   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 27/41] Convert CONFIG_CMD_STRINGS " Simon Glass
                   ` (14 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_SPL_WRITE_SIZE

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 cmd/Kconfig                               | 9 +++++++++
 configs/am43xx_evm_defconfig              | 1 +
 configs/am43xx_evm_ethboot_defconfig      | 1 +
 configs/am43xx_evm_usbhost_boot_defconfig | 1 +
 configs/devkit8000_defconfig              | 1 +
 configs/gwventana_emmc_defconfig          | 1 +
 configs/gwventana_gw5904_defconfig        | 1 +
 configs/gwventana_nand_defconfig          | 1 +
 configs/ipam390_defconfig                 | 1 +
 configs/mx6sabresd_defconfig              | 1 +
 configs/twister_defconfig                 | 1 +
 include/configs/am335x_evm.h              | 1 -
 include/configs/am43xx_evm.h              | 1 -
 include/configs/baltos.h                  | 1 -
 include/configs/bav335x.h                 | 1 -
 include/configs/brppt1.h                  | 1 -
 include/configs/cm_t335.h                 | 1 -
 include/configs/devkit8000.h              | 1 -
 include/configs/dra7xx_evm.h              | 1 -
 include/configs/gw_ventana.h              | 1 -
 include/configs/ipam390.h                 | 1 -
 include/configs/mx6sabreauto.h            | 1 -
 include/configs/mx6sabresd.h              | 1 -
 include/configs/omap3_beagle.h            | 1 -
 include/configs/omap3_cairo.h             | 1 -
 include/configs/omap3_logic.h             | 1 -
 include/configs/omap3_overo.h             | 1 -
 include/configs/omap3_zoom1.h             | 1 -
 include/configs/pengwyn.h                 | 1 -
 include/configs/twister.h                 | 1 -
 scripts/config_whitelist.txt              | 1 -
 31 files changed, 19 insertions(+), 20 deletions(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index c5c9b8c5e5..c3a2d1efbc 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -289,6 +289,15 @@ config CMD_SPL_NAND_OFS
 	  for full information about how to use this option (and also see
 	  board/gateworks/gw_ventana/README for an example).
 
+config CMD_SPL_WRITE_SIZE
+	hex "Size of argument area"
+	depends on CMD_SPL
+	default 0x2000
+	help
+	  This provides the size of the command-line argument area in NAND
+	  flash used by Falcon-mode boot. See the documentation until CMD_SPL
+	  for detail.
+
 endmenu
 
 menu "Environment commands"
diff --git a/configs/am43xx_evm_defconfig b/configs/am43xx_evm_defconfig
index 602338a45d..1285fa0514 100644
--- a/configs/am43xx_evm_defconfig
+++ b/configs/am43xx_evm_defconfig
@@ -17,6 +17,7 @@ CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
 CONFIG_CMD_SPL_NAND_OFS=0x00100000
+CONFIG_CMD_SPL_WRITE_SIZE=0x40000
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MTDPARTS=y
diff --git a/configs/am43xx_evm_ethboot_defconfig b/configs/am43xx_evm_ethboot_defconfig
index 320aa451bf..7e2f662d9e 100644
--- a/configs/am43xx_evm_ethboot_defconfig
+++ b/configs/am43xx_evm_ethboot_defconfig
@@ -16,6 +16,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
 CONFIG_CMD_SPL_NAND_OFS=0x00100000
+CONFIG_CMD_SPL_WRITE_SIZE=0x40000
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
diff --git a/configs/am43xx_evm_usbhost_boot_defconfig b/configs/am43xx_evm_usbhost_boot_defconfig
index db71fc6057..fed2b2ba17 100644
--- a/configs/am43xx_evm_usbhost_boot_defconfig
+++ b/configs/am43xx_evm_usbhost_boot_defconfig
@@ -20,6 +20,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
 CONFIG_CMD_SPL_NAND_OFS=0x00100000
+CONFIG_CMD_SPL_WRITE_SIZE=0x40000
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
diff --git a/configs/devkit8000_defconfig b/configs/devkit8000_defconfig
index 84f1ba381b..f3099d124f 100644
--- a/configs/devkit8000_defconfig
+++ b/configs/devkit8000_defconfig
@@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
 CONFIG_CMD_SPL_NAND_OFS=0x680000
+CONFIG_CMD_SPL_WRITE_SIZE=0x400
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
diff --git a/configs/gwventana_emmc_defconfig b/configs/gwventana_emmc_defconfig
index 4bbe4ac049..2164a201f3 100644
--- a/configs/gwventana_emmc_defconfig
+++ b/configs/gwventana_emmc_defconfig
@@ -32,6 +32,7 @@ CONFIG_SYS_PROMPT="Ventana > "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL_NAND_OFS=0x1100000
+CONFIG_CMD_SPL_WRITE_SIZE=0x20000
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
diff --git a/configs/gwventana_gw5904_defconfig b/configs/gwventana_gw5904_defconfig
index 16120d163f..1394ec73f1 100644
--- a/configs/gwventana_gw5904_defconfig
+++ b/configs/gwventana_gw5904_defconfig
@@ -32,6 +32,7 @@ CONFIG_SYS_PROMPT="Ventana > "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL_NAND_OFS=0x1100000
+CONFIG_CMD_SPL_WRITE_SIZE=0x20000
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
diff --git a/configs/gwventana_nand_defconfig b/configs/gwventana_nand_defconfig
index 87c56c7bd5..10ad5f2c5a 100644
--- a/configs/gwventana_nand_defconfig
+++ b/configs/gwventana_nand_defconfig
@@ -33,6 +33,7 @@ CONFIG_SYS_PROMPT="Ventana > "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL_NAND_OFS=0x1100000
+CONFIG_CMD_SPL_WRITE_SIZE=0x20000
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
diff --git a/configs/ipam390_defconfig b/configs/ipam390_defconfig
index 83009be0a8..724b420047 100644
--- a/configs/ipam390_defconfig
+++ b/configs/ipam390_defconfig
@@ -18,6 +18,7 @@ CONFIG_SYS_PROMPT="U-Boot > "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
 CONFIG_CMD_SPL_NAND_OFS=0x00180000
+CONFIG_CMD_SPL_WRITE_SIZE=0x400
 CONFIG_CMD_ASKENV=y
 CONFIG_CRC32_VERIFY=y
 # CONFIG_CMD_FLASH is not set
diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig
index f16e0756f3..76fdc16892 100644
--- a/configs/mx6sabresd_defconfig
+++ b/configs/mx6sabresd_defconfig
@@ -23,6 +23,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
 CONFIG_CMD_SPL_NAND_OFS=0x0
+CONFIG_CMD_SPL_WRITE_SIZE=0x20000
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
diff --git a/configs/twister_defconfig b/configs/twister_defconfig
index 226990aebd..5244958aa4 100644
--- a/configs/twister_defconfig
+++ b/configs/twister_defconfig
@@ -11,6 +11,7 @@ CONFIG_SYS_PROMPT="twister => "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL=y
 CONFIG_CMD_SPL_NAND_OFS=0x00800000
+CONFIG_CMD_SPL_WRITE_SIZE=0x400
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index 3f2aa80693..5e5c334cb4 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -240,7 +240,6 @@
 #endif
 #ifdef CONFIG_SPL_OS_BOOT
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00200000 /* kernel offset */
-#define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
 #endif /* !CONFIG_NAND */
 
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index ff2c91da5c..77d6fc2544 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -323,7 +323,6 @@
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00300000 /* kernel offset */
-#define CONFIG_CMD_SPL_WRITE_SIZE	CONFIG_SYS_NAND_BLOCK_SIZE
 #endif
 #define NANDARGS \
 	"mtdids=" MTDIDS_DEFAULT "\0" \
diff --git a/include/configs/baltos.h b/include/configs/baltos.h
index cf6d10cb72..b767a1af39 100644
--- a/include/configs/baltos.h
+++ b/include/configs/baltos.h
@@ -49,7 +49,6 @@
 #define CONFIG_SYS_NAND_U_BOOT_OFFS	0x00080000
 #ifdef CONFIG_SPL_OS_BOOT
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x00200000 /* kernel offset */
-#define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
 #define NANDARGS \
 	"mtdids=" MTDIDS_DEFAULT "\0" \
diff --git a/include/configs/bav335x.h b/include/configs/bav335x.h
index 5eadb70412..e84ce4b4f3 100644
--- a/include/configs/bav335x.h
+++ b/include/configs/bav335x.h
@@ -400,7 +400,6 @@ DEFAULT_LINUX_BOOT_ENV \
 #endif
 #ifdef CONFIG_SPL_OS_BOOT
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00200000 /* kernel offset */
-#define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
 #endif /* !CONFIG_NAND */
 
diff --git a/include/configs/brppt1.h b/include/configs/brppt1.h
index 813a3882a7..1e2bb11228 100644
--- a/include/configs/brppt1.h
+++ b/include/configs/brppt1.h
@@ -67,7 +67,6 @@
 /* NAND */
 #ifdef CONFIG_NAND
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS		0x140000
-#define CONFIG_CMD_SPL_WRITE_SIZE		0x2000
 #endif /* CONFIG_NAND */
 #endif /* CONFIG_SPL_OS_BOOT */
 
diff --git a/include/configs/cm_t335.h b/include/configs/cm_t335.h
index a6cc6f16a1..f1880a4022 100644
--- a/include/configs/cm_t335.h
+++ b/include/configs/cm_t335.h
@@ -142,7 +142,6 @@
 #define CONFIG_SYS_NAND_ONFI_DETECTION
 #ifdef CONFIG_SPL_OS_BOOT
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x500000
-#define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
 
 /* GPIO pin + bank to pin ID mapping */
diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
index d71912e8db..3df4c951b2 100644
--- a/include/configs/devkit8000.h
+++ b/include/configs/devkit8000.h
@@ -215,7 +215,6 @@
 #define CONFIG_SYS_NAND_U_BOOT_SIZE	0x200000
 
 /* SPL OS boot options */
-#define CONFIG_CMD_SPL_WRITE_SIZE       0x400 /* 1024 byte */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x280000
 
 #undef CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR
diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
index 8cee33d419..436d7e370b 100644
--- a/include/configs/dra7xx_evm.h
+++ b/include/configs/dra7xx_evm.h
@@ -215,7 +215,6 @@
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00200000 /* kernel offset */
-#define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
 #endif /* !CONFIG_NAND */
 
diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h
index 8529159f2b..0389c8c6f6 100644
--- a/include/configs/gw_ventana.h
+++ b/include/configs/gw_ventana.h
@@ -13,7 +13,6 @@
 
 /* Falcon Mode */
 #define CONFIG_SYS_SPL_ARGS_ADDR	0x18000000
-#define CONFIG_CMD_SPL_WRITE_SIZE	(128 * SZ_1K)
 
 /* Falcon Mode - NAND support: args at 17MB kernel at 18MB */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	(18 * SZ_1M)
diff --git a/include/configs/ipam390.h b/include/configs/ipam390.h
index 23d66cecc5..d976a70b73 100644
--- a/include/configs/ipam390.h
+++ b/include/configs/ipam390.h
@@ -287,7 +287,6 @@
 /* add FALCON boot mode */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00200000
 #define CONFIG_SYS_SPL_ARGS_ADDR	LINUX_BOOT_PARAM_ADDR
-#define CONFIG_CMD_SPL_WRITE_SIZE	0x400
 
 /* GPIO support */
 #define CONFIG_DA8XX_GPIO
diff --git a/include/configs/mx6sabreauto.h b/include/configs/mx6sabreauto.h
index f561bfd2a3..78d9330468 100644
--- a/include/configs/mx6sabreauto.h
+++ b/include/configs/mx6sabreauto.h
@@ -35,7 +35,6 @@
 #define CONFIG_SPL_FS_LOAD_ARGS_NAME	"args"
 #define CONFIG_SPL_FS_LOAD_KERNEL_NAME	"uImage"
 #define CONFIG_SYS_SPL_ARGS_ADDR       0x18000000
-#define CONFIG_CMD_SPL_WRITE_SIZE      (128 * SZ_1K)
 
 /* Falcon Mode - MMC support: args at 1MB kernel at 2MB */
 #define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR  0x800   /* 1MB */
diff --git a/include/configs/mx6sabresd.h b/include/configs/mx6sabresd.h
index 9622394c8f..5410881fa1 100644
--- a/include/configs/mx6sabresd.h
+++ b/include/configs/mx6sabresd.h
@@ -25,7 +25,6 @@
 #define CONFIG_SPL_FS_LOAD_ARGS_NAME	"args"
 #define CONFIG_SPL_FS_LOAD_KERNEL_NAME	"uImage"
 #define CONFIG_SYS_SPL_ARGS_ADDR       0x18000000
-#define CONFIG_CMD_SPL_WRITE_SIZE      (128 * SZ_1K)
 
 /* Falcon Mode - MMC support: args at 1MB kernel at 2MB */
 #define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR  0x800   /* 1MB */
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
index 7432305431..a48f45e819 100644
--- a/include/configs/omap3_beagle.h
+++ b/include/configs/omap3_beagle.h
@@ -281,7 +281,6 @@
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x280000
-#define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
 
 #endif /* __CONFIG_H */
diff --git a/include/configs/omap3_cairo.h b/include/configs/omap3_cairo.h
index 981e90ee76..0e407ef8ea 100644
--- a/include/configs/omap3_cairo.h
+++ b/include/configs/omap3_cairo.h
@@ -205,7 +205,6 @@
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x280000
-#define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
 
 /* env defaults */
diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h
index d265280ccf..ec61cea8b5 100644
--- a/include/configs/omap3_logic.h
+++ b/include/configs/omap3_logic.h
@@ -275,7 +275,6 @@
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x280000
-#define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
 
 #endif /* __CONFIG_H */
diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index 7be5150784..cc03a84412 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -226,7 +226,6 @@
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x280000
-#define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
 
 #endif				/* __CONFIG_H */
diff --git a/include/configs/omap3_zoom1.h b/include/configs/omap3_zoom1.h
index b05e096ea5..9e73dd66d7 100644
--- a/include/configs/omap3_zoom1.h
+++ b/include/configs/omap3_zoom1.h
@@ -58,7 +58,6 @@
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x280000
-#define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
 #define CONFIG_CMD_NAND_LOCK_UNLOCK /* Enable lock/unlock support */
 #endif
diff --git a/include/configs/pengwyn.h b/include/configs/pengwyn.h
index f7f50f1e36..4acb46f8ae 100644
--- a/include/configs/pengwyn.h
+++ b/include/configs/pengwyn.h
@@ -166,7 +166,6 @@
 /* NAND: SPL falcon mode configs */
 #ifdef CONFIG_SPL_OS_BOOT
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x280000
-#define CONFIG_CMD_SPL_WRITE_SIZE	0x2000
 #endif
 
 /*
diff --git a/include/configs/twister.h b/include/configs/twister.h
index 80d480b103..bec402ea9c 100644
--- a/include/configs/twister.h
+++ b/include/configs/twister.h
@@ -36,7 +36,6 @@
 	"bootcmd=run nandboot\0"
 
 /* SPL OS boot options */
-#define CONFIG_CMD_SPL_WRITE_SIZE	0x400 /* 1024 byte */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00200000
 
 #define CONFIG_SYS_SPL_ARGS_ADDR	(PHYS_SDRAM_1 + 0x100)
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index e463e53f17..ce044be4ef 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_SPL_WRITE_SIZE
 CONFIG_CMD_STRINGS
 CONFIG_CMD_SX151X
 CONFIG_CMD_TCA642X
-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 27/41] Convert CONFIG_CMD_STRINGS to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (25 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 26/41] Convert CONFIG_CMD_SPL_WRITE_SIZE " Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-23  3:04   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 28/41] gpio: Drop sx151x driver Simon Glass
                   ` (13 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_STRINGS

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 cmd/Kconfig                  | 8 ++++++++
 include/configs/vct.h        | 1 -
 scripts/config_whitelist.txt | 1 -
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index c3a2d1efbc..29c80feedf 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -486,6 +486,14 @@ config CMD_MEMINFO
 	help
 	  Display memory information.
 
+config CMD_STRINGS
+	bool "strings - display strings in memory"
+	help
+	  This works similarly to the Unix 'strings' command except that it
+	  works with a memory range. String of printable characters found
+	  within the range are displayed. The minimum number of characters
+	  for a sequence to be considered a string can be provided.
+
 endmenu
 
 menu "Compression commands"
diff --git a/include/configs/vct.h b/include/configs/vct.h
index 07e2d9e898..9d2194c807 100644
--- a/include/configs/vct.h
+++ b/include/configs/vct.h
@@ -247,7 +247,6 @@ int vct_gpio_get(int pin);
  * (NOR/OneNAND) usage and Linux kernel booting.
  */
 #if defined(CONFIG_VCT_SMALL_IMAGE)
-#undef CONFIG_CMD_STRINGS
 #undef CONFIG_CMD_TERMINAL
 
 #undef CONFIG_SMC911X
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index ce044be4ef..21a01efd7c 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_STRINGS
 CONFIG_CMD_SX151X
 CONFIG_CMD_TCA642X
 CONFIG_CMD_TERMINAL
-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 28/41] gpio: Drop sx151x driver
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (26 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 27/41] Convert CONFIG_CMD_STRINGS " Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-23  3:04   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 29/41] Convert CONFIG_CMD_TCA642X to Kconfig Simon Glass
                   ` (12 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This driver is not used in U-Boot. Drop it and its associated CONFIG
options.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 drivers/gpio/Makefile        |   1 -
 drivers/gpio/sx151x.c        | 242 -------------------------------------------
 scripts/config_whitelist.txt |   3 -
 3 files changed, 246 deletions(-)
 delete mode 100644 drivers/gpio/sx151x.c

diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile
index 8937e99b47..1396467ab6 100644
--- a/drivers/gpio/Makefile
+++ b/drivers/gpio/Makefile
@@ -45,7 +45,6 @@ obj-$(CONFIG_BCM2835_GPIO)	+= bcm2835_gpio.o
 obj-$(CONFIG_XILINX_GPIO)	+= xilinx_gpio.o
 obj-$(CONFIG_ADI_GPIO2)	+= adi_gpio2.o
 obj-$(CONFIG_TCA642X)		+= tca642x.o
-oby-$(CONFIG_SX151X)		+= sx151x.o
 obj-$(CONFIG_SUNXI_GPIO)	+= sunxi_gpio.o
 obj-$(CONFIG_LPC32XX_GPIO)	+= lpc32xx_gpio.o
 obj-$(CONFIG_STM32_GPIO)	+= stm32_gpio.o
diff --git a/drivers/gpio/sx151x.c b/drivers/gpio/sx151x.c
deleted file mode 100644
index 167cf40c71..0000000000
--- a/drivers/gpio/sx151x.c
+++ /dev/null
@@ -1,242 +0,0 @@
-/*
- * (C) Copyright 2013
- * Viktar Palstsiuk, Promwad, viktar.palstsiuk at promwad.com
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-/*
- * Driver for Semtech SX151x SPI GPIO Expanders
- */
-
-#include <common.h>
-#include <spi.h>
-#include <sx151x.h>
-
-#ifndef CONFIG_SX151X_SPI_BUS
-#define CONFIG_SX151X_SPI_BUS 0
-#endif
-
-/*
- * The SX151x registers
- */
-
-#ifdef CONFIG_SX151X_GPIO_COUNT_8
-/* 8bit: SX1511 */
-#define SX151X_REG_DIR		0x07
-#define SX151X_REG_DATA		0x08
-#else
-/* 16bit: SX1512 */
-#define SX151X_REG_DIR		0x0F
-#define SX151X_REG_DATA		0x11
-#endif
-#define SX151X_REG_RESET	0x7D
-
-static int sx151x_spi_write(int chip, unsigned char reg, unsigned char val)
-{
-	struct spi_slave *slave;
-	unsigned char buf[2];
-	int ret;
-
-	slave = spi_setup_slave(CONFIG_SX151X_SPI_BUS, chip, 1000000,
-				SPI_MODE_0);
-	if (!slave)
-		return 0;
-
-	spi_claim_bus(slave);
-
-	buf[0] = reg;
-	buf[1] = val;
-
-	ret = spi_xfer(slave, 16, buf, NULL, SPI_XFER_BEGIN | SPI_XFER_END);
-	if (ret < 0)
-		printf("spi%d.%d write fail: can't write %02x to %02x: %d\n",
-			CONFIG_SX151X_SPI_BUS, chip, val, reg, ret);
-	else
-		printf("spi%d.%d write 0x%02x to register 0x%02x\n",
-		       CONFIG_SX151X_SPI_BUS, chip, val, reg);
-	spi_release_bus(slave);
-	spi_free_slave(slave);
-
-	return ret;
-}
-
-static int sx151x_spi_read(int chip, unsigned char reg)
-{
-	struct spi_slave *slave;
-	int ret;
-
-	slave = spi_setup_slave(CONFIG_SX151X_SPI_BUS, chip, 1000000,
-				SPI_MODE_0);
-	if (!slave)
-		return 0;
-
-	spi_claim_bus(slave);
-
-	ret = spi_w8r8(slave, reg | 0x80);
-	if (ret < 0)
-		printf("spi%d.%d read fail: can't read %02x: %d\n",
-			CONFIG_SX151X_SPI_BUS, chip, reg, ret);
-	else
-		printf("spi%d.%d read register 0x%02x: 0x%02x\n",
-		       CONFIG_SX151X_SPI_BUS, chip, reg, ret);
-
-	spi_release_bus(slave);
-	spi_free_slave(slave);
-
-	return ret;
-}
-
-static inline void sx151x_find_cfg(int gpio, unsigned char *reg, unsigned char *mask)
-{
-	*reg   -= gpio / 8;
-	*mask   = 1 << (gpio % 8);
-}
-
-static int sx151x_write_cfg(int chip, unsigned char gpio, unsigned char reg, int val)
-{
-	unsigned char  mask;
-	unsigned char  data;
-	int ret;
-
-	sx151x_find_cfg(gpio, &reg, &mask);
-	ret = sx151x_spi_read(chip, reg);
-	if (ret < 0)
-		return ret;
-	else
-		data = ret;
-	data &= ~mask;
-	data |= (val << (gpio % 8)) & mask;
-	return sx151x_spi_write(chip, reg, data);
-}
-
-int sx151x_get_value(int chip, int gpio)
-{
-	unsigned char  reg = SX151X_REG_DATA;
-	unsigned char  mask;
-	int ret;
-
-	sx151x_find_cfg(gpio, &reg, &mask);
-	ret = sx151x_spi_read(chip, reg);
-	if (ret >= 0)
-		ret = (ret & mask) != 0 ? 1 : 0;
-
-	return ret;
-}
-
-int sx151x_set_value(int chip, int gpio, int val)
-{
-	return sx151x_write_cfg(chip, gpio, SX151X_REG_DATA, (val ? 1 : 0));
-}
-
-int sx151x_direction_input(int chip, int gpio)
-{
-	return sx151x_write_cfg(chip, gpio, SX151X_REG_DIR, 1);
-}
-
-int sx151x_direction_output(int chip, int gpio)
-{
-	return sx151x_write_cfg(chip, gpio, SX151X_REG_DIR, 0);
-}
-
-int sx151x_reset(int chip)
-{
-	int err;
-
-	err = sx151x_spi_write(chip, SX151X_REG_RESET, 0x12);
-	if (err < 0)
-		return err;
-
-	err = sx151x_spi_write(chip, SX151X_REG_RESET, 0x34);
-	return err;
-}
-
-#ifdef CONFIG_CMD_SX151X
-
-int do_sx151x(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
-{
-	int ret = CMD_RET_USAGE, chip = 0, gpio = 0, val = 0;
-
-	if (argc < 3)
-		return CMD_RET_USAGE;
-
-	/* arg2 used as chip number */
-	chip = simple_strtoul(argv[2], NULL, 10);
-
-	if (strcmp(argv[1], "reset") == 0) {
-		ret = sx151x_reset(chip);
-		if (!ret) {
-			printf("Device at spi%d.%d was reset\n",
-			       CONFIG_SX151X_SPI_BUS, chip);
-		}
-		return ret;
-	}
-
-	if (argc < 4)
-		return CMD_RET_USAGE;
-
-	/* arg3 used as gpio number */
-	gpio = simple_strtoul(argv[3], NULL, 10);
-
-	if (strcmp(argv[1], "get") == 0) {
-		ret = sx151x_get_value(chip, gpio);
-		if (ret < 0)
-			printf("Failed to get value at spi%d.%d gpio %d\n",
-			       CONFIG_SX151X_SPI_BUS, chip, gpio);
-		else {
-			printf("Value at spi%d.%d gpio %d is %d\n",
-			       CONFIG_SX151X_SPI_BUS, chip, gpio, ret);
-			ret = 0;
-		}
-		return ret;
-	}
-
-	if (argc < 5)
-		return CMD_RET_USAGE;
-
-	/* arg4 used as value or direction */
-	val = simple_strtoul(argv[4], NULL, 10);
-
-	if (strcmp(argv[1], "set") == 0) {
-		ret = sx151x_set_value(chip, gpio, val);
-		if (ret < 0)
-			printf("Failed to set value at spi%d.%d gpio %d\n",
-			       CONFIG_SX151X_SPI_BUS, chip, gpio);
-		else
-			printf("New value@spi%d.%d gpio %d is %d\n",
-			       CONFIG_SX151X_SPI_BUS, chip, gpio, val);
-		return ret;
-	} else if (strcmp(argv[1], "dir") == 0) {
-		if (val == 0)
-			ret = sx151x_direction_output(chip, gpio);
-		else
-			ret = sx151x_direction_input(chip, gpio);
-
-		if (ret < 0)
-			printf("Failed to set direction of spi%d.%d gpio %d\n",
-			       CONFIG_SX151X_SPI_BUS, chip, gpio);
-		else
-			printf("New direction of spi%d.%d gpio %d is %d\n",
-			       CONFIG_SX151X_SPI_BUS, chip, gpio, val);
-		return ret;
-	}
-
-	printf("Please see usage\n");
-
-	return ret;
-}
-
-U_BOOT_CMD(
-	sx151x,	5,	1,	do_sx151x,
-	"sx151x gpio access",
-	"dir chip gpio 0|1\n"
-	"	- set gpio direction (0 for output, 1 for input)\n"
-	"sx151x get chip gpio\n"
-	"	- get gpio value\n"
-	"sx151x set chip gpio 0|1\n"
-	"	- set gpio value\n"
-	"sx151x reset chip\n"
-	"	- reset chip"
-);
-
-#endif /* CONFIG_CMD_SX151X */
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 21a01efd7c..632b2e3f5d 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_SX151X
 CONFIG_CMD_TCA642X
 CONFIG_CMD_TERMINAL
 CONFIG_CMD_TFTP
@@ -2353,8 +2352,6 @@ CONFIG_SUPPORT_EMMC_RPMB
 CONFIG_SUPPORT_RAW_INITRD
 CONFIG_SUPPORT_VFAT
 CONFIG_SUVD3
-CONFIG_SX151X_GPIO_COUNT_8
-CONFIG_SX151X_SPI_BUS
 CONFIG_SXNI855T
 CONFIG_SYSCOUNTER_TIMER
 CONFIG_SYSFLAGS_ADDR
-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 29/41] Convert CONFIG_CMD_TCA642X to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (27 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 28/41] gpio: Drop sx151x driver Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-23  3:04   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 30/41] Convert CONFIG_CMD_TERMINAL " Simon Glass
                   ` (11 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_TCA642X

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 configs/omap5_uevm_defconfig | 1 +
 drivers/gpio/Kconfig         | 9 +++++++++
 include/configs/omap5_uevm.h | 1 -
 scripts/config_whitelist.txt | 1 -
 4 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/configs/omap5_uevm_defconfig b/configs/omap5_uevm_defconfig
index 338324d1f9..0dc7994535 100644
--- a/configs/omap5_uevm_defconfig
+++ b/configs/omap5_uevm_defconfig
@@ -37,6 +37,7 @@ CONFIG_ISO_PARTITION=y
 CONFIG_SCSI=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
+CONFIG_CMD_TCA642X=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 2fffd4dc3d..4deb6cdf59 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -159,6 +159,15 @@ config SANDBOX_GPIO_COUNT
 	  of 'anonymous' GPIOs that do not belong to any device or bank.
 	  Select a suitable value depending on your needs.
 
+config CMD_TCA642X
+	bool "tca642x - Command to access tca642x state"
+	help
+	  DEPRECATED - This needs conversion to driver model
+
+	  This provides a way to looking at the pin state of this device.
+	  This mirrors the 'gpio' command and that should be used in preference
+	  to custom code.
+
 config TEGRA_GPIO
 	bool "Tegra20..210 GPIO driver"
 	depends on DM_GPIO
diff --git a/include/configs/omap5_uevm.h b/include/configs/omap5_uevm.h
index 15d06bbe45..b8332c362d 100644
--- a/include/configs/omap5_uevm.h
+++ b/include/configs/omap5_uevm.h
@@ -47,7 +47,6 @@
 
 /* Required support for the TCA642X GPIO we have on the uEVM */
 #define CONFIG_TCA642X
-#define CONFIG_CMD_TCA642X
 #define CONFIG_SYS_I2C_TCA642X_BUS_NUM 4
 #define CONFIG_SYS_I2C_TCA642X_ADDR 0x22
 
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 632b2e3f5d..94d845e81b 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_TCA642X
 CONFIG_CMD_TERMINAL
 CONFIG_CMD_TFTP
 CONFIG_CMD_THOR_DOWNLOAD
-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 30/41] Convert CONFIG_CMD_TERMINAL to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (28 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 29/41] Convert CONFIG_CMD_TCA642X to Kconfig Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-23  3:04   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 31/41] Kconfig: Drop CONFIG_CMD_TFTP Simon Glass
                   ` (10 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_TERMINAL

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 cmd/Kconfig                  | 8 ++++++++
 include/config_cmd_all.h     | 1 -
 include/configs/vct.h        | 2 --
 scripts/config_whitelist.txt | 1 -
 4 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 29c80feedf..27d2be8dfb 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1093,6 +1093,14 @@ config CMD_QFW
 
 source "cmd/mvebu/Kconfig"
 
+config CMD_TERMINAL
+	bool "terminal - provides a way to attach a serial terminal"
+	help
+	  Provides a 'cu'-like serial terminal command. This can be used to
+	  access other serial ports from the system console. The terminal
+	  is very simple with no special processing of characters. As with
+	  cu, you can press ~. (tilde followed by period) to exit.
+
 endmenu
 
 config CMD_BOOTSTAGE
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index db9f336431..a73909df9b 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -14,7 +14,6 @@
  */
 
 #define CONFIG_CMD_NAND		/* NAND support			*/
-#define CONFIG_CMD_TERMINAL	/* built-in Serial Terminal	*/
 #define CONFIG_CMD_UBIFS	/* UBIFS Support		*/
 #define CONFIG_CMD_UNIVERSE	/* Tundra Universe Support	*/
 #define CONFIG_CMD_ZFS		/* ZFS Support			*/
diff --git a/include/configs/vct.h b/include/configs/vct.h
index 9d2194c807..2b581fc029 100644
--- a/include/configs/vct.h
+++ b/include/configs/vct.h
@@ -247,8 +247,6 @@ int vct_gpio_get(int pin);
  * (NOR/OneNAND) usage and Linux kernel booting.
  */
 #if defined(CONFIG_VCT_SMALL_IMAGE)
-#undef CONFIG_CMD_TERMINAL
-
 #undef CONFIG_SMC911X
 #undef CONFIG_SYS_I2C_SOFT
 #undef CONFIG_SOURCE
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 94d845e81b..eea40c4ac4 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_TERMINAL
 CONFIG_CMD_TFTP
 CONFIG_CMD_THOR_DOWNLOAD
 CONFIG_CMD_TRACE
-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 31/41] Kconfig: Drop CONFIG_CMD_TFTP
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (29 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 30/41] Convert CONFIG_CMD_TERMINAL " Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-23  3:22   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 32/41] Convert CONFIG_CMD_THOR_DOWNLOAD to Kconfig Simon Glass
                   ` (9 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This is not a valid CONFIG option. Drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 include/configs/dragonboard410c.h | 1 -
 scripts/config_whitelist.txt      | 1 -
 2 files changed, 2 deletions(-)

diff --git a/include/configs/dragonboard410c.h b/include/configs/dragonboard410c.h
index 712e11725b..1608312c43 100644
--- a/include/configs/dragonboard410c.h
+++ b/include/configs/dragonboard410c.h
@@ -49,7 +49,6 @@
 /* Enable that for switching of boot partitions */
 /* Disabled by default as some sub-commands can brick eMMC */
 /*#define CONFIG_SUPPORT_EMMC_BOOT */
-#define CONFIG_CMD_TFTP
 
 /* Partition table support */
 #define HAVE_BLOCK_DEVICE /* Needed for partition commands */
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index eea40c4ac4..8c5b0ba723 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_TFTP
 CONFIG_CMD_THOR_DOWNLOAD
 CONFIG_CMD_TRACE
 CONFIG_CMD_TSI148
-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 32/41] Convert CONFIG_CMD_THOR_DOWNLOAD to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (30 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 31/41] Kconfig: Drop CONFIG_CMD_TFTP Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-23  3:23   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 33/41] Convert CONFIG_CMD_YAFFS2 " Simon Glass
                   ` (8 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_THOR_DOWNLOAD

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 cmd/Kconfig                                      | 8 ++++++++
 configs/odroid-xu3_defconfig                     | 1 +
 configs/odroid_defconfig                         | 1 +
 configs/origen_defconfig                         | 1 +
 configs/s5p_goni_defconfig                       | 1 +
 configs/s5pc210_universal_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/xilinx_zynqmp_ep_defconfig               | 1 +
 configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 1 +
 configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 1 +
 configs/xilinx_zynqmp_zcu102_defconfig           | 1 +
 configs/xilinx_zynqmp_zcu102_revB_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 +
 include/configs/exynos4-common.h                 | 1 -
 include/configs/odroid_xu3.h                     | 1 -
 include/configs/s5p_goni.h                       | 1 -
 include/configs/smdkv310.h                       | 1 -
 include/configs/xilinx_zynqmp.h                  | 1 -
 include/configs/zynq-common.h                    | 1 -
 scripts/config_whitelist.txt                     | 1 -
 29 files changed, 29 insertions(+), 7 deletions(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 27d2be8dfb..7938944ca9 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -298,6 +298,14 @@ config CMD_SPL_WRITE_SIZE
 	  flash used by Falcon-mode boot. See the documentation until CMD_SPL
 	  for detail.
 
+config CMD_THOR_DOWNLOAD
+	bool "thor - TIZEN 'thor' download"
+	help
+	  Implements the 'thor' download protocol. This is a way of
+	  downloading a software update over USB from an attached host.
+	  There is no documentation about this within the U-Boot source code
+	  but you should be able to find something on the interwebs.
+
 endmenu
 
 menu "Environment commands"
diff --git a/configs/odroid-xu3_defconfig b/configs/odroid-xu3_defconfig
index 28025fc4e5..a834aacb80 100644
--- a/configs/odroid-xu3_defconfig
+++ b/configs/odroid-xu3_defconfig
@@ -11,6 +11,7 @@ CONFIG_SILENT_CONSOLE=y
 CONFIG_CONSOLE_MUX=y
 CONFIG_SYS_PROMPT="ODROID-XU3 # "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
diff --git a/configs/odroid_defconfig b/configs/odroid_defconfig
index 22e86e28c3..c9e55406eb 100644
--- a/configs/odroid_defconfig
+++ b/configs/odroid_defconfig
@@ -13,6 +13,7 @@ CONFIG_SYS_PROMPT="Odroid # "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_XIMG is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
diff --git a/configs/origen_defconfig b/configs/origen_defconfig
index 573c9e29a7..0a27833f46 100644
--- a/configs/origen_defconfig
+++ b/configs/origen_defconfig
@@ -12,6 +12,7 @@ CONFIG_SYS_PROMPT="ORIGEN # "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_XIMG is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
diff --git a/configs/s5p_goni_defconfig b/configs/s5p_goni_defconfig
index 3e93eb7e0f..d5c183ac1d 100644
--- a/configs/s5p_goni_defconfig
+++ b/configs/s5p_goni_defconfig
@@ -8,6 +8,7 @@ CONFIG_SYS_PROMPT="Goni # "
 # CONFIG_AUTOBOOT is not set
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_XIMG is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
diff --git a/configs/s5pc210_universal_defconfig b/configs/s5pc210_universal_defconfig
index 021e6c5102..cdbf12ceff 100644
--- a/configs/s5pc210_universal_defconfig
+++ b/configs/s5pc210_universal_defconfig
@@ -10,6 +10,7 @@ CONFIG_SYS_PROMPT="Universal # "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_XIMG is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
diff --git a/configs/topic_miami_defconfig b/configs/topic_miami_defconfig
index 88c2614b2f..0c47fadff2 100644
--- a/configs/topic_miami_defconfig
+++ b/configs/topic_miami_defconfig
@@ -13,6 +13,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="zynq-uboot> "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL_NAND_OFS=0x0
+CONFIG_CMD_THOR_DOWNLOAD=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
diff --git a/configs/topic_miamilite_defconfig b/configs/topic_miamilite_defconfig
index 8eff0ec200..88c4642406 100644
--- a/configs/topic_miamilite_defconfig
+++ b/configs/topic_miamilite_defconfig
@@ -13,6 +13,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="zynq-uboot> "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL_NAND_OFS=0x0
+CONFIG_CMD_THOR_DOWNLOAD=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
diff --git a/configs/topic_miamiplus_defconfig b/configs/topic_miamiplus_defconfig
index b8c41d4355..06156e208f 100644
--- a/configs/topic_miamiplus_defconfig
+++ b/configs/topic_miamiplus_defconfig
@@ -13,6 +13,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="zynq-uboot> "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL_NAND_OFS=0x0
+CONFIG_CMD_THOR_DOWNLOAD=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
diff --git a/configs/trats2_defconfig b/configs/trats2_defconfig
index 16ac27fb95..f91ec1d3c3 100644
--- a/configs/trats2_defconfig
+++ b/configs/trats2_defconfig
@@ -13,6 +13,7 @@ CONFIG_SYS_PROMPT="Trats2 # "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_XIMG is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
diff --git a/configs/trats_defconfig b/configs/trats_defconfig
index 0f2445bdf4..3a8f075d7b 100644
--- a/configs/trats_defconfig
+++ b/configs/trats_defconfig
@@ -12,6 +12,7 @@ CONFIG_SYS_PROMPT="Trats # "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_XIMG is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
diff --git a/configs/xilinx_zynqmp_ep_defconfig b/configs/xilinx_zynqmp_ep_defconfig
index 578db22e41..9da79b76f6 100644
--- a/configs/xilinx_zynqmp_ep_defconfig
+++ b/configs/xilinx_zynqmp_ep_defconfig
@@ -20,6 +20,7 @@ CONFIG_SYS_PROMPT="ZynqMP> "
 # CONFIG_CMD_CONSOLE is not set
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_XIMG is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 # CONFIG_CMD_EDITENV is not set
 # CONFIG_CMD_ENV_EXISTS is not set
 CONFIG_CMD_UNZIP=y
diff --git a/configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig b/configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig
index 9daaa06c73..4b9bdf53ad 100644
--- a/configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig
+++ b/configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig
@@ -19,6 +19,7 @@ CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_SYS_PROMPT="ZynqMP> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_UNZIP=y
 # CONFIG_CMD_FLASH is not set
diff --git a/configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig b/configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig
index 3ac743bedb..d26873256e 100644
--- a/configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig
+++ b/configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig
@@ -20,6 +20,7 @@ CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_SYS_PROMPT="ZynqMP> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_UNZIP=y
 # CONFIG_CMD_FLASH is not set
diff --git a/configs/xilinx_zynqmp_zcu102_defconfig b/configs/xilinx_zynqmp_zcu102_defconfig
index 1d5150c7e4..66e14bfa87 100644
--- a/configs/xilinx_zynqmp_zcu102_defconfig
+++ b/configs/xilinx_zynqmp_zcu102_defconfig
@@ -19,6 +19,7 @@ CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_SYS_PROMPT="ZynqMP> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_EEPROM=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_UNZIP=y
diff --git a/configs/xilinx_zynqmp_zcu102_revB_defconfig b/configs/xilinx_zynqmp_zcu102_revB_defconfig
index 4136d76d29..21d750c267 100644
--- a/configs/xilinx_zynqmp_zcu102_revB_defconfig
+++ b/configs/xilinx_zynqmp_zcu102_revB_defconfig
@@ -19,6 +19,7 @@ CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_SYS_PROMPT="ZynqMP> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_EEPROM=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_UNZIP=y
diff --git a/configs/zynq_microzed_defconfig b/configs/zynq_microzed_defconfig
index f9221427e2..ed5bbc60cd 100644
--- a/configs/zynq_microzed_defconfig
+++ b/configs/zynq_microzed_defconfig
@@ -12,6 +12,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL_NAND_OFS=0x0
+CONFIG_CMD_THOR_DOWNLOAD=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
diff --git a/configs/zynq_picozed_defconfig b/configs/zynq_picozed_defconfig
index 0419ed5b89..aab41321a1 100644
--- a/configs/zynq_picozed_defconfig
+++ b/configs/zynq_picozed_defconfig
@@ -9,6 +9,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL_NAND_OFS=0x0
+CONFIG_CMD_THOR_DOWNLOAD=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
diff --git a/configs/zynq_zc702_defconfig b/configs/zynq_zc702_defconfig
index ea1e0777c2..8621dbacb2 100644
--- a/configs/zynq_zc702_defconfig
+++ b/configs/zynq_zc702_defconfig
@@ -14,6 +14,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL_NAND_OFS=0x0
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
diff --git a/configs/zynq_zc706_defconfig b/configs/zynq_zc706_defconfig
index 29f2ce6fc6..b66dddab68 100644
--- a/configs/zynq_zc706_defconfig
+++ b/configs/zynq_zc706_defconfig
@@ -13,6 +13,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL_NAND_OFS=0x0
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
diff --git a/configs/zynq_zed_defconfig b/configs/zynq_zed_defconfig
index de61ed406b..10adf9925b 100644
--- a/configs/zynq_zed_defconfig
+++ b/configs/zynq_zed_defconfig
@@ -12,6 +12,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL_NAND_OFS=0x0
+CONFIG_CMD_THOR_DOWNLOAD=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
diff --git a/configs/zynq_zybo_defconfig b/configs/zynq_zybo_defconfig
index 2bc2f155f3..b207b7e587 100644
--- a/configs/zynq_zybo_defconfig
+++ b/configs/zynq_zybo_defconfig
@@ -14,6 +14,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_SPL_NAND_OFS=0x0
+CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
diff --git a/include/configs/exynos4-common.h b/include/configs/exynos4-common.h
index 9f0131a7ee..94fd3b36f6 100644
--- a/include/configs/exynos4-common.h
+++ b/include/configs/exynos4-common.h
@@ -21,7 +21,6 @@
 #define CONFIG_MMC_DEFAULT_DEV	0
 
 /* TIZEN THOR downloader support */
-#define CONFIG_CMD_THOR_DOWNLOAD
 #define CONFIG_USB_FUNCTION_THOR
 
 #define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_32M
diff --git a/include/configs/odroid_xu3.h b/include/configs/odroid_xu3.h
index ba29f3e7d1..ed7aec321b 100644
--- a/include/configs/odroid_xu3.h
+++ b/include/configs/odroid_xu3.h
@@ -52,7 +52,6 @@
 #define CONFIG_G_DNL_THOR_VENDOR_NUM	CONFIG_G_DNL_VENDOR_NUM
 #define CONFIG_G_DNL_THOR_PRODUCT_NUM	0x685D
 #define CONFIG_USB_FUNCTION_THOR
-#define CONFIG_CMD_THOR_DOWNLOAD
 
 /* UMS */
 #define CONFIG_G_DNL_UMS_VENDOR_NUM	0x0525
diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h
index 108b573a11..5944b69577 100644
--- a/include/configs/s5p_goni.h
+++ b/include/configs/s5p_goni.h
@@ -56,7 +56,6 @@
 #define DFU_DEFAULT_POLL_TIMEOUT 300
 
 /* TIZEN THOR downloader support */
-#define CONFIG_CMD_THOR_DOWNLOAD
 #define CONFIG_USB_FUNCTION_THOR
 
 /* USB Samsung's IDs */
diff --git a/include/configs/smdkv310.h b/include/configs/smdkv310.h
index ccb89216d8..5606fe4fa7 100644
--- a/include/configs/smdkv310.h
+++ b/include/configs/smdkv310.h
@@ -15,7 +15,6 @@
 #undef CONFIG_USB_GADGET_DWC2_OTG
 #undef CONFIG_USB_GADGET_DWC2_OTG_PHY
 #undef CONFIG_REVISION_TAG
-#undef CONFIG_CMD_THOR_DOWNLOAD
 
 /* High Level Configuration Options */
 #define CONFIG_EXYNOS4210		1	/* which is a EXYNOS4210 SoC */
diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h
index c7fcd86dd5..de8a6db424 100644
--- a/include/configs/xilinx_zynqmp.h
+++ b/include/configs/xilinx_zynqmp.h
@@ -96,7 +96,6 @@
 #define CONFIG_SYS_DFU_DATA_BUF_SIZE	0x1800000
 #define DFU_DEFAULT_POLL_TIMEOUT	300
 #define CONFIG_USB_CABLE_CHECK
-#define CONFIG_CMD_THOR_DOWNLOAD
 #define CONFIG_USB_FUNCTION_THOR
 #define CONFIG_THOR_RESET_OFF
 #define DFU_ALT_INFO_RAM \
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index b69f4c7ba4..53b92c4252 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -92,7 +92,6 @@
 # define CONFIG_SYS_DFU_DATA_BUF_SIZE	0x600000
 # define DFU_DEFAULT_POLL_TIMEOUT	300
 # define CONFIG_USB_CABLE_CHECK
-# define CONFIG_CMD_THOR_DOWNLOAD
 # define CONFIG_THOR_RESET_OFF
 # define CONFIG_USB_FUNCTION_THOR
 # define DFU_ALT_INFO_RAM \
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 8c5b0ba723..fc6b184310 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_THOR_DOWNLOAD
 CONFIG_CMD_TRACE
 CONFIG_CMD_TSI148
 CONFIG_CMD_UNIVERSE
-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 33/41] Convert CONFIG_CMD_YAFFS2 to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (31 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 32/41] Convert CONFIG_CMD_THOR_DOWNLOAD to Kconfig Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-23  3:23   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 34/41] Convert CONFIG_CMD_TRACE " Simon Glass
                   ` (7 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_YAFFS2

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 cmd/Kconfig       | 11 +++++++++++
 cmd/Makefile      |  2 +-
 fs/Kconfig        |  2 ++
 fs/yaffs2/Kconfig |  7 +++++++
 4 files changed, 21 insertions(+), 1 deletion(-)
 create mode 100644 fs/yaffs2/Kconfig

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 7938944ca9..5aeefe6482 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1368,6 +1368,17 @@ config CMD_SCSI
 	  scan the bus, reset the bus, read and write data and get information
 	  about devices.
 
+config CMD_YAFFS2
+	bool "yaffs2 - Access of YAFFS2 filesystem"
+	depends on YAFFS2
+	default y
+	help
+	  This provides commands for accessing a YAFFS2 filesystem. Yet
+	  Another Flash Filesystem 2 is a filesystem designed specifically
+	  for NAND flash. It incorporates bad-block management and ensures
+	  that device writes are sequential regardless of filesystem
+	  activity.
+
 endmenu
 
 menu "Debug commands"
diff --git a/cmd/Makefile b/cmd/Makefile
index a85fe25dda..1bf6e3f711 100644
--- a/cmd/Makefile
+++ b/cmd/Makefile
@@ -132,7 +132,7 @@ obj-$(CONFIG_CMD_FS_UUID) += fs_uuid.o
 obj-$(CONFIG_CMD_USB_MASS_STORAGE) += usb_mass_storage.o
 obj-$(CONFIG_CMD_THOR_DOWNLOAD) += thordown.o
 obj-$(CONFIG_CMD_XIMG) += ximg.o
-obj-$(CONFIG_YAFFS2) += yaffs2.o
+obj-$(CONFIG_CMD_YAFFS2) += yaffs2.o
 obj-$(CONFIG_CMD_SPL) += spl.o
 obj-$(CONFIG_CMD_ZIP) += zip.o
 obj-$(CONFIG_CMD_ZFS) += zfs.o
diff --git a/fs/Kconfig b/fs/Kconfig
index e6438ad0ea..e6803ac8cb 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -18,4 +18,6 @@ source "fs/ubifs/Kconfig"
 
 source "fs/cramfs/Kconfig"
 
+source "fs/yaffs2/Kconfig"
+
 endmenu
diff --git a/fs/yaffs2/Kconfig b/fs/yaffs2/Kconfig
new file mode 100644
index 0000000000..45ffdf6c26
--- /dev/null
+++ b/fs/yaffs2/Kconfig
@@ -0,0 +1,7 @@
+config YAFFS2
+	bool "YAFFS2 filesystem support"
+	help
+	  This provides access to YAFFS2 filesystems. Yet Another Flash
+	  Filesystem 2 is a filesystem designed specifically for NAND flash.
+	  It incorporates bad-block management and ensures that device
+	  writes are sequential regardless of filesystem activity.
-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 34/41] Convert CONFIG_CMD_TRACE to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (32 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 33/41] Convert CONFIG_CMD_YAFFS2 " Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-23  3:23   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 35/41] Convert CONFIG_CMD_TSI148 " Simon Glass
                   ` (6 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_TRACE

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 cmd/Kconfig                      | 9 +++++++++
 include/configs/exynos5-common.h | 1 -
 include/configs/sandbox.h        | 1 -
 scripts/config_whitelist.txt     | 1 -
 4 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 5aeefe6482..3973b9d2ea 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1415,6 +1415,15 @@ config CMD_KGDB
 	  single-stepping, inspecting variables, etc. This is supported only
 	  on PowerPC at present.
 
+config CMD_TRACE
+	bool "trace - Support tracing of function calls and timing"
+	help
+	  Enables a command to control using of function tracing within
+	  U-Boot. This allows recording of call traces including timing
+	  information. The command can write data to memory for exporting
+	  for analsys (e.g. using bootchart). See doc/README.trace for full
+	  details.
+
 endmenu
 
 config CMD_UBI
diff --git a/include/configs/exynos5-common.h b/include/configs/exynos5-common.h
index 378219d83a..1b30b882cb 100644
--- a/include/configs/exynos5-common.h
+++ b/include/configs/exynos5-common.h
@@ -17,7 +17,6 @@
 
 #ifdef FTRACE
 #define CONFIG_TRACE
-#define CONFIG_CMD_TRACE
 #define CONFIG_TRACE_BUFFER_SIZE	(16 << 20)
 #define CONFIG_TRACE_EARLY_SIZE		(8 << 20)
 #define CONFIG_TRACE_EARLY
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index fd579f72a8..8cdd325319 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -8,7 +8,6 @@
 
 #ifdef FTRACE
 #define CONFIG_TRACE
-#define CONFIG_CMD_TRACE
 #define CONFIG_TRACE_BUFFER_SIZE	(16 << 20)
 #define CONFIG_TRACE_EARLY_SIZE		(8 << 20)
 #define CONFIG_TRACE_EARLY
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index fc6b184310..a78736106b 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_TRACE
 CONFIG_CMD_TSI148
 CONFIG_CMD_UNIVERSE
 CONFIG_CMD_UUID
-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 35/41] Convert CONFIG_CMD_TSI148 to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (33 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 34/41] Convert CONFIG_CMD_TRACE " Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-23  3:23   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 36/41] Convert CONFIG_CMD_UNIVERSE " Simon Glass
                   ` (5 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_TSI148

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 cmd/Kconfig                  | 6 ++++++
 configs/caddy2_defconfig     | 1 +
 configs/vme8349_defconfig    | 1 +
 include/configs/vme8349.h    | 1 -
 scripts/config_whitelist.txt | 1 -
 5 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 3973b9d2ea..f092447238 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -866,6 +866,12 @@ config CMD_SF_TEST
 	  equal the SPI bus speed for a single-bit-wide SPI bus, assuming
 	  everything is working properly.
 
+config CMD_TSI148
+	bool "tsi148 - Command to access tsi148 device"
+	help
+	  This provides various sub-commands to initialise and configure the
+	  Turndra tsi148 device. See the command help for full details.
+
 endmenu
 
 
diff --git a/configs/caddy2_defconfig b/configs/caddy2_defconfig
index fcc8333f72..32496e4d77 100644
--- a/configs/caddy2_defconfig
+++ b/configs/caddy2_defconfig
@@ -8,6 +8,7 @@ CONFIG_BOOTDELAY=6
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_TSI148=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/vme8349_defconfig b/configs/vme8349_defconfig
index e986fb1e0d..c550232918 100644
--- a/configs/vme8349_defconfig
+++ b/configs/vme8349_defconfig
@@ -7,6 +7,7 @@ CONFIG_BOOTDELAY=6
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_TSI148=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/include/configs/vme8349.h b/include/configs/vme8349.h
index e32555ae85..9e2caab41b 100644
--- a/include/configs/vme8349.h
+++ b/include/configs/vme8349.h
@@ -345,7 +345,6 @@
 #define CONFIG_SYS_RTC_BUS_NUM  0x01
 #define CONFIG_SYS_I2C_RTC_ADDR	0x32
 #define CONFIG_RTC_RX8025
-#define CONFIG_CMD_TSI148
 
 /* Pass Ethernet MAC to VxWorks */
 #define CONFIG_SYS_VXWORKS_MAC_PTR	0x000043f0
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index a78736106b..faa16f5404 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_TSI148
 CONFIG_CMD_UNIVERSE
 CONFIG_CMD_UUID
 CONFIG_CMD_ZBOOT
-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 36/41] Convert CONFIG_CMD_UNIVERSE to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (34 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 35/41] Convert CONFIG_CMD_TSI148 " Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-23  3:33   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 37/41] Convert CONFIG_CMD_UUID " Simon Glass
                   ` (4 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_UNIVERSE

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 cmd/Kconfig                  | 6 ++++++
 include/config_cmd_all.h     | 1 -
 scripts/config_whitelist.txt | 1 -
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index f092447238..1f2da5444c 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -872,6 +872,12 @@ config CMD_TSI148
 	  This provides various sub-commands to initialise and configure the
 	  Turndra tsi148 device. See the command help for full details.
 
+config CMD_UNIVERSE
+	bool "universe - Command to set up the Turndra Universe controller"
+	help
+	  This allows setting up the VMEbus provided by this controller.
+	  See the command help for full details.
+
 endmenu
 
 
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index a73909df9b..88149080c2 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -15,7 +15,6 @@
 
 #define CONFIG_CMD_NAND		/* NAND support			*/
 #define CONFIG_CMD_UBIFS	/* UBIFS Support		*/
-#define CONFIG_CMD_UNIVERSE	/* Tundra Universe Support	*/
 #define CONFIG_CMD_ZFS		/* ZFS Support			*/
 
 #endif	/* _CONFIG_CMD_ALL_H */
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index faa16f5404..1d5506234d 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_UNIVERSE
 CONFIG_CMD_UUID
 CONFIG_CMD_ZBOOT
 CONFIG_CMD_ZFS
-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 37/41] Convert CONFIG_CMD_UUID to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (35 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 36/41] Convert CONFIG_CMD_UNIVERSE " Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-23  3:33   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 38/41] Convert CONFIG_CMD_ZBOOT " Simon Glass
                   ` (3 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_UUID

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 README                       |  1 -
 cmd/Kconfig                  | 11 +++++++++++
 scripts/config_whitelist.txt |  1 -
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/README b/README
index d0d6fe2b8d..7217037203 100644
--- a/README
+++ b/README
@@ -827,7 +827,6 @@ The following options need to be configured:
 		CONFIG_CMD_USB		* USB support
 		CONFIG_CMD_CDP		* Cisco Discover Protocol support
 		CONFIG_CMD_XIMG		  Load part of Multi Image
-		CONFIG_CMD_UUID		* Generate random UUID or GUID string
 
 		EXAMPLE: If you want all functions except of network
 		support you can write:
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 1f2da5444c..28a7c9a399 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1121,6 +1121,17 @@ config CMD_TERMINAL
 	  is very simple with no special processing of characters. As with
 	  cu, you can press ~. (tilde followed by period) to exit.
 
+config CMD_UUID
+	bool "uuid, guid - generation of unique IDs"
+	help
+	  This enables two commands:
+
+	     uuid - generate random Universally Unique Identifier
+	     guid - generate Globally Unique Identifier based on random UUID
+
+	  The two commands are very similar except for the endianness of the
+	  output.
+
 endmenu
 
 config CMD_BOOTSTAGE
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 1d5506234d..0d7b6fcfc3 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_UUID
 CONFIG_CMD_ZBOOT
 CONFIG_CMD_ZFS
 CONFIG_CM_INIT
-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 38/41] Convert CONFIG_CMD_ZBOOT to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (36 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 37/41] Convert CONFIG_CMD_UUID " Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-23  3:33   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 39/41] Convert CONFIG_CMD_ZFS " Simon Glass
                   ` (2 subsequent siblings)
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_ZBOOT

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 arch/Kconfig                 |  1 +
 cmd/Kconfig                  | 12 ++++++++++++
 include/configs/x86-common.h |  2 --
 scripts/config_whitelist.txt |  1 -
 4 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/arch/Kconfig b/arch/Kconfig
index a3c9b99ea5..4bf4dae288 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -99,6 +99,7 @@ config X86
 	imply CMD_GETTIME
 	imply CMD_IO
 	imply CMD_IRQ
+	imply CMD_ZBOOT
 
 config XTENSA
 	bool "Xtensa architecture"
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 28a7c9a399..cf3ea47ed0 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -306,6 +306,18 @@ config CMD_THOR_DOWNLOAD
 	  There is no documentation about this within the U-Boot source code
 	  but you should be able to find something on the interwebs.
 
+config CMD_ZBOOT
+	bool "zboot - x86 boot command"
+	help
+	  With x86 machines it is common to boot a bzImage file which
+	  contains both a kernel and a setup.bin file. The latter includes
+	  configuration information from the dark ages which x86 boards still
+	  need to pick things out of.
+
+	  Consider using FIT in preference to this since it supports directly
+	  booting both 32- and 64-bit kernels, as well as secure boot.
+	  Documentation is available in doc/uImage.FIT/x86-fit-boot.txt
+
 endmenu
 
 menu "Environment commands"
diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h
index 028eb2e57c..073feb1c50 100644
--- a/include/configs/x86-common.h
+++ b/include/configs/x86-common.h
@@ -71,8 +71,6 @@
  * Command line configuration.
  */
 
-#define CONFIG_CMD_ZBOOT
-
 #define CONFIG_BOOTARGS		\
 	"root=/dev/sdb3 init=/sbin/init rootwait ro"
 #define CONFIG_BOOTCOMMAND	\
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 0d7b6fcfc3..25842f6da0 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_ZBOOT
 CONFIG_CMD_ZFS
 CONFIG_CM_INIT
 CONFIG_CM_MULTIPLE_SSRAM
-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 39/41] Convert CONFIG_CMD_ZFS to Kconfig
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (37 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 38/41] Convert CONFIG_CMD_ZBOOT " Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-23  3:34   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 40/41] Drop config_cmd_all.h Simon Glass
  2017-07-21 23:11 ` [U-Boot] [PATCH 41/41] README: Drop information about commands Simon Glass
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This converts the following to Kconfig:
   CONFIG_CMD_ZFS

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 cmd/Kconfig                  | 11 +++++++++++
 include/config_cmd_all.h     |  1 -
 scripts/config_whitelist.txt |  1 -
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index cf3ea47ed0..c9490fca47 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1414,6 +1414,17 @@ config CMD_YAFFS2
 	  that device writes are sequential regardless of filesystem
 	  activity.
 
+config CMD_ZFS
+	bool "zfs - Access of ZFS filesystem"
+	help
+	  This provides commands to accessing a ZFS filesystem, commonly used
+	  on Solaris systems. Two sub-commands are provided:
+
+	    zfsls - list files in a directory
+	    zfsload - load a file
+
+	  See doc/README.zfs for more details.
+
 endmenu
 
 menu "Debug commands"
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index 88149080c2..7e23abfcd8 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -15,6 +15,5 @@
 
 #define CONFIG_CMD_NAND		/* NAND support			*/
 #define CONFIG_CMD_UBIFS	/* UBIFS Support		*/
-#define CONFIG_CMD_ZFS		/* ZFS Support			*/
 
 #endif	/* _CONFIG_CMD_ALL_H */
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 25842f6da0..d68f806485 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_ZFS
 CONFIG_CM_INIT
 CONFIG_CM_MULTIPLE_SSRAM
 CONFIG_CM_REMAP
-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 40/41] Drop config_cmd_all.h
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (38 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 39/41] Convert CONFIG_CMD_ZFS " Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-23  3:34   ` Bin Meng
  2017-07-21 23:11 ` [U-Boot] [PATCH 41/41] README: Drop information about commands Simon Glass
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

This file does not include all commands and has not for a while. Let's
drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 README                   |  5 -----
 include/config_cmd_all.h | 19 -------------------
 2 files changed, 24 deletions(-)
 delete mode 100644 include/config_cmd_all.h

diff --git a/README b/README
index 7217037203..63742b92b4 100644
--- a/README
+++ b/README
@@ -757,11 +757,6 @@ The following options need to be configured:
 		CONFIG_SYS_BAUDRATE_TABLE, see below.
 
 - Monitor Functions:
-		Monitor commands can be included or excluded
-		from the build by using the #include files
-		<config_cmd_all.h> and #undef'ing unwanted
-		commands, or adding #define's for wanted commands.
-
 		The default command configuration includes all commands
 		except those marked below with a "*".
 
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
deleted file mode 100644
index 7e23abfcd8..0000000000
--- a/include/config_cmd_all.h
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * Copyright 2007 Freescale Semiconductor, Inc.
- *
- * This file is licensed under the terms of the GNU General Public
- * License Version 2. This file is licensed "as is" without any
- * warranty of any kind, whether express or implied.
- */
-
-#ifndef _CONFIG_CMD_ALL_H
-#define _CONFIG_CMD_ALL_H
-
-/*
- * Alphabetical list of all possible commands.
- */
-
-#define CONFIG_CMD_NAND		/* NAND support			*/
-#define CONFIG_CMD_UBIFS	/* UBIFS Support		*/
-
-#endif	/* _CONFIG_CMD_ALL_H */
-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 41/41] README: Drop information about commands
  2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
                   ` (39 preceding siblings ...)
  2017-07-21 23:11 ` [U-Boot] [PATCH 40/41] Drop config_cmd_all.h Simon Glass
@ 2017-07-21 23:11 ` Simon Glass
  2017-07-23  3:34   ` Bin Meng
  40 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-07-21 23:11 UTC (permalink / raw)
  To: u-boot

Most of this is duplicated in Kconfig help. Add some of that which is not,
and remove the help from the README.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 README               | 131 +--------------------------------------------------
 cmd/Kconfig          |   4 +-
 cmd/fastboot/Kconfig |   2 +
 3 files changed, 6 insertions(+), 131 deletions(-)

diff --git a/README b/README
index 63742b92b4..e9caa458fc 100644
--- a/README
+++ b/README
@@ -756,94 +756,6 @@ The following options need to be configured:
 		Select one of the baudrates listed in
 		CONFIG_SYS_BAUDRATE_TABLE, see below.
 
-- Monitor Functions:
-		The default command configuration includes all commands
-		except those marked below with a "*".
-
-		CONFIG_CMD_AES		  AES 128 CBC encrypt/decrypt
-		CONFIG_CMD_ASKENV	* ask for env variable
-		CONFIG_CMD_BDI		  bdinfo
-		CONFIG_CMD_BOOTD	  bootd
-		CONFIG_CMD_BOOTI	* ARM64 Linux kernel Image support
-		CONFIG_CMD_CACHE	* icache, dcache
-		CONFIG_CMD_CONSOLE	  coninfo
-		CONFIG_CMD_DHCP		* DHCP support
-		CONFIG_CMD_DIAG		* Diagnostics
-		CONFIG_CMD_ECHO		  echo arguments
-		CONFIG_CMD_EDITENV	  edit env variable
-		CONFIG_CMD_ELF		* bootelf, bootvx
-		CONFIG_CMD_ENV_EXISTS	* check existence of env variable
-		CONFIG_CMD_EXPORTENV	* export the environment
-		CONFIG_CMD_EXT2		* ext2 command support
-		CONFIG_CMD_EXT4		* ext4 command support
-		CONFIG_CMD_FS_GENERIC	* filesystem commands (e.g. load, ls)
-					  that work for multiple fs types
-		CONFIG_CMD_FS_UUID	* Look up a filesystem UUID
-		CONFIG_CMD_SAVEENV	  saveenv
-		CONFIG_CMD_FLASH	  flinfo, erase, protect
-		CONFIG_CMD_FPGA		  FPGA device initialization support
-		CONFIG_CMD_GO		* the 'go' command (exec code)
-		CONFIG_CMD_GREPENV	* search environment
-		CONFIG_CMD_I2C		* I2C serial bus support
-		CONFIG_CMD_IMI		  iminfo
-		CONFIG_CMD_IMLS		  List all images found in NOR flash
-		CONFIG_CMD_IMLS_NAND	* List all images found in NAND flash
-		CONFIG_CMD_IMPORTENV	* import an environment
-		CONFIG_CMD_INI		* import data from an ini file into the env
-		CONFIG_CMD_ITEST	  Integer/string test of 2 values
-		CONFIG_CMD_LDRINFO	* ldrinfo (display Blackfin loader)
-		CONFIG_CMD_LINK_LOCAL	* link-local IP address auto-configuration
-					  (169.254.*.*)
-		CONFIG_CMD_LOADB	  loadb
-		CONFIG_CMD_LOADS	  loads
-		CONFIG_CMD_MD5SUM	* print md5 message digest
-					  (requires CONFIG_CMD_MEMORY and CONFIG_MD5)
-		CONFIG_CMD_MEMINFO	* Display detailed memory information
-		CONFIG_CMD_MEMORY	  md, mm, nm, mw, cp, cmp, crc, base,
-					  loop, loopw
-		CONFIG_CMD_MEMTEST	* mtest
-		CONFIG_CMD_MISC		  Misc functions like sleep etc
-		CONFIG_CMD_MMC		* MMC memory mapped support
-		CONFIG_CMD_MII		* MII utility commands
-		CONFIG_CMD_NAND		* NAND support
-		CONFIG_CMD_NET		  bootp, tftpboot, rarpboot
-		CONFIG_CMD_NFS		  NFS support
-		CONFIG_CMD_PING		* send ICMP ECHO_REQUEST to network
-					  host
-		CONFIG_CMD_RUN		  run command in env variable
-		CONFIG_CMD_SF		* Read/write/erase SPI NOR flash
-		CONFIG_CMD_SOFTSWITCH	* Soft switch setting command for BF60x
-		CONFIG_CMD_SOURCE	  "source" command Support
-		CONFIG_CMD_SPI		* SPI serial bus support
-		CONFIG_CMD_TFTPSRV	* TFTP transfer in server mode
-		CONFIG_CMD_TFTPPUT	* TFTP put command (upload)
-		CONFIG_CMD_TIME		* run command and report execution time (ARM specific)
-		CONFIG_CMD_TIMER	* access to the system tick timer
-		CONFIG_CMD_USB		* USB support
-		CONFIG_CMD_CDP		* Cisco Discover Protocol support
-		CONFIG_CMD_XIMG		  Load part of Multi Image
-
-		EXAMPLE: If you want all functions except of network
-		support you can write:
-
-		#include "config_cmd_all.h"
-		#undef CONFIG_CMD_NET
-
-	Other Commands:
-		fdt (flattened device tree) command: CONFIG_OF_LIBFDT
-
-	Note:	Don't enable the "icache" and "dcache" commands
-		(configuration option CONFIG_CMD_CACHE) unless you know
-		what you (and your U-Boot users) are doing. Data
-		cache cannot be enabled on systems like the
-		8xx (where accesses to the IMMR region must be
-		uncached), and it cannot be disabled on all other
-		systems where we (mis-) use the data cache to hold an
-		initial stack and some data.
-
-
-		XXX - this list needs to get updated!
-
 - Removal of commands
 		If no commands are needed to boot, you can disable
 		CONFIG_CMDLINE to remove them. In this case, the command line
@@ -1045,10 +957,6 @@ The following options need to be configured:
 		Allow generic access to the SPI bus on the Intel 8257x, for
 		example with the "sspi" command.
 
-		CONFIG_CMD_E1000
-		Management command for E1000 devices.  When used on devices
-		with SPI support you can reprogram the EEPROM from U-Boot.
-
 		CONFIG_EEPRO100
 		Support for Intel 82557/82559/82559ER chips.
 		Optional CONFIG_EEPRO100_SROM_WRITE enables EEPROM
@@ -1183,11 +1091,6 @@ The following options need to be configured:
 			to. Contemporary x86 systems usually map it at
 			0xfed40000.
 
-		CONFIG_CMD_TPM
-		Add tpm monitor functions.
-		Requires CONFIG_TPM. If CONFIG_TPM_AUTH_SESSIONS is set, also
-		provides monitor access to authorized functions.
-
 		CONFIG_TPM
 		Define this to enable the TPM support library which provides
 		functional interfaces to some TPM commands.
@@ -1315,12 +1218,6 @@ The following options need to be configured:
 		CONFIG_USB_FUNCTION_DFU
 		This enables the USB portion of the DFU USB class
 
-		CONFIG_CMD_DFU
-		This enables the command "dfu" which is used to have
-		U-Boot create a DFU class device via USB.  This command
-		requires that the "dfu_alt_info" environment variable be
-		set and define the alt settings to expose to the host.
-
 		CONFIG_DFU_MMC
 		This enables support for exposing (e)MMC devices via DFU.
 
@@ -1360,13 +1257,6 @@ The following options need to be configured:
 		CONFIG_USB_FUNCTION_FASTBOOT
 		This enables the USB part of the fastboot gadget
 
-		CONFIG_CMD_FASTBOOT
-		This enables the command "fastboot" which enables the Android
-		fastboot mode for the platform's USB device. Fastboot is a USB
-		protocol for downloading images, flashing and device control
-		used on Android devices.
-		See doc/README.android-fastboot for more information.
-
 		CONFIG_ANDROID_BOOT_IMAGE
 		This enables support for booting images which use the Android
 		image format header.
@@ -2482,12 +2372,7 @@ The following options need to be configured:
 		commands cp, md...
 
 - Serial Flash support
-		CONFIG_CMD_SF
-
-		Defining this option enables SPI flash commands
-		'sf probe/read/write/erase/update'.
-
-		Usage requires an initial 'probe' to define the serial
+		Usage requires an initial 'sf probe' to define the serial
 		flash parameters, followed by read/write/erase/update
 		commands.
 
@@ -2771,13 +2656,6 @@ FIT uImage format:
 		kernel. Needed for UBI support.
 
 - UBI support
-		CONFIG_CMD_UBI
-
-		Adds commands for interacting with MTD partitions formatted
-		with the UBI flash translation layer
-
-		Requires also defining CONFIG_RBTREE
-
 		CONFIG_UBI_SILENCE_MSG
 
 		Make the verbose messages from UBI stop printing.  This leaves
@@ -2846,13 +2724,6 @@ FIT uImage format:
 		default: 0
 
 - UBIFS support
-		CONFIG_CMD_UBIFS
-
-		Adds commands for interacting with UBI volumes formatted as
-		UBIFS.  UBIFS is read-only in u-boot.
-
-		Requires UBI support as well as CONFIG_LZO
-
 		CONFIG_UBIFS_SILENCE_MSG
 
 		Make the verbose messages from UBIFS stop printing.  This leaves
diff --git a/cmd/Kconfig b/cmd/Kconfig
index c9490fca47..3d2367e2c4 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -727,7 +727,9 @@ config CMD_DFU
 	select USB_FUNCTION_DFU
 	help
 	  Enables the command "dfu" which is used to have U-Boot create a DFU
-	  class device via USB.
+	  class device via USB. This command requires that the "dfu_alt_info"
+	  environment variable be set and define the alt settings to expose to
+	  the host.
 
 config CMD_USB_MASS_STORAGE
 	bool "UMS usb mass storage"
diff --git a/cmd/fastboot/Kconfig b/cmd/fastboot/Kconfig
index 89b9e73440..b84529a374 100644
--- a/cmd/fastboot/Kconfig
+++ b/cmd/fastboot/Kconfig
@@ -18,6 +18,8 @@ config CMD_FASTBOOT
 	  protocol for downloading images, flashing and device control
 	  used on Android devices.
 
+	  See doc/README.android-fastboot for more information.
+
 config ANDROID_BOOT_IMAGE
 	bool "Enable support for Android Boot Images"
 	help
-- 
2.14.0.rc0.284.gd933b75aa4-goog

^ permalink raw reply related	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 01/41] Convert CONFIG_CMD_MAX6957 to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 01/41] Convert CONFIG_CMD_MAX6957 " Simon Glass
@ 2017-07-22 15:05   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-22 15:05 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_MAX6957
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  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(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 02/41] Kconfig: Drop CONFIG_CMD_MEM
  2017-07-21 23:11 ` [U-Boot] [PATCH 02/41] Kconfig: Drop CONFIG_CMD_MEM Simon Glass
@ 2017-07-22 15:05   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-22 15:05 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> 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 <sjg@chromium.org>
> ---
>
>  README                                | 4 ++--
>  include/configs/stm32f429-discovery.h | 2 --
>  scripts/config_whitelist.txt          | 1 -
>  3 files changed, 2 insertions(+), 5 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 03/41] Convert CONFIG_CMD_MFSL to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 03/41] Convert CONFIG_CMD_MFSL to Kconfig Simon Glass
@ 2017-07-22 15:05   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-22 15:05 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_MFSL
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  README                               | 1 -
>  cmd/Kconfig                          | 7 +++++++
>  configs/microblaze-generic_defconfig | 1 +
>  include/config_cmd_all.h             | 1 -
>  include/configs/microblaze-generic.h | 1 -
>  scripts/config_whitelist.txt         | 1 -
>  6 files changed, 8 insertions(+), 4 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

Please check nits below.

> diff --git a/README b/README
> index 023409b14c..aea19a257f 100644
> --- a/README
> +++ b/README
> @@ -838,7 +838,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 c80ac364ea..a0155b9735 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -747,6 +747,13 @@ config CMD_SATA
>           Attachment, where AT refers to an IBM AT (Advanced Technology)
>           computer released in 1984.
>
> +config CMD_MFSL

nits: should we add Kconfig options by following alphabetical order here?

> +       bool "frd/fwr/rspr - Access special-purpose registers and SPL"
> +       depends on MICROBLAZE
> +       help
> +         Provides access to Microblaze special purpose register amd FSL,
> +         whatever that is.
> +
>  endmenu
>

[snip]

Regards,
Bin

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 04/41] Convert CONFIG_CMD_MMC_SPI to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 04/41] Convert CONFIG_CMD_MMC_SPI " Simon Glass
@ 2017-07-22 15:05   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-22 15:05 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_MMC_SPI
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  cmd/Kconfig                        | 9 +++++++++
>  configs/UCP1020_SPIFLASH_defconfig | 1 +
>  configs/UCP1020_defconfig          | 1 +
>  include/configs/UCP1020.h          | 1 -
>  include/configs/am335x_shc.h       | 1 -
>  scripts/config_whitelist.txt       | 1 -
>  6 files changed, 11 insertions(+), 3 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 05/41] Convert CONFIG_CMD_MTDPARTS to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 05/41] Convert CONFIG_CMD_MTDPARTS " Simon Glass
@ 2017-07-22 15:05   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-22 15:05 UTC (permalink / raw)
  To: u-boot

Hi Simon,

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_MTDPARTS
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  README                                          | 1 -
>  arch/arm/Kconfig                                | 3 +++
>  arch/arm/cpu/armv7/vf610/Kconfig                | 1 +
>  arch/powerpc/cpu/mpc83xx/Kconfig                | 1 +
>  arch/powerpc/cpu/mpc85xx/Kconfig                | 9 +++++++++
>  board/micronas/vct/Kconfig                      | 1 +
>  cmd/Kconfig                                     | 1 -
>  configs/BSC9131RDB_NAND_SYSCLK100_defconfig     | 1 +
>  configs/BSC9131RDB_NAND_defconfig               | 1 +
>  configs/BSC9131RDB_SPIFLASH_SYSCLK100_defconfig | 1 +
>  configs/BSC9131RDB_SPIFLASH_defconfig           | 1 +
>  configs/MPC8315ERDB_defconfig                   | 1 +
>  configs/P1020RDB-PD_NAND_defconfig              | 1 +
>  configs/P1020RDB-PD_SDCARD_defconfig            | 1 +
>  configs/P1020RDB-PD_SPIFLASH_defconfig          | 1 +
>  configs/P1020RDB-PD_defconfig                   | 1 +
>  configs/T2080QDS_NAND_defconfig                 | 1 +
>  configs/T2080QDS_SDCARD_defconfig               | 1 +
>  configs/T2080QDS_SECURE_BOOT_defconfig          | 1 +
>  configs/T2080QDS_SPIFLASH_defconfig             | 1 +
>  configs/T2080QDS_defconfig                      | 1 +
>  configs/T2080RDB_NAND_defconfig                 | 1 +
>  configs/T2080RDB_SDCARD_defconfig               | 1 +
>  configs/T2080RDB_SECURE_BOOT_defconfig          | 1 +
>  configs/T2080RDB_SPIFLASH_defconfig             | 1 +
>  configs/T2080RDB_defconfig                      | 1 +
>  configs/T2081QDS_NAND_defconfig                 | 1 +
>  configs/T2081QDS_SDCARD_defconfig               | 1 +
>  configs/T2081QDS_SPIFLASH_defconfig             | 1 +
>  configs/T2081QDS_defconfig                      | 1 +
>  configs/TQM834x_defconfig                       | 1 +
>  configs/TWR-P1025_defconfig                     | 1 +
>  configs/am335x_evm_defconfig                    | 1 +
>  configs/am335x_evm_nor_defconfig                | 1 +
>  configs/am335x_evm_norboot_defconfig            | 1 +
>  configs/am335x_evm_spiboot_defconfig            | 1 +
>  configs/am335x_evm_usbspl_defconfig             | 1 +
>  configs/am335x_hs_evm_defconfig                 | 3 +--
>  configs/am43xx_evm_defconfig                    | 1 +
>  configs/am43xx_evm_ethboot_defconfig            | 1 +
>  configs/am43xx_evm_usbhost_boot_defconfig       | 1 +
>  configs/am43xx_hs_evm_defconfig                 | 1 +
>  configs/ap121_defconfig                         | 1 +
>  configs/ap143_defconfig                         | 1 +
>  configs/at91sam9n12ek_mmc_defconfig             | 1 +
>  configs/at91sam9n12ek_nandflash_defconfig       | 1 +
>  configs/at91sam9n12ek_spiflash_defconfig        | 1 +
>  configs/brppt1_nand_defconfig                   | 1 +
>  configs/brppt1_spi_defconfig                    | 1 +
>  configs/cairo_defconfig                         | 1 +
>  configs/chiliboard_defconfig                    | 1 +
>  configs/cm_fx6_defconfig                        | 1 +
>  configs/cm_t335_defconfig                       | 1 +
>  configs/cm_t3517_defconfig                      | 1 +
>  configs/cm_t35_defconfig                        | 1 +
>  configs/cm_t43_defconfig                        | 1 +
>  configs/corvus_defconfig                        | 1 +
>  configs/devkit8000_defconfig                    | 1 +
>  configs/flea3_defconfig                         | 1 +
>  configs/imx6q_logic_defconfig                   | 1 +
>  configs/k2e_evm_defconfig                       | 5 ++---
>  configs/k2g_evm_defconfig                       | 6 +++---
>  configs/k2hk_evm_defconfig                      | 5 ++---
>  configs/k2l_evm_defconfig                       | 5 ++---
>  configs/mccmon6_nor_defconfig                   | 1 +
>  configs/mccmon6_sd_defconfig                    | 1 +
>  configs/mx35pdk_defconfig                       | 1 +
>  configs/omap3_beagle_defconfig                  | 1 +
>  configs/omap3_ha_defconfig                      | 1 +
>  configs/omap3_zoom1_defconfig                   | 1 +
>  configs/pengwyn_defconfig                       | 1 +
>  configs/smartweb_defconfig                      | 1 +
>  configs/smdkc100_defconfig                      | 1 +
>  configs/tao3530_defconfig                       | 1 +
>  configs/taurus_defconfig                        | 1 +
>  configs/ti816x_evm_defconfig                    | 6 +-----
>  configs/woodburn_defconfig                      | 1 +
>  configs/woodburn_sd_defconfig                   | 1 +
>  drivers/mtd/ubi/Kconfig                         | 1 +
>  include/config_cmd_all.h                        | 1 -
>  include/configs/BSC9131RDB.h                    | 1 -
>  include/configs/BSC9132QDS.h                    | 1 -
>  include/configs/M54418TWR.h                     | 2 --
>  include/configs/MPC8313ERDB.h                   | 1 -
>  include/configs/MPC8315ERDB.h                   | 1 -
>  include/configs/P1010RDB.h                      | 1 -
>  include/configs/P1022DS.h                       | 1 -
>  include/configs/T102xQDS.h                      | 1 -
>  include/configs/T102xRDB.h                      | 1 -
>  include/configs/T1040QDS.h                      | 1 -
>  include/configs/T104xRDB.h                      | 1 -
>  include/configs/T208xQDS.h                      | 1 -
>  include/configs/T208xRDB.h                      | 1 -
>  include/configs/TQM834x.h                       | 1 -
>  include/configs/am3517_evm.h                    | 1 -
>  include/configs/ap121.h                         | 1 -
>  include/configs/ap143.h                         | 1 -
>  include/configs/apf27.h                         | 1 -
>  include/configs/apx4devkit.h                    | 1 -
>  include/configs/aristainetos-common.h           | 1 -
>  include/configs/at91sam9n12ek.h                 | 1 -
>  include/configs/at91sam9x5ek.h                  | 1 -
>  include/configs/baltos.h                        | 1 -
>  include/configs/brppt1.h                        | 1 -
>  include/configs/cm_fx6.h                        | 1 -
>  include/configs/cm_t35.h                        | 1 -
>  include/configs/cm_t3517.h                      | 1 -
>  include/configs/colibri_imx7.h                  | 1 -
>  include/configs/colibri_t20.h                   | 1 -
>  include/configs/colibri_vf.h                    | 1 -
>  include/configs/corvus.h                        | 1 -
>  include/configs/da850evm.h                      | 1 -
>  include/configs/dockstar.h                      | 1 -
>  include/configs/ea20.h                          | 1 -
>  include/configs/ethernut5.h                     | 1 -
>  include/configs/exynos4-common.h                | 1 -
>  include/configs/flea3.h                         | 1 -
>  include/configs/gw_ventana.h                    | 1 -
>  include/configs/iconnect.h                      | 1 -
>  include/configs/ids8313.h                       | 1 -
>  include/configs/imx27lite-common.h              | 1 -
>  include/configs/imx31_phycore.h                 | 1 -
>  include/configs/imx6-engicam.h                  | 1 -
>  include/configs/imx6_logic.h                    | 1 -
>  include/configs/ipam390.h                       | 1 -
>  include/configs/km/keymile-common.h             | 1 -
>  include/configs/km/km_arm.h                     | 1 -
>  include/configs/m28evk.h                        | 1 -
>  include/configs/m53evk.h                        | 1 -
>  include/configs/mccmon6.h                       | 1 -
>  include/configs/mcx.h                           | 1 -
>  include/configs/microblaze-generic.h            | 1 -
>  include/configs/mv-common.h                     | 1 -
>  include/configs/mx28evk.h                       | 1 -
>  include/configs/mx31ads.h                       | 1 -
>  include/configs/mx35pdk.h                       | 1 -
>  include/configs/nas220.h                        | 1 -
>  include/configs/nokia_rx51.h                    | 1 -
>  include/configs/omap3_igep00x0.h                | 1 -
>  include/configs/omap3_logic.h                   | 1 -
>  include/configs/omapl138_lcdk.h                 | 1 -
>  include/configs/p1_p2_rdb_pc.h                  | 3 ---
>  include/configs/p1_twr.h                        | 1 -
>  include/configs/pcm052.h                        | 1 -
>  include/configs/pcm058.h                        | 1 -
>  include/configs/pengwyn.h                       | 2 --
>  include/configs/platinum.h                      | 1 -
>  include/configs/pogo_e02.h                      | 1 -
>  include/configs/sama5d3_xplained.h              | 1 -
>  include/configs/siemens-am33x-common.h          | 1 -
>  include/configs/smartweb.h                      | 2 --
>  include/configs/smdkc100.h                      | 1 -
>  include/configs/socfpga_common.h                | 1 -
>  include/configs/tam3517-common.h                | 1 -
>  include/configs/tao3530.h                       | 1 -
>  include/configs/taurus.h                        | 1 -
>  include/configs/ti_armv7_common.h               | 1 -
>  include/configs/titanium.h                      | 1 -
>  include/configs/tricorder.h                     | 1 -
>  include/configs/vct.h                           | 1 -
>  include/configs/vf610twr.h                      | 1 -
>  include/configs/woodburn_common.h               | 1 -
>  include/configs/x600.h                          | 1 -
>  include/configs/xilinx-ppc.h                    | 2 --
>  164 files changed, 92 insertions(+), 112 deletions(-)
>
> diff --git a/README b/README
> index aea19a257f..4b670ba326 100644
> --- a/README
> +++ b/README
> @@ -810,7 +810,6 @@ The following options need to be configured:
>                 CONFIG_CMD_MISC           Misc functions like sleep etc
>                 CONFIG_CMD_MMC          * MMC memory mapped support
>                 CONFIG_CMD_MII          * MII utility commands
> -               CONFIG_CMD_MTDPARTS     * MTD partition support
>                 CONFIG_CMD_NAND         * NAND support
>                 CONFIG_CMD_NET            bootp, tftpboot, rarpboot
>                 CONFIG_CMD_NFS            NFS support
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index f7b44392ac..6ab79a7a7a 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -570,6 +570,7 @@ config ARCH_KEYSTONE
>         select SYS_THUMB_BUILD
>         select CMD_POWEROFF
>         imply FIT
> +       imply CMD_MTDPARTS
>
>  config ARCH_OMAP2PLUS
>         bool "TI OMAP2+"
> @@ -651,6 +652,7 @@ config ARCH_SOCFPGA
>         select SYS_THUMB_BUILD
>         imply CRC32_VERIFY
>         imply FAT_WRITE
> +       imply CMD_MTDPARTS
>
>  config ARCH_SUNXI
>         bool "Support sunxi (Allwinner) SoCs"
> @@ -693,6 +695,7 @@ config ARCH_VF610
>         bool "Freescale Vybrid"
>         select CPU_V7
>         select SYS_FSL_ERRATUM_ESDHC111
> +       imply CMD_MTDPARTS
>
>  config ARCH_ZYNQ
>         bool "Xilinx Zynq Platform"
> diff --git a/arch/arm/cpu/armv7/vf610/Kconfig b/arch/arm/cpu/armv7/vf610/Kconfig
> index 13905b5281..634e52ed09 100644
> --- a/arch/arm/cpu/armv7/vf610/Kconfig
> +++ b/arch/arm/cpu/armv7/vf610/Kconfig
> @@ -3,6 +3,7 @@ if ARCH_VF610
>  config VF610
>         bool
>         default y
> +       imply CMD_MTDPARTS
>
>  choice
>         prompt "Vybrid board select"
> diff --git a/arch/powerpc/cpu/mpc83xx/Kconfig b/arch/powerpc/cpu/mpc83xx/Kconfig
> index cdd21a253a..4b01c8254c 100644
> --- a/arch/powerpc/cpu/mpc83xx/Kconfig
> +++ b/arch/powerpc/cpu/mpc83xx/Kconfig
> @@ -28,6 +28,7 @@ config TARGET_MPC8313ERDB
>         bool "Support MPC8313ERDB"
>         select SUPPORT_SPL
>         select BOARD_EARLY_INIT_F
> +       imply CMD_MTDPARTS
>
>  config TARGET_MPC8315ERDB
>         bool "Support MPC8315ERDB"
> diff --git a/arch/powerpc/cpu/mpc85xx/Kconfig b/arch/powerpc/cpu/mpc85xx/Kconfig
> index 0bff79adbb..93bf274947 100644
> --- a/arch/powerpc/cpu/mpc85xx/Kconfig
> +++ b/arch/powerpc/cpu/mpc85xx/Kconfig
> @@ -148,6 +148,7 @@ config TARGET_P1022DS
>         select SUPPORT_SPL
>         select SUPPORT_TPL
>         imply CMD_SATA
> +       imply CMD_MTDPARTS
>
>  config TARGET_P1023RDB
>         bool "Support P1023RDB"
> @@ -217,6 +218,7 @@ config TARGET_P2020RDB
>         select ARCH_P2020
>         imply CMD_EEPROM
>         imply CMD_SATA
> +       imply CMD_MTDPARTS
>
>  config TARGET_P1_TWR
>         bool "Support p1_twr"
> @@ -482,6 +484,7 @@ config ARCH_BSC9132
>         select SYS_PPC_E500_USE_DEBUG_TLB
>         select FSL_IFC
>         imply CMD_EEPROM
> +       imply CMD_MTDPARTS
>
>  config ARCH_C29X
>         bool
> @@ -618,6 +621,7 @@ config ARCH_P1010
>         select FSL_IFC
>         imply CMD_EEPROM
>         imply CMD_SATA
> +       imply CMD_MTDPARTS
>
>  config ARCH_P1011
>         bool
> @@ -662,6 +666,7 @@ config ARCH_P1021
>         select SYS_PPC_E500_USE_DEBUG_TLB
>         select FSL_ELBC
>         imply CMD_SATA
> +       imply CMD_MTDPARTS
>
>  config ARCH_P1022
>         bool
> @@ -885,6 +890,7 @@ config ARCH_T1023
>         select SYS_FSL_SEC_COMPAT_5
>         select FSL_IFC
>         imply CMD_EEPROM
> +       imply CMD_MTDPARTS
>
>  config ARCH_T1024
>         bool
> @@ -903,6 +909,7 @@ config ARCH_T1024
>         select SYS_FSL_SEC_COMPAT_5
>         select FSL_IFC
>         imply CMD_EEPROM
> +       imply CMD_MTDPARTS
>
>  config ARCH_T1040
>         bool
> @@ -922,6 +929,7 @@ config ARCH_T1040
>         select SYS_FSL_SEC_COMPAT_5
>         select FSL_IFC
>         imply CMD_SATA
> +       imply CMD_MTDPARTS
>
>  config ARCH_T1042
>         bool
> @@ -941,6 +949,7 @@ config ARCH_T1042
>         select SYS_FSL_SEC_COMPAT_5
>         select FSL_IFC
>         imply CMD_SATA
> +       imply CMD_MTDPARTS
>
>  config ARCH_T2080
>         bool

I believe all FSL PPC targets needs to be updated to "imply
CMD_MTDPARTS", see below.

> diff --git a/board/micronas/vct/Kconfig b/board/micronas/vct/Kconfig
> index df7c0296c7..2aeb9d03ea 100644
> --- a/board/micronas/vct/Kconfig
> +++ b/board/micronas/vct/Kconfig
> @@ -43,6 +43,7 @@ endchoice
>
>  config VCT_ONENAND
>         bool "Enable VCT_ONENAND"
> +       imply CMD_MTDPARTS
>
>  config VCT_SMALL_IMAGE
>         bool "Enable VCT_SMALL_IMAGE"
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index 3f12c42fa1..fc8398cd69 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -1212,7 +1212,6 @@ config CMD_JFFS2
>           filesystem information.
>
>  config CMD_MTDPARTS
> -       depends on ARCH_SUNXI
>         bool "MTD partition support"
>         help
>           MTD partition support
> diff --git a/configs/BSC9131RDB_NAND_SYSCLK100_defconfig b/configs/BSC9131RDB_NAND_SYSCLK100_defconfig
> index 62c436898d..f1f28edd9c 100644
> --- a/configs/BSC9131RDB_NAND_SYSCLK100_defconfig
> +++ b/configs/BSC9131RDB_NAND_SYSCLK100_defconfig
> @@ -22,6 +22,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

This can be avoided if we update
arch/powerpc/cpu/mpc85xx/Kconfig::"config ARCH_BSC9131"

>  CONFIG_FSL_CAAM=y
>  # CONFIG_MMC is not set
>  CONFIG_SPI_FLASH=y
> diff --git a/configs/BSC9131RDB_NAND_defconfig b/configs/BSC9131RDB_NAND_defconfig
> index c5d9b9ba48..1d633a32fc 100644
> --- a/configs/BSC9131RDB_NAND_defconfig
> +++ b/configs/BSC9131RDB_NAND_defconfig
> @@ -22,6 +22,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  CONFIG_FSL_CAAM=y
>  # CONFIG_MMC is not set
>  CONFIG_SPI_FLASH=y
> diff --git a/configs/BSC9131RDB_SPIFLASH_SYSCLK100_defconfig b/configs/BSC9131RDB_SPIFLASH_SYSCLK100_defconfig
> index 4434790b65..80834ab985 100644
> --- a/configs/BSC9131RDB_SPIFLASH_SYSCLK100_defconfig
> +++ b/configs/BSC9131RDB_SPIFLASH_SYSCLK100_defconfig
> @@ -19,6 +19,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  CONFIG_FSL_CAAM=y
>  # CONFIG_MMC is not set
>  CONFIG_SPI_FLASH=y
> diff --git a/configs/BSC9131RDB_SPIFLASH_defconfig b/configs/BSC9131RDB_SPIFLASH_defconfig
> index 4bce5427b8..871a193ebf 100644
> --- a/configs/BSC9131RDB_SPIFLASH_defconfig
> +++ b/configs/BSC9131RDB_SPIFLASH_defconfig
> @@ -19,6 +19,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  CONFIG_FSL_CAAM=y
>  # CONFIG_MMC is not set
>  CONFIG_SPI_FLASH=y
> diff --git a/configs/MPC8315ERDB_defconfig b/configs/MPC8315ERDB_defconfig
> index 32b88fc9d5..52ce29a0bc 100644
> --- a/configs/MPC8315ERDB_defconfig
> +++ b/configs/MPC8315ERDB_defconfig
> @@ -13,6 +13,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_DATE=y
>  CONFIG_CMD_EXT2=y
> +CONFIG_CMD_MTDPARTS=y
>  # CONFIG_MMC is not set
>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SYS_NS16550=y
> diff --git a/configs/P1020RDB-PD_NAND_defconfig b/configs/P1020RDB-PD_NAND_defconfig
> index eb9d2635b9..2ed975cdb9 100644
> --- a/configs/P1020RDB-PD_NAND_defconfig
> +++ b/configs/P1020RDB-PD_NAND_defconfig
> @@ -30,6 +30,7 @@ CONFIG_CMD_DATE=y
>  # CONFIG_CMD_HASH is not set
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

Update arch/powerpc/cpu/mpc85xx/Kconfig::"config ARCH_P1020"?

>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SPI_FLASH=y
>  CONFIG_SPI_FLASH_SPANSION=y
> diff --git a/configs/P1020RDB-PD_SDCARD_defconfig b/configs/P1020RDB-PD_SDCARD_defconfig
> index e6373f4200..777bd609e5 100644
> --- a/configs/P1020RDB-PD_SDCARD_defconfig
> +++ b/configs/P1020RDB-PD_SDCARD_defconfig
> @@ -28,6 +28,7 @@ CONFIG_CMD_DATE=y
>  # CONFIG_CMD_HASH is not set
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SPI_FLASH=y
>  CONFIG_SPI_FLASH_SPANSION=y
> diff --git a/configs/P1020RDB-PD_SPIFLASH_defconfig b/configs/P1020RDB-PD_SPIFLASH_defconfig
> index 60f5ab3206..f8e6e431ae 100644
> --- a/configs/P1020RDB-PD_SPIFLASH_defconfig
> +++ b/configs/P1020RDB-PD_SPIFLASH_defconfig
> @@ -29,6 +29,7 @@ CONFIG_CMD_DATE=y
>  # CONFIG_CMD_HASH is not set
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SPI_FLASH=y
>  CONFIG_SPI_FLASH_SPANSION=y
> diff --git a/configs/P1020RDB-PD_defconfig b/configs/P1020RDB-PD_defconfig
> index 30257b64f5..13266bf111 100644
> --- a/configs/P1020RDB-PD_defconfig
> +++ b/configs/P1020RDB-PD_defconfig
> @@ -19,6 +19,7 @@ CONFIG_CMD_DATE=y
>  # CONFIG_CMD_HASH is not set
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SPI_FLASH=y
>  CONFIG_SPI_FLASH_SPANSION=y
> diff --git a/configs/T2080QDS_NAND_defconfig b/configs/T2080QDS_NAND_defconfig
> index 650293c948..bf21bec41a 100644
> --- a/configs/T2080QDS_NAND_defconfig
> +++ b/configs/T2080QDS_NAND_defconfig
> @@ -27,6 +27,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

Update arch/powerpc/cpu/mpc85xx/Kconfig::"config ARCH_T2080"?

>  CONFIG_FSL_CAAM=y
>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SPI_FLASH=y
> diff --git a/configs/T2080QDS_SDCARD_defconfig b/configs/T2080QDS_SDCARD_defconfig
> index af336dff0b..81cfb14d01 100644
> --- a/configs/T2080QDS_SDCARD_defconfig
> +++ b/configs/T2080QDS_SDCARD_defconfig
> @@ -27,6 +27,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  CONFIG_FSL_CAAM=y
>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SPI_FLASH=y
> diff --git a/configs/T2080QDS_SECURE_BOOT_defconfig b/configs/T2080QDS_SECURE_BOOT_defconfig
> index 80ad085b1e..e1e8c72135 100644
> --- a/configs/T2080QDS_SECURE_BOOT_defconfig
> +++ b/configs/T2080QDS_SECURE_BOOT_defconfig
> @@ -19,6 +19,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  CONFIG_DM=y
>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SPI_FLASH=y
> diff --git a/configs/T2080QDS_SPIFLASH_defconfig b/configs/T2080QDS_SPIFLASH_defconfig
> index 10b29c4a9a..2d24df780e 100644
> --- a/configs/T2080QDS_SPIFLASH_defconfig
> +++ b/configs/T2080QDS_SPIFLASH_defconfig
> @@ -28,6 +28,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  CONFIG_FSL_CAAM=y
>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SPI_FLASH=y
> diff --git a/configs/T2080QDS_defconfig b/configs/T2080QDS_defconfig
> index 09dc9e2619..8f85d64c74 100644
> --- a/configs/T2080QDS_defconfig
> +++ b/configs/T2080QDS_defconfig
> @@ -17,6 +17,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  CONFIG_FSL_CAAM=y
>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SPI_FLASH=y
> diff --git a/configs/T2080RDB_NAND_defconfig b/configs/T2080RDB_NAND_defconfig
> index 8e7b677725..6b458973db 100644
> --- a/configs/T2080RDB_NAND_defconfig
> +++ b/configs/T2080RDB_NAND_defconfig
> @@ -27,6 +27,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  # CONFIG_CMD_IRQ is not set
>  CONFIG_FSL_CAAM=y
>  CONFIG_MTD_NOR_FLASH=y
> diff --git a/configs/T2080RDB_SDCARD_defconfig b/configs/T2080RDB_SDCARD_defconfig
> index fac743f55c..f045b1ae0c 100644
> --- a/configs/T2080RDB_SDCARD_defconfig
> +++ b/configs/T2080RDB_SDCARD_defconfig
> @@ -27,6 +27,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  # CONFIG_CMD_IRQ is not set
>  CONFIG_FSL_CAAM=y
>  CONFIG_MTD_NOR_FLASH=y
> diff --git a/configs/T2080RDB_SECURE_BOOT_defconfig b/configs/T2080RDB_SECURE_BOOT_defconfig
> index f8296387c4..5cc601deb7 100644
> --- a/configs/T2080RDB_SECURE_BOOT_defconfig
> +++ b/configs/T2080RDB_SECURE_BOOT_defconfig
> @@ -19,6 +19,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  # CONFIG_CMD_IRQ is not set
>  CONFIG_DM=y
>  CONFIG_MTD_NOR_FLASH=y
> diff --git a/configs/T2080RDB_SPIFLASH_defconfig b/configs/T2080RDB_SPIFLASH_defconfig
> index ca7a38b7d2..f453e42e35 100644
> --- a/configs/T2080RDB_SPIFLASH_defconfig
> +++ b/configs/T2080RDB_SPIFLASH_defconfig
> @@ -28,6 +28,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  # CONFIG_CMD_IRQ is not set
>  CONFIG_FSL_CAAM=y
>  CONFIG_MTD_NOR_FLASH=y
> diff --git a/configs/T2080RDB_defconfig b/configs/T2080RDB_defconfig
> index 424eda104e..c620ce8712 100644
> --- a/configs/T2080RDB_defconfig
> +++ b/configs/T2080RDB_defconfig
> @@ -17,6 +17,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  # CONFIG_CMD_IRQ is not set
>  CONFIG_FSL_CAAM=y
>  CONFIG_MTD_NOR_FLASH=y
> diff --git a/configs/T2081QDS_NAND_defconfig b/configs/T2081QDS_NAND_defconfig
> index 4653515682..00b8d8d351 100644
> --- a/configs/T2081QDS_NAND_defconfig
> +++ b/configs/T2081QDS_NAND_defconfig
> @@ -27,6 +27,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

Update arch/powerpc/cpu/mpc85xx/Kconfig::"config ARCH_T2081"?

>  CONFIG_FSL_CAAM=y
>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SPI_FLASH=y
> diff --git a/configs/T2081QDS_SDCARD_defconfig b/configs/T2081QDS_SDCARD_defconfig
> index 749d87bac9..263c8237d6 100644
> --- a/configs/T2081QDS_SDCARD_defconfig
> +++ b/configs/T2081QDS_SDCARD_defconfig
> @@ -27,6 +27,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  CONFIG_FSL_CAAM=y
>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SPI_FLASH=y
> diff --git a/configs/T2081QDS_SPIFLASH_defconfig b/configs/T2081QDS_SPIFLASH_defconfig
> index 3e3031e134..046921fd48 100644
> --- a/configs/T2081QDS_SPIFLASH_defconfig
> +++ b/configs/T2081QDS_SPIFLASH_defconfig
> @@ -28,6 +28,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  CONFIG_FSL_CAAM=y
>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SPI_FLASH=y
> diff --git a/configs/T2081QDS_defconfig b/configs/T2081QDS_defconfig
> index 9afc426211..ce74b53067 100644
> --- a/configs/T2081QDS_defconfig
> +++ b/configs/T2081QDS_defconfig
> @@ -17,6 +17,7 @@ CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

ditto.

>  CONFIG_FSL_CAAM=y
>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SPI_FLASH=y
> diff --git a/configs/TQM834x_defconfig b/configs/TQM834x_defconfig
> index ef73ed40c8..61c157053e 100644
> --- a/configs/TQM834x_defconfig
> +++ b/configs/TQM834x_defconfig
> @@ -15,6 +15,7 @@ CONFIG_CMD_PING=y
>  CONFIG_CMD_SNTP=y
>  CONFIG_CMD_DATE=y
>  CONFIG_CMD_JFFS2=y
> +CONFIG_CMD_MTDPARTS=y
>  # CONFIG_MMC is not set
>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_SYS_NS16550=y
> diff --git a/configs/TWR-P1025_defconfig b/configs/TWR-P1025_defconfig
> index e210643aa4..906ada4b3c 100644
> --- a/configs/TWR-P1025_defconfig
> +++ b/configs/TWR-P1025_defconfig
> @@ -19,6 +19,7 @@ CONFIG_CMD_PING=y
>  # CONFIG_CMD_HASH is not set
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_MTDPARTS=y

Update arch/powerpc/cpu/mpc85xx/Kconfig::"config ARCH_P1025"?

>  CONFIG_MTD_NOR_FLASH=y
>  CONFIG_NETDEVICES=y
>  CONFIG_E1000=y

[snip]

Regards,
Bin

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 06/41] Convert CONFIG_CMD_MTDPARTS_SPREAD to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 06/41] Convert CONFIG_CMD_MTDPARTS_SPREAD " Simon Glass
@ 2017-07-22 15:17   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-22 15:17 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_MTDPARTS_SPREAD
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  cmd/Kconfig                  | 10 ++++++++++
>  configs/sandbox_defconfig    |  1 +
>  scripts/config_whitelist.txt |  1 -
>  3 files changed, 11 insertions(+), 1 deletion(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 07/41] Convert CONFIG_CMD_ONENAND to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 07/41] Convert CONFIG_CMD_ONENAND " Simon Glass
@ 2017-07-22 15:17   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-22 15:17 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_ONENAND
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  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                    | 2 --
>  include/configs/omap3_igep00x0.h                | 2 --
>  include/configs/s5p_goni.h                      | 1 -
>  include/configs/smdkc100.h                      | 1 -
>  include/configs/vct.h                           | 4 ----
>  scripts/config_whitelist.txt                    | 1 -
>  20 files changed, 19 insertions(+), 14 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 08/41] Convert CONFIG_CMD_PCA953X to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 08/41] Convert CONFIG_CMD_PCA953X " Simon Glass
@ 2017-07-22 15:17   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-22 15:17 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_PCA953X
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  README                                      | 1 -
>  arch/powerpc/cpu/mpc83xx/Kconfig            | 1 +
>  configs/cl-som-am57x_defconfig              | 1 +
>  configs/cm_t335_defconfig                   | 1 +
>  configs/ot1200_defconfig                    | 3 ++-
>  configs/ot1200_spl_defconfig                | 3 ++-
>  configs/snapper9260_defconfig               | 1 +
>  configs/snapper9g20_defconfig               | 1 +
>  configs/xilinx_zynqmp_zcu102_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, 24 insertions(+), 14 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 09/41] Kconfig: Drop CONFIG_CMD_PCA953X_INFO
  2017-07-21 23:11 ` [U-Boot] [PATCH 09/41] Kconfig: Drop CONFIG_CMD_PCA953X_INFO Simon Glass
@ 2017-07-22 15:17   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-22 15:17 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> 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 <sjg@chromium.org>
> ---
>
>  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          | 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 -
>  13 files changed, 20 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 10/41] Convert CONFIG_CMD_PCI to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 10/41] Convert CONFIG_CMD_PCI to Kconfig Simon Glass
@ 2017-07-22 15:18   ` Bin Meng
  2017-08-04 21:38     ` Simon Glass
  0 siblings, 1 reply; 88+ messages in thread
From: Bin Meng @ 2017-07-22 15:18 UTC (permalink / raw)
  To: u-boot

Hi Simon,

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_PCI
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  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 ++++++
>  .../BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig   |  1 +
>  .../BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig   |  1 +
>  .../BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig |  1 +
>  .../BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig |  1 +
>  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 +
>  .../P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig   |  1 +
>  .../P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_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 +
>  ...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                  |  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                  |  3 +-
>  configs/ls1012ardb_qspi_SECURE_BOOT_defconfig      |  1 +
>  configs/ls1012ardb_qspi_defconfig                  |  1 +
>  .../ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig    |  1 +
>  configs/ls1046aqds_SECURE_BOOT_defconfig           |  1 +
>  configs/ls1046aqds_defconfig                       |  1 +
>  configs/ls1046aqds_nand_defconfig                  |  1 +
>  configs/ls1046aqds_qspi_defconfig                  |  1 +
>  configs/ls1046aqds_sdcard_ifc_defconfig            |  1 +
>  configs/ls1046aqds_sdcard_qspi_defconfig           |  1 +
>  configs/ls1046ardb_emmc_defconfig                  |  1 +
>  configs/ls1046ardb_qspi_SECURE_BOOT_defconfig      |  1 +
>  configs/ls1046ardb_qspi_defconfig                  |  1 +
>  configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig    |  1 +
>  configs/ls1046ardb_sdcard_defconfig                |  1 +
>  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                     | 32 +++++-----------------
>  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                         |  1 -
>  include/configs/M54455EVB.h                        |  1 -
>  include/configs/M5475EVB.h                         |  4 ---
>  include/configs/M5485EVB.h                         |  4 ---
>  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                          |  4 ---
>  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                    |  1 -
>  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 -
>  324 files changed, 233 insertions(+), 272 deletions(-)
>
> diff --git a/README b/README
> index 43691cc167..fe63a7090b 100644
> --- a/README
> +++ b/README
> @@ -813,7 +813,6 @@ The following options need to be configured:
>                 CONFIG_CMD_NAND         * NAND support
>                 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

I assume this was converted by moveconfig. It seems some of the
Kconfig files are updated to "imply CMD_PCI", but some are not (eg:
all x86 boards defconfig files are updated instead). What's the logic
for when to use "imply" vs. updating board defconfig file?

>
>  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 93bf274947..11030d6180 100644
> --- a/arch/powerpc/cpu/mpc85xx/Kconfig
> +++ b/arch/powerpc/cpu/mpc85xx/Kconfig
> @@ -485,6 +485,7 @@ config ARCH_BSC9132
>         select FSL_IFC
>         imply CMD_EEPROM
>         imply CMD_MTDPARTS
> +       imply CMD_PCI
>
>  config ARCH_C29X
>         bool
> @@ -498,6 +499,7 @@ config ARCH_C29X
>         select SYS_FSL_SEC_COMPAT_6
>         select SYS_PPC_E500_USE_DEBUG_TLB
>         select FSL_IFC
> +       imply CMD_PCI
>
>  config ARCH_MPC8536
>         bool
> @@ -622,6 +624,7 @@ config ARCH_P1010
>         imply CMD_EEPROM
>         imply CMD_SATA
>         imply CMD_MTDPARTS
> +       imply CMD_PCI
>
>  config ARCH_P1011
>         bool
> @@ -651,6 +654,7 @@ config ARCH_P1020
>         select SYS_PPC_E500_USE_DEBUG_TLB
>         select FSL_ELBC
>         imply CMD_SATA
> +       imply CMD_PCI
>
>  config ARCH_P1021
>         bool
> @@ -711,6 +715,7 @@ config ARCH_P1024
>         select FSL_ELBC
>         imply CMD_EEPROM
>         imply CMD_SATA
> +       imply CMD_PCI
>
>  config ARCH_P1025
>         bool
> @@ -1053,6 +1058,7 @@ config E500
>
>  config E500MC
>         bool
> +       imply CMD_PCI
>         help
>                 Enble PowerPC E500MC core
>
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index 3e994e46c9..007895c4ce 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -771,6 +771,14 @@ config CMD_MMC_SPI
>           to 20MHz. It is useful since it reduces the amount of protocol code
>           required.
>
> +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

nits: the indention is wrong for this line and the following two.

> +          peripherals. Sub-commands allow bus enumeration, displaying and
> +          changing configuration space and a few other features.
> +
>  endmenu
>
>

[snip]

Regards,
Bin

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 11/41] Kconfig: Drop CONFIG_CMD_PCI_ENUM
  2017-07-21 23:11 ` [U-Boot] [PATCH 11/41] Kconfig: Drop CONFIG_CMD_PCI_ENUM Simon Glass
@ 2017-07-22 15:32   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-22 15:32 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> 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 <sjg@chromium.org>
> ---
>
>  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(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 12/41] Kconfig; Drop CONFIG_IDE_TI_CARDBUS and associated driver
  2017-07-21 23:11 ` [U-Boot] [PATCH 12/41] Kconfig; Drop CONFIG_IDE_TI_CARDBUS and associated driver Simon Glass
@ 2017-07-22 15:32   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-22 15:32 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This driver is not used by any board. Drop it.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  drivers/pcmcia/Makefile      |   1 -
>  drivers/pcmcia/ti_pci1410a.c | 623 -------------------------------------------
>  2 files changed, 624 deletions(-)
>  delete mode 100644 drivers/pcmcia/ti_pci1410a.c
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 13/41] Convert CONFIG_CMD_PCMCIA to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 13/41] Convert CONFIG_CMD_PCMCIA to Kconfig Simon Glass
@ 2017-07-22 15:32   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-22 15:32 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_PCMCIA
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  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(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 14/41] Kconfig: Drop CONFIG_CMD_PORTIO and associated command
  2017-07-21 23:11 ` [U-Boot] [PATCH 14/41] Kconfig: Drop CONFIG_CMD_PORTIO and associated command Simon Glass
@ 2017-07-22 15:32   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-22 15:32 UTC (permalink / raw)
  To: u-boot

Hi Simon,

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> 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 <sjg@chromium.org>
> ---
>
>  cmd/portio.c | 145 -----------------------------------------------------------
>  1 file changed, 145 deletions(-)
>  delete mode 100644 cmd/portio.c
>

The following files also need to be updated to drop CONFIG_CMD_PORTIO:

include/config_cmd_all.h
include/command.h
cmd/Makefile
scripts/config_whitelist.txt
README

Regards,
Bin

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 15/41] Kconfig: Convert CMD_READ to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 15/41] Kconfig: Convert CMD_READ to Kconfig Simon Glass
@ 2017-07-22 15:33   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-22 15:33 UTC (permalink / raw)
  To: u-boot

Hi Simon,

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> 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 <sjg@chromium.org>
> ---
>
>  README                       | 2 --
>  cmd/Kconfig                  | 5 +++++
>  cmd/Makefile                 | 1 -
>  cmd/read.c                   | 2 +-
>  configs/sandbox_defconfig    | 3 +++
>  include/command.h            | 9 ++++-----
>  include/config_cmd_all.h     | 2 --
>  scripts/config_whitelist.txt | 2 --
>  8 files changed, 13 insertions(+), 13 deletions(-)
>
> diff --git a/README b/README
> index e05be8d9a7..8dc75009d1 100644
> --- a/README
> +++ b/README
> @@ -815,8 +815,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

This change should be in patch [14/41].

> -               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 c9fb24d984..2546ef61f6 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -787,6 +787,11 @@ config CMD_PCMCIA
>           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.
> +
>  endmenu
>
>
> 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

This change should be in patch [14/41].

>  obj-$(CONFIG_CMD_PXE) += pxe.o
>  obj-$(CONFIG_CMD_QFW) += qfw.o
>  obj-$(CONFIG_CMD_READ) += read.o
> 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 52ae05b447..0e839dce73 100644
> --- a/configs/sandbox_defconfig
> +++ b/configs/sandbox_defconfig
> @@ -192,3 +192,6 @@ CONFIG_UNIT_TEST=y
>  CONFIG_UT_TIME=y
>  CONFIG_UT_DM=y
>  CONFIG_UT_ENV=y
> +CONFIG_CMD_MTDPARTS=y

This change should be in patch [05/41].

> +CONFIG_CMD_MTDPARTS_SPREAD=y

This change should be in patch [06/41].

> +CONFIG_CMD_READ=y
> 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)

This change should be in patch [14/41].

> +#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 ea9860cf91..2a59976550 100644
> --- a/include/config_cmd_all.h
> +++ b/include/config_cmd_all.h
> @@ -14,10 +14,8 @@
>   */
>
>  #define CONFIG_CMD_NAND                /* NAND support                 */
> -#define CONFIG_CMD_PORTIO      /* Port I/O                     */

This change should be in patch [14/41].

>  #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 6662b60754..d3344bfebf 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_PORTIO

This change should be in patch [14/41].

> -CONFIG_CMD_READ
>  CONFIG_CMD_REGINFO
>  CONFIG_CMD_REISER
>  CONFIG_CMD_SANDBOX
> --

Regards,
Bin

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 16/41] Convert CONFIG_CMD_REGINFO to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 16/41] Convert CONFIG_CMD_REGINFO " Simon Glass
@ 2017-07-22 15:53   ` Bin Meng
  2017-07-22 15:59     ` Tom Rini
  2017-07-22 16:34   ` LEROY Christophe
  1 sibling, 1 reply; 88+ messages in thread
From: Bin Meng @ 2017-07-22 15:53 UTC (permalink / raw)
  To: u-boot

Hi Simon,

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_REGINFO
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  README                                             |   1 -
>  arch/powerpc/cpu/mpc85xx/Kconfig                   |  11 +++
>  cmd/Kconfig                                        |   6 ++
>  .../BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig   |   1 -
>  .../BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig   |   1 -
>  .../BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig |   1 -
>  .../BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig |   1 -
>  configs/MCR3000_defconfig                          | 100 +++++++++------------
>  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/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 +
>  .../P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig   |   2 +-
>  .../P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig   |   2 +-
>  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/TQM834x_defconfig                          |   1 +
>  .../controlcenterd_36BIT_SDCARD_DEVELOP_defconfig  |   1 +
>  configs/controlcenterd_36BIT_SDCARD_defconfig      |   1 +
>  configs/qemu-ppce500_defconfig                     |   1 +
>  configs/sbc8641d_defconfig                         |   1 +
>  configs/socrates_defconfig                         |   1 +
>  configs/xpedite517x_defconfig                      |   1 +
>  configs/xpedite537x_defconfig                      |   1 +
>  include/config_cmd_all.h                           |   1 -
>  include/configs/B4860QDS.h                         |   1 -
>  include/configs/BSC9131RDB.h                       |   1 -
>  include/configs/BSC9132QDS.h                       |   1 -
>  include/configs/C29XPCIE.h                         |   1 -
>  include/configs/M5208EVBE.h                        |   1 -
>  include/configs/M52277EVB.h                        |   1 -
>  include/configs/M5235EVB.h                         |   1 -
>  include/configs/M53017EVB.h                        |   1 -
>  include/configs/M5329EVB.h                         |   1 -
>  include/configs/M5373EVB.h                         |   1 -
>  include/configs/M54418TWR.h                        |   1 -
>  include/configs/M54451EVB.h                        |   1 -
>  include/configs/M54455EVB.h                        |   1 -
>  include/configs/M5475EVB.h                         |   1 -
>  include/configs/M5485EVB.h                         |   1 -
>  include/configs/MCR3000.h                          |   1 -
>  include/configs/MPC8536DS.h                        |   1 -
>  include/configs/MPC8541CDS.h                       |   1 -
>  include/configs/MPC8544DS.h                        |   1 -
>  include/configs/MPC8548CDS.h                       |   1 -
>  include/configs/MPC8555CDS.h                       |   1 -
>  include/configs/MPC8560ADS.h                       |   1 -
>  include/configs/MPC8568MDS.h                       |   1 -
>  include/configs/MPC8569MDS.h                       |   1 -
>  include/configs/MPC8572DS.h                        |   1 -
>  include/configs/MPC8610HPCD.h                      |   2 -
>  include/configs/MPC8641HPCN.h                      |   1 -
>  include/configs/P1010RDB.h                         |   1 -
>  include/configs/P1022DS.h                          |   1 -
>  include/configs/P1023RDB.h                         |   1 -
>  include/configs/T102xQDS.h                         |   1 -
>  include/configs/T102xRDB.h                         |   1 -
>  include/configs/T1040QDS.h                         |   1 -
>  include/configs/T104xRDB.h                         |   1 -
>  include/configs/T208xQDS.h                         |   1 -
>  include/configs/T208xRDB.h                         |   1 -
>  include/configs/T4240RDB.h                         |   2 -
>  include/configs/TQM834x.h                          |   1 -
>  include/configs/UCP1020.h                          |   1 -
>  include/configs/astro_mcf5373l.h                   |   1 -
>  include/configs/controlcenterd.h                   |   3 -
>  include/configs/corenet_ds.h                       |   1 -
>  include/configs/cyrus.h                            |   1 -
>  include/configs/dragonboard410c.h                  |   1 -
>  include/configs/p1_p2_rdb_pc.h                     |   1 -
>  include/configs/p1_twr.h                           |   1 -
>  include/configs/qemu-ppce500.h                     |   2 -
>  include/configs/s5p_goni.h                         |   2 -
>  include/configs/sbc8548.h                          |   1 -
>  include/configs/sbc8641d.h                         |   2 -
>  include/configs/smdkc100.h                         |   2 -
>  include/configs/socrates.h                         |   1 -
>  include/configs/t4qds.h                            |   2 -
>  include/configs/vct.h                              |   1 -
>  include/configs/xilinx-ppc.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 -
>  105 files changed, 95 insertions(+), 135 deletions(-)
>
> diff --git a/README b/README
> index 8dc75009d1..f5558eb9f1 100644
> --- a/README
> +++ b/README
> @@ -815,7 +815,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/cpu/mpc85xx/Kconfig b/arch/powerpc/cpu/mpc85xx/Kconfig
> index 11030d6180..450456d622 100644
> --- a/arch/powerpc/cpu/mpc85xx/Kconfig
> +++ b/arch/powerpc/cpu/mpc85xx/Kconfig
> @@ -553,6 +553,7 @@ config ARCH_MPC8548
>         select SYS_FSL_SEC_BE
>         select SYS_FSL_SEC_COMPAT_2
>         select SYS_PPC_E500_USE_DEBUG_TLB
> +       imply CMD_REGINFO
>
>  config ARCH_MPC8555
>         bool
> @@ -655,6 +656,7 @@ config ARCH_P1020
>         select FSL_ELBC
>         imply CMD_SATA
>         imply CMD_PCI
> +       imply CMD_REGINFO
>
>  config ARCH_P1021
>         bool
> @@ -671,6 +673,7 @@ config ARCH_P1021
>         select FSL_ELBC
>         imply CMD_SATA
>         imply CMD_MTDPARTS
> +       imply CMD_REGINFO
>
>  config ARCH_P1022
>         bool
> @@ -716,6 +719,7 @@ config ARCH_P1024
>         imply CMD_EEPROM
>         imply CMD_SATA
>         imply CMD_PCI
> +       imply CMD_REGINFO
>
>  config ARCH_P1025
>         bool
> @@ -731,6 +735,7 @@ config ARCH_P1025
>         select SYS_PPC_E500_USE_DEBUG_TLB
>         select FSL_ELBC
>         imply CMD_SATA
> +       imply CMD_REGINFO
>
>  config ARCH_P2020
>         bool
> @@ -747,6 +752,7 @@ config ARCH_P2020
>         select SYS_PPC_E500_USE_DEBUG_TLB
>         select FSL_ELBC
>         imply CMD_EEPROM
> +       imply CMD_REGINFO
>
>  config ARCH_P2041
>         bool
> @@ -794,6 +800,7 @@ config ARCH_P3041
>         select SYS_FSL_SEC_COMPAT_4
>         select FSL_ELBC
>         imply CMD_SATA
> +       imply CMD_REGINFO
>
>  config ARCH_P4080
>         bool
> @@ -830,6 +837,7 @@ config ARCH_P4080
>         select SYS_FSL_SEC_COMPAT_4
>         select FSL_ELBC
>         imply CMD_SATA
> +       imply CMD_REGINFO
>
>  config ARCH_P5020
>         bool
> @@ -852,6 +860,7 @@ config ARCH_P5020
>         select SYS_PPC64
>         select FSL_ELBC
>         imply CMD_SATA
> +       imply CMD_REGINFO
>
>  config ARCH_P5040
>         bool
> @@ -874,6 +883,7 @@ config ARCH_P5040
>         select SYS_PPC64
>         select FSL_ELBC
>         imply CMD_SATA
> +       imply CMD_REGINFO
>
>  config ARCH_QEMU_E500
>         bool
> @@ -1380,6 +1390,7 @@ config SYS_PPC_E500_USE_DEBUG_TLB
>
>  config FSL_IFC
>         bool
> +       imply CMD_REGINFO

This change is wrong. FSL_IFC is not the right place to "imply
CMD_REGINFO". I suspect this is a corner case that moveconfig cannot
handle?

>
>  config FSL_ELBC
>         bool
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index 2546ef61f6..354949f132 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -792,6 +792,12 @@ config CMD_READ
>         help
>           Provides low-level access to the data in a partition.
>
> +config CMD_REGINFO
> +       bool "reginfo - Print register information"
> +       depends on PPC
> +       help
> +         Provides access to low-level register information.
> +
>  endmenu
>
>
> diff --git a/configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig b/configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig
> index 87ea4b0064..e8c548286b 100644
> --- a/configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig
> +++ b/configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig
> @@ -15,7 +15,6 @@ CONFIG_CMD_MMC=y
>  CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
> -CONFIG_CMD_PCI=y

This should really be in patch [10/41].

>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
> diff --git a/configs/BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig b/configs/BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig
> index a59ffc652c..3afb011012 100644
> --- a/configs/BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig
> +++ b/configs/BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig
> @@ -15,7 +15,6 @@ CONFIG_CMD_MMC=y
>  CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
> -CONFIG_CMD_PCI=y

This should really be in patch [10/41].

>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
> diff --git a/configs/BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig b/configs/BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig
> index 2292dc16c7..c5d17bc516 100644
> --- a/configs/BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig
> +++ b/configs/BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig
> @@ -15,7 +15,6 @@ CONFIG_CMD_MMC=y
>  CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
> -CONFIG_CMD_PCI=y

This should really be in patch [10/41].

>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
> diff --git a/configs/BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig b/configs/BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig
> index 5450a0f398..ba0772c07d 100644
> --- a/configs/BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig
> +++ b/configs/BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig
> @@ -15,7 +15,6 @@ CONFIG_CMD_MMC=y
>  CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
> -CONFIG_CMD_PCI=y

This should really be in patch [10/41].

>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
> diff --git a/configs/MCR3000_defconfig b/configs/MCR3000_defconfig
> index 562face283..c8f45d6747 100644
> --- a/configs/MCR3000_defconfig
> +++ b/configs/MCR3000_defconfig
> @@ -1,47 +1,19 @@
>  CONFIG_PPC=y
>  CONFIG_8xx=y
>  CONFIG_TARGET_MCR3000=y
> -CONFIG_BOOTDELAY=5
> -CONFIG_HUSH_PARSER=y
> -# CONFIG_CMD_SETEXPR is not set
> -CONFIG_CMD_NET=y
> -CONFIG_CMD_DHCP=y
> -# CONFIG_LED_STATUS_BOARD_SPECIFIC is not set
> -# CONFIG_MMC is not set
> -CONFIG_MTD_NOR_FLASH=y
> -# CONFIG_PCI is not set
> -CONFIG_OF_LIBFDT=y
> -CONFIG_SYS_PROMPT="S3K> "
> -CONFIG_NETDEVICES=y
> -CONFIG_MPC8XX_FEC=y
> -
> -CONFIG_CMD_SAVEENV=y
> -CONFIG_CMD_FLASH=y
> -CONFIG_CMD_MII=y
> -CONFIG_CMD_PING=y
> -CONFIG_CMD_ASKENV=y
> -CONFIG_CMD_MTDPARTS=y
> -CONFIG_CMD_NAND=y
> -# CONFIG_CMD_BDI is not set
> -# CONFIG_CMD_ECHO is not set
> -# CONFIG_CMD_FPGA is not set
> -# CONFIG_CMD_IMI is not set
> -# CONFIG_CMD_IMLS is not set
> -# CONFIG_CMD_ITEST is not set
> -# CONFIG_CMD_CONSOLE is not set
> -# CONFIG_CMD_LOADB is not set
> -# CONFIG_CMD_LOADS is not set
> -# CONFIG_CMD_MD5SUM is not set
> -# CONFIG_CMD_MISC is not set
> -# CONFIG_CMD_SETGETDCR is not set
> -# CONFIG_CMD_SHA1 is not set
> -# CONFIG_CMD_SOURCE is not set
> +CONFIG_8xx_GCLK_FREQ=132000000
>  CONFIG_CMD_IMMAP=y
> -
> -CONFIG_SYS_IMMR=0xFF000000
> -
> -CONFIG_SYS_OR0_PRELIM=0xFFC00926
> +CONFIG_SYS_SIUMCR=0x00600400
> +CONFIG_SYS_SYPCR=0xFFFFFF8F
> +CONFIG_SYS_TBSCR=0x00C3
> +CONFIG_SYS_PISCR=0x0000
> +CONFIG_SYS_PLPRCR_BOOL=y
> +CONFIG_SYS_PLPRCR=0x00460004
> +CONFIG_SYS_SCCR=0x00C20000
> +CONFIG_SYS_SCCR_MASK=0x60000000
> +CONFIG_SYS_DER=0x2002000F
>  CONFIG_SYS_BR0_PRELIM=0x04000801
> +CONFIG_SYS_OR0_PRELIM=0xFFC00926
>  CONFIG_SYS_BR1_PRELIM_BOOL=y
>  CONFIG_SYS_BR1_PRELIM=0x00000081
>  CONFIG_SYS_OR1_PRELIM=0xFE000E00
> @@ -63,26 +35,38 @@ CONFIG_SYS_OR6_PRELIM=0xFFFF0908
>  CONFIG_SYS_BR7_PRELIM_BOOL=y
>  CONFIG_SYS_BR7_PRELIM=0x1C000001
>  CONFIG_SYS_OR7_PRELIM=0xFFFF810A
> -
> -CONFIG_8xx_GCLK_FREQ=132000000
> -
> -CONFIG_SYS_SYPCR=0xFFFFFF8F
> -CONFIG_SYS_SIUMCR=0x00600400
> -CONFIG_SYS_TBSCR=0x00C3
> -CONFIG_SYS_PISCR=0x0000
> -CONFIG_SYS_PLPRCR_BOOL=y
> -CONFIG_SYS_PLPRCR=0x00460004
> -CONFIG_SYS_SCCR_MASK=0x60000000
> -CONFIG_SYS_SCCR=0x00C20000
> -CONFIG_SYS_DER=0x2002000F
> -
> -CONFIG_AUTOBOOT=y
> +CONFIG_SYS_IMMR=0xFF000000
> +CONFIG_OF_BOARD_SETUP=y
> +CONFIG_BOOTDELAY=5
> +CONFIG_HUSH_PARSER=y
> +CONFIG_SYS_PROMPT="S3K> "
>  CONFIG_AUTOBOOT_KEYED=y
>  CONFIG_AUTOBOOT_PROMPT="\nEnter password - autoboot in %d sec...\n"
>  CONFIG_AUTOBOOT_DELAY_STR="root"
> -
> -CONFIG_OF_BOARD_SETUP=y
> -
> -CONFIG_LZMA=y
> +# CONFIG_CMD_BDI is not set
> +# CONFIG_CMD_CONSOLE is not set
> +# CONFIG_CMD_IMI is not set
> +# CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_ASKENV=y
> +# CONFIG_CMD_LOADB is not set
> +# CONFIG_CMD_LOADS is not set
> +CONFIG_CMD_NAND=y
> +# CONFIG_CMD_FPGA is not set
> +CONFIG_CMD_REGINFO=y
> +# CONFIG_CMD_ECHO is not set
> +# CONFIG_CMD_ITEST is not set
> +# CONFIG_CMD_SOURCE is not set
> +# CONFIG_CMD_SETEXPR is not set
> +CONFIG_CMD_DHCP=y
> +CONFIG_CMD_MII=y
> +CONFIG_CMD_PING=y
> +# CONFIG_CMD_MISC is not set
> +CONFIG_CMD_MTDPARTS=y
> +# CONFIG_MMC is not set
> +CONFIG_MTD_NOR_FLASH=y
> +CONFIG_NETDEVICES=y
> +CONFIG_MPC8XX_FEC=y
> +# CONFIG_PCI is not set
>  CONFIG_SHA256=y
> -
> +CONFIG_LZMA=y
> +CONFIG_OF_LIBFDT=y
> diff --git a/configs/MPC8536DS_36BIT_defconfig b/configs/MPC8536DS_36BIT_defconfig
> index 9a299245ad..f588004c66 100644
> --- a/configs/MPC8536DS_36BIT_defconfig
> +++ b/configs/MPC8536DS_36BIT_defconfig
> @@ -15,6 +15,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=y

This can be avoided if we update
arch/powerpc/cpu/mpc85xx/Kconfig::"config ARCH_MPC8536".
Please fix other similar issues in this commit.

>  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 bb1ad0a014..7d03f51b43 100644
> --- a/configs/MPC8536DS_SDCARD_defconfig
> +++ b/configs/MPC8536DS_SDCARD_defconfig
> @@ -15,6 +15,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 09a0689a44..cc4be93b4d 100644
> --- a/configs/MPC8536DS_SPIFLASH_defconfig
> +++ b/configs/MPC8536DS_SPIFLASH_defconfig
> @@ -15,6 +15,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 06a2bb6141..47e12ef95d 100644
> --- a/configs/MPC8536DS_defconfig
> +++ b/configs/MPC8536DS_defconfig
> @@ -14,6 +14,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=y
>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
> diff --git a/configs/MPC8541CDS_defconfig b/configs/MPC8541CDS_defconfig
> index 65b7aab840..6c76cbf84b 100644
> --- a/configs/MPC8541CDS_defconfig
> +++ b/configs/MPC8541CDS_defconfig
> @@ -8,6 +8,7 @@ CONFIG_BOOTDELAY=10
>  CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 2bf0a0a995..3c4a58126e 100644
> --- a/configs/MPC8541CDS_legacy_defconfig
> +++ b/configs/MPC8541CDS_legacy_defconfig
> @@ -9,6 +9,7 @@ CONFIG_BOOTDELAY=10
>  CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 884f47ae75..62469816e0 100644
> --- a/configs/MPC8544DS_defconfig
> +++ b/configs/MPC8544DS_defconfig
> @@ -11,6 +11,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=y
>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
> diff --git a/configs/MPC8555CDS_defconfig b/configs/MPC8555CDS_defconfig
> index 6681ca6e5f..9aba0da1fa 100644
> --- a/configs/MPC8555CDS_defconfig
> +++ b/configs/MPC8555CDS_defconfig
> @@ -8,6 +8,7 @@ CONFIG_BOOTDELAY=10
>  CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 7b7b55c0ed..4e3ad8c8ba 100644
> --- a/configs/MPC8555CDS_legacy_defconfig
> +++ b/configs/MPC8555CDS_legacy_defconfig
> @@ -9,6 +9,7 @@ CONFIG_BOOTDELAY=10
>  CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 9d5e8bcec2..d84168aa86 100644
> --- a/configs/MPC8568MDS_defconfig
> +++ b/configs/MPC8568MDS_defconfig
> @@ -9,6 +9,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
>  CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 77851961aa..62576c15cf 100644
> --- a/configs/MPC8569MDS_ATM_defconfig
> +++ b/configs/MPC8569MDS_ATM_defconfig
> @@ -11,6 +11,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=y
>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
> diff --git a/configs/MPC8569MDS_defconfig b/configs/MPC8569MDS_defconfig
> index ec7bb61357..af2a5aa1e6 100644
> --- a/configs/MPC8569MDS_defconfig
> +++ b/configs/MPC8569MDS_defconfig
> @@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 e705535ae3..7f8dec1005 100644
> --- a/configs/MPC8572DS_36BIT_defconfig
> +++ b/configs/MPC8572DS_36BIT_defconfig
> @@ -13,6 +13,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 8d362fc227..3bf174189d 100644
> --- a/configs/MPC8572DS_defconfig
> +++ b/configs/MPC8572DS_defconfig
> @@ -12,6 +12,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 b95d3cbc17..3368e85b84 100644
> --- a/configs/MPC8610HPCD_defconfig
> +++ b/configs/MPC8610HPCD_defconfig
> @@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 c3345aede8..e56b748b31 100644
> --- a/configs/MPC8641HPCN_36BIT_defconfig
> +++ b/configs/MPC8641HPCN_36BIT_defconfig
> @@ -11,6 +11,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 8bc4ecc2b9..a99c63c592 100644
> --- a/configs/MPC8641HPCN_defconfig
> +++ b/configs/MPC8641HPCN_defconfig
> @@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=y
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_PING=y
> diff --git a/configs/P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig b/configs/P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig
> index 739a1120f3..382f3c6f91 100644
> --- a/configs/P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig
> +++ b/configs/P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig
> @@ -17,7 +17,7 @@ CONFIG_CMD_MMC=y
>  CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
> -CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_DATE=y
> diff --git a/configs/P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig b/configs/P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig
> index cfa9455ec1..2936d20eb4 100644
> --- a/configs/P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig
> +++ b/configs/P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig
> @@ -17,7 +17,7 @@ CONFIG_CMD_MMC=y
>  CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
> -CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 f2344702d6..43a8a8a933 100644
> --- a/configs/P1022DS_36BIT_NAND_defconfig
> +++ b/configs/P1022DS_36BIT_NAND_defconfig
> @@ -25,6 +25,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 8993dda8da..225fa23b89 100644
> --- a/configs/P1022DS_36BIT_SDCARD_defconfig
> +++ b/configs/P1022DS_36BIT_SDCARD_defconfig
> @@ -23,6 +23,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 6170f41648..ec5d89626f 100644
> --- a/configs/P1022DS_36BIT_SPIFLASH_defconfig
> +++ b/configs/P1022DS_36BIT_SPIFLASH_defconfig
> @@ -24,6 +24,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 0102a62b53..c747eb6b08 100644
> --- a/configs/P1022DS_36BIT_defconfig
> +++ b/configs/P1022DS_36BIT_defconfig
> @@ -14,6 +14,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 7069267cd7..c3274555ba 100644
> --- a/configs/P1022DS_NAND_defconfig
> +++ b/configs/P1022DS_NAND_defconfig
> @@ -25,6 +25,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 2589a7137e..5024e37b6b 100644
> --- a/configs/P1022DS_SDCARD_defconfig
> +++ b/configs/P1022DS_SDCARD_defconfig
> @@ -22,6 +22,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 b664bac9b5..9b683ac0d0 100644
> --- a/configs/P1022DS_SPIFLASH_defconfig
> +++ b/configs/P1022DS_SPIFLASH_defconfig
> @@ -23,6 +23,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 ecca46d416..2364250538 100644
> --- a/configs/P1022DS_defconfig
> +++ b/configs/P1022DS_defconfig
> @@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 55481b86e1..8cad90f2df 100644
> --- a/configs/P1023RDB_defconfig
> +++ b/configs/P1023RDB_defconfig
> @@ -13,6 +13,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  # CONFIG_CMD_HASH is not set
> diff --git a/configs/TQM834x_defconfig b/configs/TQM834x_defconfig
> index 2ee7fcd902..21c002ba63 100644
> --- a/configs/TQM834x_defconfig
> +++ b/configs/TQM834x_defconfig
> @@ -9,6 +9,7 @@ CONFIG_CMD_ASKENV=y
>  CONFIG_CMD_EEPROM=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=y
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_MII=y
> diff --git a/configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig b/configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig
> index 99200da9bb..a12ffc57b3 100644
> --- a/configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig
> +++ b/configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig
> @@ -24,6 +24,7 @@ CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_SATA=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 f409d95d8a..93b92c1d98 100644
> --- a/configs/controlcenterd_36BIT_SDCARD_defconfig
> +++ b/configs/controlcenterd_36BIT_SDCARD_defconfig
> @@ -24,6 +24,7 @@ CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_SATA=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_BMP=y
> diff --git a/configs/qemu-ppce500_defconfig b/configs/qemu-ppce500_defconfig
> index 777ba9c4c4..c94e76186f 100644
> --- a/configs/qemu-ppce500_defconfig
> +++ b/configs/qemu-ppce500_defconfig
> @@ -15,6 +15,7 @@ CONFIG_CMD_BOOTZ=y
>  CONFIG_CMD_GREPENV=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=y
>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_PING=y
>  # CONFIG_CMD_HASH is not set
> diff --git a/configs/sbc8641d_defconfig b/configs/sbc8641d_defconfig
> index ee4ec6fa1f..30754dd5ef 100644
> --- a/configs/sbc8641d_defconfig
> +++ b/configs/sbc8641d_defconfig
> @@ -8,6 +8,7 @@ CONFIG_BOOTDELAY=10
>  CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=y
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_CMD_PING=y
>  CONFIG_DOS_PARTITION=y
> diff --git a/configs/socrates_defconfig b/configs/socrates_defconfig
> index 1fc772260f..76943a633a 100644
> --- a/configs/socrates_defconfig
> +++ b/configs/socrates_defconfig
> @@ -13,6 +13,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=y
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_CMD_DHCP=y
>  # CONFIG_CMD_NFS is not set
> diff --git a/configs/xpedite517x_defconfig b/configs/xpedite517x_defconfig
> index 9afc57c11e..a2eb6f154d 100644
> --- a/configs/xpedite517x_defconfig
> +++ b/configs/xpedite517x_defconfig
> @@ -11,6 +11,7 @@ CONFIG_CMD_ASKENV=y
>  CONFIG_CMD_EEPROM=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 63b0e40fc5..a848fac769 100644
> --- a/configs/xpedite537x_defconfig
> +++ b/configs/xpedite537x_defconfig
> @@ -12,6 +12,7 @@ CONFIG_CMD_ASKENV=y
>  CONFIG_CMD_EEPROM=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=y
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_MII=y
> diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
> index 2a59976550..aa570a1b56 100644
> --- a/include/config_cmd_all.h
> +++ b/include/config_cmd_all.h
> @@ -14,7 +14,6 @@
>   */
>
>  #define CONFIG_CMD_NAND                /* NAND support                 */
> -#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 bcd5827e69..a95193fb88 100644
> --- a/include/configs/B4860QDS.h
> +++ b/include/configs/B4860QDS.h
> @@ -702,7 +702,6 @@ unsigned long get_board_ddr_clk(void);
>  /*
>   * Command line configuration.
>   */

The above comment should be removed as well.

> -#define CONFIG_CMD_REGINFO
>
>  /*
>  * USB
> diff --git a/include/configs/BSC9131RDB.h b/include/configs/BSC9131RDB.h
> index 9c0e4659f9..2c9c456f36 100644
> --- a/include/configs/BSC9131RDB.h
> +++ b/include/configs/BSC9131RDB.h
> @@ -293,7 +293,6 @@ extern unsigned long get_sdram_size(void);
>  /*
>   * Command line configuration.
>   */

The above comment should be removed as well.

> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/include/configs/BSC9132QDS.h b/include/configs/BSC9132QDS.h
> index ea1547f873..9281df3886 100644
> --- a/include/configs/BSC9132QDS.h
> +++ b/include/configs/BSC9132QDS.h
> @@ -518,7 +518,6 @@ combinations. this should be removed later
>  /*
>   * Command line configuration.
>   */

The above comment should be removed as well.

> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/include/configs/C29XPCIE.h b/include/configs/C29XPCIE.h
> index 9820dca3bf..784e65ecf3 100644
> --- a/include/configs/C29XPCIE.h
> +++ b/include/configs/C29XPCIE.h
> @@ -434,7 +434,6 @@
>  /*
>   * Command line configuration.
>   */

The above comment should be removed as well.

> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/include/configs/M5208EVBE.h b/include/configs/M5208EVBE.h
> index f8b1d4af38..fe4a230b46 100644
> --- a/include/configs/M5208EVBE.h
> +++ b/include/configs/M5208EVBE.h
> @@ -21,7 +21,6 @@
>  #define CONFIG_WATCHDOG_TIMEOUT                5000
>
>  /* Command line configuration */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  #define CONFIG_MCFFEC
>  #ifdef CONFIG_MCFFEC
> diff --git a/include/configs/M52277EVB.h b/include/configs/M52277EVB.h
> index fc9b26ff46..15bbbd6b57 100644
> --- a/include/configs/M52277EVB.h
> +++ b/include/configs/M52277EVB.h
> @@ -36,7 +36,6 @@
>  #define CONFIG_BOOTP_HOSTNAME
>
>  /* Command line configuration */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  #define CONFIG_HOSTNAME                        M52277EVB
>  #define CONFIG_SYS_UBOOT_END           0x3FFFF
> diff --git a/include/configs/M5235EVB.h b/include/configs/M5235EVB.h
> index e2c3e1ae2d..83a01fe801 100644
> --- a/include/configs/M5235EVB.h
> +++ b/include/configs/M5235EVB.h
> @@ -34,7 +34,6 @@
>  #define CONFIG_BOOTP_HOSTNAME
>
>  /* Command line configuration */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  #define CONFIG_MCFFEC
>  #ifdef CONFIG_MCFFEC
> diff --git a/include/configs/M53017EVB.h b/include/configs/M53017EVB.h
> index b88c3709c6..55e1163a83 100644
> --- a/include/configs/M53017EVB.h
> +++ b/include/configs/M53017EVB.h
> @@ -26,7 +26,6 @@
>  #define CONFIG_WATCHDOG_TIMEOUT                5000
>
>  /* Command line configuration */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  #define CONFIG_SYS_UNIFY_CACHE
>
> diff --git a/include/configs/M5329EVB.h b/include/configs/M5329EVB.h
> index 999bcd9495..0f6cf6f898 100644
> --- a/include/configs/M5329EVB.h
> +++ b/include/configs/M5329EVB.h
> @@ -26,7 +26,6 @@
>  #define CONFIG_WATCHDOG_TIMEOUT        5000    /* timeout in milliseconds, max timeout is 6.71sec */
>
>  /* Command line configuration */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  #ifdef CONFIG_NANDFLASH_SIZE
>  #      define CONFIG_CMD_NAND
> diff --git a/include/configs/M5373EVB.h b/include/configs/M5373EVB.h
> index 3a39e5031d..99868a35e3 100644
> --- a/include/configs/M5373EVB.h
> +++ b/include/configs/M5373EVB.h
> @@ -26,7 +26,6 @@
>  #define CONFIG_WATCHDOG_TIMEOUT        3360    /* timeout in ms, max is 3.36 sec */
>
>  /* Command line configuration */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  #ifdef CONFIG_NANDFLASH_SIZE
>  #      define CONFIG_CMD_NAND
> diff --git a/include/configs/M54418TWR.h b/include/configs/M54418TWR.h
> index 09e21a8359..7201f9026e 100644
> --- a/include/configs/M54418TWR.h
> +++ b/include/configs/M54418TWR.h
> @@ -38,7 +38,6 @@
>
>  /* Command line configuration */
>  #undef CONFIG_CMD_NAND
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * NAND FLASH
> diff --git a/include/configs/M54451EVB.h b/include/configs/M54451EVB.h
> index 7d6edda361..3c1cd9c837 100644
> --- a/include/configs/M54451EVB.h
> +++ b/include/configs/M54451EVB.h
> @@ -36,7 +36,6 @@
>  #define CONFIG_BOOTP_HOSTNAME
>
>  /* Command line configuration */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  /* Network configuration */
>  #define CONFIG_MCFFEC
> diff --git a/include/configs/M54455EVB.h b/include/configs/M54455EVB.h
> index ab7e7aef94..2376a19a47 100644
> --- a/include/configs/M54455EVB.h
> +++ b/include/configs/M54455EVB.h
> @@ -36,7 +36,6 @@
>  #define CONFIG_BOOTP_HOSTNAME
>
>  /* Command line configuration */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  /* Network configuration */
>  #define CONFIG_MCFFEC
> diff --git a/include/configs/M5475EVB.h b/include/configs/M5475EVB.h
> index 5d87d0d95b..15e648f294 100644
> --- a/include/configs/M5475EVB.h
> +++ b/include/configs/M5475EVB.h
> @@ -26,7 +26,6 @@
>  #define CONFIG_WATCHDOG_TIMEOUT        5000    /* timeout in milliseconds, max timeout is 6.71sec */
>
>  /* Command line configuration */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  #define CONFIG_SLTTMR
>
> diff --git a/include/configs/M5485EVB.h b/include/configs/M5485EVB.h
> index 6226fd67b6..8f0f92218b 100644
> --- a/include/configs/M5485EVB.h
> +++ b/include/configs/M5485EVB.h
> @@ -26,7 +26,6 @@
>  #define CONFIG_WATCHDOG_TIMEOUT        5000    /* timeout in milliseconds, max timeout is 6.71sec */
>
>  /* Command line configuration */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  #define CONFIG_SLTTMR
>
> diff --git a/include/configs/MCR3000.h b/include/configs/MCR3000.h
> index 15bb0e9d6a..7b36e51081 100644
> --- a/include/configs/MCR3000.h
> +++ b/include/configs/MCR3000.h
> @@ -153,6 +153,5 @@
>  #define BOOTFLAG_WARM                  0x02
>
>  /* Misc Settings */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  #endif /* __CONFIG_H */
> diff --git a/include/configs/MPC8536DS.h b/include/configs/MPC8536DS.h
> index 10bf1b000b..a5ba3bbf37 100644
> --- a/include/configs/MPC8536DS.h
> +++ b/include/configs/MPC8536DS.h
> @@ -588,7 +588,6 @@
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  #undef CONFIG_WATCHDOG                 /* watchdog disabled */
>
> diff --git a/include/configs/MPC8541CDS.h b/include/configs/MPC8541CDS.h
> index 816ff4b9a9..d912c6bd8b 100644
> --- a/include/configs/MPC8541CDS.h
> +++ b/include/configs/MPC8541CDS.h
> @@ -342,7 +342,6 @@ extern unsigned long get_clock_freq(void);
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  #undef CONFIG_WATCHDOG                 /* watchdog disabled */
>
> diff --git a/include/configs/MPC8544DS.h b/include/configs/MPC8544DS.h
> index 3dff6376a3..0ab81dce4e 100644
> --- a/include/configs/MPC8544DS.h
> +++ b/include/configs/MPC8544DS.h
> @@ -348,7 +348,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * USB
> diff --git a/include/configs/MPC8548CDS.h b/include/configs/MPC8548CDS.h
> index c0fde19bad..be28500d78 100644
> --- a/include/configs/MPC8548CDS.h
> +++ b/include/configs/MPC8548CDS.h
> @@ -461,7 +461,6 @@ extern unsigned long get_clock_freq(void);
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  #undef CONFIG_WATCHDOG                 /* watchdog disabled */
>
> diff --git a/include/configs/MPC8555CDS.h b/include/configs/MPC8555CDS.h
> index 9c8e3811f1..0c756129a7 100644
> --- a/include/configs/MPC8555CDS.h
> +++ b/include/configs/MPC8555CDS.h
> @@ -340,7 +340,6 @@ extern unsigned long get_clock_freq(void);
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  #undef CONFIG_WATCHDOG                 /* watchdog disabled */
>
> diff --git a/include/configs/MPC8560ADS.h b/include/configs/MPC8560ADS.h
> index 23ba5f5e3a..b4ee029bfe 100644
> --- a/include/configs/MPC8560ADS.h
> +++ b/include/configs/MPC8560ADS.h
> @@ -354,7 +354,6 @@
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  #if defined(CONFIG_ETHER_ON_FCC)
>  #endif
> diff --git a/include/configs/MPC8568MDS.h b/include/configs/MPC8568MDS.h
> index 0bdcfb1b0d..3c335fe712 100644
> --- a/include/configs/MPC8568MDS.h
> +++ b/include/configs/MPC8568MDS.h
> @@ -355,7 +355,6 @@ extern unsigned long get_clock_freq(void);
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  #undef CONFIG_WATCHDOG                 /* watchdog disabled */
>
> diff --git a/include/configs/MPC8569MDS.h b/include/configs/MPC8569MDS.h
> index 2156460ff9..e16a6df1ba 100644
> --- a/include/configs/MPC8569MDS.h
> +++ b/include/configs/MPC8569MDS.h
> @@ -448,7 +448,6 @@ extern unsigned long get_clock_freq(void);
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  #undef CONFIG_WATCHDOG                 /* watchdog disabled */
>
> diff --git a/include/configs/MPC8572DS.h b/include/configs/MPC8572DS.h
> index 0917f542f9..1c846f57d5 100644
> --- a/include/configs/MPC8572DS.h
> +++ b/include/configs/MPC8572DS.h
> @@ -547,7 +547,6 @@
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * USB
> diff --git a/include/configs/MPC8610HPCD.h b/include/configs/MPC8610HPCD.h
> index 8eae3072e6..3e00d646bf 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 a1e6303de7..e02c4f40b5 100644
> --- a/include/configs/MPC8641HPCN.h
> +++ b/include/configs/MPC8641HPCN.h
> @@ -587,7 +587,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  #undef CONFIG_WATCHDOG                 /* watchdog disabled */
>
> diff --git a/include/configs/P1010RDB.h b/include/configs/P1010RDB.h
> index c823958e5a..6c165a0b2c 100644
> --- a/include/configs/P1010RDB.h
> +++ b/include/configs/P1010RDB.h
> @@ -720,7 +720,6 @@ extern unsigned long get_sdram_size(void);
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  #undef CONFIG_WATCHDOG                 /* watchdog disabled */
>
> diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h
> index 9ead71f245..896f74d5a3 100644
> --- a/include/configs/P1022DS.h
> +++ b/include/configs/P1022DS.h
> @@ -591,7 +591,6 @@
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * USB
> diff --git a/include/configs/P1023RDB.h b/include/configs/P1023RDB.h
> index d676c1c819..4aa5e57518 100644
> --- a/include/configs/P1023RDB.h
> +++ b/include/configs/P1023RDB.h
> @@ -241,7 +241,6 @@ extern unsigned long get_clock_freq(void);
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * USB
> diff --git a/include/configs/T102xQDS.h b/include/configs/T102xQDS.h
> index 514303486e..173588810d 100644
> --- a/include/configs/T102xQDS.h
> +++ b/include/configs/T102xQDS.h
> @@ -777,7 +777,6 @@ unsigned long get_board_ddr_clk(void);
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/include/configs/T102xRDB.h b/include/configs/T102xRDB.h
> index c4e79664d9..f87af6ba44 100644
> --- a/include/configs/T102xRDB.h
> +++ b/include/configs/T102xRDB.h
> @@ -788,7 +788,6 @@ unsigned long get_board_ddr_clk(void);
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/include/configs/T1040QDS.h b/include/configs/T1040QDS.h
> index 417e2419bf..b8bda52f43 100644
> --- a/include/configs/T1040QDS.h
> +++ b/include/configs/T1040QDS.h
> @@ -656,7 +656,6 @@ unsigned long get_board_ddr_clk(void);
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h
> index da44aa05f1..6182c8d73c 100644
> --- a/include/configs/T104xRDB.h
> +++ b/include/configs/T104xRDB.h
> @@ -770,7 +770,6 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/include/configs/T208xQDS.h b/include/configs/T208xQDS.h
> index 618ab1ec57..8558ba8ba0 100644
> --- a/include/configs/T208xQDS.h
> +++ b/include/configs/T208xQDS.h
> @@ -742,7 +742,6 @@ unsigned long get_board_ddr_clk(void);
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/include/configs/T208xRDB.h b/include/configs/T208xRDB.h
> index 3a43325523..682a87e732 100644
> --- a/include/configs/T208xRDB.h
> +++ b/include/configs/T208xRDB.h
> @@ -688,7 +688,6 @@ unsigned long get_board_ddr_clk(void);
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/include/configs/T4240RDB.h b/include/configs/T4240RDB.h
> index 878f120c45..63fed3c3cc 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 8c12eb1704..e2667f9632 100644
> --- a/include/configs/TQM834x.h
> +++ b/include/configs/TQM834x.h
> @@ -273,7 +273,6 @@
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/include/configs/UCP1020.h b/include/configs/UCP1020.h
> index ccaa89d7cf..8f3f5f910e 100644
> --- a/include/configs/UCP1020.h
> +++ b/include/configs/UCP1020.h
> @@ -418,7 +418,6 @@
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * USB
> diff --git a/include/configs/astro_mcf5373l.h b/include/configs/astro_mcf5373l.h
> index 61989d6bab..61f0d7a938 100644
> --- a/include/configs/astro_mcf5373l.h
> +++ b/include/configs/astro_mcf5373l.h
> @@ -59,7 +59,6 @@
>
>  /* Define which commands should be available at u-boot command prompt */
>
> -#define CONFIG_CMD_REGINFO
>  #define CONFIG_CMDLINE_EDITING
>
>  #define CONFIG_MCFRTC
> diff --git a/include/configs/controlcenterd.h b/include/configs/controlcenterd.h
> index 0fa1b76b7e..e35ded6977 100644
> --- a/include/configs/controlcenterd.h
> +++ b/include/configs/controlcenterd.h
> @@ -338,9 +338,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 4a62662e42..e6648bda46 100644
> --- a/include/configs/corenet_ds.h
> +++ b/include/configs/corenet_ds.h
> @@ -592,7 +592,6 @@
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  /*
>  * USB
> diff --git a/include/configs/cyrus.h b/include/configs/cyrus.h
> index 6f877a8ac8..4b75bce969 100644
> --- a/include/configs/cyrus.h
> +++ b/include/configs/cyrus.h
> @@ -410,7 +410,6 @@
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * USB
> diff --git a/include/configs/dragonboard410c.h b/include/configs/dragonboard410c.h
> index 11c842d952..712e11725b 100644
> --- a/include/configs/dragonboard410c.h
> +++ b/include/configs/dragonboard410c.h
> @@ -49,7 +49,6 @@
>  /* Enable that for switching of boot partitions */
>  /* Disabled by default as some sub-commands can brick eMMC */
>  /*#define CONFIG_SUPPORT_EMMC_BOOT */
> -#define CONFIG_CMD_REGINFO     /* Register dump                */
>  #define CONFIG_CMD_TFTP
>
>  /* Partition table support */
> diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h
> index e7cbfd5192..6b89bab058 100644
> --- a/include/configs/p1_p2_rdb_pc.h
> +++ b/include/configs/p1_p2_rdb_pc.h
> @@ -807,7 +807,6 @@
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * USB
> diff --git a/include/configs/p1_twr.h b/include/configs/p1_twr.h
> index a4a6cf2b6f..560b4380d3 100644
> --- a/include/configs/p1_twr.h
> +++ b/include/configs/p1_twr.h
> @@ -380,7 +380,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * USB
> diff --git a/include/configs/qemu-ppce500.h b/include/configs/qemu-ppce500.h
> index 9782813cdf..cdca1a27ef 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/s5p_goni.h b/include/configs/s5p_goni.h
> index dcfd483f3d..108b573a11 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_REGINFO
> -
>  /* 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/sbc8548.h b/include/configs/sbc8548.h
> index 16c10da122..b3de6545b2 100644
> --- a/include/configs/sbc8548.h
> +++ b/include/configs/sbc8548.h
> @@ -511,7 +511,6 @@
>  /*
>   * 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 0e8e703691..175a6407f9 100644
> --- a/include/configs/sbc8641d.h
> +++ b/include/configs/sbc8641d.h
> @@ -451,8 +451,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 0580c8ceda..e24721bb32 100644
> --- a/include/configs/smdkc100.h
> +++ b/include/configs/smdkc100.h
> @@ -61,8 +61,6 @@
>   ***********************************************************/
>  #undef CONFIG_CMD_NAND

Not related to this commit, I see CMD_NAND is already a Kconfig
option. We may need another patch to clean this up.

>
> -#define CONFIG_CMD_REGINFO
> -
>  #define CONFIG_MTD_DEVICE
>  #define CONFIG_MTD_PARTITIONS
>
> diff --git a/include/configs/socrates.h b/include/configs/socrates.h
> index ef2cd7540a..89119dd14a 100644
> --- a/include/configs/socrates.h
> +++ b/include/configs/socrates.h
> @@ -280,7 +280,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/vct.h b/include/configs/vct.h
> index 08ac7e0c2a..07e2d9e898 100644
> --- a/include/configs/vct.h
> +++ b/include/configs/vct.h
> @@ -247,7 +247,6 @@ int vct_gpio_get(int pin);
>   * (NOR/OneNAND) usage and Linux kernel booting.
>   */
>  #if defined(CONFIG_VCT_SMALL_IMAGE)
> -#undef CONFIG_CMD_REGINFO
>  #undef CONFIG_CMD_STRINGS
>  #undef CONFIG_CMD_TERMINAL
>
> diff --git a/include/configs/xilinx-ppc.h b/include/configs/xilinx-ppc.h
> index 924e0d11e7..e24b2f2e42 100644
> --- a/include/configs/xilinx-ppc.h
> +++ b/include/configs/xilinx-ppc.h
> @@ -24,7 +24,6 @@
>  #define CONFIG_SYS_MALLOC_LEN          (CONFIG_ENV_SIZE + 128 * 1024)
>
>  /*Cmd*/
> -#define CONFIG_CMD_REGINFO
>
>  /*Misc*/
>  #define CONFIG_SYS_LONGHELP            /* undef to save memory         */
> diff --git a/include/configs/xpedite517x.h b/include/configs/xpedite517x.h
> index 1848d9f444..87cdd2a3fd 100644
> --- a/include/configs/xpedite517x.h
> +++ b/include/configs/xpedite517x.h
> @@ -485,7 +485,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
>   * Command configuration.
>   */
>  #define CONFIG_CMD_NAND

Not related to this commit, I see CMD_NAND is already a Kconfig
option. We may need another patch to clean this up.

> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/include/configs/xpedite520x.h b/include/configs/xpedite520x.h
> index 881ef3188d..afa03157ab 100644
> --- a/include/configs/xpedite520x.h
> +++ b/include/configs/xpedite520x.h
> @@ -288,7 +288,6 @@
>   * Command configuration.
>   */
>  #define CONFIG_CMD_NAND

Not related to this commit, I see CMD_NAND is already a Kconfig
option. We may need another patch to clean this up.

> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/include/configs/xpedite537x.h b/include/configs/xpedite537x.h
> index ad2490f456..73ae952c29 100644
> --- a/include/configs/xpedite537x.h
> +++ b/include/configs/xpedite537x.h
> @@ -338,7 +338,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
>   * Command configuration.
>   */
>  #define CONFIG_CMD_NAND

Not related to this commit, I see CMD_NAND is already a Kconfig
option. We may need another patch to clean this up.

> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/include/configs/xpedite550x.h b/include/configs/xpedite550x.h
> index 9fccd563fa..9f9e4bc5bd 100644
> --- a/include/configs/xpedite550x.h
> +++ b/include/configs/xpedite550x.h
> @@ -337,7 +337,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
>   * Command configuration.
>   */
>  #define CONFIG_CMD_NAND

Not related to this commit, I see CMD_NAND is already a Kconfig
option. We may need another patch to clean this up.

> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
> index d3344bfebf..54a018144f 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
> --

Regards,
Bin

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 17/41] Convert CONFIG_CMD_REISER to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 17/41] Convert CONFIG_CMD_REISER " Simon Glass
@ 2017-07-22 15:55   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-22 15:55 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_REISER
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  cmd/Kconfig                  | 9 +++++++++
>  include/config_cmd_all.h     | 1 -
>  include/configs/ethernut5.h  | 1 -
>  scripts/config_whitelist.txt | 1 -
>  4 files changed, 9 insertions(+), 3 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 18/41] Kconfig: sandbox: Drop CONFIG_CMD_SANDBOX option
  2017-07-21 23:11 ` [U-Boot] [PATCH 18/41] Kconfig: sandbox: Drop CONFIG_CMD_SANDBOX option Simon Glass
@ 2017-07-22 15:56   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-22 15:56 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This is no-longer used. Drop it.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  README                       | 1 -
>  include/config_cmd_all.h     | 1 -
>  include/configs/sandbox.h    | 2 --
>  scripts/config_whitelist.txt | 1 -
>  4 files changed, 5 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 16/41] Convert CONFIG_CMD_REGINFO to Kconfig
  2017-07-22 15:53   ` Bin Meng
@ 2017-07-22 15:59     ` Tom Rini
  0 siblings, 0 replies; 88+ messages in thread
From: Tom Rini @ 2017-07-22 15:59 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 11:53:57PM +0800, Bin Meng wrote:
> Hi Simon,
> 
> On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> > This converts the following to Kconfig:
> >    CONFIG_CMD_REGINFO
> >
> > Signed-off-by: Simon Glass <sjg@chromium.org>
[snip]
> > @@ -1380,6 +1390,7 @@ config SYS_PPC_E500_USE_DEBUG_TLB
> >
> >  config FSL_IFC
> >         bool
> > +       imply CMD_REGINFO
> 
> This change is wrong. FSL_IFC is not the right place to "imply
> CMD_REGINFO". I suspect this is a corner case that moveconfig cannot
> handle?
[snip]
> > diff --git a/cmd/Kconfig b/cmd/Kconfig
> > index 2546ef61f6..354949f132 100644
> > --- a/cmd/Kconfig
> > +++ b/cmd/Kconfig
> > @@ -792,6 +792,12 @@ config CMD_READ
> >         help
> >           Provides low-level access to the data in a partition.
> >
> > +config CMD_REGINFO
> > +       bool "reginfo - Print register information"
> > +       depends on PPC
> > +       help
> > +         Provides access to low-level register information.

Indeed.  I think we need to move this to default y instead.


-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170722/e16628ac/attachment.sig>

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 19/41] Convert CONFIG_CMD_SAVES to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 19/41] Convert CONFIG_CMD_SAVES to Kconfig Simon Glass
@ 2017-07-22 16:00   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-22 16:00 UTC (permalink / raw)
  To: u-boot

Hi Simon,

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_SAVES
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  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           | 1 -
>  include/configs/da850evm.h           | 1 -
>  include/configs/ea20.h               | 1 -
>  include/configs/ethernut5.h          | 1 -
>  include/configs/ipam390.h            | 1 -
>  include/configs/legoev3.h            | 1 -
>  include/configs/microblaze-generic.h | 8 --------
>  include/configs/omapl138_lcdk.h      | 1 -
>  include/configs/spear-common.h       | 1 -
>  include/configs/ti_armv7_keystone2.h | 1 -
>  include/configs/x600.h               | 1 -
>  include/configs/xtfpga.h             | 2 --
>  scripts/config_whitelist.txt         | 1 -
>  21 files changed, 16 insertions(+), 23 deletions(-)
>
> diff --git a/README b/README
> index cb954098e4..ce179b828e 100644
> --- a/README
> +++ b/README
> @@ -816,7 +816,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 6ab79a7a7a..c3c389298d 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"
> @@ -571,6 +576,7 @@ config ARCH_KEYSTONE
>         select CMD_POWEROFF
>         imply FIT
>         imply CMD_MTDPARTS
> +       imply CMD_SAVES
>
>  config ARCH_OMAP2PLUS
>         bool "TI OMAP2+"
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index aac79f4bcf..4be801cdfe 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -798,6 +798,12 @@ config CMD_REGINFO
>         help
>           Provides access to low-level register information.
>
> +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.
> +
>  endmenu
>
>
> diff --git a/configs/ethernut5_defconfig b/configs/ethernut5_defconfig
> index 197052dba6..20bff59cac 100644
> --- a/configs/ethernut5_defconfig
> +++ b/configs/ethernut5_defconfig
> @@ -16,6 +16,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 f79907ba14..471be29ee5 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 2e5d5f1ae8..f10d81116a 100644
> --- a/configs/x600_defconfig
> +++ b/configs/x600_defconfig
> @@ -22,6 +22,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 9f85d63965..0fc7141257 100644
> --- a/configs/xtfpga_defconfig
> +++ b/configs/xtfpga_defconfig
> @@ -9,6 +9,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 26c08eeef6..6ad3f17169 100644
> --- a/include/config_cmd_all.h
> +++ b/include/config_cmd_all.h
> @@ -14,7 +14,6 @@
>   */
>
>  #define CONFIG_CMD_NAND                /* NAND support                 */
> -#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_UBIFS       /* UBIFS Support                */
> diff --git a/include/configs/calimain.h b/include/configs/calimain.h
> index d43e3314a7..e0fe981b43 100644
> --- a/include/configs/calimain.h
> +++ b/include/configs/calimain.h
> @@ -298,7 +298,6 @@
>  /*
>   * U-Boot commands
>   */

The above comments should be removed.

> -#define CONFIG_CMD_SAVES
>
>  #ifndef CONFIG_DRIVER_TI_EMAC
>  #endif
> diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
> index 1bb38651d2..689f68c869 100644
> --- a/include/configs/da850evm.h
> +++ b/include/configs/da850evm.h
> @@ -272,7 +272,6 @@
>  /*
>   * U-Boot commands
>   */

ditto.

> -#define CONFIG_CMD_SAVES
>
>  #ifdef CONFIG_CMD_BDI
>  #define CONFIG_CLOCKS
> diff --git a/include/configs/ea20.h b/include/configs/ea20.h
> index 0b8464c044..38cf11076d 100644
> --- a/include/configs/ea20.h
> +++ b/include/configs/ea20.h
> @@ -127,7 +127,6 @@
>  /*
>   * U-Boot commands
>   */

ditto.

> -#define CONFIG_CMD_SAVES
>
>  #ifdef CONFIG_CMD_BDI
>  #define CONFIG_CLOCKS
> diff --git a/include/configs/ethernut5.h b/include/configs/ethernut5.h
> index 8b9aaaa2c4..4ad114e8ba 100644
> --- a/include/configs/ethernut5.h
> +++ b/include/configs/ethernut5.h
> @@ -87,7 +87,6 @@
>  #define CONFIG_CMD_NAND
>
>  #ifndef MINIMAL_LOADER
> -#define CONFIG_CMD_SAVES
>  #define CONFIG_CMD_UBIFS
>  #endif
>
> diff --git a/include/configs/ipam390.h b/include/configs/ipam390.h
> index b2b969ade2..95cd769843 100644
> --- a/include/configs/ipam390.h
> +++ b/include/configs/ipam390.h
> @@ -240,7 +240,6 @@
>  /*
>   * U-Boot commands
>   */

ditto.

> -#define CONFIG_CMD_SAVES
>
>  #ifdef CONFIG_CMD_BDI
>  #define CONFIG_CLOCKS
> diff --git a/include/configs/legoev3.h b/include/configs/legoev3.h
> index 15da4074f2..34c65f3920 100644
> --- a/include/configs/legoev3.h
> +++ b/include/configs/legoev3.h
> @@ -200,7 +200,6 @@
>  /*
>   * U-Boot commands
>   */

ditto.

> -#define CONFIG_CMD_SAVES
>
>  #ifdef CONFIG_CMD_BDI
>  #define CONFIG_CLOCKS
> diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
> index 84b4154ec5..5a1875ad15 100644
> --- a/include/configs/microblaze-generic.h
> +++ b/include/configs/microblaze-generic.h
> @@ -172,16 +172,8 @@
>  #if defined(FLASH)
>  # undef CONFIG_CMD_UBIFS
>
> -# if !defined(RAMENV)
> -#  define CONFIG_CMD_SAVES
> -# endif
> -
>  #else
>  #if defined(SPIFLASH)
> -
> -# if !defined(RAMENV)
> -#  define CONFIG_CMD_SAVES
> -# endif
>  #else
>  # undef CONFIG_CMD_UBIFS
>  #endif
> diff --git a/include/configs/omapl138_lcdk.h b/include/configs/omapl138_lcdk.h
> index dee0ae0d9a..168da4ab95 100644
> --- a/include/configs/omapl138_lcdk.h
> +++ b/include/configs/omapl138_lcdk.h
> @@ -283,7 +283,6 @@
>  /*
>   * U-Boot commands
>   */

ditto.

> -#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 86e14ffac8..d69e116085 100644
> --- a/include/configs/spear-common.h
> +++ b/include/configs/spear-common.h
> @@ -97,7 +97,6 @@
>   * Command support defines
>   */
>  #define CONFIG_CMD_NAND
> -#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 ac8dabd9ca..b76d20c969 100644
> --- a/include/configs/ti_armv7_keystone2.h
> +++ b/include/configs/ti_armv7_keystone2.h
> @@ -202,7 +202,6 @@
>  #define CONFIG_USB_PHY_CFG_BASE                        KS2_USB_PHY_CFG_BASE
>
>  /* U-Boot command configuration */
> -#define CONFIG_CMD_SAVES
>  #define CONFIG_CMD_UBIFS
>
>  /* U-Boot general configuration */
> diff --git a/include/configs/x600.h b/include/configs/x600.h
> index 3ff6b70bde..c5fd973147 100644
> --- a/include/configs/x600.h
> +++ b/include/configs/x600.h
> @@ -107,7 +107,6 @@
>   * Command support defines
>   */
>  #define CONFIG_CMD_NAND
> -#define CONFIG_CMD_SAVES
>  #define CONFIG_CMD_UBIFS
>  #define CONFIG_LZO
>
> diff --git a/include/configs/xtfpga.h b/include/configs/xtfpga.h
> index 7d7d9bb983..44120db963 100644
> --- a/include/configs/xtfpga.h
> +++ b/include/configs/xtfpga.h
> @@ -127,8 +127,6 @@
>  /* U-Boot commands */
>  /*=================*/
>

ditto.

> -#define CONFIG_CMD_SAVES
> -
>  /*==============================*/
>  /* U-Boot autoboot configuration */
>  /*==============================*/
> diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
> index 221525b78a..a0b39a355f 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
> --

Regards,
Bin

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 20/41] Convert CONFIG_CMD_SCSI to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 20/41] Convert CONFIG_CMD_SCSI " Simon Glass
@ 2017-07-22 16:04   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-22 16:04 UTC (permalink / raw)
  To: u-boot

Hi Simon,

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_SCSI
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  arch/arm/Kconfig                  | 3 +++
>  cmd/Kconfig                       | 9 +++++++++
>  cmd/Makefile                      | 2 +-
>  configs/cl-som-am57x_defconfig    | 1 +
>  configs/controlcenterdc_defconfig | 1 +
>  configs/ls1012aqds_qspi_defconfig | 1 +
>  include/configs/cl-som-am57x.h    | 1 -
>  include/configs/controlcenterdc.h | 1 -
>  include/configs/ls1012aqds.h      | 1 -
>  include/configs/ls1012ardb.h      | 1 -
>  include/configs/ls1021aiot.h      | 1 -
>  include/configs/ls1043ardb.h      | 1 -
>  scripts/config_whitelist.txt      | 1 -
>  13 files changed, 16 insertions(+), 8 deletions(-)
>
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index c3c389298d..3cc252ac27 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -878,6 +878,7 @@ config TARGET_LS1012ARDB
>         select ARM64
>         select BOARD_LATE_INIT
>         imply SCSI
> +       imply CMD_SCSI
>         help
>           Support for Freescale LS1012ARDB platform.
>           The LS1012A Reference design board (RDB) is a high-performance
> @@ -931,6 +932,7 @@ config TARGET_LS1021AIOT
>         select ARCH_LS1021A
>         select ARCH_SUPPORT_PSCI
>         imply SCSI
> +       imply CMD_SCSI
>         help
>           Support for Freescale LS1021AIOT platform.
>           The LS1021A Freescale board (IOT) is a high-performance
> @@ -958,6 +960,7 @@ config TARGET_LS1043ARDB
>         select SUPPORT_SPL
>         select BOARD_EARLY_INIT_F
>         imply SCSI
> +       imply CMD_SCSI
>         help
>           Support for Freescale LS1043ARDB platform.
>
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index 4be801cdfe..ce1a358e08 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -1289,6 +1289,15 @@ config CMD_REISER
>             reiserls - list files
>             reiserload - load a file
>
> +config CMD_SCSI
> +       bool "scsi - Access to SCSI devices"
> +       select SCSI
> +       help
> +         This provides a 'scsi' command which provides access to SCSI (Small
> +         Computer System Interface) devices. The command provides a way to
> +         scan the bus, reset the bus, read and write data and get information
> +         about devices.
> +
>  endmenu
>
>  menu "Debug commands"
> diff --git a/cmd/Makefile b/cmd/Makefile
> index eff6bd678f..a85fe25dda 100644
> --- a/cmd/Makefile
> +++ b/cmd/Makefile
> @@ -106,7 +106,7 @@ obj-$(CONFIG_CMD_REMOTEPROC) += remoteproc.o
>  obj-$(CONFIG_SANDBOX) += host.o
>  obj-$(CONFIG_CMD_SATA) += sata.o
>  obj-$(CONFIG_CMD_SF) += sf.o
> -obj-$(CONFIG_SCSI) += scsi.o disk.o
> +obj-$(CONFIG_CMD_SCSI) += scsi.o disk.o

This looks odd. I remember you have another patch previously that
split CMD_SCSI from SCSI itself.

>  obj-$(CONFIG_CMD_SHA1SUM) += sha1sum.o
>  obj-$(CONFIG_CMD_SETEXPR) += setexpr.o
>  obj-$(CONFIG_CMD_SPI) += spi.o
> diff --git a/configs/cl-som-am57x_defconfig b/configs/cl-som-am57x_defconfig
> index 2f1863f1ee..10c10f2387 100644
> --- a/configs/cl-som-am57x_defconfig
> +++ b/configs/cl-som-am57x_defconfig
> @@ -32,6 +32,7 @@ CONFIG_CMD_EXT4=y
>  CONFIG_CMD_EXT4_WRITE=y
>  CONFIG_CMD_FAT=y
>  CONFIG_CMD_FS_GENERIC=y
> +CONFIG_CMD_SCSI=y
>  CONFIG_ISO_PARTITION=y
>  CONFIG_CMD_PCA953X=y
>  CONFIG_LED_STATUS=y
> diff --git a/configs/controlcenterdc_defconfig b/configs/controlcenterdc_defconfig
> index c7102810a3..01db848b4e 100644
> --- a/configs/controlcenterdc_defconfig
> +++ b/configs/controlcenterdc_defconfig
> @@ -32,6 +32,7 @@ CONFIG_CMD_TIME=y
>  CONFIG_CMD_TPM=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_EXT4=y
> +CONFIG_CMD_SCSI=y
>  CONFIG_EFI_PARTITION=y
>  CONFIG_OF_BOARD_FIXUP=y
>  CONFIG_SPL_OF_TRANSLATE=y
> diff --git a/configs/ls1012aqds_qspi_defconfig b/configs/ls1012aqds_qspi_defconfig
> index ea8e262317..c8864fa7b0 100644
> --- a/configs/ls1012aqds_qspi_defconfig
> +++ b/configs/ls1012aqds_qspi_defconfig
> @@ -28,6 +28,7 @@ CONFIG_CMD_CACHE=y
>  CONFIG_CMD_DATE=y
>  CONFIG_CMD_EXT2=y
>  CONFIG_CMD_FAT=y
> +CONFIG_CMD_SCSI=y
>  CONFIG_OF_CONTROL=y
>  CONFIG_NET_RANDOM_ETHADDR=y
>  CONFIG_DM=y
> diff --git a/include/configs/cl-som-am57x.h b/include/configs/cl-som-am57x.h
> index ecc87fb6d2..d4a28a597c 100644
> --- a/include/configs/cl-som-am57x.h
> +++ b/include/configs/cl-som-am57x.h
> @@ -65,7 +65,6 @@
>
>  #ifndef CONFIG_SPL_BUILD
>  /* SATA */
> -#define CONFIG_CMD_SCSI
>  #define CONFIG_LIBATA
>  #define CONFIG_SCSI_AHCI
>  #define CONFIG_SCSI_AHCI_PLAT
> diff --git a/include/configs/controlcenterdc.h b/include/configs/controlcenterdc.h
> index 09af7829ca..a9beb80c92 100644
> --- a/include/configs/controlcenterdc.h
> +++ b/include/configs/controlcenterdc.h
> @@ -33,7 +33,6 @@
>   * Commands configuration
>   */
>  #define CONFIG_CMD_I2C
> -#define CONFIG_CMD_SCSI
>  #define CONFIG_CMD_SPI
>
>  /* SPI NOR flash default params, used by sf commands */
> diff --git a/include/configs/ls1012aqds.h b/include/configs/ls1012aqds.h
> index 162b866ad5..46cc33deac 100644
> --- a/include/configs/ls1012aqds.h
> +++ b/include/configs/ls1012aqds.h
> @@ -137,7 +137,6 @@
>  #define CONFIG_LIBATA
>  #define CONFIG_SCSI_AHCI
>  #define CONFIG_SCSI_AHCI_PLAT
> -#define CONFIG_CMD_SCSI
>
>  #define CONFIG_SYS_SATA                                AHCI_BASE_ADDR
>
> diff --git a/include/configs/ls1012ardb.h b/include/configs/ls1012ardb.h
> index 653837c689..8d7888aec8 100644
> --- a/include/configs/ls1012ardb.h
> +++ b/include/configs/ls1012ardb.h
> @@ -53,7 +53,6 @@
>  #define CONFIG_LIBATA
>  #define CONFIG_SCSI_AHCI
>  #define CONFIG_SCSI_AHCI_PLAT
> -#define CONFIG_CMD_SCSI
>
>  #define CONFIG_SYS_SATA                                AHCI_BASE_ADDR
>
> diff --git a/include/configs/ls1021aiot.h b/include/configs/ls1021aiot.h
> index 100b8511ac..9c3133caa8 100644
> --- a/include/configs/ls1021aiot.h
> +++ b/include/configs/ls1021aiot.h
> @@ -143,7 +143,6 @@
>  #define CONFIG_FSL_ESDHC
>
>  /* SATA */
> -#define CONFIG_CMD_SCSI
>  #define CONFIG_LIBATA
>  #define CONFIG_SCSI_AHCI
>  #define CONFIG_SCSI_AHCI_PLAT
> diff --git a/include/configs/ls1043ardb.h b/include/configs/ls1043ardb.h
> index deae787358..79f2dc2987 100644
> --- a/include/configs/ls1043ardb.h
> +++ b/include/configs/ls1043ardb.h
> @@ -299,7 +299,6 @@
>  #ifndef SPL_NO_SATA
>  #define CONFIG_LIBATA
>  #define CONFIG_SCSI_AHCI
> -#define CONFIG_CMD_SCSI
>  #ifndef CONFIG_CMD_EXT2
>  #define CONFIG_CMD_EXT2
>  #endif
> diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
> index a0b39a355f..4949e182c9 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_SCSI
>  CONFIG_CMD_SDRAM
>  CONFIG_CMD_SF_TEST
>  CONFIG_CMD_SH_ZIMAGEBOOT
> --

Regards,
Bin

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 21/41] Convert CONFIG_CMD_SDRAM to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 21/41] Convert CONFIG_CMD_SDRAM " Simon Glass
@ 2017-07-22 16:26   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-22 16:26 UTC (permalink / raw)
  To: u-boot

Hi Simon,

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_SDRAM
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  README                               | 2 --
>  cmd/Kconfig                          | 7 +++++++
>  configs/MPC8349ITXGP_defconfig       | 1 +
>  configs/MPC8349ITX_LOWBOOT_defconfig | 1 +
>  configs/MPC8349ITX_defconfig         | 1 +
>  configs/MigoR_defconfig              | 1 +
>  configs/alt_defconfig                | 1 +
>  configs/ap325rxa_defconfig           | 1 +
>  configs/ap_sh4a_4a_defconfig         | 1 +
>  configs/armadillo-800eva_defconfig   | 1 +
>  configs/blanche_defconfig            | 1 +
>  configs/ecovec_defconfig             | 1 +
>  configs/espt_defconfig               | 1 +
>  configs/gose_defconfig               | 1 +
>  configs/koelsch_defconfig            | 1 +
>  configs/lager_defconfig              | 1 +
>  configs/ms7720se_defconfig           | 1 +
>  configs/ms7722se_defconfig           | 1 +
>  configs/porter_defconfig             | 1 +
>  configs/r0p7734_defconfig            | 1 +
>  configs/r7780mp_defconfig            | 1 +
>  configs/r8a7795_salvator-x_defconfig | 1 +
>  configs/r8a7796_salvator-x_defconfig | 1 +
>  configs/rsk7203_defconfig            | 1 +
>  configs/sh7752evb_defconfig          | 1 +
>  configs/sh7753evb_defconfig          | 1 +
>  configs/sh7757lcr_defconfig          | 1 +
>  configs/sh7763rdp_defconfig          | 1 +
>  configs/sh7785lcr_32bit_defconfig    | 1 +
>  configs/sh7785lcr_defconfig          | 1 +
>  configs/shmin_defconfig              | 1 +
>  configs/silk_defconfig               | 1 +
>  configs/socrates_defconfig           | 1 +
>  configs/stout_defconfig              | 1 +
>  include/config_cmd_all.h             | 1 -
>  include/configs/MPC8349ITX.h         | 1 -
>  include/configs/MigoR.h              | 2 --
>  include/configs/ap325rxa.h           | 2 --
>  include/configs/ap_sh4a_4a.h         | 2 --
>  include/configs/armadillo-800eva.h   | 2 --
>  include/configs/ecovec.h             | 2 --
>  include/configs/espt.h               | 1 -
>  include/configs/ms7720se.h           | 2 --
>  include/configs/ms7722se.h           | 2 --
>  include/configs/r0p7734.h            | 2 --
>  include/configs/r7780mp.h            | 1 -
>  include/configs/rcar-gen2-common.h   | 2 --
>  include/configs/rcar-gen3-common.h   | 1 -
>  include/configs/rsk7203.h            | 2 --
>  include/configs/sh7752evb.h          | 2 --
>  include/configs/sh7753evb.h          | 2 --
>  include/configs/sh7757lcr.h          | 2 --
>  include/configs/sh7763rdp.h          | 1 -
>  include/configs/sh7785lcr.h          | 1 -
>  include/configs/shmin.h              | 2 --
>  include/configs/socrates.h           | 1 -
>  scripts/config_whitelist.txt         | 1 -
>  57 files changed, 39 insertions(+), 39 deletions(-)
>
> diff --git a/README b/README
> index ce179b828e..3958821f57 100644
> --- a/README
> +++ b/README
> @@ -816,8 +816,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_SDRAM        * print SDRAM configuration information
> -                                         (requires CONFIG_CMD_I2C)
>                 CONFIG_CMD_SF           * Read/write/erase SPI NOR flash
>                 CONFIG_CMD_SOFTSWITCH   * Soft switch setting command for BF60x
>                 CONFIG_CMD_SOURCE         "source" command Support
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index ce1a358e08..28aba0e780 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -804,6 +804,13 @@ config CMD_SAVES
>           Provides a way to save a binary file using the Motorola S-Record
>           format over the serial line.
>
> +config CMD_SDRAM
> +       bool "sdram - Print SDRAM configuration information"
> +       help
> +         Provides information about attached SDRAM. This assumed that the
> +         SDRAM has an EEPROM with information that can be read using the
> +         I2C bus. This is only available on some boards.
> +
>  endmenu
>
>
> diff --git a/configs/MPC8349ITXGP_defconfig b/configs/MPC8349ITXGP_defconfig
> index 09af09d4c3..f1cfd3705c 100644
> --- a/configs/MPC8349ITXGP_defconfig
> +++ b/configs/MPC8349ITXGP_defconfig
> @@ -9,6 +9,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_SYS_PROMPT="MPC8349E-mITX-GP> "
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_SDRAM=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 0650c7979a..4974dd1a9c 100644
> --- a/configs/MPC8349ITX_LOWBOOT_defconfig
> +++ b/configs/MPC8349ITX_LOWBOOT_defconfig
> @@ -12,6 +12,7 @@ CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_SATA=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_SDRAM=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 3763f49ba6..22805ae63e 100644
> --- a/configs/MPC8349ITX_defconfig
> +++ b/configs/MPC8349ITX_defconfig
> @@ -12,6 +12,7 @@ CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_SATA=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_SDRAM=y
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_PING=y
> diff --git a/configs/MigoR_defconfig b/configs/MigoR_defconfig
> index f09794e13c..eb4ab40e26 100644
> --- a/configs/MigoR_defconfig
> +++ b/configs/MigoR_defconfig
> @@ -12,6 +12,7 @@ CONFIG_VERSION_VARIABLE=y
>  # CONFIG_CMD_EDITENV is not set
>  # CONFIG_CMD_ENV_EXISTS is not set
>  # CONFIG_CMD_FPGA is not set
> +CONFIG_CMD_SDRAM=y
>  # CONFIG_CMD_ECHO is not set
>  # CONFIG_CMD_ITEST is not set
>  # CONFIG_CMD_SOURCE is not set
> diff --git a/configs/alt_defconfig b/configs/alt_defconfig
> index 04dda72532..3e7a0fdfc3 100644
> --- a/configs/alt_defconfig
> +++ b/configs/alt_defconfig
> @@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_SPI=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
> +CONFIG_CMD_SDRAM=y
>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
> diff --git a/configs/ap325rxa_defconfig b/configs/ap325rxa_defconfig
> index ebefd126a8..2571049f95 100644
> --- a/configs/ap325rxa_defconfig
> +++ b/configs/ap325rxa_defconfig
> @@ -13,6 +13,7 @@ CONFIG_VERSION_VARIABLE=y
>  # CONFIG_CMD_ENV_EXISTS is not set
>  CONFIG_CMD_IDE=y
>  # CONFIG_CMD_FPGA is not set
> +CONFIG_CMD_SDRAM=y
>  # CONFIG_CMD_ECHO is not set
>  # CONFIG_CMD_ITEST is not set
>  # CONFIG_CMD_SOURCE is not set
> diff --git a/configs/ap_sh4a_4a_defconfig b/configs/ap_sh4a_4a_defconfig
> index 41c8be9120..ba753d6753 100644
> --- a/configs/ap_sh4a_4a_defconfig
> +++ b/configs/ap_sh4a_4a_defconfig
> @@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
>  # CONFIG_CMD_LOADB is not set
>  # CONFIG_CMD_LOADS is not set
>  # CONFIG_CMD_FPGA is not set
> +CONFIG_CMD_SDRAM=y
>  # CONFIG_CMD_ECHO is not set
>  # CONFIG_CMD_ITEST is not set
>  # CONFIG_CMD_SOURCE is not set
> diff --git a/configs/armadillo-800eva_defconfig b/configs/armadillo-800eva_defconfig
> index 4c16ec19fd..35bb0720eb 100644
> --- a/configs/armadillo-800eva_defconfig
> +++ b/configs/armadillo-800eva_defconfig
> @@ -17,6 +17,7 @@ CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_LOADB is not set
>  # CONFIG_CMD_FLASH is not set
>  # CONFIG_CMD_FPGA is not set
> +CONFIG_CMD_SDRAM=y
>  # CONFIG_CMD_ECHO is not set
>  # CONFIG_CMD_ITEST is not set
>  # CONFIG_CMD_SOURCE is not set
> diff --git a/configs/blanche_defconfig b/configs/blanche_defconfig
> index bf7700cbe1..2d99b4466f 100644
> --- a/configs/blanche_defconfig
> +++ b/configs/blanche_defconfig
> @@ -8,6 +8,7 @@ CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
>  # CONFIG_CMD_XIMG is not set
>  CONFIG_CMD_MMC=y
> +CONFIG_CMD_SDRAM=y
>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
> diff --git a/configs/ecovec_defconfig b/configs/ecovec_defconfig
> index cc172f5181..b2cc056e33 100644
> --- a/configs/ecovec_defconfig
> +++ b/configs/ecovec_defconfig
> @@ -16,6 +16,7 @@ CONFIG_VERSION_VARIABLE=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  # CONFIG_CMD_FPGA is not set
> +CONFIG_CMD_SDRAM=y
>  # CONFIG_CMD_ECHO is not set
>  # CONFIG_CMD_ITEST is not set
>  # CONFIG_CMD_SOURCE is not set
> diff --git a/configs/espt_defconfig b/configs/espt_defconfig
> index a6a7af9755..ee2a13d14a 100644
> --- a/configs/espt_defconfig
> +++ b/configs/espt_defconfig
> @@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
>  # CONFIG_CMD_LOADB is not set
>  # CONFIG_CMD_LOADS is not set
>  # CONFIG_CMD_FPGA is not set
> +CONFIG_CMD_SDRAM=y
>  # CONFIG_CMD_ECHO is not set
>  # CONFIG_CMD_ITEST is not set
>  # CONFIG_CMD_SOURCE is not set
> diff --git a/configs/gose_defconfig b/configs/gose_defconfig
> index 5627a18631..3d9c48b216 100644
> --- a/configs/gose_defconfig
> +++ b/configs/gose_defconfig
> @@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_SPI=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
> +CONFIG_CMD_SDRAM=y
>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
> diff --git a/configs/koelsch_defconfig b/configs/koelsch_defconfig
> index 465a6be8e7..8f447c7d37 100644
> --- a/configs/koelsch_defconfig
> +++ b/configs/koelsch_defconfig
> @@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_SPI=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
> +CONFIG_CMD_SDRAM=y
>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
> diff --git a/configs/lager_defconfig b/configs/lager_defconfig
> index c2f216bd51..8c4f45e7ff 100644
> --- a/configs/lager_defconfig
> +++ b/configs/lager_defconfig
> @@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_SPI=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
> +CONFIG_CMD_SDRAM=y
>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
> diff --git a/configs/ms7720se_defconfig b/configs/ms7720se_defconfig
> index e1d8588233..7e343de66c 100644
> --- a/configs/ms7720se_defconfig
> +++ b/configs/ms7720se_defconfig
> @@ -16,6 +16,7 @@ CONFIG_CMD_IDE=y
>  # CONFIG_CMD_LOADS is not set
>  # CONFIG_CMD_FPGA is not set
>  CONFIG_CMD_PCMCIA=y
> +CONFIG_CMD_SDRAM=y
>  # CONFIG_CMD_ECHO is not set
>  # CONFIG_CMD_ITEST is not set
>  # CONFIG_CMD_SOURCE is not set
> diff --git a/configs/ms7722se_defconfig b/configs/ms7722se_defconfig
> index 92f3158dae..dcc7d7d5a3 100644
> --- a/configs/ms7722se_defconfig
> +++ b/configs/ms7722se_defconfig
> @@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
>  # CONFIG_CMD_LOADB is not set
>  # CONFIG_CMD_LOADS is not set
>  # CONFIG_CMD_FPGA is not set
> +CONFIG_CMD_SDRAM=y
>  # CONFIG_CMD_ECHO is not set
>  # CONFIG_CMD_ITEST is not set
>  # CONFIG_CMD_SOURCE is not set
> diff --git a/configs/porter_defconfig b/configs/porter_defconfig
> index a50d9ed99b..bea42bef90 100644
> --- a/configs/porter_defconfig
> +++ b/configs/porter_defconfig
> @@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_SPI=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
> +CONFIG_CMD_SDRAM=y
>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
> diff --git a/configs/r0p7734_defconfig b/configs/r0p7734_defconfig
> index 91b08dc24f..7fc54456e8 100644
> --- a/configs/r0p7734_defconfig
> +++ b/configs/r0p7734_defconfig
> @@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
>  # CONFIG_CMD_LOADB is not set
>  # CONFIG_CMD_LOADS is not set
>  # CONFIG_CMD_FPGA is not set
> +CONFIG_CMD_SDRAM=y
>  # CONFIG_CMD_ECHO is not set
>  # CONFIG_CMD_ITEST is not set
>  # CONFIG_CMD_SOURCE is not set
> diff --git a/configs/r7780mp_defconfig b/configs/r7780mp_defconfig
> index 57204fb7e5..30c036dd81 100644
> --- a/configs/r7780mp_defconfig
> +++ b/configs/r7780mp_defconfig
> @@ -15,6 +15,7 @@ CONFIG_CMD_IDE=y
>  # CONFIG_CMD_LOADS is not set
>  # CONFIG_CMD_FPGA is not set
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_SDRAM=y
>  # CONFIG_CMD_ECHO is not set
>  # CONFIG_CMD_ITEST is not set
>  # CONFIG_CMD_SOURCE is not set
> diff --git a/configs/r8a7795_salvator-x_defconfig b/configs/r8a7795_salvator-x_defconfig
> index c0e3999f96..52bfb28505 100644
> --- a/configs/r8a7795_salvator-x_defconfig
> +++ b/configs/r8a7795_salvator-x_defconfig
> @@ -9,6 +9,7 @@ CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_USB=y
> +CONFIG_CMD_SDRAM=y
>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
> diff --git a/configs/r8a7796_salvator-x_defconfig b/configs/r8a7796_salvator-x_defconfig
> index d57305112b..2ad0ff8f7d 100644
> --- a/configs/r8a7796_salvator-x_defconfig
> +++ b/configs/r8a7796_salvator-x_defconfig
> @@ -10,6 +10,7 @@ CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_USB=y
> +CONFIG_CMD_SDRAM=y
>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
> diff --git a/configs/rsk7203_defconfig b/configs/rsk7203_defconfig
> index 1aeb78aad1..2289ca06fb 100644
> --- a/configs/rsk7203_defconfig
> +++ b/configs/rsk7203_defconfig
> @@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
>  # CONFIG_CMD_LOADB is not set
>  # CONFIG_CMD_LOADS is not set
>  # CONFIG_CMD_FPGA is not set
> +CONFIG_CMD_SDRAM=y
>  # CONFIG_CMD_ECHO is not set
>  # CONFIG_CMD_ITEST is not set
>  # CONFIG_CMD_SOURCE is not set
> diff --git a/configs/sh7752evb_defconfig b/configs/sh7752evb_defconfig
> index 4e19243f0d..e6e61d81da 100644
> --- a/configs/sh7752evb_defconfig
> +++ b/configs/sh7752evb_defconfig
> @@ -17,6 +17,7 @@ CONFIG_CMD_MD5SUM=y
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_SF=y
>  # CONFIG_CMD_FPGA is not set
> +CONFIG_CMD_SDRAM=y
>  # CONFIG_CMD_ECHO is not set
>  # CONFIG_CMD_ITEST is not set
>  # CONFIG_CMD_SOURCE is not set
> diff --git a/configs/sh7753evb_defconfig b/configs/sh7753evb_defconfig
> index 23b7d7df48..0363c6f95e 100644
> --- a/configs/sh7753evb_defconfig
> +++ b/configs/sh7753evb_defconfig
> @@ -16,6 +16,7 @@ CONFIG_CMD_MD5SUM=y
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_SF=y
>  # CONFIG_CMD_FPGA is not set
> +CONFIG_CMD_SDRAM=y
>  # CONFIG_CMD_ECHO is not set
>  # CONFIG_CMD_ITEST is not set
>  # CONFIG_CMD_SOURCE is not set
> diff --git a/configs/sh7757lcr_defconfig b/configs/sh7757lcr_defconfig
> index 44224e1e43..28425e6d15 100644
> --- a/configs/sh7757lcr_defconfig
> +++ b/configs/sh7757lcr_defconfig
> @@ -17,6 +17,7 @@ CONFIG_CMD_MD5SUM=y
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_SF=y
>  # CONFIG_CMD_FPGA is not set
> +CONFIG_CMD_SDRAM=y
>  # CONFIG_CMD_ECHO is not set
>  # CONFIG_CMD_ITEST is not set
>  # CONFIG_CMD_SOURCE is not set
> diff --git a/configs/sh7763rdp_defconfig b/configs/sh7763rdp_defconfig
> index 028616666c..3e564b5f8d 100644
> --- a/configs/sh7763rdp_defconfig
> +++ b/configs/sh7763rdp_defconfig
> @@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
>  # CONFIG_CMD_LOADB is not set
>  # CONFIG_CMD_LOADS is not set
>  # CONFIG_CMD_FPGA is not set
> +CONFIG_CMD_SDRAM=y
>  # CONFIG_CMD_ECHO is not set
>  # CONFIG_CMD_ITEST is not set
>  # CONFIG_CMD_SOURCE is not set
> diff --git a/configs/sh7785lcr_32bit_defconfig b/configs/sh7785lcr_32bit_defconfig
> index 27f40f2a7b..1280e588c0 100644
> --- a/configs/sh7785lcr_32bit_defconfig
> +++ b/configs/sh7785lcr_32bit_defconfig
> @@ -16,6 +16,7 @@ CONFIG_VERSION_VARIABLE=y
>  CONFIG_CMD_USB=y
>  # CONFIG_CMD_FPGA is not set
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_SDRAM=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 6b3b453f02..cd9a59b62a 100644
> --- a/configs/sh7785lcr_defconfig
> +++ b/configs/sh7785lcr_defconfig
> @@ -15,6 +15,7 @@ CONFIG_VERSION_VARIABLE=y
>  CONFIG_CMD_USB=y
>  # CONFIG_CMD_FPGA is not set
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_SDRAM=y
>  # CONFIG_CMD_ECHO is not set
>  # CONFIG_CMD_ITEST is not set
>  # CONFIG_CMD_SOURCE is not set
> diff --git a/configs/shmin_defconfig b/configs/shmin_defconfig
> index dffff1187b..685c105f72 100644
> --- a/configs/shmin_defconfig
> +++ b/configs/shmin_defconfig
> @@ -14,6 +14,7 @@ CONFIG_VERSION_VARIABLE=y
>  # CONFIG_CMD_LOADB is not set
>  # CONFIG_CMD_LOADS is not set
>  # CONFIG_CMD_FPGA is not set
> +CONFIG_CMD_SDRAM=y
>  # CONFIG_CMD_ECHO is not set
>  # CONFIG_CMD_ITEST is not set
>  # CONFIG_CMD_SOURCE is not set
> diff --git a/configs/silk_defconfig b/configs/silk_defconfig
> index d161c3bb88..2abeb82258 100644
> --- a/configs/silk_defconfig
> +++ b/configs/silk_defconfig
> @@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_SPI=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
> +CONFIG_CMD_SDRAM=y
>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
> diff --git a/configs/socrates_defconfig b/configs/socrates_defconfig
> index 76943a633a..1d80beb312 100644
> --- a/configs/socrates_defconfig
> +++ b/configs/socrates_defconfig
> @@ -14,6 +14,7 @@ CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
>  CONFIG_CMD_REGINFO=y
> +CONFIG_CMD_SDRAM=y
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_CMD_DHCP=y
>  # CONFIG_CMD_NFS is not set
> diff --git a/configs/stout_defconfig b/configs/stout_defconfig
> index 48989aaea6..2efa5b7a57 100644
> --- a/configs/stout_defconfig
> +++ b/configs/stout_defconfig
> @@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_SPI=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
> +CONFIG_CMD_SDRAM=y
>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
> diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
> index 6ad3f17169..db9f336431 100644
> --- a/include/config_cmd_all.h
> +++ b/include/config_cmd_all.h
> @@ -14,7 +14,6 @@
>   */
>
>  #define CONFIG_CMD_NAND                /* NAND support                 */
> -#define CONFIG_CMD_SDRAM       /* SDRAM DIMM SPD info printout */
>  #define CONFIG_CMD_TERMINAL    /* built-in Serial Terminal     */
>  #define CONFIG_CMD_UBIFS       /* UBIFS Support                */
>  #define CONFIG_CMD_UNIVERSE    /* Tundra Universe Support      */
> diff --git a/include/configs/MPC8349ITX.h b/include/configs/MPC8349ITX.h
> index a825cd6a79..393d2103f5 100644
> --- a/include/configs/MPC8349ITX.h
> +++ b/include/configs/MPC8349ITX.h
> @@ -478,7 +478,6 @@ boards, we say we have two, but don't display a message if we find only one. */
>  /*
>   * Command line configuration.
>   */

The above comments should be removed.

> -#define CONFIG_CMD_SDRAM
>
>  #if defined(CONFIG_COMPACT_FLASH) || defined(CONFIG_SATA_SIL3114) \
>                                 || defined(CONFIG_USB_STORAGE)
> diff --git a/include/configs/MigoR.h b/include/configs/MigoR.h
> index 7217426d3a..ed753870cc 100644
> --- a/include/configs/MigoR.h
> +++ b/include/configs/MigoR.h
> @@ -12,8 +12,6 @@
>  #define CONFIG_CPU_SH7722      1
>  #define CONFIG_MIGO_R          1
>
> -#define CONFIG_CMD_SDRAM
> -
>  #define CONFIG_BOOTARGS                "console=ttySC0,115200 root=1f01"
>
>  #define CONFIG_DISPLAY_BOARDINFO
> diff --git a/include/configs/ap325rxa.h b/include/configs/ap325rxa.h
> index b3c22cf4a4..622c4b4758 100644
> --- a/include/configs/ap325rxa.h
> +++ b/include/configs/ap325rxa.h
> @@ -13,8 +13,6 @@
>  #define CONFIG_CPU_SH7723      1
>  #define CONFIG_AP325RXA        1
>
> -#define CONFIG_CMD_SDRAM
> -
>  #define CONFIG_BOOTARGS                "console=ttySC2,38400"
>
>  #define CONFIG_DISPLAY_BOARDINFO
> diff --git a/include/configs/ap_sh4a_4a.h b/include/configs/ap_sh4a_4a.h
> index 440505dd1f..4fa6b2eb38 100644
> --- a/include/configs/ap_sh4a_4a.h
> +++ b/include/configs/ap_sh4a_4a.h
> @@ -16,8 +16,6 @@
>
>  #define CONFIG_SYS_TEXT_BASE 0x8BFC0000
>
> -#define CONFIG_CMD_SDRAM
> -
>  #define CONFIG_BOOTARGS                "console=ttySC4,115200"
>
>  #define CONFIG_DISPLAY_BOARDINFO
> diff --git a/include/configs/armadillo-800eva.h b/include/configs/armadillo-800eva.h
> index 2023895c3e..d670423b53 100644
> --- a/include/configs/armadillo-800eva.h
> +++ b/include/configs/armadillo-800eva.h
> @@ -16,8 +16,6 @@
>
>  #include <asm/arch/rmobile.h>
>
> -#define CONFIG_CMD_SDRAM
> -
>  #define BOARD_LATE_INIT
>
>  #define CONFIG_BOOTARGS                ""
> diff --git a/include/configs/ecovec.h b/include/configs/ecovec.h
> index 2404441860..463a1ba688 100644
> --- a/include/configs/ecovec.h
> +++ b/include/configs/ecovec.h
> @@ -28,8 +28,6 @@
>  #define CONFIG_ECOVEC_ROMIMAGE_ADDR 0xA0040000
>  #define CONFIG_SYS_TEXT_BASE 0x8FFC0000
>
> -#define CONFIG_CMD_SDRAM
> -
>  #define CONFIG_BOOTARGS                "console=ttySC0,115200"
>
>  #define CONFIG_DISPLAY_BOARDINFO
> diff --git a/include/configs/espt.h b/include/configs/espt.h
> index 845bcc1c9a..47a3c153ba 100644
> --- a/include/configs/espt.h
> +++ b/include/configs/espt.h
> @@ -17,7 +17,6 @@
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_SDRAM
>
>  #define CONFIG_BOOTARGS         "console=ttySC0,115200 root=1f01"
>  #define CONFIG_ENV_OVERWRITE    1
> diff --git a/include/configs/ms7720se.h b/include/configs/ms7720se.h
> index 158b73ce50..791c26b937 100644
> --- a/include/configs/ms7720se.h
> +++ b/include/configs/ms7720se.h
> @@ -12,8 +12,6 @@
>  #define CONFIG_CPU_SH7720      1
>  #define CONFIG_MS7720SE                1
>
> -#define CONFIG_CMD_SDRAM
> -
>  #define CONFIG_BOOTARGS                "console=ttySC0,115200"
>  #define CONFIG_BOOTFILE                "/boot/zImage"
>  #define CONFIG_LOADADDR                0x8E000000
> diff --git a/include/configs/ms7722se.h b/include/configs/ms7722se.h
> index de6e58a71e..57f07b40b4 100644
> --- a/include/configs/ms7722se.h
> +++ b/include/configs/ms7722se.h
> @@ -12,8 +12,6 @@
>  #define CONFIG_CPU_SH7722      1
>  #define CONFIG_MS7722SE                1
>
> -#define CONFIG_CMD_SDRAM
> -
>  #define CONFIG_BOOTARGS                "console=ttySC0,115200 root=1f01"
>
>  #define CONFIG_DISPLAY_BOARDINFO
> diff --git a/include/configs/r0p7734.h b/include/configs/r0p7734.h
> index 6212dbae21..1304676e4a 100644
> --- a/include/configs/r0p7734.h
> +++ b/include/configs/r0p7734.h
> @@ -16,8 +16,6 @@
>
>  #define CONFIG_SYS_TEXT_BASE 0x8FFC0000
>
> -#define CONFIG_CMD_SDRAM
> -
>  #define CONFIG_BOOTARGS                "console=ttySC3,115200"
>
>  #define CONFIG_DISPLAY_BOARDINFO
> diff --git a/include/configs/r7780mp.h b/include/configs/r7780mp.h
> index c40de4d1b6..cd6a3bdd85 100644
> --- a/include/configs/r7780mp.h
> +++ b/include/configs/r7780mp.h
> @@ -20,7 +20,6 @@
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_SDRAM
>
>  #define CONFIG_SCIF_CONSOLE    1
>  #define CONFIG_CONS_SCIF0      1
> diff --git a/include/configs/rcar-gen2-common.h b/include/configs/rcar-gen2-common.h
> index 365950d729..217443d596 100644
> --- a/include/configs/rcar-gen2-common.h
> +++ b/include/configs/rcar-gen2-common.h
> @@ -11,8 +11,6 @@
>
>  #include <asm/arch/rmobile.h>
>
> -#define CONFIG_CMD_SDRAM
> -
>  /* Support File sytems */
>  #define CONFIG_SUPPORT_VFAT
>  #define CONFIG_FS_EXT4
> diff --git a/include/configs/rcar-gen3-common.h b/include/configs/rcar-gen3-common.h
> index 8da3e7a235..a0eedf033a 100644
> --- a/include/configs/rcar-gen3-common.h
> +++ b/include/configs/rcar-gen3-common.h
> @@ -12,7 +12,6 @@
>
>  #include <asm/arch/rmobile.h>
>
> -#define CONFIG_CMD_SDRAM
>  #define CONFIG_CMD_EXT2
>  #define CONFIG_CMD_EXT4
>  #define CONFIG_CMD_EXT4_WRITE
> diff --git a/include/configs/rsk7203.h b/include/configs/rsk7203.h
> index 8dc839df96..11d4fcddc0 100644
> --- a/include/configs/rsk7203.h
> +++ b/include/configs/rsk7203.h
> @@ -13,8 +13,6 @@
>  #define CONFIG_CPU_SH7203      1
>  #define CONFIG_RSK7203 1
>
> -#define CONFIG_CMD_SDRAM
> -
>  #define CONFIG_BOOTARGS                "console=ttySC0,115200"
>  #define CONFIG_LOADADDR                0x0C100000 /* RSK7203_SDRAM_BASE + 1MB */
>
> diff --git a/include/configs/sh7752evb.h b/include/configs/sh7752evb.h
> index 3342a2966c..1c93349232 100644
> --- a/include/configs/sh7752evb.h
> +++ b/include/configs/sh7752evb.h
> @@ -14,8 +14,6 @@
>
>  #define CONFIG_SYS_TEXT_BASE   0x5ff80000
>
> -#define CONFIG_CMD_SDRAM
> -
>  #define CONFIG_BOOTARGS                "console=ttySC2,115200 root=/dev/nfs ip=dhcp"
>
>  #define CONFIG_DISPLAY_BOARDINFO
> diff --git a/include/configs/sh7753evb.h b/include/configs/sh7753evb.h
> index 78670422f7..9e8c730b8d 100644
> --- a/include/configs/sh7753evb.h
> +++ b/include/configs/sh7753evb.h
> @@ -14,8 +14,6 @@
>
>  #define CONFIG_SYS_TEXT_BASE   0x5ff80000
>
> -#define CONFIG_CMD_SDRAM
> -
>  #define CONFIG_BOOTARGS                "console=ttySC2,115200 root=/dev/nfs ip=dhcp"
>
>  #define CONFIG_DISPLAY_BOARDINFO
> diff --git a/include/configs/sh7757lcr.h b/include/configs/sh7757lcr.h
> index e9cd3d749a..7fe1ac2ecd 100644
> --- a/include/configs/sh7757lcr.h
> +++ b/include/configs/sh7757lcr.h
> @@ -15,8 +15,6 @@
>
>  #define CONFIG_SYS_TEXT_BASE   0x8ef80000
>
> -#define CONFIG_CMD_SDRAM
> -
>  #define CONFIG_BOOTARGS                "console=ttySC2,115200 root=/dev/nfs ip=dhcp"
>
>  #define CONFIG_DISPLAY_BOARDINFO
> diff --git a/include/configs/sh7763rdp.h b/include/configs/sh7763rdp.h
> index 2186f21f7a..6241b5745f 100644
> --- a/include/configs/sh7763rdp.h
> +++ b/include/configs/sh7763rdp.h
> @@ -17,7 +17,6 @@
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_SDRAM
>
>  #define CONFIG_BOOTARGS         "console=ttySC2,115200 root=1f01"
>  #define CONFIG_ENV_OVERWRITE    1
> diff --git a/include/configs/sh7785lcr.h b/include/configs/sh7785lcr.h
> index eb657be108..b0afc67257 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_SDRAM
>  #define CONFIG_CMD_SH_ZIMAGEBOOT
>
>  #define CONFIG_BOOTARGS                "console=ttySC1,115200 root=/dev/nfs ip=dhcp"
> diff --git a/include/configs/shmin.h b/include/configs/shmin.h
> index 995f76a1ea..4e331dae92 100644
> --- a/include/configs/shmin.h
> +++ b/include/configs/shmin.h
> @@ -15,8 +15,6 @@
>  /* T-SH7706LSR*/
>  /* #define CONFIG_T_SH7706LSR  1 */
>
> -#define CONFIG_CMD_SDRAM
> -
>  #define CONFIG_BOOTARGS                "console=ttySC0,115200"
>
>  /*
> diff --git a/include/configs/socrates.h b/include/configs/socrates.h
> index 89119dd14a..7f534b1515 100644
> --- a/include/configs/socrates.h
> +++ b/include/configs/socrates.h
> @@ -279,7 +279,6 @@
>  /*
>   * Command line configuration.
>   */

ditto.

> -#define CONFIG_CMD_SDRAM
>
>  #undef CONFIG_WATCHDOG                 /* watchdog disabled            */
>
> diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
> index 4949e182c9..6d61b4a526 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_SDRAM
>  CONFIG_CMD_SF_TEST
>  CONFIG_CMD_SH_ZIMAGEBOOT
>  CONFIG_CMD_SPL
> --

Regards,
Bin

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 22/41] Convert CONFIG_CMD_SF_TEST to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 22/41] Convert CONFIG_CMD_SF_TEST " Simon Glass
@ 2017-07-22 16:26   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-22 16:26 UTC (permalink / raw)
  To: u-boot

Hi Simon,

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_SF_TEST
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  README                                   |  6 ------
>  arch/Kconfig                             |  1 +
>  arch/x86/cpu/baytrail/Kconfig            |  1 +
>  cmd/Kconfig                              | 11 +++++++++++
>  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/coreboot-x86_defconfig           |  1 +
>  configs/cougarcanyon2_defconfig          |  1 +
>  configs/crownbay_defconfig               |  1 +
>  configs/galileo_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/sandbox_defconfig                |  4 +---
>  include/configs/efi-x86.h                |  2 --
>  include/configs/sandbox.h                |  1 -
>  include/configs/veyron.h                 |  2 --
>  include/configs/x86-common.h             |  1 -
>  scripts/config_whitelist.txt             |  1 -
>  25 files changed, 29 insertions(+), 16 deletions(-)
>
> diff --git a/README b/README
> index 3958821f57..d0d6fe2b8d 100644
> --- a/README
> +++ b/README
> @@ -2506,12 +2506,6 @@ The following options need to be configured:
>                 CONFIG_SF_DEFAULT_MODE          (see include/spi.h)
>                 CONFIG_SF_DEFAULT_SPEED         in Hz
>
> -               CONFIG_CMD_SF_TEST
> -
> -               Define this option to include a destructive SPI flash
> -               test ('sf test').
> -
> -- SystemACE Support:
>                 CONFIG_SYSTEMACE
>
>                 Adding this option adds support for Xilinx SystemACE
> diff --git a/arch/Kconfig b/arch/Kconfig
> index 7e76abdbf3..a3c9b99ea5 100644
> --- a/arch/Kconfig
> +++ b/arch/Kconfig
> @@ -77,6 +77,7 @@ config SANDBOX
>         imply LZMA
>         imply SCSI
>         imply CMD_SATA
> +       imply CMD_SF_TEST
>
>  config SH
>         bool "SuperH architecture"
> diff --git a/arch/x86/cpu/baytrail/Kconfig b/arch/x86/cpu/baytrail/Kconfig
> index 6c85186486..31e988c6ea 100644
> --- a/arch/x86/cpu/baytrail/Kconfig
> +++ b/arch/x86/cpu/baytrail/Kconfig
> @@ -7,6 +7,7 @@
>  config INTEL_BAYTRAIL
>         bool
>         select HAVE_FSP if !EFI
> +       imply CMD_SF_TEST

How about imply this for X86?

>
>  if INTEL_BAYTRAIL
>  config INTERNAL_UART
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index 28aba0e780..d01fda2450 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -811,6 +811,17 @@ config CMD_SDRAM
>           SDRAM has an EEPROM with information that can be read using the
>           I2C bus. This is only available on some boards.
>
> +config CMD_SF_TEST
> +       bool "sf test - Allow testing of SPI flash"
> +       help
> +         Provides a way to test that SPI flash is working correctly. the

nits: the -> The

> +         test is destructive, in that an area of SPI flash must be provided
> +         for the test to use. Performance informatoin is also provided,

typo: information

> +         measuring the performance of reading, writing and erasing in
> +         Mbps (Million Bits Per Second). This value shold approximately

typo: should

> +         equal the SPI bus speed for a single-bit-wide SPI bus, assuming
> +         everything is working properly.
> +
>  endmenu
>

[snip]

Regards,
Bin

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 23/41] Convert CONFIG_CMD_SH_ZIMAGEBOOT to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 23/41] Convert CONFIG_CMD_SH_ZIMAGEBOOT " Simon Glass
@ 2017-07-22 16:26   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-22 16:26 UTC (permalink / raw)
  To: u-boot

Hi Simon,

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_SH_ZIMAGEBOOT
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  arch/sh/Kconfig                   | 2 ++
>  arch/sh/lib/Kconfig               | 5 +++++
>  configs/r2dplus_defconfig         | 1 +
>  configs/sh7785lcr_32bit_defconfig | 1 +
>  configs/sh7785lcr_defconfig       | 1 +
>  include/configs/r2dplus.h         | 1 -
>  include/configs/sh7785lcr.h       | 2 --
>  scripts/config_whitelist.txt      | 1 -
>  8 files changed, 10 insertions(+), 4 deletions(-)
>  create mode 100644 arch/sh/lib/Kconfig
>
> diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
> index 6ac22af2f1..d20761e66c 100644
> --- a/arch/sh/Kconfig
> +++ b/arch/sh/Kconfig
> @@ -125,6 +125,8 @@ config SYS_CPU
>         default "sh3" if CPU_SH3
>         default "sh4" if CPU_SH4
>
> +source "arch/sh/lib/Kconfig"
> +
>  source "board/alphaproject/ap_sh4a_4a/Kconfig"
>  source "board/espt/Kconfig"
>  source "board/mpr2/Kconfig"
> diff --git a/arch/sh/lib/Kconfig b/arch/sh/lib/Kconfig
> new file mode 100644
> index 0000000000..5142cb1af2
> --- /dev/null
> +++ b/arch/sh/lib/Kconfig
> @@ -0,0 +1,5 @@
> +config CMD_SH_ZIMAGEBOOT
> +       bool "Boot a zImage on SH"

Shouldn't it be: "zimageboot - Boot a zImage on SH"

And I think this should be "default y" otherwise it's not useful. This
eliminates the need to update SH boards defconfig files.

> +       help
> +         This is special SH-specific command to boot a zImage (compressed
> +         Linux image) on SH-architecture boards.

[snip]

Regards,
Bin

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 24/41] Convert CONFIG_CMD_SPL to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 24/41] Convert CONFIG_CMD_SPL " Simon Glass
@ 2017-07-22 16:26   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-22 16:26 UTC (permalink / raw)
  To: u-boot

Hi Simon,

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_SPL
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  arch/arm/Kconfig                          | 1 +
>  arch/arm/mach-imx/mx6/Kconfig             | 1 +
>  arch/arm/mach-omap2/am33xx/Kconfig        | 1 +
>  cmd/Kconfig                               | 9 +++++++++
>  configs/am335x_boneblack_defconfig        | 2 +-
>  configs/am335x_boneblack_vboot_defconfig  | 1 +
>  configs/am335x_evm_defconfig              | 1 +
>  configs/am335x_evm_nor_defconfig          | 1 +
>  configs/am335x_evm_usbspl_defconfig       | 1 +
>  configs/am335x_igep003x_defconfig         | 1 +
>  configs/am335x_sl50_defconfig             | 1 +
>  configs/am43xx_evm_defconfig              | 1 +
>  configs/am43xx_evm_ethboot_defconfig      | 1 +
>  configs/am43xx_evm_usbhost_boot_defconfig | 1 +
>  configs/am57xx_evm_defconfig              | 1 +
>  configs/am57xx_evm_nodt_defconfig         | 1 +
>  configs/birdland_bav335a_defconfig        | 1 +
>  configs/birdland_bav335b_defconfig        | 1 +
>  configs/cairo_defconfig                   | 1 +
>  configs/devkit8000_defconfig              | 1 +
>  configs/dra7xx_evm_defconfig              | 1 +
>  configs/igep0020_defconfig                | 1 +
>  configs/igep0030_defconfig                | 1 +
>  configs/igep0032_defconfig                | 1 +
>  configs/ipam390_defconfig                 | 1 +
>  configs/microblaze-generic_defconfig      | 1 +
>  configs/mx6sabresd_defconfig              | 1 +
>  configs/omap3_beagle_defconfig            | 1 +
>  configs/omap3_logic_defconfig             | 1 +
>  configs/omap3_overo_defconfig             | 1 +
>  configs/omap4_panda_defconfig             | 1 +
>  configs/omap5_uevm_defconfig              | 1 +
>  configs/pcm051_rev1_defconfig             | 1 +
>  configs/pcm051_rev3_defconfig             | 1 +
>  configs/pengwyn_defconfig                 | 1 +
>  configs/twister_defconfig                 | 1 +
>  include/configs/gw_ventana.h              | 1 -
>  include/configs/ipam390.h                 | 1 -
>  include/configs/microblaze-generic.h      | 1 -
>  include/configs/mx6sabreauto.h            | 1 -
>  include/configs/mx6sabresd.h              | 1 -
>  include/configs/ti_armv7_common.h         | 1 -
>  include/configs/trats.h                   | 1 -
>  include/configs/twister.h                 | 1 -
>  include/configs/zynq-common.h             | 1 -
>  scripts/config_whitelist.txt              | 1 -
>  46 files changed, 44 insertions(+), 11 deletions(-)
>
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 3cc252ac27..c6cfac97ac 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -728,6 +728,7 @@ config ARCH_ZYNQ
>         select CLK_ZYNQ
>         imply CMD_CLK
>         imply FAT_WRITE
> +       imply CMD_SPL
>
>  config ARCH_ZYNQMP
>         bool "Support Xilinx ZynqMP Platform"
> diff --git a/arch/arm/mach-imx/mx6/Kconfig b/arch/arm/mach-imx/mx6/Kconfig
> index 1595a764c5..6461c88b17 100644
> --- a/arch/arm/mach-imx/mx6/Kconfig
> +++ b/arch/arm/mach-imx/mx6/Kconfig
> @@ -144,6 +144,7 @@ config TARGET_GW_VENTANA
>         bool "gw_ventana"
>         select SUPPORT_SPL
>         imply CMD_SATA
> +       imply CMD_SPL
>
>  config TARGET_KOSAGI_NOVENA
>         bool "Kosagi Novena"
> diff --git a/arch/arm/mach-omap2/am33xx/Kconfig b/arch/arm/mach-omap2/am33xx/Kconfig
> index d8abba992a..7260d27877 100644
> --- a/arch/arm/mach-omap2/am33xx/Kconfig
> +++ b/arch/arm/mach-omap2/am33xx/Kconfig
> @@ -81,6 +81,7 @@ config TARGET_AM335X_SHC
>         select DM
>         select DM_SERIAL
>         select DM_GPIO
> +       imply CMD_SPL
>
>  config TARGET_AM335X_SL50
>         bool "Support am335x_sl50"
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index d01fda2450..0cc5d56d7f 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -270,6 +270,15 @@ config CMD_POWEROFF
>         help
>           Poweroff/Shutdown the system
>
> +config CMD_SPL
> +       bool "spl export - Export boot information for Falcon boot"
> +       depends on SPL
> +       help
> +         Falcon mode allows booting directly from SPL into an Operating
> +         System such as Linux, thus skipping U-Boot proper. See
> +         doc/README.falcon for full information about how to use this
> +         command.
> +
>  endmenu
>
>  menu "Environment commands"
> diff --git a/configs/am335x_boneblack_defconfig b/configs/am335x_boneblack_defconfig
> index c69867705e..195b24f7f7 100644
> --- a/configs/am335x_boneblack_defconfig
> +++ b/configs/am335x_boneblack_defconfig
> @@ -22,8 +22,8 @@ CONFIG_USB_FUNCTION_FASTBOOT=y
>  CONFIG_FASTBOOT_BUF_ADDR=0x81000000
>  CONFIG_FASTBOOT_BUF_SIZE=0x07000000
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  # CONFIG_CMD_FLASH is not set
> -CONFIG_CMD_FASTBOOT=y
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_DFU_TFTP=y
>  CONFIG_DFU_MMC=y
> diff --git a/configs/am335x_boneblack_vboot_defconfig b/configs/am335x_boneblack_vboot_defconfig
> index b11d0a71da..e7890fc8b5 100644
> --- a/configs/am335x_boneblack_vboot_defconfig
> +++ b/configs/am335x_boneblack_vboot_defconfig
> @@ -25,6 +25,7 @@ CONFIG_USB_FUNCTION_FASTBOOT=y
>  CONFIG_FASTBOOT_BUF_ADDR=0x81000000
>  CONFIG_FASTBOOT_BUF_SIZE=0x07000000
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  # CONFIG_CMD_FLASH is not set
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_OF_CONTROL=y
> diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig
> index 860ef7dd95..2e5bb103a5 100644
> --- a/configs/am335x_evm_defconfig
> +++ b/configs/am335x_evm_defconfig
> @@ -20,6 +20,7 @@ CONFIG_USB_FUNCTION_FASTBOOT=y
>  CONFIG_FASTBOOT_BUF_ADDR=0x81000000
>  CONFIG_FASTBOOT_BUF_SIZE=0x07000000
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  # CONFIG_CMD_FLASH is not set
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_CMD_MTDPARTS=y
> diff --git a/configs/am335x_evm_nor_defconfig b/configs/am335x_evm_nor_defconfig
> index 9cadc0b61a..c70cd6d247 100644
> --- a/configs/am335x_evm_nor_defconfig
> +++ b/configs/am335x_evm_nor_defconfig
> @@ -19,6 +19,7 @@ CONFIG_CMD_FASTBOOT=y
>  CONFIG_FASTBOOT_BUF_ADDR=0x81000000
>  CONFIG_FASTBOOT_BUF_SIZE=0x07000000
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  CONFIG_CMD_ASKENV=y
>  CONFIG_CMD_EEPROM=y
>  CONFIG_CMD_GPT=y
> diff --git a/configs/am335x_evm_usbspl_defconfig b/configs/am335x_evm_usbspl_defconfig
> index 0a6e26eba9..49f732b81e 100644
> --- a/configs/am335x_evm_usbspl_defconfig
> +++ b/configs/am335x_evm_usbspl_defconfig
> @@ -22,6 +22,7 @@ CONFIG_USB_FUNCTION_FASTBOOT=y
>  CONFIG_FASTBOOT_BUF_ADDR=0x81000000
>  CONFIG_FASTBOOT_BUF_SIZE=0x07000000
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  # CONFIG_CMD_FLASH is not set
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_CMD_MTDPARTS=y
> diff --git a/configs/am335x_igep003x_defconfig b/configs/am335x_igep003x_defconfig
> index 8fc31461f1..cef7c315cf 100644
> --- a/configs/am335x_igep003x_defconfig
> +++ b/configs/am335x_igep003x_defconfig
> @@ -28,6 +28,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
>  CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  CONFIG_CMD_ASKENV=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
> diff --git a/configs/am335x_sl50_defconfig b/configs/am335x_sl50_defconfig
> index 855e1ca9e2..10e1d1c870 100644
> --- a/configs/am335x_sl50_defconfig
> +++ b/configs/am335x_sl50_defconfig
> @@ -28,6 +28,7 @@ CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
>  CONFIG_AUTOBOOT_DELAY_STR="d"
>  CONFIG_AUTOBOOT_STOP_STR=" "
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  CONFIG_CMD_ASKENV=y
>  CONFIG_CMD_EEPROM=y
>  # CONFIG_CMD_FLASH is not set
> diff --git a/configs/am43xx_evm_defconfig b/configs/am43xx_evm_defconfig
> index 83a48b8b3e..5d707b92e3 100644
> --- a/configs/am43xx_evm_defconfig
> +++ b/configs/am43xx_evm_defconfig
> @@ -15,6 +15,7 @@ CONFIG_SPL_MTD_SUPPORT=y
>  CONFIG_SPL_OS_BOOT=y
>  CONFIG_HUSH_PARSER=y
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  # CONFIG_CMD_FLASH is not set
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_CMD_MTDPARTS=y
> diff --git a/configs/am43xx_evm_ethboot_defconfig b/configs/am43xx_evm_ethboot_defconfig
> index dfac27b929..19d596278d 100644
> --- a/configs/am43xx_evm_ethboot_defconfig
> +++ b/configs/am43xx_evm_ethboot_defconfig
> @@ -14,6 +14,7 @@ CONFIG_SPL_OS_BOOT=y
>  CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  CONFIG_CMD_ASKENV=y
>  CONFIG_CMD_EEPROM=y
>  # CONFIG_CMD_FLASH is not set
> diff --git a/configs/am43xx_evm_usbhost_boot_defconfig b/configs/am43xx_evm_usbhost_boot_defconfig
> index 8fa6d91b43..fd6ff5f285 100644
> --- a/configs/am43xx_evm_usbhost_boot_defconfig
> +++ b/configs/am43xx_evm_usbhost_boot_defconfig
> @@ -18,6 +18,7 @@ CONFIG_SPL_USB_SUPPORT=y
>  CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  CONFIG_CMD_ASKENV=y
>  CONFIG_CMD_EEPROM=y
>  # CONFIG_CMD_FLASH is not set
> diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig
> index 658ab92487..4b1ceb820b 100644
> --- a/configs/am57xx_evm_defconfig
> +++ b/configs/am57xx_evm_defconfig
> @@ -31,6 +31,7 @@ CONFIG_FASTBOOT_USB_DEV=1
>  CONFIG_FASTBOOT_FLASH=y
>  CONFIG_FASTBOOT_FLASH_MMC_DEV=1
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  # CONFIG_CMD_FLASH is not set
>  # CONFIG_CMD_SETEXPR is not set
>  # CONFIG_CMD_PMIC is not set
> diff --git a/configs/am57xx_evm_nodt_defconfig b/configs/am57xx_evm_nodt_defconfig
> index 6048e6c911..d8cbcda21a 100644
> --- a/configs/am57xx_evm_nodt_defconfig
> +++ b/configs/am57xx_evm_nodt_defconfig
> @@ -23,6 +23,7 @@ CONFIG_FASTBOOT_FLASH=y
>  CONFIG_FASTBOOT_FLASH_MMC_DEV=1
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  CONFIG_CMD_ASKENV=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_GPT=y
> diff --git a/configs/birdland_bav335a_defconfig b/configs/birdland_bav335a_defconfig
> index 073a58d94e..18e0100a7b 100644
> --- a/configs/birdland_bav335a_defconfig
> +++ b/configs/birdland_bav335a_defconfig
> @@ -25,6 +25,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
>  CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  CONFIG_CMD_ASKENV=y
>  CONFIG_CMD_EEPROM=y
>  # CONFIG_CMD_FLASH is not set
> diff --git a/configs/birdland_bav335b_defconfig b/configs/birdland_bav335b_defconfig
> index 5269c177d4..a143142ae7 100644
> --- a/configs/birdland_bav335b_defconfig
> +++ b/configs/birdland_bav335b_defconfig
> @@ -25,6 +25,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
>  CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  CONFIG_CMD_ASKENV=y
>  CONFIG_CMD_EEPROM=y
>  # CONFIG_CMD_FLASH is not set
> diff --git a/configs/cairo_defconfig b/configs/cairo_defconfig
> index f6caae0280..a1506ff339 100644
> --- a/configs/cairo_defconfig
> +++ b/configs/cairo_defconfig
> @@ -12,6 +12,7 @@ CONFIG_SYS_PROMPT="Cairo # "
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMI is not set
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  CONFIG_CMD_ASKENV=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
> diff --git a/configs/devkit8000_defconfig b/configs/devkit8000_defconfig
> index d2c2010d55..17cdab7428 100644
> --- a/configs/devkit8000_defconfig
> +++ b/configs/devkit8000_defconfig
> @@ -8,6 +8,7 @@ CONFIG_SPL_OS_BOOT=y
>  CONFIG_HUSH_PARSER=y
>  # CONFIG_CMD_IMI is not set
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_PART=y
> diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig
> index 6dd1baf6e9..4634e8e7af 100644
> --- a/configs/dra7xx_evm_defconfig
> +++ b/configs/dra7xx_evm_defconfig
> @@ -30,6 +30,7 @@ CONFIG_FASTBOOT_BUF_SIZE=0x2f000000
>  CONFIG_FASTBOOT_FLASH=y
>  CONFIG_FASTBOOT_FLASH_MMC_DEV=1
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  # CONFIG_CMD_FLASH is not set
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_ISO_PARTITION=y
> diff --git a/configs/igep0020_defconfig b/configs/igep0020_defconfig
> index a347c547e2..bcd4f22b79 100644
> --- a/configs/igep0020_defconfig
> +++ b/configs/igep0020_defconfig
> @@ -15,6 +15,7 @@ CONFIG_SPL_MTD_SUPPORT=y
>  CONFIG_SPL_ONENAND_SUPPORT=y
>  CONFIG_SPL_OS_BOOT=y
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  CONFIG_CMD_ASKENV=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
> diff --git a/configs/igep0030_defconfig b/configs/igep0030_defconfig
> index 01e340832b..30ab21079e 100644
> --- a/configs/igep0030_defconfig
> +++ b/configs/igep0030_defconfig
> @@ -15,6 +15,7 @@ CONFIG_SPL_MTD_SUPPORT=y
>  CONFIG_SPL_ONENAND_SUPPORT=y
>  CONFIG_SPL_OS_BOOT=y
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  CONFIG_CMD_ASKENV=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
> diff --git a/configs/igep0032_defconfig b/configs/igep0032_defconfig
> index 71e01a59bf..493bf41713 100644
> --- a/configs/igep0032_defconfig
> +++ b/configs/igep0032_defconfig
> @@ -14,6 +14,7 @@ CONFIG_SPL_MTD_SUPPORT=y
>  CONFIG_SPL_ONENAND_SUPPORT=y
>  CONFIG_SPL_OS_BOOT=y
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  CONFIG_CMD_ASKENV=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
> diff --git a/configs/ipam390_defconfig b/configs/ipam390_defconfig
> index 3c32a6b0ec..68bbe8667d 100644
> --- a/configs/ipam390_defconfig
> +++ b/configs/ipam390_defconfig
> @@ -16,6 +16,7 @@ CONFIG_SPL_OS_BOOT=y
>  CONFIG_HUSH_PARSER=y
>  CONFIG_SYS_PROMPT="U-Boot > "
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  CONFIG_CMD_ASKENV=y
>  CONFIG_CRC32_VERIFY=y
>  # CONFIG_CMD_FLASH is not set
> diff --git a/configs/microblaze-generic_defconfig b/configs/microblaze-generic_defconfig
> index 471be29ee5..45aaf3bbd5 100644
> --- a/configs/microblaze-generic_defconfig
> +++ b/configs/microblaze-generic_defconfig
> @@ -21,6 +21,7 @@ CONFIG_SPL_OS_BOOT=y
>  CONFIG_SYS_OS_BASE=0x2c060000
>  CONFIG_HUSH_PARSER=y
>  CONFIG_SYS_PROMPT="U-Boot-mONStR> "
> +CONFIG_CMD_SPL=y
>  CONFIG_CMD_ASKENV=y
>  CONFIG_CMD_GPIO=y
>  CONFIG_CMD_MFSL=y
> diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig
> index 535c98005f..7bd6da1654 100644
> --- a/configs/mx6sabresd_defconfig
> +++ b/configs/mx6sabresd_defconfig
> @@ -21,6 +21,7 @@ CONFIG_SPL_OS_BOOT=y
>  CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_PART=y
> diff --git a/configs/omap3_beagle_defconfig b/configs/omap3_beagle_defconfig
> index fbffc3c33e..aebacd2918 100644
> --- a/configs/omap3_beagle_defconfig
> +++ b/configs/omap3_beagle_defconfig
> @@ -9,6 +9,7 @@ CONFIG_SPL=y
>  CONFIG_SPL_MTD_SUPPORT=y
>  CONFIG_SPL_OS_BOOT=y
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  CONFIG_CMD_ASKENV=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
> diff --git a/configs/omap3_logic_defconfig b/configs/omap3_logic_defconfig
> index db8f4683e2..022a7c15c8 100644
> --- a/configs/omap3_logic_defconfig
> +++ b/configs/omap3_logic_defconfig
> @@ -17,6 +17,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_SYS_PROMPT="OMAP Logic # "
>  # CONFIG_CMD_IMI is not set
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  # CONFIG_CMD_EEPROM is not set
>  # CONFIG_CMD_FLASH is not set
>  # CONFIG_CMD_USB is not set
> diff --git a/configs/omap3_overo_defconfig b/configs/omap3_overo_defconfig
> index f4c3d3233d..a5e2f25873 100644
> --- a/configs/omap3_overo_defconfig
> +++ b/configs/omap3_overo_defconfig
> @@ -15,6 +15,7 @@ CONFIG_SYS_PROMPT="Overo # "
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMI is not set
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  CONFIG_CMD_ASKENV=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
> diff --git a/configs/omap4_panda_defconfig b/configs/omap4_panda_defconfig
> index 3d91f137e8..44eaed8590 100644
> --- a/configs/omap4_panda_defconfig
> +++ b/configs/omap4_panda_defconfig
> @@ -12,6 +12,7 @@ CONFIG_SPL=y
>  # CONFIG_SPL_I2C_SUPPORT is not set
>  CONFIG_SPL_OS_BOOT=y
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  CONFIG_CMD_ASKENV=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
> diff --git a/configs/omap5_uevm_defconfig b/configs/omap5_uevm_defconfig
> index 0af00b14be..81edba49b3 100644
> --- a/configs/omap5_uevm_defconfig
> +++ b/configs/omap5_uevm_defconfig
> @@ -12,6 +12,7 @@ CONFIG_SPL_OS_BOOT=y
>  CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  CONFIG_CMD_ASKENV=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_GPT=y
> diff --git a/configs/pcm051_rev1_defconfig b/configs/pcm051_rev1_defconfig
> index 466aa511ba..8faaad9b6f 100644
> --- a/configs/pcm051_rev1_defconfig
> +++ b/configs/pcm051_rev1_defconfig
> @@ -27,6 +27,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
>  CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  CONFIG_CMD_ASKENV=y
>  CONFIG_CMD_EEPROM=y
>  # CONFIG_CMD_FLASH is not set
> diff --git a/configs/pcm051_rev3_defconfig b/configs/pcm051_rev3_defconfig
> index 7150e79ed6..b2126f0f56 100644
> --- a/configs/pcm051_rev3_defconfig
> +++ b/configs/pcm051_rev3_defconfig
> @@ -27,6 +27,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
>  CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  CONFIG_CMD_ASKENV=y
>  CONFIG_CMD_EEPROM=y
>  # CONFIG_CMD_FLASH is not set
> diff --git a/configs/pengwyn_defconfig b/configs/pengwyn_defconfig
> index 6b30c7ad78..0a3553f60f 100644
> --- a/configs/pengwyn_defconfig
> +++ b/configs/pengwyn_defconfig
> @@ -28,6 +28,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
>  CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  CONFIG_CMD_ASKENV=y
>  CONFIG_CMD_EEPROM=y
>  # CONFIG_CMD_FLASH is not set
> diff --git a/configs/twister_defconfig b/configs/twister_defconfig
> index f7c933630b..4d3157a28b 100644
> --- a/configs/twister_defconfig
> +++ b/configs/twister_defconfig
> @@ -9,6 +9,7 @@ CONFIG_SPL_OS_BOOT=y
>  CONFIG_HUSH_PARSER=y
>  CONFIG_SYS_PROMPT="twister => "
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL=y
>  CONFIG_CMD_EEPROM=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
> diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h
> index 56c002ee4e..321a487cb9 100644
> --- a/include/configs/gw_ventana.h
> +++ b/include/configs/gw_ventana.h
> @@ -12,7 +12,6 @@
>  #define CONFIG_SYS_NAND_U_BOOT_OFFS     (14 * SZ_1M)
>
>  /* Falcon Mode */
> -#define CONFIG_CMD_SPL
>  #define CONFIG_SYS_SPL_ARGS_ADDR       0x18000000
>  #define CONFIG_CMD_SPL_WRITE_SIZE      (128 * SZ_1K)
>
> diff --git a/include/configs/ipam390.h b/include/configs/ipam390.h
> index 95cd769843..2999ac36e7 100644
> --- a/include/configs/ipam390.h
> +++ b/include/configs/ipam390.h
> @@ -285,7 +285,6 @@
>                                         GENERATED_GBL_DATA_SIZE)
>
>  /* add FALCON boot mode */
> -#define CONFIG_CMD_SPL
>  #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x00200000
>  #define CONFIG_SYS_SPL_ARGS_ADDR       LINUX_BOOT_PARAM_ADDR
>  #define CONFIG_CMD_SPL_NAND_OFS                0x00180000
> diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
> index 5a1875ad15..b71f85b163 100644
> --- a/include/configs/microblaze-generic.h
> +++ b/include/configs/microblaze-generic.h
> @@ -260,7 +260,6 @@
>  #endif
>
>  /* SPL part */
> -#define CONFIG_CMD_SPL
>  #define CONFIG_SPL_FRAMEWORK
>
>  #define CONFIG_SPL_LDSCRIPT    "arch/microblaze/cpu/u-boot-spl.lds"
> diff --git a/include/configs/mx6sabreauto.h b/include/configs/mx6sabreauto.h
> index 900e2a904b..f561bfd2a3 100644
> --- a/include/configs/mx6sabreauto.h
> +++ b/include/configs/mx6sabreauto.h
> @@ -34,7 +34,6 @@
>  #ifdef CONFIG_SPL_OS_BOOT
>  #define CONFIG_SPL_FS_LOAD_ARGS_NAME   "args"
>  #define CONFIG_SPL_FS_LOAD_KERNEL_NAME "uImage"
> -#define CONFIG_CMD_SPL
>  #define CONFIG_SYS_SPL_ARGS_ADDR       0x18000000
>  #define CONFIG_CMD_SPL_WRITE_SIZE      (128 * SZ_1K)
>
> diff --git a/include/configs/mx6sabresd.h b/include/configs/mx6sabresd.h
> index 0fa442985a..9622394c8f 100644
> --- a/include/configs/mx6sabresd.h
> +++ b/include/configs/mx6sabresd.h
> @@ -24,7 +24,6 @@
>  /* Falcon Mode */
>  #define CONFIG_SPL_FS_LOAD_ARGS_NAME   "args"
>  #define CONFIG_SPL_FS_LOAD_KERNEL_NAME "uImage"
> -#define CONFIG_CMD_SPL
>  #define CONFIG_SYS_SPL_ARGS_ADDR       0x18000000
>  #define CONFIG_CMD_SPL_WRITE_SIZE      (128 * SZ_1K)
>
> diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h
> index a94748c35d..dc7cd92e80 100644
> --- a/include/configs/ti_armv7_common.h
> +++ b/include/configs/ti_armv7_common.h
> @@ -204,7 +204,6 @@
>
>
>  /* spl export command */

The above comments should be removed.

> -#define CONFIG_CMD_SPL
>  #endif
>
>  /* General parts of the framework, required. */
> diff --git a/include/configs/trats.h b/include/configs/trats.h
> index e08bbc49ae..affdf0230e 100644
> --- a/include/configs/trats.h
> +++ b/include/configs/trats.h
> @@ -167,7 +167,6 @@
>         "fdtaddr=40800000\0" \
>
>  /* Falcon mode definitions */
> -#define CONFIG_CMD_SPL
>  #define CONFIG_SYS_SPL_ARGS_ADDR        CONFIG_SYS_SDRAM_BASE + 0x100
>
>  /* GPT */
> diff --git a/include/configs/twister.h b/include/configs/twister.h
> index 94dde90e60..c45ae87a41 100644
> --- a/include/configs/twister.h
> +++ b/include/configs/twister.h
> @@ -36,7 +36,6 @@
>         "bootcmd=run nandboot\0"
>
>  /* SPL OS boot options */
> -#define CONFIG_CMD_SPL
>  #define CONFIG_CMD_SPL_WRITE_SIZE      0x400 /* 1024 byte */
>  #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x00200000
>  #define CONFIG_CMD_SPL_NAND_OFS        (CONFIG_SYS_NAND_SPL_KERNEL_OFFS+\
> diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
> index 4b6b088851..b69f4c7ba4 100644
> --- a/include/configs/zynq-common.h
> +++ b/include/configs/zynq-common.h
> @@ -276,7 +276,6 @@
>  /* Commands */
>
>  /* SPL part */
> -#define CONFIG_CMD_SPL
>  #define CONFIG_SPL_FRAMEWORK
>
>  #define CONFIG_SPL_LDSCRIPT    "arch/arm/mach-zynq/u-boot-spl.lds"
> diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
> index 1a39eb41b4..44d38f8ca1 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_SPL
>  CONFIG_CMD_SPL_NAND_OFS
>  CONFIG_CMD_SPL_WRITE_SIZE
>  CONFIG_CMD_STRINGS
> --

Other than that,
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

Regards,
Bin

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 25/41] Convert CONFIG_CMD_SPL_NAND_OFS to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 25/41] Convert CONFIG_CMD_SPL_NAND_OFS " Simon Glass
@ 2017-07-22 16:26   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-22 16:26 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_SPL_NAND_OFS
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  cmd/Kconfig                                | 10 ++++++++++
>  configs/am335x_boneblack_defconfig         |  1 +
>  configs/am335x_boneblack_vboot_defconfig   |  1 +
>  configs/am335x_evm_defconfig               |  1 +
>  configs/am335x_evm_nor_defconfig           |  1 +
>  configs/am335x_evm_usbspl_defconfig        |  1 +
>  configs/am335x_igep003x_defconfig          |  1 +
>  configs/am335x_shc_defconfig               |  1 +
>  configs/am335x_shc_ict_defconfig           |  1 +
>  configs/am335x_shc_netboot_defconfig       |  1 +
>  configs/am335x_shc_prompt_defconfig        |  1 +
>  configs/am335x_shc_sdboot_defconfig        |  1 +
>  configs/am335x_shc_sdboot_prompt_defconfig |  1 +
>  configs/am335x_sl50_defconfig              |  1 +
>  configs/am43xx_evm_defconfig               |  1 +
>  configs/am43xx_evm_ethboot_defconfig       |  1 +
>  configs/am43xx_evm_usbhost_boot_defconfig  |  1 +
>  configs/am57xx_evm_defconfig               |  1 +
>  configs/am57xx_evm_nodt_defconfig          |  1 +
>  configs/birdland_bav335a_defconfig         |  1 +
>  configs/birdland_bav335b_defconfig         |  1 +
>  configs/cairo_defconfig                    |  1 +
>  configs/devkit8000_defconfig               |  1 +
>  configs/dra7xx_evm_defconfig               |  1 +
>  configs/gwventana_emmc_defconfig           |  1 +
>  configs/gwventana_gw5904_defconfig         |  1 +
>  configs/gwventana_nand_defconfig           |  1 +
>  configs/igep0020_defconfig                 |  1 +
>  configs/igep0030_defconfig                 |  1 +
>  configs/igep0032_defconfig                 |  1 +
>  configs/ipam390_defconfig                  |  1 +
>  configs/microblaze-generic_defconfig       |  1 +
>  configs/mx6sabresd_defconfig               |  1 +
>  configs/omap3_beagle_defconfig             |  1 +
>  configs/omap3_logic_defconfig              |  1 +
>  configs/omap3_overo_defconfig              |  1 +
>  configs/omap4_panda_defconfig              |  1 +
>  configs/omap5_uevm_defconfig               |  1 +
>  configs/pcm051_rev1_defconfig              |  1 +
>  configs/pcm051_rev3_defconfig              |  1 +
>  configs/pengwyn_defconfig                  |  1 +
>  configs/topic_miami_defconfig              |  1 +
>  configs/topic_miamilite_defconfig          |  1 +
>  configs/topic_miamiplus_defconfig          |  1 +
>  configs/twister_defconfig                  |  1 +
>  configs/zynq_microzed_defconfig            |  1 +
>  configs/zynq_picozed_defconfig             |  1 +
>  configs/zynq_zc702_defconfig               |  1 +
>  configs/zynq_zc706_defconfig               |  1 +
>  configs/zynq_zc770_xm010_defconfig         |  1 +
>  configs/zynq_zc770_xm011_defconfig         |  1 +
>  configs/zynq_zc770_xm012_defconfig         |  1 +
>  configs/zynq_zc770_xm013_defconfig         |  1 +
>  configs/zynq_zed_defconfig                 |  1 +
>  configs/zynq_zybo_defconfig                |  1 +
>  include/configs/am335x_evm.h               |  1 -
>  include/configs/am43xx_evm.h               |  1 -
>  include/configs/baltos.h                   |  1 -
>  include/configs/bav335x.h                  |  1 -
>  include/configs/brppt1.h                   |  1 -
>  include/configs/cm_t335.h                  |  1 -
>  include/configs/devkit8000.h               |  2 --
>  include/configs/dra7xx_evm.h               |  1 -
>  include/configs/gw_ventana.h               |  1 -
>  include/configs/ipam390.h                  |  1 -
>  include/configs/omap3_beagle.h             |  1 -
>  include/configs/omap3_cairo.h              |  1 -
>  include/configs/omap3_logic.h              |  1 -
>  include/configs/omap3_overo.h              |  1 -
>  include/configs/omap3_zoom1.h              |  1 -
>  include/configs/pengwyn.h                  |  1 -
>  include/configs/twister.h                  |  2 --
>  scripts/config_whitelist.txt               |  1 -
>  73 files changed, 64 insertions(+), 20 deletions(-)
>
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index 0cc5d56d7f..c5c9b8c5e5 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -279,6 +279,16 @@ config CMD_SPL
>           doc/README.falcon for full information about how to use this
>           command.
>
> +config CMD_SPL_NAND_OFS
> +       hex "Offset of OS command line args for Falcon-mode NAND boot"
> +       depends on CMD_SPL
> +       default 0
> +       help
> +         This provides the offset of the command line arguments for Linux
> +         when booting from NAND in Falcon mode.  See doc/README.falcon
> +         for full information about how to use this option (and also see
> +         board/gateworks/gw_ventana/README for an example).
> +
>  endmenu
>
>  menu "Environment commands"
> diff --git a/configs/am335x_boneblack_defconfig b/configs/am335x_boneblack_defconfig
> index 195b24f7f7..a251a0defc 100644
> --- a/configs/am335x_boneblack_defconfig
> +++ b/configs/am335x_boneblack_defconfig
> @@ -23,6 +23,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x81000000
>  CONFIG_FASTBOOT_BUF_SIZE=0x07000000
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x0

This line is not needed as its default value is 0.

>  # CONFIG_CMD_FLASH is not set
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_DFU_TFTP=y
> diff --git a/configs/am335x_boneblack_vboot_defconfig b/configs/am335x_boneblack_vboot_defconfig
> index e7890fc8b5..a964169d3c 100644
> --- a/configs/am335x_boneblack_vboot_defconfig
> +++ b/configs/am335x_boneblack_vboot_defconfig
> @@ -26,6 +26,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x81000000
>  CONFIG_FASTBOOT_BUF_SIZE=0x07000000
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  # CONFIG_CMD_FLASH is not set
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_OF_CONTROL=y
> diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig
> index 2e5bb103a5..83716dfc3b 100644
> --- a/configs/am335x_evm_defconfig
> +++ b/configs/am335x_evm_defconfig
> @@ -21,6 +21,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x81000000
>  CONFIG_FASTBOOT_BUF_SIZE=0x07000000
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x00080000
>  # CONFIG_CMD_FLASH is not set
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_CMD_MTDPARTS=y
> diff --git a/configs/am335x_evm_nor_defconfig b/configs/am335x_evm_nor_defconfig
> index c70cd6d247..36ad9d1c0c 100644
> --- a/configs/am335x_evm_nor_defconfig
> +++ b/configs/am335x_evm_nor_defconfig
> @@ -20,6 +20,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x81000000
>  CONFIG_FASTBOOT_BUF_SIZE=0x07000000
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x00080000
>  CONFIG_CMD_ASKENV=y
>  CONFIG_CMD_EEPROM=y
>  CONFIG_CMD_GPT=y
> diff --git a/configs/am335x_evm_usbspl_defconfig b/configs/am335x_evm_usbspl_defconfig
> index 49f732b81e..63aa238a56 100644
> --- a/configs/am335x_evm_usbspl_defconfig
> +++ b/configs/am335x_evm_usbspl_defconfig
> @@ -23,6 +23,7 @@ CONFIG_FASTBOOT_BUF_ADDR=0x81000000
>  CONFIG_FASTBOOT_BUF_SIZE=0x07000000
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x00080000
>  # CONFIG_CMD_FLASH is not set
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_CMD_MTDPARTS=y
> diff --git a/configs/am335x_igep003x_defconfig b/configs/am335x_igep003x_defconfig
> index cef7c315cf..4b9b67b059 100644
> --- a/configs/am335x_igep003x_defconfig
> +++ b/configs/am335x_igep003x_defconfig
> @@ -29,6 +29,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  CONFIG_CMD_ASKENV=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
> diff --git a/configs/am335x_shc_defconfig b/configs/am335x_shc_defconfig
> index 4bd1b65880..14329b0913 100644
> --- a/configs/am335x_shc_defconfig
> +++ b/configs/am335x_shc_defconfig
> @@ -28,6 +28,7 @@ CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau
>  CONFIG_AUTOBOOT_DELAY_STR="shc"
>  CONFIG_AUTOBOOT_STOP_STR="noautoboot"
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_GPT=y
>  CONFIG_CMD_MMC=y
> diff --git a/configs/am335x_shc_ict_defconfig b/configs/am335x_shc_ict_defconfig
> index 1025cd1d5c..88de993bc0 100644
> --- a/configs/am335x_shc_ict_defconfig
> +++ b/configs/am335x_shc_ict_defconfig
> @@ -28,6 +28,7 @@ CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau
>  CONFIG_AUTOBOOT_DELAY_STR="shc"
>  CONFIG_AUTOBOOT_STOP_STR="noautoboot"
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_GPT=y
>  CONFIG_CMD_MMC=y
> diff --git a/configs/am335x_shc_netboot_defconfig b/configs/am335x_shc_netboot_defconfig
> index 0011234d55..26d3bc99a9 100644
> --- a/configs/am335x_shc_netboot_defconfig
> +++ b/configs/am335x_shc_netboot_defconfig
> @@ -29,6 +29,7 @@ CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau
>  CONFIG_AUTOBOOT_DELAY_STR="shc"
>  CONFIG_AUTOBOOT_STOP_STR="noautoboot"
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_GPT=y
>  CONFIG_CMD_MMC=y
> diff --git a/configs/am335x_shc_prompt_defconfig b/configs/am335x_shc_prompt_defconfig
> index a6c617f87e..58593b2a51 100644
> --- a/configs/am335x_shc_prompt_defconfig
> +++ b/configs/am335x_shc_prompt_defconfig
> @@ -26,6 +26,7 @@ CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau
>  CONFIG_AUTOBOOT_DELAY_STR="shc"
>  CONFIG_AUTOBOOT_STOP_STR="noautoboot"
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_GPT=y
>  CONFIG_CMD_MMC=y
> diff --git a/configs/am335x_shc_sdboot_defconfig b/configs/am335x_shc_sdboot_defconfig
> index fa231543a2..c2a50d4ed6 100644
> --- a/configs/am335x_shc_sdboot_defconfig
> +++ b/configs/am335x_shc_sdboot_defconfig
> @@ -28,6 +28,7 @@ CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau
>  CONFIG_AUTOBOOT_DELAY_STR="shc"
>  CONFIG_AUTOBOOT_STOP_STR="noautoboot"
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_GPT=y
>  CONFIG_CMD_MMC=y
> diff --git a/configs/am335x_shc_sdboot_prompt_defconfig b/configs/am335x_shc_sdboot_prompt_defconfig
> index fa231543a2..c2a50d4ed6 100644
> --- a/configs/am335x_shc_sdboot_prompt_defconfig
> +++ b/configs/am335x_shc_sdboot_prompt_defconfig
> @@ -28,6 +28,7 @@ CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noau
>  CONFIG_AUTOBOOT_DELAY_STR="shc"
>  CONFIG_AUTOBOOT_STOP_STR="noautoboot"
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_GPT=y
>  CONFIG_CMD_MMC=y
> diff --git a/configs/am335x_sl50_defconfig b/configs/am335x_sl50_defconfig
> index 10e1d1c870..e61cf7c11e 100644
> --- a/configs/am335x_sl50_defconfig
> +++ b/configs/am335x_sl50_defconfig
> @@ -29,6 +29,7 @@ CONFIG_AUTOBOOT_DELAY_STR="d"
>  CONFIG_AUTOBOOT_STOP_STR=" "
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  CONFIG_CMD_ASKENV=y
>  CONFIG_CMD_EEPROM=y
>  # CONFIG_CMD_FLASH is not set
> diff --git a/configs/am43xx_evm_defconfig b/configs/am43xx_evm_defconfig
> index 5d707b92e3..602338a45d 100644
> --- a/configs/am43xx_evm_defconfig
> +++ b/configs/am43xx_evm_defconfig
> @@ -16,6 +16,7 @@ CONFIG_SPL_OS_BOOT=y
>  CONFIG_HUSH_PARSER=y
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x00100000
>  # CONFIG_CMD_FLASH is not set
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_CMD_MTDPARTS=y
> diff --git a/configs/am43xx_evm_ethboot_defconfig b/configs/am43xx_evm_ethboot_defconfig
> index 19d596278d..320aa451bf 100644
> --- a/configs/am43xx_evm_ethboot_defconfig
> +++ b/configs/am43xx_evm_ethboot_defconfig
> @@ -15,6 +15,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x00100000
>  CONFIG_CMD_ASKENV=y
>  CONFIG_CMD_EEPROM=y
>  # CONFIG_CMD_FLASH is not set
> diff --git a/configs/am43xx_evm_usbhost_boot_defconfig b/configs/am43xx_evm_usbhost_boot_defconfig
> index fd6ff5f285..db71fc6057 100644
> --- a/configs/am43xx_evm_usbhost_boot_defconfig
> +++ b/configs/am43xx_evm_usbhost_boot_defconfig
> @@ -19,6 +19,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x00100000
>  CONFIG_CMD_ASKENV=y
>  CONFIG_CMD_EEPROM=y
>  # CONFIG_CMD_FLASH is not set
> diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig
> index 4b1ceb820b..6dbc2ca28c 100644
> --- a/configs/am57xx_evm_defconfig
> +++ b/configs/am57xx_evm_defconfig
> @@ -32,6 +32,7 @@ CONFIG_FASTBOOT_FLASH=y
>  CONFIG_FASTBOOT_FLASH_MMC_DEV=1
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  # CONFIG_CMD_FLASH is not set
>  # CONFIG_CMD_SETEXPR is not set
>  # CONFIG_CMD_PMIC is not set
> diff --git a/configs/am57xx_evm_nodt_defconfig b/configs/am57xx_evm_nodt_defconfig
> index d8cbcda21a..206ac27a21 100644
> --- a/configs/am57xx_evm_nodt_defconfig
> +++ b/configs/am57xx_evm_nodt_defconfig
> @@ -24,6 +24,7 @@ CONFIG_FASTBOOT_FLASH_MMC_DEV=1
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  CONFIG_CMD_ASKENV=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_GPT=y
> diff --git a/configs/birdland_bav335a_defconfig b/configs/birdland_bav335a_defconfig
> index 18e0100a7b..0db9909337 100644
> --- a/configs/birdland_bav335a_defconfig
> +++ b/configs/birdland_bav335a_defconfig
> @@ -26,6 +26,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  CONFIG_CMD_ASKENV=y
>  CONFIG_CMD_EEPROM=y
>  # CONFIG_CMD_FLASH is not set
> diff --git a/configs/birdland_bav335b_defconfig b/configs/birdland_bav335b_defconfig
> index a143142ae7..641c359e94 100644
> --- a/configs/birdland_bav335b_defconfig
> +++ b/configs/birdland_bav335b_defconfig
> @@ -26,6 +26,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  CONFIG_CMD_ASKENV=y
>  CONFIG_CMD_EEPROM=y
>  # CONFIG_CMD_FLASH is not set
> diff --git a/configs/cairo_defconfig b/configs/cairo_defconfig
> index a1506ff339..35578500f9 100644
> --- a/configs/cairo_defconfig
> +++ b/configs/cairo_defconfig
> @@ -13,6 +13,7 @@ CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMI is not set
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x240000
>  CONFIG_CMD_ASKENV=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
> diff --git a/configs/devkit8000_defconfig b/configs/devkit8000_defconfig
> index 17cdab7428..84f1ba381b 100644
> --- a/configs/devkit8000_defconfig
> +++ b/configs/devkit8000_defconfig
> @@ -9,6 +9,7 @@ CONFIG_HUSH_PARSER=y
>  # CONFIG_CMD_IMI is not set
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x680000
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_PART=y
> diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig
> index 4634e8e7af..166986d7f9 100644
> --- a/configs/dra7xx_evm_defconfig
> +++ b/configs/dra7xx_evm_defconfig
> @@ -31,6 +31,7 @@ CONFIG_FASTBOOT_FLASH=y
>  CONFIG_FASTBOOT_FLASH_MMC_DEV=1
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x0
>  # CONFIG_CMD_FLASH is not set
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_ISO_PARTITION=y
> diff --git a/configs/gwventana_emmc_defconfig b/configs/gwventana_emmc_defconfig
> index 0549fc71f8..4bbe4ac049 100644
> --- a/configs/gwventana_emmc_defconfig
> +++ b/configs/gwventana_emmc_defconfig
> @@ -31,6 +31,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_SYS_PROMPT="Ventana > "
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL_NAND_OFS=0x1100000
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_I2C=y
> diff --git a/configs/gwventana_gw5904_defconfig b/configs/gwventana_gw5904_defconfig
> index cd161f3a03..16120d163f 100644
> --- a/configs/gwventana_gw5904_defconfig
> +++ b/configs/gwventana_gw5904_defconfig
> @@ -31,6 +31,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_SYS_PROMPT="Ventana > "
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL_NAND_OFS=0x1100000
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_I2C=y
> diff --git a/configs/gwventana_nand_defconfig b/configs/gwventana_nand_defconfig
> index 5ba5f173b3..87c56c7bd5 100644
> --- a/configs/gwventana_nand_defconfig
> +++ b/configs/gwventana_nand_defconfig
> @@ -32,6 +32,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_SYS_PROMPT="Ventana > "
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL_NAND_OFS=0x1100000
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_I2C=y
> diff --git a/configs/igep0020_defconfig b/configs/igep0020_defconfig
> index bcd4f22b79..c8fbcd2765 100644
> --- a/configs/igep0020_defconfig
> +++ b/configs/igep0020_defconfig
> @@ -16,6 +16,7 @@ CONFIG_SPL_ONENAND_SUPPORT=y
>  CONFIG_SPL_OS_BOOT=y
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  CONFIG_CMD_ASKENV=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
> diff --git a/configs/igep0030_defconfig b/configs/igep0030_defconfig
> index 30ab21079e..59222534b0 100644
> --- a/configs/igep0030_defconfig
> +++ b/configs/igep0030_defconfig
> @@ -16,6 +16,7 @@ CONFIG_SPL_ONENAND_SUPPORT=y
>  CONFIG_SPL_OS_BOOT=y
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  CONFIG_CMD_ASKENV=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
> diff --git a/configs/igep0032_defconfig b/configs/igep0032_defconfig
> index 493bf41713..c511bc3f4f 100644
> --- a/configs/igep0032_defconfig
> +++ b/configs/igep0032_defconfig
> @@ -15,6 +15,7 @@ CONFIG_SPL_ONENAND_SUPPORT=y
>  CONFIG_SPL_OS_BOOT=y
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  CONFIG_CMD_ASKENV=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
> diff --git a/configs/ipam390_defconfig b/configs/ipam390_defconfig
> index 68bbe8667d..83009be0a8 100644
> --- a/configs/ipam390_defconfig
> +++ b/configs/ipam390_defconfig
> @@ -17,6 +17,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_SYS_PROMPT="U-Boot > "
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x00180000
>  CONFIG_CMD_ASKENV=y
>  CONFIG_CRC32_VERIFY=y
>  # CONFIG_CMD_FLASH is not set
> diff --git a/configs/microblaze-generic_defconfig b/configs/microblaze-generic_defconfig
> index 45aaf3bbd5..0bf052f3fc 100644
> --- a/configs/microblaze-generic_defconfig
> +++ b/configs/microblaze-generic_defconfig
> @@ -22,6 +22,7 @@ CONFIG_SYS_OS_BASE=0x2c060000
>  CONFIG_HUSH_PARSER=y
>  CONFIG_SYS_PROMPT="U-Boot-mONStR> "
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  CONFIG_CMD_ASKENV=y
>  CONFIG_CMD_GPIO=y
>  CONFIG_CMD_MFSL=y
> diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig
> index 7bd6da1654..f16e0756f3 100644
> --- a/configs/mx6sabresd_defconfig
> +++ b/configs/mx6sabresd_defconfig
> @@ -22,6 +22,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_PART=y
> diff --git a/configs/omap3_beagle_defconfig b/configs/omap3_beagle_defconfig
> index aebacd2918..03db663f5d 100644
> --- a/configs/omap3_beagle_defconfig
> +++ b/configs/omap3_beagle_defconfig
> @@ -10,6 +10,7 @@ CONFIG_SPL_MTD_SUPPORT=y
>  CONFIG_SPL_OS_BOOT=y
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x240000
>  CONFIG_CMD_ASKENV=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
> diff --git a/configs/omap3_logic_defconfig b/configs/omap3_logic_defconfig
> index 022a7c15c8..5e95b46367 100644
> --- a/configs/omap3_logic_defconfig
> +++ b/configs/omap3_logic_defconfig
> @@ -18,6 +18,7 @@ CONFIG_SYS_PROMPT="OMAP Logic # "
>  # CONFIG_CMD_IMI is not set
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x240000
>  # CONFIG_CMD_EEPROM is not set
>  # CONFIG_CMD_FLASH is not set
>  # CONFIG_CMD_USB is not set
> diff --git a/configs/omap3_overo_defconfig b/configs/omap3_overo_defconfig
> index a5e2f25873..6b546dd419 100644
> --- a/configs/omap3_overo_defconfig
> +++ b/configs/omap3_overo_defconfig
> @@ -16,6 +16,7 @@ CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMI is not set
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x240000
>  CONFIG_CMD_ASKENV=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
> diff --git a/configs/omap4_panda_defconfig b/configs/omap4_panda_defconfig
> index 44eaed8590..fec6b301f9 100644
> --- a/configs/omap4_panda_defconfig
> +++ b/configs/omap4_panda_defconfig
> @@ -13,6 +13,7 @@ CONFIG_SPL=y
>  CONFIG_SPL_OS_BOOT=y
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  CONFIG_CMD_ASKENV=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
> diff --git a/configs/omap5_uevm_defconfig b/configs/omap5_uevm_defconfig
> index 81edba49b3..338324d1f9 100644
> --- a/configs/omap5_uevm_defconfig
> +++ b/configs/omap5_uevm_defconfig
> @@ -13,6 +13,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  CONFIG_CMD_ASKENV=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_GPT=y
> diff --git a/configs/pcm051_rev1_defconfig b/configs/pcm051_rev1_defconfig
> index 8faaad9b6f..d405b27d43 100644
> --- a/configs/pcm051_rev1_defconfig
> +++ b/configs/pcm051_rev1_defconfig
> @@ -28,6 +28,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  CONFIG_CMD_ASKENV=y
>  CONFIG_CMD_EEPROM=y
>  # CONFIG_CMD_FLASH is not set
> diff --git a/configs/pcm051_rev3_defconfig b/configs/pcm051_rev3_defconfig
> index b2126f0f56..1513cb6f2d 100644
> --- a/configs/pcm051_rev3_defconfig
> +++ b/configs/pcm051_rev3_defconfig
> @@ -28,6 +28,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  CONFIG_CMD_ASKENV=y
>  CONFIG_CMD_EEPROM=y
>  # CONFIG_CMD_FLASH is not set
> diff --git a/configs/pengwyn_defconfig b/configs/pengwyn_defconfig
> index 0a3553f60f..41bf2563c0 100644
> --- a/configs/pengwyn_defconfig
> +++ b/configs/pengwyn_defconfig
> @@ -29,6 +29,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x240000
>  CONFIG_CMD_ASKENV=y
>  CONFIG_CMD_EEPROM=y
>  # CONFIG_CMD_FLASH is not set
> diff --git a/configs/topic_miami_defconfig b/configs/topic_miami_defconfig
> index 8df2fb13ce..88c2614b2f 100644
> --- a/configs/topic_miami_defconfig
> +++ b/configs/topic_miami_defconfig
> @@ -12,6 +12,7 @@ CONFIG_SPL=y
>  CONFIG_HUSH_PARSER=y
>  CONFIG_SYS_PROMPT="zynq-uboot> "
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_SF=y
> diff --git a/configs/topic_miamilite_defconfig b/configs/topic_miamilite_defconfig
> index cddc084a05..8eff0ec200 100644
> --- a/configs/topic_miamilite_defconfig
> +++ b/configs/topic_miamilite_defconfig
> @@ -12,6 +12,7 @@ CONFIG_SPL=y
>  CONFIG_HUSH_PARSER=y
>  CONFIG_SYS_PROMPT="zynq-uboot> "
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_SF=y
> diff --git a/configs/topic_miamiplus_defconfig b/configs/topic_miamiplus_defconfig
> index 1016718797..b8c41d4355 100644
> --- a/configs/topic_miamiplus_defconfig
> +++ b/configs/topic_miamiplus_defconfig
> @@ -12,6 +12,7 @@ CONFIG_SPL=y
>  CONFIG_HUSH_PARSER=y
>  CONFIG_SYS_PROMPT="zynq-uboot> "
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_SF=y
> diff --git a/configs/twister_defconfig b/configs/twister_defconfig
> index 4d3157a28b..226990aebd 100644
> --- a/configs/twister_defconfig
> +++ b/configs/twister_defconfig
> @@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_SYS_PROMPT="twister => "
>  # CONFIG_CMD_IMLS is not set
>  CONFIG_CMD_SPL=y
> +CONFIG_CMD_SPL_NAND_OFS=0x00800000
>  CONFIG_CMD_EEPROM=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
> diff --git a/configs/zynq_microzed_defconfig b/configs/zynq_microzed_defconfig
> index 2d7fffc1f4..f9221427e2 100644
> --- a/configs/zynq_microzed_defconfig
> +++ b/configs/zynq_microzed_defconfig
> @@ -11,6 +11,7 @@ CONFIG_SPL_OS_BOOT=y
>  CONFIG_HUSH_PARSER=y
>  CONFIG_SYS_PROMPT="Zynq> "
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_SF=y
> diff --git a/configs/zynq_picozed_defconfig b/configs/zynq_picozed_defconfig
> index 7ca69a973c..0419ed5b89 100644
> --- a/configs/zynq_picozed_defconfig
> +++ b/configs/zynq_picozed_defconfig
> @@ -8,6 +8,7 @@ CONFIG_SPL_OS_BOOT=y
>  CONFIG_HUSH_PARSER=y
>  CONFIG_SYS_PROMPT="Zynq> "
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_USB=y
> diff --git a/configs/zynq_zc702_defconfig b/configs/zynq_zc702_defconfig
> index 8f20b09244..ea1e0777c2 100644
> --- a/configs/zynq_zc702_defconfig
> +++ b/configs/zynq_zc702_defconfig
> @@ -13,6 +13,7 @@ CONFIG_SPL_OS_BOOT=y
>  CONFIG_HUSH_PARSER=y
>  CONFIG_SYS_PROMPT="Zynq> "
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  CONFIG_CMD_EEPROM=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
> diff --git a/configs/zynq_zc706_defconfig b/configs/zynq_zc706_defconfig
> index 825346abd6..29f2ce6fc6 100644
> --- a/configs/zynq_zc706_defconfig
> +++ b/configs/zynq_zc706_defconfig
> @@ -12,6 +12,7 @@ CONFIG_SPL_OS_BOOT=y
>  CONFIG_HUSH_PARSER=y
>  CONFIG_SYS_PROMPT="Zynq> "
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  CONFIG_CMD_EEPROM=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
> diff --git a/configs/zynq_zc770_xm010_defconfig b/configs/zynq_zc770_xm010_defconfig
> index a1ef49f250..12e3742e9c 100644
> --- a/configs/zynq_zc770_xm010_defconfig
> +++ b/configs/zynq_zc770_xm010_defconfig
> @@ -12,6 +12,7 @@ CONFIG_SPL_OS_BOOT=y
>  CONFIG_HUSH_PARSER=y
>  CONFIG_SYS_PROMPT="Zynq> "
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_SF=y
> diff --git a/configs/zynq_zc770_xm011_defconfig b/configs/zynq_zc770_xm011_defconfig
> index 148f70360b..bc676e7476 100644
> --- a/configs/zynq_zc770_xm011_defconfig
> +++ b/configs/zynq_zc770_xm011_defconfig
> @@ -13,6 +13,7 @@ CONFIG_SPL_OS_BOOT=y
>  CONFIG_HUSH_PARSER=y
>  CONFIG_SYS_PROMPT="Zynq> "
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_NAND=y
>  CONFIG_CMD_FPGA_LOADBP=y
> diff --git a/configs/zynq_zc770_xm012_defconfig b/configs/zynq_zc770_xm012_defconfig
> index 943efdb141..3e53373d04 100644
> --- a/configs/zynq_zc770_xm012_defconfig
> +++ b/configs/zynq_zc770_xm012_defconfig
> @@ -12,6 +12,7 @@ CONFIG_SPL=y
>  CONFIG_SPL_OS_BOOT=y
>  CONFIG_HUSH_PARSER=y
>  CONFIG_SYS_PROMPT="Zynq> "
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  CONFIG_CMD_FPGA_LOADBP=y
>  CONFIG_CMD_FPGA_LOADFS=y
>  CONFIG_CMD_FPGA_LOADMK=y
> diff --git a/configs/zynq_zc770_xm013_defconfig b/configs/zynq_zc770_xm013_defconfig
> index 5c029109e2..5f0f656c1a 100644
> --- a/configs/zynq_zc770_xm013_defconfig
> +++ b/configs/zynq_zc770_xm013_defconfig
> @@ -13,6 +13,7 @@ CONFIG_SPL_OS_BOOT=y
>  CONFIG_HUSH_PARSER=y
>  CONFIG_SYS_PROMPT="Zynq> "
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_FPGA_LOADBP=y
>  CONFIG_CMD_FPGA_LOADFS=y
> diff --git a/configs/zynq_zed_defconfig b/configs/zynq_zed_defconfig
> index 2887ca4167..de61ed406b 100644
> --- a/configs/zynq_zed_defconfig
> +++ b/configs/zynq_zed_defconfig
> @@ -11,6 +11,7 @@ CONFIG_SPL_OS_BOOT=y
>  CONFIG_HUSH_PARSER=y
>  CONFIG_SYS_PROMPT="Zynq> "
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_SF=y
> diff --git a/configs/zynq_zybo_defconfig b/configs/zynq_zybo_defconfig
> index f3f89cb5e4..2bc2f155f3 100644
> --- a/configs/zynq_zybo_defconfig
> +++ b/configs/zynq_zybo_defconfig
> @@ -13,6 +13,7 @@ CONFIG_SPL_OS_BOOT=y
>  CONFIG_HUSH_PARSER=y
>  CONFIG_SYS_PROMPT="Zynq> "
>  # CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_SPL_NAND_OFS=0x0

ditto.

>  CONFIG_CMD_EEPROM=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_MMC=y
> diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
> index b97f525994..3f2aa80693 100644
> --- a/include/configs/am335x_evm.h
> +++ b/include/configs/am335x_evm.h
> @@ -239,7 +239,6 @@
>  #define CONFIG_SPL_NAND_AM33XX_BCH
>  #endif
>  #ifdef CONFIG_SPL_OS_BOOT
> -#define CONFIG_CMD_SPL_NAND_OFS        0x00080000 /* os parameters */
>  #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x00200000 /* kernel offset */
>  #define CONFIG_CMD_SPL_WRITE_SIZE      0x2000
>  #endif
> diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
> index 1d8e39c203..ff2c91da5c 100644
> --- a/include/configs/am43xx_evm.h
> +++ b/include/configs/am43xx_evm.h
> @@ -322,7 +322,6 @@
>  #endif
>  /* NAND: SPL falcon mode configs */
>  #ifdef CONFIG_SPL_OS_BOOT
> -#define CONFIG_CMD_SPL_NAND_OFS                0x00100000 /* os parameters */
>  #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x00300000 /* kernel offset */
>  #define CONFIG_CMD_SPL_WRITE_SIZE      CONFIG_SYS_NAND_BLOCK_SIZE
>  #endif
> diff --git a/include/configs/baltos.h b/include/configs/baltos.h
> index b58030663d..cf6d10cb72 100644
> --- a/include/configs/baltos.h
> +++ b/include/configs/baltos.h
> @@ -48,7 +48,6 @@
>  #ifdef CONFIG_NAND
>  #define CONFIG_SYS_NAND_U_BOOT_OFFS    0x00080000
>  #ifdef CONFIG_SPL_OS_BOOT
> -#define CONFIG_CMD_SPL_NAND_OFS 0x00080000 /* os parameters */
>  #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x00200000 /* kernel offset */
>  #define CONFIG_CMD_SPL_WRITE_SIZE      0x2000
>  #endif
> diff --git a/include/configs/bav335x.h b/include/configs/bav335x.h
> index 71b1b96ec4..5eadb70412 100644
> --- a/include/configs/bav335x.h
> +++ b/include/configs/bav335x.h
> @@ -399,7 +399,6 @@ DEFAULT_LINUX_BOOT_ENV \
>  #define CONFIG_SPL_NAND_AM33XX_BCH
>  #endif
>  #ifdef CONFIG_SPL_OS_BOOT
> -#define CONFIG_CMD_SPL_NAND_OFS        0x00080000 /* os parameters */
>  #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x00200000 /* kernel offset */
>  #define CONFIG_CMD_SPL_WRITE_SIZE      0x2000
>  #endif
> diff --git a/include/configs/brppt1.h b/include/configs/brppt1.h
> index e35ea0ea4a..813a3882a7 100644
> --- a/include/configs/brppt1.h
> +++ b/include/configs/brppt1.h
> @@ -66,7 +66,6 @@
>
>  /* NAND */
>  #ifdef CONFIG_NAND
> -#define CONFIG_CMD_SPL_NAND_OFS                        0x080000 /* end of u-boot */
>  #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS                0x140000
>  #define CONFIG_CMD_SPL_WRITE_SIZE              0x2000
>  #endif /* CONFIG_NAND */
> diff --git a/include/configs/cm_t335.h b/include/configs/cm_t335.h
> index 220268ade0..a6cc6f16a1 100644
> --- a/include/configs/cm_t335.h
> +++ b/include/configs/cm_t335.h
> @@ -141,7 +141,6 @@
>  #define CONFIG_SYS_ENV_SECT_SIZE       (128 << 10)     /* 128 KiB */
>  #define CONFIG_SYS_NAND_ONFI_DETECTION
>  #ifdef CONFIG_SPL_OS_BOOT
> -#define CONFIG_CMD_SPL_NAND_OFS                0x400000 /* un-assigned: (using dtb) */
>  #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x500000
>  #define CONFIG_CMD_SPL_WRITE_SIZE      0x2000
>  #endif
> diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
> index 92ce1273c6..d71912e8db 100644
> --- a/include/configs/devkit8000.h
> +++ b/include/configs/devkit8000.h
> @@ -216,8 +216,6 @@
>
>  /* SPL OS boot options */
>  #define CONFIG_CMD_SPL_WRITE_SIZE       0x400 /* 1024 byte */
> -#define CONFIG_CMD_SPL_NAND_OFS (CONFIG_SYS_NAND_SPL_KERNEL_OFFS+\
> -                                       0x400000)
>  #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x280000
>
>  #undef CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR
> diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
> index d2f7c7cfff..8cee33d419 100644
> --- a/include/configs/dra7xx_evm.h
> +++ b/include/configs/dra7xx_evm.h
> @@ -214,7 +214,6 @@
>  #endif
>  /* NAND: SPL falcon mode configs */
>  #ifdef CONFIG_SPL_OS_BOOT
> -#define CONFIG_CMD_SPL_NAND_OFS                0x00080000 /* os-boot params*/
>  #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x00200000 /* kernel offset */
>  #define CONFIG_CMD_SPL_WRITE_SIZE      0x2000
>  #endif
> diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h
> index 321a487cb9..8529159f2b 100644
> --- a/include/configs/gw_ventana.h
> +++ b/include/configs/gw_ventana.h
> @@ -16,7 +16,6 @@
>  #define CONFIG_CMD_SPL_WRITE_SIZE      (128 * SZ_1K)
>
>  /* Falcon Mode - NAND support: args at 17MB kernel at 18MB */
> -#define CONFIG_CMD_SPL_NAND_OFS                (17 * SZ_1M)
>  #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        (18 * SZ_1M)
>
>  /* Falcon Mode - MMC support: args at 1MB kernel at 2MB */
> diff --git a/include/configs/ipam390.h b/include/configs/ipam390.h
> index 2999ac36e7..23d66cecc5 100644
> --- a/include/configs/ipam390.h
> +++ b/include/configs/ipam390.h
> @@ -287,7 +287,6 @@
>  /* add FALCON boot mode */
>  #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x00200000
>  #define CONFIG_SYS_SPL_ARGS_ADDR       LINUX_BOOT_PARAM_ADDR
> -#define CONFIG_CMD_SPL_NAND_OFS                0x00180000
>  #define CONFIG_CMD_SPL_WRITE_SIZE      0x400
>
>  /* GPIO support */
> diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
> index 0d48d4ecc1..7432305431 100644
> --- a/include/configs/omap3_beagle.h
> +++ b/include/configs/omap3_beagle.h
> @@ -280,7 +280,6 @@
>  #define CONFIG_SYS_NAND_U_BOOT_OFFS    0x80000
>  /* NAND: SPL falcon mode configs */
>  #ifdef CONFIG_SPL_OS_BOOT
> -#define CONFIG_CMD_SPL_NAND_OFS                0x240000
>  #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x280000
>  #define CONFIG_CMD_SPL_WRITE_SIZE      0x2000
>  #endif
> diff --git a/include/configs/omap3_cairo.h b/include/configs/omap3_cairo.h
> index b5d2b007e8..981e90ee76 100644
> --- a/include/configs/omap3_cairo.h
> +++ b/include/configs/omap3_cairo.h
> @@ -204,7 +204,6 @@
>  #define CONFIG_SYS_NAND_U_BOOT_OFFS    0x80000
>  /* NAND: SPL falcon mode configs */
>  #ifdef CONFIG_SPL_OS_BOOT
> -#define CONFIG_CMD_SPL_NAND_OFS                0x240000
>  #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x280000
>  #define CONFIG_CMD_SPL_WRITE_SIZE      0x2000
>  #endif
> diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h
> index 2c926d0787..d265280ccf 100644
> --- a/include/configs/omap3_logic.h
> +++ b/include/configs/omap3_logic.h
> @@ -274,7 +274,6 @@
>
>  /* NAND: SPL falcon mode configs */
>  #ifdef CONFIG_SPL_OS_BOOT
> -#define CONFIG_CMD_SPL_NAND_OFS                0x240000
>  #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x280000
>  #define CONFIG_CMD_SPL_WRITE_SIZE      0x2000
>  #endif
> diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
> index 111aec58d3..7be5150784 100644
> --- a/include/configs/omap3_overo.h
> +++ b/include/configs/omap3_overo.h
> @@ -225,7 +225,6 @@
>  #define CONFIG_SYS_NAND_U_BOOT_OFFS    0x80000
>  /* NAND: SPL falcon mode configs */
>  #ifdef CONFIG_SPL_OS_BOOT
> -#define CONFIG_CMD_SPL_NAND_OFS                0x240000
>  #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x280000
>  #define CONFIG_CMD_SPL_WRITE_SIZE      0x2000
>  #endif
> diff --git a/include/configs/omap3_zoom1.h b/include/configs/omap3_zoom1.h
> index 6c869c4c07..b05e096ea5 100644
> --- a/include/configs/omap3_zoom1.h
> +++ b/include/configs/omap3_zoom1.h
> @@ -57,7 +57,6 @@
>  #if defined(CONFIG_CMD_NAND)
>  /* NAND: SPL falcon mode configs */
>  #ifdef CONFIG_SPL_OS_BOOT
> -#define CONFIG_CMD_SPL_NAND_OFS                0x240000
>  #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x280000
>  #define CONFIG_CMD_SPL_WRITE_SIZE      0x2000
>  #endif
> diff --git a/include/configs/pengwyn.h b/include/configs/pengwyn.h
> index 482045d99f..f7f50f1e36 100644
> --- a/include/configs/pengwyn.h
> +++ b/include/configs/pengwyn.h
> @@ -165,7 +165,6 @@
>  #define CONFIG_SYS_ENV_SECT_SIZE       (128 << 10)     /* 128 KiB */
>  /* NAND: SPL falcon mode configs */
>  #ifdef CONFIG_SPL_OS_BOOT
> -#define CONFIG_CMD_SPL_NAND_OFS                0x240000 /* un-assigned */
>  #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x280000
>  #define CONFIG_CMD_SPL_WRITE_SIZE      0x2000
>  #endif
> diff --git a/include/configs/twister.h b/include/configs/twister.h
> index c45ae87a41..80d480b103 100644
> --- a/include/configs/twister.h
> +++ b/include/configs/twister.h
> @@ -38,8 +38,6 @@
>  /* SPL OS boot options */
>  #define CONFIG_CMD_SPL_WRITE_SIZE      0x400 /* 1024 byte */
>  #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS        0x00200000
> -#define CONFIG_CMD_SPL_NAND_OFS        (CONFIG_SYS_NAND_SPL_KERNEL_OFFS+\
> -                                               0x600000)
>
>  #define CONFIG_SYS_SPL_ARGS_ADDR       (PHYS_SDRAM_1 + 0x100)
>
> diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
> index 44d38f8ca1..e463e53f17 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_SPL_NAND_OFS
>  CONFIG_CMD_SPL_WRITE_SIZE
>  CONFIG_CMD_STRINGS
>  CONFIG_CMD_SX151X
> --

Regards,
Bin

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 16/41] Convert CONFIG_CMD_REGINFO to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 16/41] Convert CONFIG_CMD_REGINFO " Simon Glass
  2017-07-22 15:53   ` Bin Meng
@ 2017-07-22 16:34   ` LEROY Christophe
  2017-08-04 21:39     ` Simon Glass
  1 sibling, 1 reply; 88+ messages in thread
From: LEROY Christophe @ 2017-07-22 16:34 UTC (permalink / raw)
  To: u-boot

Simon Glass <sjg@chromium.org> a écrit :

> This converts the following to Kconfig:
>    CONFIG_CMD_REGINFO
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  README                                             |   1 -
>  arch/powerpc/cpu/mpc85xx/Kconfig                   |  11 +++
>  cmd/Kconfig                                        |   6 ++
>  .../BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig   |   1 -
>  .../BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig   |   1 -
>  .../BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig |   1 -
>  .../BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig |   1 -
>  configs/MCR3000_defconfig                          | 100  
> +++++++++------------
>  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/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 +
>  .../P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig   |   2 +-
>  .../P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig   |   2 +-
>  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/TQM834x_defconfig                          |   1 +
>  .../controlcenterd_36BIT_SDCARD_DEVELOP_defconfig  |   1 +
>  configs/controlcenterd_36BIT_SDCARD_defconfig      |   1 +
>  configs/qemu-ppce500_defconfig                     |   1 +
>  configs/sbc8641d_defconfig                         |   1 +
>  configs/socrates_defconfig                         |   1 +
>  configs/xpedite517x_defconfig                      |   1 +
>  configs/xpedite537x_defconfig                      |   1 +
>  include/config_cmd_all.h                           |   1 -
>  include/configs/B4860QDS.h                         |   1 -
>  include/configs/BSC9131RDB.h                       |   1 -
>  include/configs/BSC9132QDS.h                       |   1 -
>  include/configs/C29XPCIE.h                         |   1 -
>  include/configs/M5208EVBE.h                        |   1 -
>  include/configs/M52277EVB.h                        |   1 -
>  include/configs/M5235EVB.h                         |   1 -
>  include/configs/M53017EVB.h                        |   1 -
>  include/configs/M5329EVB.h                         |   1 -
>  include/configs/M5373EVB.h                         |   1 -
>  include/configs/M54418TWR.h                        |   1 -
>  include/configs/M54451EVB.h                        |   1 -
>  include/configs/M54455EVB.h                        |   1 -
>  include/configs/M5475EVB.h                         |   1 -
>  include/configs/M5485EVB.h                         |   1 -
>  include/configs/MCR3000.h                          |   1 -
>  include/configs/MPC8536DS.h                        |   1 -
>  include/configs/MPC8541CDS.h                       |   1 -
>  include/configs/MPC8544DS.h                        |   1 -
>  include/configs/MPC8548CDS.h                       |   1 -
>  include/configs/MPC8555CDS.h                       |   1 -
>  include/configs/MPC8560ADS.h                       |   1 -
>  include/configs/MPC8568MDS.h                       |   1 -
>  include/configs/MPC8569MDS.h                       |   1 -
>  include/configs/MPC8572DS.h                        |   1 -
>  include/configs/MPC8610HPCD.h                      |   2 -
>  include/configs/MPC8641HPCN.h                      |   1 -
>  include/configs/P1010RDB.h                         |   1 -
>  include/configs/P1022DS.h                          |   1 -
>  include/configs/P1023RDB.h                         |   1 -
>  include/configs/T102xQDS.h                         |   1 -
>  include/configs/T102xRDB.h                         |   1 -
>  include/configs/T1040QDS.h                         |   1 -
>  include/configs/T104xRDB.h                         |   1 -
>  include/configs/T208xQDS.h                         |   1 -
>  include/configs/T208xRDB.h                         |   1 -
>  include/configs/T4240RDB.h                         |   2 -
>  include/configs/TQM834x.h                          |   1 -
>  include/configs/UCP1020.h                          |   1 -
>  include/configs/astro_mcf5373l.h                   |   1 -
>  include/configs/controlcenterd.h                   |   3 -
>  include/configs/corenet_ds.h                       |   1 -
>  include/configs/cyrus.h                            |   1 -
>  include/configs/dragonboard410c.h                  |   1 -
>  include/configs/p1_p2_rdb_pc.h                     |   1 -
>  include/configs/p1_twr.h                           |   1 -
>  include/configs/qemu-ppce500.h                     |   2 -
>  include/configs/s5p_goni.h                         |   2 -
>  include/configs/sbc8548.h                          |   1 -
>  include/configs/sbc8641d.h                         |   2 -
>  include/configs/smdkc100.h                         |   2 -
>  include/configs/socrates.h                         |   1 -
>  include/configs/t4qds.h                            |   2 -
>  include/configs/vct.h                              |   1 -
>  include/configs/xilinx-ppc.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 -
>  105 files changed, 95 insertions(+), 135 deletions(-)
>
> diff --git a/README b/README
> index 8dc75009d1..f5558eb9f1 100644
> --- a/README
> +++ b/README
> @@ -815,7 +815,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/cpu/mpc85xx/Kconfig  
> b/arch/powerpc/cpu/mpc85xx/Kconfig
> index 11030d6180..450456d622 100644
> --- a/arch/powerpc/cpu/mpc85xx/Kconfig
> +++ b/arch/powerpc/cpu/mpc85xx/Kconfig
> @@ -553,6 +553,7 @@ config ARCH_MPC8548
>  	select SYS_FSL_SEC_BE
>  	select SYS_FSL_SEC_COMPAT_2
>  	select SYS_PPC_E500_USE_DEBUG_TLB
> +	imply CMD_REGINFO
>

Why implying it for each arch instead of implying it for all 85xx ?

>  config ARCH_MPC8555
>  	bool
> @@ -655,6 +656,7 @@ config ARCH_P1020
>  	select FSL_ELBC
>  	imply CMD_SATA
>  	imply CMD_PCI
> +	imply CMD_REGINFO
>
>  config ARCH_P1021
>  	bool
> @@ -671,6 +673,7 @@ config ARCH_P1021
>  	select FSL_ELBC
>  	imply CMD_SATA
>  	imply CMD_MTDPARTS
> +	imply CMD_REGINFO
>
>  config ARCH_P1022
>  	bool
> @@ -716,6 +719,7 @@ config ARCH_P1024
>  	imply CMD_EEPROM
>  	imply CMD_SATA
>  	imply CMD_PCI
> +	imply CMD_REGINFO
>
>  config ARCH_P1025
>  	bool
> @@ -731,6 +735,7 @@ config ARCH_P1025
>  	select SYS_PPC_E500_USE_DEBUG_TLB
>  	select FSL_ELBC
>  	imply CMD_SATA
> +	imply CMD_REGINFO
>
>  config ARCH_P2020
>  	bool
> @@ -747,6 +752,7 @@ config ARCH_P2020
>  	select SYS_PPC_E500_USE_DEBUG_TLB
>  	select FSL_ELBC
>  	imply CMD_EEPROM
> +	imply CMD_REGINFO
>
>  config ARCH_P2041
>  	bool
> @@ -794,6 +800,7 @@ config ARCH_P3041
>  	select SYS_FSL_SEC_COMPAT_4
>  	select FSL_ELBC
>  	imply CMD_SATA
> +	imply CMD_REGINFO
>
>  config ARCH_P4080
>  	bool
> @@ -830,6 +837,7 @@ config ARCH_P4080
>  	select SYS_FSL_SEC_COMPAT_4
>  	select FSL_ELBC
>  	imply CMD_SATA
> +	imply CMD_REGINFO
>
>  config ARCH_P5020
>  	bool
> @@ -852,6 +860,7 @@ config ARCH_P5020
>  	select SYS_PPC64
>  	select FSL_ELBC
>  	imply CMD_SATA
> +	imply CMD_REGINFO
>
>  config ARCH_P5040
>  	bool
> @@ -874,6 +883,7 @@ config ARCH_P5040
>  	select SYS_PPC64
>  	select FSL_ELBC
>  	imply CMD_SATA
> +	imply CMD_REGINFO
>
>  config ARCH_QEMU_E500
>  	bool
> @@ -1380,6 +1390,7 @@ config SYS_PPC_E500_USE_DEBUG_TLB
>
>  config FSL_IFC
>  	bool
> +	imply CMD_REGINFO
>
>  config FSL_ELBC
>  	bool
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index 2546ef61f6..354949f132 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -792,6 +792,12 @@ config CMD_READ
>  	help
>  	  Provides low-level access to the data in a partition.
>
> +config CMD_REGINFO
> +	bool "reginfo - Print register information"
> +	depends on PPC
> +	help
> +	  Provides access to low-level register information.
> +
>  endmenu

As far as I can see only 8xx 85xx and 86xx have it
See reginfo.c, for all other it just returns blank

>
>
> diff --git a/configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig  
> b/configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig
> index 87ea4b0064..e8c548286b 100644
> --- a/configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig
> +++ b/configs/BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig
> @@ -15,7 +15,6 @@ CONFIG_CMD_MMC=y
>  CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
> -CONFIG_CMD_PCI=y

Does this have anything to do with CMD_REGINFO ?

>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
> diff --git a/configs/BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig  
> b/configs/BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig
> index a59ffc652c..3afb011012 100644
> --- a/configs/BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig
> +++ b/configs/BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig
> @@ -15,7 +15,6 @@ 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/BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig  
> b/configs/BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig
> index 2292dc16c7..c5d17bc516 100644
> --- a/configs/BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig
> +++ b/configs/BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig
> @@ -15,7 +15,6 @@ 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/BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig  
> b/configs/BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig
> index 5450a0f398..ba0772c07d 100644
> --- a/configs/BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig
> +++ b/configs/BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig
> @@ -15,7 +15,6 @@ 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/MCR3000_defconfig b/configs/MCR3000_defconfig
> index 562face283..c8f45d6747 100644
> --- a/configs/MCR3000_defconfig
> +++ b/configs/MCR3000_defconfig
> @@ -1,47 +1,19 @@
>  CONFIG_PPC=y
>  CONFIG_8xx=y
>  CONFIG_TARGET_MCR3000=y
> -CONFIG_BOOTDELAY=5
> -CONFIG_HUSH_PARSER=y
> -# CONFIG_CMD_SETEXPR is not set
> -CONFIG_CMD_NET=y
> -CONFIG_CMD_DHCP=y
> -# CONFIG_LED_STATUS_BOARD_SPECIFIC is not set
> -# CONFIG_MMC is not set
> -CONFIG_MTD_NOR_FLASH=y
> -# CONFIG_PCI is not set
> -CONFIG_OF_LIBFDT=y
> -CONFIG_SYS_PROMPT="S3K> "
> -CONFIG_NETDEVICES=y
> -CONFIG_MPC8XX_FEC=y
> -
> -CONFIG_CMD_SAVEENV=y
> -CONFIG_CMD_FLASH=y
> -CONFIG_CMD_MII=y
> -CONFIG_CMD_PING=y
> -CONFIG_CMD_ASKENV=y
> -CONFIG_CMD_MTDPARTS=y
> -CONFIG_CMD_NAND=y
> -# CONFIG_CMD_BDI is not set
> -# CONFIG_CMD_ECHO is not set
> -# CONFIG_CMD_FPGA is not set
> -# CONFIG_CMD_IMI is not set
> -# CONFIG_CMD_IMLS is not set
> -# CONFIG_CMD_ITEST is not set
> -# CONFIG_CMD_CONSOLE is not set
> -# CONFIG_CMD_LOADB is not set
> -# CONFIG_CMD_LOADS is not set
> -# CONFIG_CMD_MD5SUM is not set
> -# CONFIG_CMD_MISC is not set
> -# CONFIG_CMD_SETGETDCR is not set
> -# CONFIG_CMD_SHA1 is not set
> -# CONFIG_CMD_SOURCE is not set
> +CONFIG_8xx_GCLK_FREQ=132000000
>  CONFIG_CMD_IMMAP=y
> -
> -CONFIG_SYS_IMMR=0xFF000000
> -
> -CONFIG_SYS_OR0_PRELIM=0xFFC00926
> +CONFIG_SYS_SIUMCR=0x00600400
> +CONFIG_SYS_SYPCR=0xFFFFFF8F
> +CONFIG_SYS_TBSCR=0x00C3
> +CONFIG_SYS_PISCR=0x0000
> +CONFIG_SYS_PLPRCR_BOOL=y
> +CONFIG_SYS_PLPRCR=0x00460004
> +CONFIG_SYS_SCCR=0x00C20000
> +CONFIG_SYS_SCCR_MASK=0x60000000
> +CONFIG_SYS_DER=0x2002000F
>  CONFIG_SYS_BR0_PRELIM=0x04000801
> +CONFIG_SYS_OR0_PRELIM=0xFFC00926
>  CONFIG_SYS_BR1_PRELIM_BOOL=y
>  CONFIG_SYS_BR1_PRELIM=0x00000081
>  CONFIG_SYS_OR1_PRELIM=0xFE000E00
> @@ -63,26 +35,38 @@ CONFIG_SYS_OR6_PRELIM=0xFFFF0908
>  CONFIG_SYS_BR7_PRELIM_BOOL=y
>  CONFIG_SYS_BR7_PRELIM=0x1C000001
>  CONFIG_SYS_OR7_PRELIM=0xFFFF810A
> -
> -CONFIG_8xx_GCLK_FREQ=132000000
> -
> -CONFIG_SYS_SYPCR=0xFFFFFF8F
> -CONFIG_SYS_SIUMCR=0x00600400
> -CONFIG_SYS_TBSCR=0x00C3
> -CONFIG_SYS_PISCR=0x0000
> -CONFIG_SYS_PLPRCR_BOOL=y
> -CONFIG_SYS_PLPRCR=0x00460004
> -CONFIG_SYS_SCCR_MASK=0x60000000
> -CONFIG_SYS_SCCR=0x00C20000
> -CONFIG_SYS_DER=0x2002000F
> -
> -CONFIG_AUTOBOOT=y
> +CONFIG_SYS_IMMR=0xFF000000
> +CONFIG_OF_BOARD_SETUP=y
> +CONFIG_BOOTDELAY=5
> +CONFIG_HUSH_PARSER=y
> +CONFIG_SYS_PROMPT="S3K> "
>  CONFIG_AUTOBOOT_KEYED=y
>  CONFIG_AUTOBOOT_PROMPT="\nEnter password - autoboot in %d sec...\n"
>  CONFIG_AUTOBOOT_DELAY_STR="root"
> -
> -CONFIG_OF_BOARD_SETUP=y
> -
> -CONFIG_LZMA=y
> +# CONFIG_CMD_BDI is not set
> +# CONFIG_CMD_CONSOLE is not set
> +# CONFIG_CMD_IMI is not set
> +# CONFIG_CMD_IMLS is not set
> +CONFIG_CMD_ASKENV=y
> +# CONFIG_CMD_LOADB is not set
> +# CONFIG_CMD_LOADS is not set
> +CONFIG_CMD_NAND=y
> +# CONFIG_CMD_FPGA is not set
> +CONFIG_CMD_REGINFO=y
> +# CONFIG_CMD_ECHO is not set
> +# CONFIG_CMD_ITEST is not set
> +# CONFIG_CMD_SOURCE is not set
> +# CONFIG_CMD_SETEXPR is not set
> +CONFIG_CMD_DHCP=y
> +CONFIG_CMD_MII=y
> +CONFIG_CMD_PING=y
> +# CONFIG_CMD_MISC is not set
> +CONFIG_CMD_MTDPARTS=y
> +# CONFIG_MMC is not set
> +CONFIG_MTD_NOR_FLASH=y
> +CONFIG_NETDEVICES=y
> +CONFIG_MPC8XX_FEC=y
> +# CONFIG_PCI is not set
>  CONFIG_SHA256=y
> -
> +CONFIG_LZMA=y
> +CONFIG_OF_LIBFDT=y
> diff --git a/configs/MPC8536DS_36BIT_defconfig  
> b/configs/MPC8536DS_36BIT_defconfig
> index 9a299245ad..f588004c66 100644
> --- a/configs/MPC8536DS_36BIT_defconfig
> +++ b/configs/MPC8536DS_36BIT_defconfig
> @@ -15,6 +15,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 bb1ad0a014..7d03f51b43 100644
> --- a/configs/MPC8536DS_SDCARD_defconfig
> +++ b/configs/MPC8536DS_SDCARD_defconfig
> @@ -15,6 +15,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 09a0689a44..cc4be93b4d 100644
> --- a/configs/MPC8536DS_SPIFLASH_defconfig
> +++ b/configs/MPC8536DS_SPIFLASH_defconfig
> @@ -15,6 +15,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 06a2bb6141..47e12ef95d 100644
> --- a/configs/MPC8536DS_defconfig
> +++ b/configs/MPC8536DS_defconfig
> @@ -14,6 +14,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=y
>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
> diff --git a/configs/MPC8541CDS_defconfig b/configs/MPC8541CDS_defconfig
> index 65b7aab840..6c76cbf84b 100644
> --- a/configs/MPC8541CDS_defconfig
> +++ b/configs/MPC8541CDS_defconfig
> @@ -8,6 +8,7 @@ CONFIG_BOOTDELAY=10
>  CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 2bf0a0a995..3c4a58126e 100644
> --- a/configs/MPC8541CDS_legacy_defconfig
> +++ b/configs/MPC8541CDS_legacy_defconfig
> @@ -9,6 +9,7 @@ CONFIG_BOOTDELAY=10
>  CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 884f47ae75..62469816e0 100644
> --- a/configs/MPC8544DS_defconfig
> +++ b/configs/MPC8544DS_defconfig
> @@ -11,6 +11,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=y
>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
> diff --git a/configs/MPC8555CDS_defconfig b/configs/MPC8555CDS_defconfig
> index 6681ca6e5f..9aba0da1fa 100644
> --- a/configs/MPC8555CDS_defconfig
> +++ b/configs/MPC8555CDS_defconfig
> @@ -8,6 +8,7 @@ CONFIG_BOOTDELAY=10
>  CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 7b7b55c0ed..4e3ad8c8ba 100644
> --- a/configs/MPC8555CDS_legacy_defconfig
> +++ b/configs/MPC8555CDS_legacy_defconfig
> @@ -9,6 +9,7 @@ CONFIG_BOOTDELAY=10
>  CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 9d5e8bcec2..d84168aa86 100644
> --- a/configs/MPC8568MDS_defconfig
> +++ b/configs/MPC8568MDS_defconfig
> @@ -9,6 +9,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
>  CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 77851961aa..62576c15cf 100644
> --- a/configs/MPC8569MDS_ATM_defconfig
> +++ b/configs/MPC8569MDS_ATM_defconfig
> @@ -11,6 +11,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=y
>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
> diff --git a/configs/MPC8569MDS_defconfig b/configs/MPC8569MDS_defconfig
> index ec7bb61357..af2a5aa1e6 100644
> --- a/configs/MPC8569MDS_defconfig
> +++ b/configs/MPC8569MDS_defconfig
> @@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_MMC=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 e705535ae3..7f8dec1005 100644
> --- a/configs/MPC8572DS_36BIT_defconfig
> +++ b/configs/MPC8572DS_36BIT_defconfig
> @@ -13,6 +13,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 8d362fc227..3bf174189d 100644
> --- a/configs/MPC8572DS_defconfig
> +++ b/configs/MPC8572DS_defconfig
> @@ -12,6 +12,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 b95d3cbc17..3368e85b84 100644
> --- a/configs/MPC8610HPCD_defconfig
> +++ b/configs/MPC8610HPCD_defconfig
> @@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 c3345aede8..e56b748b31 100644
> --- a/configs/MPC8641HPCN_36BIT_defconfig
> +++ b/configs/MPC8641HPCN_36BIT_defconfig
> @@ -11,6 +11,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 8bc4ecc2b9..a99c63c592 100644
> --- a/configs/MPC8641HPCN_defconfig
> +++ b/configs/MPC8641HPCN_defconfig
> @@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=y
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_PING=y
> diff --git a/configs/P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig  
> b/configs/P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig
> index 739a1120f3..382f3c6f91 100644
> --- a/configs/P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig
> +++ b/configs/P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig
> @@ -17,7 +17,7 @@ CONFIG_CMD_MMC=y
>  CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
> -CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_DATE=y
> diff --git a/configs/P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig  
> b/configs/P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig
> index cfa9455ec1..2936d20eb4 100644
> --- a/configs/P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig
> +++ b/configs/P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig
> @@ -17,7 +17,7 @@ CONFIG_CMD_MMC=y
>  CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
> -CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 f2344702d6..43a8a8a933 100644
> --- a/configs/P1022DS_36BIT_NAND_defconfig
> +++ b/configs/P1022DS_36BIT_NAND_defconfig
> @@ -25,6 +25,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 8993dda8da..225fa23b89 100644
> --- a/configs/P1022DS_36BIT_SDCARD_defconfig
> +++ b/configs/P1022DS_36BIT_SDCARD_defconfig
> @@ -23,6 +23,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 6170f41648..ec5d89626f 100644
> --- a/configs/P1022DS_36BIT_SPIFLASH_defconfig
> +++ b/configs/P1022DS_36BIT_SPIFLASH_defconfig
> @@ -24,6 +24,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 0102a62b53..c747eb6b08 100644
> --- a/configs/P1022DS_36BIT_defconfig
> +++ b/configs/P1022DS_36BIT_defconfig
> @@ -14,6 +14,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 7069267cd7..c3274555ba 100644
> --- a/configs/P1022DS_NAND_defconfig
> +++ b/configs/P1022DS_NAND_defconfig
> @@ -25,6 +25,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 2589a7137e..5024e37b6b 100644
> --- a/configs/P1022DS_SDCARD_defconfig
> +++ b/configs/P1022DS_SDCARD_defconfig
> @@ -22,6 +22,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 b664bac9b5..9b683ac0d0 100644
> --- a/configs/P1022DS_SPIFLASH_defconfig
> +++ b/configs/P1022DS_SPIFLASH_defconfig
> @@ -23,6 +23,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 ecca46d416..2364250538 100644
> --- a/configs/P1022DS_defconfig
> +++ b/configs/P1022DS_defconfig
> @@ -13,6 +13,7 @@ CONFIG_CMD_SF=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 55481b86e1..8cad90f2df 100644
> --- a/configs/P1023RDB_defconfig
> +++ b/configs/P1023RDB_defconfig
> @@ -13,6 +13,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  # CONFIG_CMD_HASH is not set
> diff --git a/configs/TQM834x_defconfig b/configs/TQM834x_defconfig
> index 2ee7fcd902..21c002ba63 100644
> --- a/configs/TQM834x_defconfig
> +++ b/configs/TQM834x_defconfig
> @@ -9,6 +9,7 @@ CONFIG_CMD_ASKENV=y
>  CONFIG_CMD_EEPROM=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=y
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_MII=y
> diff --git a/configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig  
> b/configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig
> index 99200da9bb..a12ffc57b3 100644
> --- a/configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig
> +++ b/configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig
> @@ -24,6 +24,7 @@ CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_SATA=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 f409d95d8a..93b92c1d98 100644
> --- a/configs/controlcenterd_36BIT_SDCARD_defconfig
> +++ b/configs/controlcenterd_36BIT_SDCARD_defconfig
> @@ -24,6 +24,7 @@ CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_SATA=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=y
>  CONFIG_CMD_MII=y
>  CONFIG_CMD_PING=y
>  CONFIG_CMD_BMP=y
> diff --git a/configs/qemu-ppce500_defconfig b/configs/qemu-ppce500_defconfig
> index 777ba9c4c4..c94e76186f 100644
> --- a/configs/qemu-ppce500_defconfig
> +++ b/configs/qemu-ppce500_defconfig
> @@ -15,6 +15,7 @@ CONFIG_CMD_BOOTZ=y
>  CONFIG_CMD_GREPENV=y
>  # CONFIG_CMD_FLASH is not set
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=y
>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_PING=y
>  # CONFIG_CMD_HASH is not set
> diff --git a/configs/sbc8641d_defconfig b/configs/sbc8641d_defconfig
> index ee4ec6fa1f..30754dd5ef 100644
> --- a/configs/sbc8641d_defconfig
> +++ b/configs/sbc8641d_defconfig
> @@ -8,6 +8,7 @@ CONFIG_BOOTDELAY=10
>  CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=y
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_CMD_PING=y
>  CONFIG_DOS_PARTITION=y
> diff --git a/configs/socrates_defconfig b/configs/socrates_defconfig
> index 1fc772260f..76943a633a 100644
> --- a/configs/socrates_defconfig
> +++ b/configs/socrates_defconfig
> @@ -13,6 +13,7 @@ CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_USB=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=y
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_CMD_DHCP=y
>  # CONFIG_CMD_NFS is not set
> diff --git a/configs/xpedite517x_defconfig b/configs/xpedite517x_defconfig
> index 9afc57c11e..a2eb6f154d 100644
> --- a/configs/xpedite517x_defconfig
> +++ b/configs/xpedite517x_defconfig
> @@ -11,6 +11,7 @@ CONFIG_CMD_ASKENV=y
>  CONFIG_CMD_EEPROM=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=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 63b0e40fc5..a848fac769 100644
> --- a/configs/xpedite537x_defconfig
> +++ b/configs/xpedite537x_defconfig
> @@ -12,6 +12,7 @@ CONFIG_CMD_ASKENV=y
>  CONFIG_CMD_EEPROM=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_PCI=y
> +CONFIG_CMD_REGINFO=y
>  # CONFIG_CMD_SETEXPR is not set
>  CONFIG_CMD_DHCP=y
>  CONFIG_CMD_MII=y
> diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
> index 2a59976550..aa570a1b56 100644
> --- a/include/config_cmd_all.h
> +++ b/include/config_cmd_all.h
> @@ -14,7 +14,6 @@
>   */
>
>  #define CONFIG_CMD_NAND		/* NAND support			*/
> -#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 bcd5827e69..a95193fb88 100644
> --- a/include/configs/B4860QDS.h
> +++ b/include/configs/B4860QDS.h
> @@ -702,7 +702,6 @@ unsigned long get_board_ddr_clk(void);
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO

The above comment should then go, shoukdn't it ?

>
>  /*
>  * USB
> diff --git a/include/configs/BSC9131RDB.h b/include/configs/BSC9131RDB.h
> index 9c0e4659f9..2c9c456f36 100644
> --- a/include/configs/BSC9131RDB.h
> +++ b/include/configs/BSC9131RDB.h
> @@ -293,7 +293,6 @@ extern unsigned long get_sdram_size(void);
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/include/configs/BSC9132QDS.h b/include/configs/BSC9132QDS.h
> index ea1547f873..9281df3886 100644
> --- a/include/configs/BSC9132QDS.h
> +++ b/include/configs/BSC9132QDS.h
> @@ -518,7 +518,6 @@ combinations. this should be removed later
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/include/configs/C29XPCIE.h b/include/configs/C29XPCIE.h
> index 9820dca3bf..784e65ecf3 100644
> --- a/include/configs/C29XPCIE.h
> +++ b/include/configs/C29XPCIE.h
> @@ -434,7 +434,6 @@
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/include/configs/M5208EVBE.h b/include/configs/M5208EVBE.h
> index f8b1d4af38..fe4a230b46 100644
> --- a/include/configs/M5208EVBE.h
> +++ b/include/configs/M5208EVBE.h
> @@ -21,7 +21,6 @@
>  #define CONFIG_WATCHDOG_TIMEOUT		5000
>
>  /* Command line configuration */
> -#define CONFIG_CMD_REGINFO
>
>  #define CONFIG_MCFFEC
>  #ifdef CONFIG_MCFFEC
> diff --git a/include/configs/M52277EVB.h b/include/configs/M52277EVB.h
> index fc9b26ff46..15bbbd6b57 100644
> --- a/include/configs/M52277EVB.h
> +++ b/include/configs/M52277EVB.h
> @@ -36,7 +36,6 @@
>  #define CONFIG_BOOTP_HOSTNAME
>
>  /* Command line configuration */
> -#define CONFIG_CMD_REGINFO
>
>  #define CONFIG_HOSTNAME			M52277EVB
>  #define CONFIG_SYS_UBOOT_END		0x3FFFF
> diff --git a/include/configs/M5235EVB.h b/include/configs/M5235EVB.h
> index e2c3e1ae2d..83a01fe801 100644
> --- a/include/configs/M5235EVB.h
> +++ b/include/configs/M5235EVB.h
> @@ -34,7 +34,6 @@
>  #define CONFIG_BOOTP_HOSTNAME
>
>  /* Command line configuration */
> -#define CONFIG_CMD_REGINFO
>
>  #define CONFIG_MCFFEC
>  #ifdef CONFIG_MCFFEC
> diff --git a/include/configs/M53017EVB.h b/include/configs/M53017EVB.h
> index b88c3709c6..55e1163a83 100644
> --- a/include/configs/M53017EVB.h
> +++ b/include/configs/M53017EVB.h
> @@ -26,7 +26,6 @@
>  #define CONFIG_WATCHDOG_TIMEOUT		5000
>
>  /* Command line configuration */
> -#define CONFIG_CMD_REGINFO
>
>  #define CONFIG_SYS_UNIFY_CACHE
>
> diff --git a/include/configs/M5329EVB.h b/include/configs/M5329EVB.h
> index 999bcd9495..0f6cf6f898 100644
> --- a/include/configs/M5329EVB.h
> +++ b/include/configs/M5329EVB.h
> @@ -26,7 +26,6 @@
>  #define CONFIG_WATCHDOG_TIMEOUT	5000	/* timeout in milliseconds,  
> max timeout is 6.71sec */
>
>  /* Command line configuration */
> -#define CONFIG_CMD_REGINFO
>
>  #ifdef CONFIG_NANDFLASH_SIZE
>  #      define CONFIG_CMD_NAND
> diff --git a/include/configs/M5373EVB.h b/include/configs/M5373EVB.h
> index 3a39e5031d..99868a35e3 100644
> --- a/include/configs/M5373EVB.h
> +++ b/include/configs/M5373EVB.h
> @@ -26,7 +26,6 @@
>  #define CONFIG_WATCHDOG_TIMEOUT	3360	/* timeout in ms, max is 3.36 sec */
>
>  /* Command line configuration */
> -#define CONFIG_CMD_REGINFO
>
>  #ifdef CONFIG_NANDFLASH_SIZE
>  #      define CONFIG_CMD_NAND
> diff --git a/include/configs/M54418TWR.h b/include/configs/M54418TWR.h
> index 09e21a8359..7201f9026e 100644
> --- a/include/configs/M54418TWR.h
> +++ b/include/configs/M54418TWR.h
> @@ -38,7 +38,6 @@
>
>  /* Command line configuration */
>  #undef CONFIG_CMD_NAND
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * NAND FLASH
> diff --git a/include/configs/M54451EVB.h b/include/configs/M54451EVB.h
> index 7d6edda361..3c1cd9c837 100644
> --- a/include/configs/M54451EVB.h
> +++ b/include/configs/M54451EVB.h
> @@ -36,7 +36,6 @@
>  #define CONFIG_BOOTP_HOSTNAME
>
>  /* Command line configuration */
> -#define CONFIG_CMD_REGINFO
>
>  /* Network configuration */
>  #define CONFIG_MCFFEC
> diff --git a/include/configs/M54455EVB.h b/include/configs/M54455EVB.h
> index ab7e7aef94..2376a19a47 100644
> --- a/include/configs/M54455EVB.h
> +++ b/include/configs/M54455EVB.h
> @@ -36,7 +36,6 @@
>  #define CONFIG_BOOTP_HOSTNAME
>
>  /* Command line configuration */
> -#define CONFIG_CMD_REGINFO
>
>  /* Network configuration */
>  #define CONFIG_MCFFEC
> diff --git a/include/configs/M5475EVB.h b/include/configs/M5475EVB.h
> index 5d87d0d95b..15e648f294 100644
> --- a/include/configs/M5475EVB.h
> +++ b/include/configs/M5475EVB.h
> @@ -26,7 +26,6 @@
>  #define CONFIG_WATCHDOG_TIMEOUT	5000	/* timeout in milliseconds,  
> max timeout is 6.71sec */
>
>  /* Command line configuration */
> -#define CONFIG_CMD_REGINFO
>
>  #define CONFIG_SLTTMR
>
> diff --git a/include/configs/M5485EVB.h b/include/configs/M5485EVB.h
> index 6226fd67b6..8f0f92218b 100644
> --- a/include/configs/M5485EVB.h
> +++ b/include/configs/M5485EVB.h
> @@ -26,7 +26,6 @@
>  #define CONFIG_WATCHDOG_TIMEOUT	5000	/* timeout in milliseconds,  
> max timeout is 6.71sec */
>
>  /* Command line configuration */
> -#define CONFIG_CMD_REGINFO
>
>  #define CONFIG_SLTTMR
>
> diff --git a/include/configs/MCR3000.h b/include/configs/MCR3000.h
> index 15bb0e9d6a..7b36e51081 100644
> --- a/include/configs/MCR3000.h
> +++ b/include/configs/MCR3000.h
> @@ -153,6 +153,5 @@
>  #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 10bf1b000b..a5ba3bbf37 100644
> --- a/include/configs/MPC8536DS.h
> +++ b/include/configs/MPC8536DS.h
> @@ -588,7 +588,6 @@
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO
>
>  #undef CONFIG_WATCHDOG			/* watchdog disabled */
>
> diff --git a/include/configs/MPC8541CDS.h b/include/configs/MPC8541CDS.h
> index 816ff4b9a9..d912c6bd8b 100644
> --- a/include/configs/MPC8541CDS.h
> +++ b/include/configs/MPC8541CDS.h
> @@ -342,7 +342,6 @@ extern unsigned long get_clock_freq(void);
>  /*
>   * 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 3dff6376a3..0ab81dce4e 100644
> --- a/include/configs/MPC8544DS.h
> +++ b/include/configs/MPC8544DS.h
> @@ -348,7 +348,6 @@ extern unsigned long get_board_sys_clk(unsigned  
> long dummy);
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * USB
> diff --git a/include/configs/MPC8548CDS.h b/include/configs/MPC8548CDS.h
> index c0fde19bad..be28500d78 100644
> --- a/include/configs/MPC8548CDS.h
> +++ b/include/configs/MPC8548CDS.h
> @@ -461,7 +461,6 @@ extern unsigned long get_clock_freq(void);
>  /*
>   * 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 9c8e3811f1..0c756129a7 100644
> --- a/include/configs/MPC8555CDS.h
> +++ b/include/configs/MPC8555CDS.h
> @@ -340,7 +340,6 @@ extern unsigned long get_clock_freq(void);
>  /*
>   * 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 23ba5f5e3a..b4ee029bfe 100644
> --- a/include/configs/MPC8560ADS.h
> +++ b/include/configs/MPC8560ADS.h
> @@ -354,7 +354,6 @@
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO
>
>  #if defined(CONFIG_ETHER_ON_FCC)
>  #endif
> diff --git a/include/configs/MPC8568MDS.h b/include/configs/MPC8568MDS.h
> index 0bdcfb1b0d..3c335fe712 100644
> --- a/include/configs/MPC8568MDS.h
> +++ b/include/configs/MPC8568MDS.h
> @@ -355,7 +355,6 @@ extern unsigned long get_clock_freq(void);
>  /*
>   * 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 2156460ff9..e16a6df1ba 100644
> --- a/include/configs/MPC8569MDS.h
> +++ b/include/configs/MPC8569MDS.h
> @@ -448,7 +448,6 @@ extern unsigned long get_clock_freq(void);
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO
>
>  #undef CONFIG_WATCHDOG			/* watchdog disabled */
>
> diff --git a/include/configs/MPC8572DS.h b/include/configs/MPC8572DS.h
> index 0917f542f9..1c846f57d5 100644
> --- a/include/configs/MPC8572DS.h
> +++ b/include/configs/MPC8572DS.h
> @@ -547,7 +547,6 @@
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * USB
> diff --git a/include/configs/MPC8610HPCD.h b/include/configs/MPC8610HPCD.h
> index 8eae3072e6..3e00d646bf 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 a1e6303de7..e02c4f40b5 100644
> --- a/include/configs/MPC8641HPCN.h
> +++ b/include/configs/MPC8641HPCN.h
> @@ -587,7 +587,6 @@ extern unsigned long get_board_sys_clk(unsigned  
> long dummy);
>  /*
>   * 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 c823958e5a..6c165a0b2c 100644
> --- a/include/configs/P1010RDB.h
> +++ b/include/configs/P1010RDB.h
> @@ -720,7 +720,6 @@ extern unsigned long get_sdram_size(void);
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO
>
>  #undef CONFIG_WATCHDOG			/* watchdog disabled */
>
> diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h
> index 9ead71f245..896f74d5a3 100644
> --- a/include/configs/P1022DS.h
> +++ b/include/configs/P1022DS.h
> @@ -591,7 +591,6 @@
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * USB
> diff --git a/include/configs/P1023RDB.h b/include/configs/P1023RDB.h
> index d676c1c819..4aa5e57518 100644
> --- a/include/configs/P1023RDB.h
> +++ b/include/configs/P1023RDB.h
> @@ -241,7 +241,6 @@ extern unsigned long get_clock_freq(void);
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * USB
> diff --git a/include/configs/T102xQDS.h b/include/configs/T102xQDS.h
> index 514303486e..173588810d 100644
> --- a/include/configs/T102xQDS.h
> +++ b/include/configs/T102xQDS.h
> @@ -777,7 +777,6 @@ unsigned long get_board_ddr_clk(void);
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/include/configs/T102xRDB.h b/include/configs/T102xRDB.h
> index c4e79664d9..f87af6ba44 100644
> --- a/include/configs/T102xRDB.h
> +++ b/include/configs/T102xRDB.h
> @@ -788,7 +788,6 @@ unsigned long get_board_ddr_clk(void);
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/include/configs/T1040QDS.h b/include/configs/T1040QDS.h
> index 417e2419bf..b8bda52f43 100644
> --- a/include/configs/T1040QDS.h
> +++ b/include/configs/T1040QDS.h
> @@ -656,7 +656,6 @@ unsigned long get_board_ddr_clk(void);
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h
> index da44aa05f1..6182c8d73c 100644
> --- a/include/configs/T104xRDB.h
> +++ b/include/configs/T104xRDB.h
> @@ -770,7 +770,6 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/include/configs/T208xQDS.h b/include/configs/T208xQDS.h
> index 618ab1ec57..8558ba8ba0 100644
> --- a/include/configs/T208xQDS.h
> +++ b/include/configs/T208xQDS.h
> @@ -742,7 +742,6 @@ unsigned long get_board_ddr_clk(void);
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/include/configs/T208xRDB.h b/include/configs/T208xRDB.h
> index 3a43325523..682a87e732 100644
> --- a/include/configs/T208xRDB.h
> +++ b/include/configs/T208xRDB.h
> @@ -688,7 +688,6 @@ unsigned long get_board_ddr_clk(void);
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/include/configs/T4240RDB.h b/include/configs/T4240RDB.h
> index 878f120c45..63fed3c3cc 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 8c12eb1704..e2667f9632 100644
> --- a/include/configs/TQM834x.h
> +++ b/include/configs/TQM834x.h
> @@ -273,7 +273,6 @@
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/include/configs/UCP1020.h b/include/configs/UCP1020.h
> index ccaa89d7cf..8f3f5f910e 100644
> --- a/include/configs/UCP1020.h
> +++ b/include/configs/UCP1020.h
> @@ -418,7 +418,6 @@
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * USB
> diff --git a/include/configs/astro_mcf5373l.h  
> b/include/configs/astro_mcf5373l.h
> index 61989d6bab..61f0d7a938 100644
> --- a/include/configs/astro_mcf5373l.h
> +++ b/include/configs/astro_mcf5373l.h
> @@ -59,7 +59,6 @@
>
>  /* Define which commands should be available at u-boot command prompt */
>
> -#define CONFIG_CMD_REGINFO
>  #define CONFIG_CMDLINE_EDITING
>
>  #define CONFIG_MCFRTC
> diff --git a/include/configs/controlcenterd.h  
> b/include/configs/controlcenterd.h
> index 0fa1b76b7e..e35ded6977 100644
> --- a/include/configs/controlcenterd.h
> +++ b/include/configs/controlcenterd.h
> @@ -338,9 +338,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 4a62662e42..e6648bda46 100644
> --- a/include/configs/corenet_ds.h
> +++ b/include/configs/corenet_ds.h
> @@ -592,7 +592,6 @@
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO
>
>  /*
>  * USB
> diff --git a/include/configs/cyrus.h b/include/configs/cyrus.h
> index 6f877a8ac8..4b75bce969 100644
> --- a/include/configs/cyrus.h
> +++ b/include/configs/cyrus.h
> @@ -410,7 +410,6 @@
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * USB
> diff --git a/include/configs/dragonboard410c.h  
> b/include/configs/dragonboard410c.h
> index 11c842d952..712e11725b 100644
> --- a/include/configs/dragonboard410c.h
> +++ b/include/configs/dragonboard410c.h
> @@ -49,7 +49,6 @@
>  /* Enable that for switching of boot partitions */
>  /* Disabled by default as some sub-commands can brick eMMC */
>  /*#define CONFIG_SUPPORT_EMMC_BOOT */
> -#define CONFIG_CMD_REGINFO	/* Register dump		*/
>  #define CONFIG_CMD_TFTP
>
>  /* Partition table support */
> diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h
> index e7cbfd5192..6b89bab058 100644
> --- a/include/configs/p1_p2_rdb_pc.h
> +++ b/include/configs/p1_p2_rdb_pc.h
> @@ -807,7 +807,6 @@
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * USB
> diff --git a/include/configs/p1_twr.h b/include/configs/p1_twr.h
> index a4a6cf2b6f..560b4380d3 100644
> --- a/include/configs/p1_twr.h
> +++ b/include/configs/p1_twr.h
> @@ -380,7 +380,6 @@ extern unsigned long get_board_sys_clk(unsigned  
> long dummy);
>  /*
>   * Command line configuration.
>   */
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * USB
> diff --git a/include/configs/qemu-ppce500.h b/include/configs/qemu-ppce500.h
> index 9782813cdf..cdca1a27ef 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/s5p_goni.h b/include/configs/s5p_goni.h
> index dcfd483f3d..108b573a11 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_REGINFO
> -
>  /* 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/sbc8548.h b/include/configs/sbc8548.h
> index 16c10da122..b3de6545b2 100644
> --- a/include/configs/sbc8548.h
> +++ b/include/configs/sbc8548.h
> @@ -511,7 +511,6 @@
>  /*
>   * 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 0e8e703691..175a6407f9 100644
> --- a/include/configs/sbc8641d.h
> +++ b/include/configs/sbc8641d.h
> @@ -451,8 +451,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 0580c8ceda..e24721bb32 100644
> --- a/include/configs/smdkc100.h
> +++ b/include/configs/smdkc100.h
> @@ -61,8 +61,6 @@
>   ***********************************************************/
>  #undef CONFIG_CMD_NAND
>
> -#define CONFIG_CMD_REGINFO
> -
>  #define CONFIG_MTD_DEVICE
>  #define CONFIG_MTD_PARTITIONS
>
> diff --git a/include/configs/socrates.h b/include/configs/socrates.h
> index ef2cd7540a..89119dd14a 100644
> --- a/include/configs/socrates.h
> +++ b/include/configs/socrates.h
> @@ -280,7 +280,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/vct.h b/include/configs/vct.h
> index 08ac7e0c2a..07e2d9e898 100644
> --- a/include/configs/vct.h
> +++ b/include/configs/vct.h
> @@ -247,7 +247,6 @@ int vct_gpio_get(int pin);
>   * (NOR/OneNAND) usage and Linux kernel booting.
>   */
>  #if defined(CONFIG_VCT_SMALL_IMAGE)
> -#undef CONFIG_CMD_REGINFO
>  #undef CONFIG_CMD_STRINGS
>  #undef CONFIG_CMD_TERMINAL
>
> diff --git a/include/configs/xilinx-ppc.h b/include/configs/xilinx-ppc.h
> index 924e0d11e7..e24b2f2e42 100644
> --- a/include/configs/xilinx-ppc.h
> +++ b/include/configs/xilinx-ppc.h
> @@ -24,7 +24,6 @@
>  #define CONFIG_SYS_MALLOC_LEN		(CONFIG_ENV_SIZE + 128 * 1024)
>
>  /*Cmd*/
> -#define CONFIG_CMD_REGINFO
>
>  /*Misc*/
>  #define CONFIG_SYS_LONGHELP		/* undef to save memory         */
> diff --git a/include/configs/xpedite517x.h b/include/configs/xpedite517x.h
> index 1848d9f444..87cdd2a3fd 100644
> --- a/include/configs/xpedite517x.h
> +++ b/include/configs/xpedite517x.h
> @@ -485,7 +485,6 @@ extern unsigned long get_board_sys_clk(unsigned  
> long dummy);
>   * Command configuration.
>   */
>  #define CONFIG_CMD_NAND
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/include/configs/xpedite520x.h b/include/configs/xpedite520x.h
> index 881ef3188d..afa03157ab 100644
> --- a/include/configs/xpedite520x.h
> +++ b/include/configs/xpedite520x.h
> @@ -288,7 +288,6 @@
>   * Command configuration.
>   */
>  #define CONFIG_CMD_NAND
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/include/configs/xpedite537x.h b/include/configs/xpedite537x.h
> index ad2490f456..73ae952c29 100644
> --- a/include/configs/xpedite537x.h
> +++ b/include/configs/xpedite537x.h
> @@ -338,7 +338,6 @@ extern unsigned long get_board_ddr_clk(unsigned  
> long dummy);
>   * Command configuration.
>   */
>  #define CONFIG_CMD_NAND
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/include/configs/xpedite550x.h b/include/configs/xpedite550x.h
> index 9fccd563fa..9f9e4bc5bd 100644
> --- a/include/configs/xpedite550x.h
> +++ b/include/configs/xpedite550x.h
> @@ -337,7 +337,6 @@ extern unsigned long get_board_ddr_clk(unsigned  
> long dummy);
>   * Command configuration.
>   */
>  #define CONFIG_CMD_NAND
> -#define CONFIG_CMD_REGINFO
>
>  /*
>   * Miscellaneous configurable options
> diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
> index d3344bfebf..54a018144f 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.rc0.284.gd933b75aa4-goog
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 26/41] Convert CONFIG_CMD_SPL_WRITE_SIZE to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 26/41] Convert CONFIG_CMD_SPL_WRITE_SIZE " Simon Glass
@ 2017-07-23  3:04   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-23  3:04 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_SPL_WRITE_SIZE
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  cmd/Kconfig                               | 9 +++++++++
>  configs/am43xx_evm_defconfig              | 1 +
>  configs/am43xx_evm_ethboot_defconfig      | 1 +
>  configs/am43xx_evm_usbhost_boot_defconfig | 1 +
>  configs/devkit8000_defconfig              | 1 +
>  configs/gwventana_emmc_defconfig          | 1 +
>  configs/gwventana_gw5904_defconfig        | 1 +
>  configs/gwventana_nand_defconfig          | 1 +
>  configs/ipam390_defconfig                 | 1 +
>  configs/mx6sabresd_defconfig              | 1 +
>  configs/twister_defconfig                 | 1 +
>  include/configs/am335x_evm.h              | 1 -
>  include/configs/am43xx_evm.h              | 1 -
>  include/configs/baltos.h                  | 1 -
>  include/configs/bav335x.h                 | 1 -
>  include/configs/brppt1.h                  | 1 -
>  include/configs/cm_t335.h                 | 1 -
>  include/configs/devkit8000.h              | 1 -
>  include/configs/dra7xx_evm.h              | 1 -
>  include/configs/gw_ventana.h              | 1 -
>  include/configs/ipam390.h                 | 1 -
>  include/configs/mx6sabreauto.h            | 1 -
>  include/configs/mx6sabresd.h              | 1 -
>  include/configs/omap3_beagle.h            | 1 -
>  include/configs/omap3_cairo.h             | 1 -
>  include/configs/omap3_logic.h             | 1 -
>  include/configs/omap3_overo.h             | 1 -
>  include/configs/omap3_zoom1.h             | 1 -
>  include/configs/pengwyn.h                 | 1 -
>  include/configs/twister.h                 | 1 -
>  scripts/config_whitelist.txt              | 1 -
>  31 files changed, 19 insertions(+), 20 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 27/41] Convert CONFIG_CMD_STRINGS to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 27/41] Convert CONFIG_CMD_STRINGS " Simon Glass
@ 2017-07-23  3:04   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-23  3:04 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_STRINGS
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  cmd/Kconfig                  | 8 ++++++++
>  include/configs/vct.h        | 1 -
>  scripts/config_whitelist.txt | 1 -
>  3 files changed, 8 insertions(+), 2 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

But one comment below:

> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index c3a2d1efbc..29c80feedf 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -486,6 +486,14 @@ config CMD_MEMINFO
>         help
>           Display memory information.
>
> +config CMD_STRINGS

I feel the ordering is not correct here since I am sure we previously
have command that has R, but we are following M.

> +       bool "strings - display strings in memory"
> +       help
> +         This works similarly to the Unix 'strings' command except that it
> +         works with a memory range. String of printable characters found
> +         within the range are displayed. The minimum number of characters
> +         for a sequence to be considered a string can be provided.
> +
>  endmenu
>
>  menu "Compression commands"
> diff --git a/include/configs/vct.h b/include/configs/vct.h
> index 07e2d9e898..9d2194c807 100644
> --- a/include/configs/vct.h
> +++ b/include/configs/vct.h
> @@ -247,7 +247,6 @@ int vct_gpio_get(int pin);
>   * (NOR/OneNAND) usage and Linux kernel booting.
>   */
>  #if defined(CONFIG_VCT_SMALL_IMAGE)
> -#undef CONFIG_CMD_STRINGS
>  #undef CONFIG_CMD_TERMINAL
>
>  #undef CONFIG_SMC911X
> diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
> index ce044be4ef..21a01efd7c 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_STRINGS
>  CONFIG_CMD_SX151X
>  CONFIG_CMD_TCA642X
>  CONFIG_CMD_TERMINAL
> --

Regards,
Bin

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 28/41] gpio: Drop sx151x driver
  2017-07-21 23:11 ` [U-Boot] [PATCH 28/41] gpio: Drop sx151x driver Simon Glass
@ 2017-07-23  3:04   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-23  3:04 UTC (permalink / raw)
  To: u-boot

Hi Simon,

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This driver is not used in U-Boot. Drop it and its associated CONFIG
> options.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  drivers/gpio/Makefile        |   1 -
>  drivers/gpio/sx151x.c        | 242 -------------------------------------------
>  scripts/config_whitelist.txt |   3 -
>  3 files changed, 246 deletions(-)
>  delete mode 100644 drivers/gpio/sx151x.c
>

We should also drop include/sx151x.h.

Other than that,
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

Regards,
Bin

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 29/41] Convert CONFIG_CMD_TCA642X to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 29/41] Convert CONFIG_CMD_TCA642X to Kconfig Simon Glass
@ 2017-07-23  3:04   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-23  3:04 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_TCA642X
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  configs/omap5_uevm_defconfig | 1 +
>  drivers/gpio/Kconfig         | 9 +++++++++
>  include/configs/omap5_uevm.h | 1 -
>  scripts/config_whitelist.txt | 1 -
>  4 files changed, 10 insertions(+), 2 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 30/41] Convert CONFIG_CMD_TERMINAL to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 30/41] Convert CONFIG_CMD_TERMINAL " Simon Glass
@ 2017-07-23  3:04   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-23  3:04 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_TERMINAL
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  cmd/Kconfig                  | 8 ++++++++
>  include/config_cmd_all.h     | 1 -
>  include/configs/vct.h        | 2 --
>  scripts/config_whitelist.txt | 1 -
>  4 files changed, 8 insertions(+), 4 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 31/41] Kconfig: Drop CONFIG_CMD_TFTP
  2017-07-21 23:11 ` [U-Boot] [PATCH 31/41] Kconfig: Drop CONFIG_CMD_TFTP Simon Glass
@ 2017-07-23  3:22   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-23  3:22 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This is not a valid CONFIG option. Drop it.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  include/configs/dragonboard410c.h | 1 -
>  scripts/config_whitelist.txt      | 1 -
>  2 files changed, 2 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 32/41] Convert CONFIG_CMD_THOR_DOWNLOAD to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 32/41] Convert CONFIG_CMD_THOR_DOWNLOAD to Kconfig Simon Glass
@ 2017-07-23  3:23   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-23  3:23 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_THOR_DOWNLOAD
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  cmd/Kconfig                                      | 8 ++++++++
>  configs/odroid-xu3_defconfig                     | 1 +
>  configs/odroid_defconfig                         | 1 +
>  configs/origen_defconfig                         | 1 +
>  configs/s5p_goni_defconfig                       | 1 +
>  configs/s5pc210_universal_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/xilinx_zynqmp_ep_defconfig               | 1 +
>  configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 1 +
>  configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 1 +
>  configs/xilinx_zynqmp_zcu102_defconfig           | 1 +
>  configs/xilinx_zynqmp_zcu102_revB_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 +
>  include/configs/exynos4-common.h                 | 1 -
>  include/configs/odroid_xu3.h                     | 1 -
>  include/configs/s5p_goni.h                       | 1 -
>  include/configs/smdkv310.h                       | 1 -
>  include/configs/xilinx_zynqmp.h                  | 1 -
>  include/configs/zynq-common.h                    | 1 -
>  scripts/config_whitelist.txt                     | 1 -
>  29 files changed, 29 insertions(+), 7 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 33/41] Convert CONFIG_CMD_YAFFS2 to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 33/41] Convert CONFIG_CMD_YAFFS2 " Simon Glass
@ 2017-07-23  3:23   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-23  3:23 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_YAFFS2
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  cmd/Kconfig       | 11 +++++++++++
>  cmd/Makefile      |  2 +-
>  fs/Kconfig        |  2 ++
>  fs/yaffs2/Kconfig |  7 +++++++
>  4 files changed, 21 insertions(+), 1 deletion(-)
>  create mode 100644 fs/yaffs2/Kconfig
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 34/41] Convert CONFIG_CMD_TRACE to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 34/41] Convert CONFIG_CMD_TRACE " Simon Glass
@ 2017-07-23  3:23   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-23  3:23 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_TRACE
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  cmd/Kconfig                      | 9 +++++++++
>  include/configs/exynos5-common.h | 1 -
>  include/configs/sandbox.h        | 1 -
>  scripts/config_whitelist.txt     | 1 -
>  4 files changed, 9 insertions(+), 3 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 35/41] Convert CONFIG_CMD_TSI148 to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 35/41] Convert CONFIG_CMD_TSI148 " Simon Glass
@ 2017-07-23  3:23   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-23  3:23 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_TSI148
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  cmd/Kconfig                  | 6 ++++++
>  configs/caddy2_defconfig     | 1 +
>  configs/vme8349_defconfig    | 1 +
>  include/configs/vme8349.h    | 1 -
>  scripts/config_whitelist.txt | 1 -
>  5 files changed, 8 insertions(+), 2 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 36/41] Convert CONFIG_CMD_UNIVERSE to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 36/41] Convert CONFIG_CMD_UNIVERSE " Simon Glass
@ 2017-07-23  3:33   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-23  3:33 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_UNIVERSE
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  cmd/Kconfig                  | 6 ++++++
>  include/config_cmd_all.h     | 1 -
>  scripts/config_whitelist.txt | 1 -
>  3 files changed, 6 insertions(+), 2 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 37/41] Convert CONFIG_CMD_UUID to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 37/41] Convert CONFIG_CMD_UUID " Simon Glass
@ 2017-07-23  3:33   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-23  3:33 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_UUID
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  README                       |  1 -
>  cmd/Kconfig                  | 11 +++++++++++
>  scripts/config_whitelist.txt |  1 -
>  3 files changed, 11 insertions(+), 2 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 38/41] Convert CONFIG_CMD_ZBOOT to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 38/41] Convert CONFIG_CMD_ZBOOT " Simon Glass
@ 2017-07-23  3:33   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-23  3:33 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_ZBOOT
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  arch/Kconfig                 |  1 +
>  cmd/Kconfig                  | 12 ++++++++++++
>  include/configs/x86-common.h |  2 --
>  scripts/config_whitelist.txt |  1 -
>  4 files changed, 13 insertions(+), 3 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 39/41] Convert CONFIG_CMD_ZFS to Kconfig
  2017-07-21 23:11 ` [U-Boot] [PATCH 39/41] Convert CONFIG_CMD_ZFS " Simon Glass
@ 2017-07-23  3:34   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-23  3:34 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This converts the following to Kconfig:
>    CONFIG_CMD_ZFS
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  cmd/Kconfig                  | 11 +++++++++++
>  include/config_cmd_all.h     |  1 -
>  scripts/config_whitelist.txt |  1 -
>  3 files changed, 11 insertions(+), 2 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 40/41] Drop config_cmd_all.h
  2017-07-21 23:11 ` [U-Boot] [PATCH 40/41] Drop config_cmd_all.h Simon Glass
@ 2017-07-23  3:34   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-23  3:34 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> This file does not include all commands and has not for a while. Let's
> drop it.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  README                   |  5 -----
>  include/config_cmd_all.h | 19 -------------------
>  2 files changed, 24 deletions(-)
>  delete mode 100644 include/config_cmd_all.h
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 41/41] README: Drop information about commands
  2017-07-21 23:11 ` [U-Boot] [PATCH 41/41] README: Drop information about commands Simon Glass
@ 2017-07-23  3:34   ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-07-23  3:34 UTC (permalink / raw)
  To: u-boot

On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
> Most of this is duplicated in Kconfig help. Add some of that which is not,
> and remove the help from the README.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  README               | 131 +--------------------------------------------------
>  cmd/Kconfig          |   4 +-
>  cmd/fastboot/Kconfig |   2 +
>  3 files changed, 6 insertions(+), 131 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 10/41] Convert CONFIG_CMD_PCI to Kconfig
  2017-07-22 15:18   ` Bin Meng
@ 2017-08-04 21:38     ` Simon Glass
  2017-08-05  3:20       ` Bin Meng
  0 siblings, 1 reply; 88+ messages in thread
From: Simon Glass @ 2017-08-04 21:38 UTC (permalink / raw)
  To: u-boot

Hi Bin,

On 22 July 2017 at 09:18, Bin Meng <bmeng.cn@gmail.com> wrote:
> Hi Simon,
>
> On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
>> This converts the following to Kconfig:
>>    CONFIG_CMD_PCI
>>
>> Signed-off-by: Simon Glass <sjg@chromium.org>
>> ---
>>
[..]

>> diff --git a/README b/README
>> index 43691cc167..fe63a7090b 100644
>> --- a/README
>> +++ b/README
>> @@ -813,7 +813,6 @@ The following options need to be configured:
>>                 CONFIG_CMD_NAND         * NAND support
>>                 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
>
> I assume this was converted by moveconfig. It seems some of the
> Kconfig files are updated to "imply CMD_PCI", but some are not (eg:
> all x86 boards defconfig files are updated instead). What's the logic
> for when to use "imply" vs. updating board defconfig file?

If there are 5 or more boards which could benefit from an imply, then
it adds one. I sometimes change this (e.g. to 4 boards) but I think
figuring out exactly what each arch / board should imply is the job of
the maintainer.

It is a lot of work to create these conversion series, and I don't
think we should strive for 100% perfection. That is the job of board
maintainers.

Regards,
Simon

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 16/41] Convert CONFIG_CMD_REGINFO to Kconfig
  2017-07-22 16:34   ` LEROY Christophe
@ 2017-08-04 21:39     ` Simon Glass
  0 siblings, 0 replies; 88+ messages in thread
From: Simon Glass @ 2017-08-04 21:39 UTC (permalink / raw)
  To: u-boot

Hi Bin,

On 22 July 2017 at 10:34, LEROY Christophe <christophe.leroy@c-s.fr> wrote:
> Simon Glass <sjg@chromium.org> a écrit :
>
>
>> This converts the following to Kconfig:
>>    CONFIG_CMD_REGINFO
>>
>> Signed-off-by: Simon Glass <sjg@chromium.org>
>> ---
>>

I found another patch that was apparently applied by Tom, or not
quite, so I've patched that into the v2 series.

I fixed the CMD_PCI problem though.

Regards,
Simon

^ permalink raw reply	[flat|nested] 88+ messages in thread

* [U-Boot] [PATCH 10/41] Convert CONFIG_CMD_PCI to Kconfig
  2017-08-04 21:38     ` Simon Glass
@ 2017-08-05  3:20       ` Bin Meng
  0 siblings, 0 replies; 88+ messages in thread
From: Bin Meng @ 2017-08-05  3:20 UTC (permalink / raw)
  To: u-boot

Hi Simon,

On Sat, Aug 5, 2017 at 5:38 AM, Simon Glass <sjg@chromium.org> wrote:
> Hi Bin,
>
> On 22 July 2017 at 09:18, Bin Meng <bmeng.cn@gmail.com> wrote:
>> Hi Simon,
>>
>> On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg@chromium.org> wrote:
>>> This converts the following to Kconfig:
>>>    CONFIG_CMD_PCI
>>>
>>> Signed-off-by: Simon Glass <sjg@chromium.org>
>>> ---
>>>
> [..]
>
>>> diff --git a/README b/README
>>> index 43691cc167..fe63a7090b 100644
>>> --- a/README
>>> +++ b/README
>>> @@ -813,7 +813,6 @@ The following options need to be configured:
>>>                 CONFIG_CMD_NAND         * NAND support
>>>                 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
>>
>> I assume this was converted by moveconfig. It seems some of the
>> Kconfig files are updated to "imply CMD_PCI", but some are not (eg:
>> all x86 boards defconfig files are updated instead). What's the logic
>> for when to use "imply" vs. updating board defconfig file?
>
> If there are 5 or more boards which could benefit from an imply, then
> it adds one. I sometimes change this (e.g. to 4 boards) but I think
> figuring out exactly what each arch / board should imply is the job of
> the maintainer.
>
> It is a lot of work to create these conversion series, and I don't
> think we should strive for 100% perfection. That is the job of board
> maintainers.

Thanks for the clarifications! That makes perfect sense.

Regards,
Bin

^ permalink raw reply	[flat|nested] 88+ messages in thread

end of thread, other threads:[~2017-08-05  3:20 UTC | newest]

Thread overview: 88+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-21 23:10 [U-Boot] [PATCH 00/41] Kconfig: Convert remaining commands to Kconfig Simon Glass
2017-07-21 23:11 ` [U-Boot] [PATCH 01/41] Convert CONFIG_CMD_MAX6957 " Simon Glass
2017-07-22 15:05   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 02/41] Kconfig: Drop CONFIG_CMD_MEM Simon Glass
2017-07-22 15:05   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 03/41] Convert CONFIG_CMD_MFSL to Kconfig Simon Glass
2017-07-22 15:05   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 04/41] Convert CONFIG_CMD_MMC_SPI " Simon Glass
2017-07-22 15:05   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 05/41] Convert CONFIG_CMD_MTDPARTS " Simon Glass
2017-07-22 15:05   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 06/41] Convert CONFIG_CMD_MTDPARTS_SPREAD " Simon Glass
2017-07-22 15:17   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 07/41] Convert CONFIG_CMD_ONENAND " Simon Glass
2017-07-22 15:17   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 08/41] Convert CONFIG_CMD_PCA953X " Simon Glass
2017-07-22 15:17   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 09/41] Kconfig: Drop CONFIG_CMD_PCA953X_INFO Simon Glass
2017-07-22 15:17   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 10/41] Convert CONFIG_CMD_PCI to Kconfig Simon Glass
2017-07-22 15:18   ` Bin Meng
2017-08-04 21:38     ` Simon Glass
2017-08-05  3:20       ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 11/41] Kconfig: Drop CONFIG_CMD_PCI_ENUM Simon Glass
2017-07-22 15:32   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 12/41] Kconfig; Drop CONFIG_IDE_TI_CARDBUS and associated driver Simon Glass
2017-07-22 15:32   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 13/41] Convert CONFIG_CMD_PCMCIA to Kconfig Simon Glass
2017-07-22 15:32   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 14/41] Kconfig: Drop CONFIG_CMD_PORTIO and associated command Simon Glass
2017-07-22 15:32   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 15/41] Kconfig: Convert CMD_READ to Kconfig Simon Glass
2017-07-22 15:33   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 16/41] Convert CONFIG_CMD_REGINFO " Simon Glass
2017-07-22 15:53   ` Bin Meng
2017-07-22 15:59     ` Tom Rini
2017-07-22 16:34   ` LEROY Christophe
2017-08-04 21:39     ` Simon Glass
2017-07-21 23:11 ` [U-Boot] [PATCH 17/41] Convert CONFIG_CMD_REISER " Simon Glass
2017-07-22 15:55   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 18/41] Kconfig: sandbox: Drop CONFIG_CMD_SANDBOX option Simon Glass
2017-07-22 15:56   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 19/41] Convert CONFIG_CMD_SAVES to Kconfig Simon Glass
2017-07-22 16:00   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 20/41] Convert CONFIG_CMD_SCSI " Simon Glass
2017-07-22 16:04   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 21/41] Convert CONFIG_CMD_SDRAM " Simon Glass
2017-07-22 16:26   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 22/41] Convert CONFIG_CMD_SF_TEST " Simon Glass
2017-07-22 16:26   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 23/41] Convert CONFIG_CMD_SH_ZIMAGEBOOT " Simon Glass
2017-07-22 16:26   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 24/41] Convert CONFIG_CMD_SPL " Simon Glass
2017-07-22 16:26   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 25/41] Convert CONFIG_CMD_SPL_NAND_OFS " Simon Glass
2017-07-22 16:26   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 26/41] Convert CONFIG_CMD_SPL_WRITE_SIZE " Simon Glass
2017-07-23  3:04   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 27/41] Convert CONFIG_CMD_STRINGS " Simon Glass
2017-07-23  3:04   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 28/41] gpio: Drop sx151x driver Simon Glass
2017-07-23  3:04   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 29/41] Convert CONFIG_CMD_TCA642X to Kconfig Simon Glass
2017-07-23  3:04   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 30/41] Convert CONFIG_CMD_TERMINAL " Simon Glass
2017-07-23  3:04   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 31/41] Kconfig: Drop CONFIG_CMD_TFTP Simon Glass
2017-07-23  3:22   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 32/41] Convert CONFIG_CMD_THOR_DOWNLOAD to Kconfig Simon Glass
2017-07-23  3:23   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 33/41] Convert CONFIG_CMD_YAFFS2 " Simon Glass
2017-07-23  3:23   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 34/41] Convert CONFIG_CMD_TRACE " Simon Glass
2017-07-23  3:23   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 35/41] Convert CONFIG_CMD_TSI148 " Simon Glass
2017-07-23  3:23   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 36/41] Convert CONFIG_CMD_UNIVERSE " Simon Glass
2017-07-23  3:33   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 37/41] Convert CONFIG_CMD_UUID " Simon Glass
2017-07-23  3:33   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 38/41] Convert CONFIG_CMD_ZBOOT " Simon Glass
2017-07-23  3:33   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 39/41] Convert CONFIG_CMD_ZFS " Simon Glass
2017-07-23  3:34   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 40/41] Drop config_cmd_all.h Simon Glass
2017-07-23  3:34   ` Bin Meng
2017-07-21 23:11 ` [U-Boot] [PATCH 41/41] README: Drop information about commands Simon Glass
2017-07-23  3:34   ` Bin Meng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.