Skip to contentSkip to conversation

Kconfig: Convert commands (D to L) to Kconfig

PATCH New Simon Glass 2 participants 99 messages May 17, 2017 – May 22, 2017 Page 1 of 2

Subsystems (22)
lore
Share & tools
lore
#0 lore raw

v3 cover Kconfig: Convert commands (D to L) to Kconfig

This series moves more commands to Kconfig.

There are two points of note:

- A patch is included to drop the whole digital thermometer and thermostat (DTT) subsystem. It has been replaced with UCLASS_THERMAL and boards should be using that instead.

- Also included is a patch to drop three-wire serial (TWS) support. This is only used by one board and does not support driver model.

These two patches can be applied now, or delayed until a better time.

Changes in v3:
- Drop CMD_HASH for boards which don't define CHAIN_OF_TRUST
- Add 'imply CMD_HASH' for CHAIN_OF_TRUST

Changes in v2:
- Reword to indicate this option is being dropped
- Change 'default y if MPC85xx' to 'default y'
- Fix defconfig ordering in controlcenterd_TRAILBLAZER boards
- Add 'default y if CHAIN_OF_TRUST' to drop defconfig options
- Imply CMD_TIME on x86 to remove defconfig changes
- Update commit message to explain why we can't 'default y if VIDEO'
- Add depends on !ARM && !MIPS && !SH
- Enable for all PPC boards, and explicitly disable those that don't want it
- Enable for microblaze
- Add new patch to enable CMD_GETTIME on sandbox

Simon Glass (48):
configs: Re-sync
Kconfig: Drop CONFIG_CMD_DS4510_INFO
Kconfig: Drop CONFIG_CMD_DS4510_MEM
Kconfig: Drop CONFIG_CMD_DS4510_RST
Kconfig: Drop CONFIG_CMD_DS4510
Convert CONFIG_DS4510 to Kconfig
Kconfig: Drop CONFIG_SYS_I2C_DTT_ADDR
Drop three-wire serial (TWS) support
Drop digital thermometer and thermostat (DTT) drivers
Kconfig: Drop CONFIG_SYS_I2C_DS1621_ADDR
Kconfig: Drop CONFIG_SYS_I2C_DS4510_ADDR Convert CONFIG_CMD_ECCTEST to Kconfig Convert CONFIG_CMD_EECONFIG to Kconfig Convert CONFIG_CMD_EEPROM et al to Kconfig Convert CONFIG_CMD_ENTERRCM to Kconfig
Kconfig: Drop CONFIG_CMD_ENV
Convert CONFIG_CMD_ENV_CALLBACK to Kconfig Convert CONFIG_CMD_ENV_FLAGS to Kconfig Convert CONFIG_CMD_ERRATA to Kconfig
Convert CONFIG_CMD_ESBC_VALIDATE to Kconfig Convert CONFIG_CMD_ETHSW to Kconfig
Convert CONFIG_CMD_FDC to Kconfig
Kconfig: Drop CONFIG_CMD_FDT_MAX_DUMP Convert CONFIG_CMD_FPGAD to Kconfig
Convert CONFIG_CMD_FPGA_LOADBP et al to Kconfig Convert CONFIG_CMD_FUSE to Kconfig
Convert CONFIG_CMD_GETTIME to Kconfig Convert CONFIG_CMD_GSC to Kconfig
Convert CONFIG_CMD_HASH to Kconfig
Kconfig: Add CONFIG_HASH to enable hashing API Convert CONFIG_CMD_HD44760 to Kconfig Convert CONFIG_CMD_HDMIDETECT to Kconfig Convert CONFIG_CMD_IDE to Kconfig
Kconfig: Add a CONFIG_IDE option
Convert CONFIG_CMD_IMMAP to Kconfig
Kconfig: Drop CONFIG_CMD_IMXOTP
Kconfig: Drop CONFIG_CMD_IMX_FUSE
Convert CONFIG_CMD_IO to Kconfig
Convert CONFIG_CMD_IOLOOP to Kconfig
Convert CONFIG_CMD_IOTRACE to Kconfig Convert CONFIG_CMD_JFFS2 to Kconfig
fs: Kconfig: Add a separate option for FS_JFFS2 Convert CONFIG_CMD_IRQ to Kconfig
Convert CONFIG_CMD_KGDB to Kconfig
Kconfig: Drop CONFIG_CMD_LOADY
Convert CONFIG_LZMA to Kconfig
Convert CONFIG_CMD_LZMADEC to Kconfig
sandbox: Enable CMD_GETTIME

 README                                             |  78 +------
 api/api_storage.c                                  |   2 +-
 arch/Kconfig                                       |  12 ++
 arch/arm/Kconfig                                   |   2 +
 arch/arm/cpu/armv7/mx6/Kconfig                     |   1 +
 arch/arm/cpu/armv7/mx7/Kconfig                     |   2 +
 arch/arm/imx-common/Kconfig                        |   6 +
 arch/arm/include/asm/fsl_secure_boot.h             |   2 -
 arch/arm/mach-exynos/Kconfig                       |   1 +
 arch/arm/mach-kirkwood/include/mach/config.h       |   6 +-
 arch/arm/mach-omap2/Kconfig                        |   1 +
 arch/arm/mach-omap2/am33xx/Kconfig                 |   1 +
 arch/arm/mach-tegra/Kconfig                        |  16 ++
 arch/powerpc/Kconfig                               |   3 +
 arch/powerpc/cpu/mpc5xxx/ide.c                     |   2 +-
 arch/powerpc/cpu/mpc85xx/Kconfig                   |  32 +++
 arch/powerpc/cpu/ppc4xx/Kconfig                    |   6 +
 arch/powerpc/include/asm/fsl_secure_boot.h         |   1 -
 arch/powerpc/lib/Kconfig                           |   8 +
 arch/powerpc/lib/Makefile                          |   3 +-
 {cmd => arch/powerpc/lib}/immap.c                  |   0
 board/freescale/common/Kconfig                     |  10 +
 board/freescale/m5253demo/m5253demo.c              |   4 +-
 board/freescale/m5253evbe/m5253evbe.c              |   4 +-
 board/freescale/m54455evb/m54455evb.c              |   2 +-
 board/gateworks/gw_ventana/Kconfig                 |  13 ++
 board/gdsys/405ep/dlvision-10g.c                   |  10 +-
 board/gdsys/405ep/io.c                             |  10 +-
 board/gdsys/405ep/neo.c                            |  10 +-
 board/gdsys/405ex/io64.c                           |  10 +-
 board/gdsys/mpc8308/Kconfig                        |   5 +
 board/intercontrol/digsy_mtc/digsy_mtc.c           |   4 +-
 board/jupiter/jupiter.c                            |   2 +-
 board/phytec/pcm030/pcm030.c                       |   4 +-
 board/tqc/tqm5200/tqm5200.c                        |   2 +-
 board/v38b/v38b.c                                  |   2 +-
 board/work-microwave/work_92105/Kconfig            |   5 +
 .../work-microwave/work_92105/work_92105_display.c |   2 +-
 cmd/Kconfig                                        | 225 +++++++++++++++++++++
 cmd/Makefile                                       |   4 -
 cmd/cramfs.c                                       |   4 +-
 cmd/dtt.c                                          | 120 -----------
 cmd/eeprom.c                                       |   4 -
 cmd/fdt.c                                          |   8 +-
 cmd/pcmcia.c                                       |   2 +-
 common/Kconfig                                     |  12 ++
 common/Makefile                                    |   3 +-
 common/board_r.c                                   |  10 +-
 common/hash.c                                      |   4 +-
 configs/C29XPCIE_NAND_defconfig                    |   1 +
 configs/C29XPCIE_NOR_SECBOOT_defconfig             |   1 +
 configs/C29XPCIE_SPIFLASH_SECBOOT_defconfig        |   1 +
 configs/C29XPCIE_SPIFLASH_defconfig                |   1 +
 configs/C29XPCIE_defconfig                         |   1 +
 configs/CPCI2DP_defconfig                          |   1 +
 configs/CPCI4052_defconfig                         |   2 +
 configs/M52277EVB_defconfig                        |   1 +
 configs/M52277EVB_stmicro_defconfig                |   1 +
 configs/M5253DEMO_defconfig                        |   1 +
 configs/M5253EVBE_defconfig                        |   1 +
 configs/M54455EVB_a66_defconfig                    |   2 +
 configs/M54455EVB_defconfig                        |   2 +
 configs/M54455EVB_i66_defconfig                    |   2 +
 configs/M54455EVB_intel_defconfig                  |   2 +
 configs/M54455EVB_stm33_defconfig                  |   2 +
 configs/MIP405T_defconfig                          |   3 +
 configs/MIP405_defconfig                           |   3 +
 configs/MPC8323ERDB_defconfig                      |   1 +
 configs/MPC8349ITX_LOWBOOT_defconfig               |   1 +
 configs/MPC8349ITX_defconfig                       |   1 +
 configs/MiniFAP_defconfig                          |   2 +
 configs/PATI_defconfig                             |   1 +
 configs/PIP405_defconfig                           |   3 +
 configs/PLU405_defconfig                           |   2 +
 configs/PMC405DE_defconfig                         |   1 +
 configs/PMC440_defconfig                           |   1 +
 configs/Sinovoip_BPI_M2_Plus_defconfig             |   1 -
 configs/T1040D4RDB_NAND_defconfig                  |   1 +
 configs/T1040D4RDB_SDCARD_defconfig                |   1 +
 configs/T1040D4RDB_SECURE_BOOT_defconfig           |   1 +
 configs/T1040D4RDB_SPIFLASH_defconfig              |   1 +
 configs/T1040D4RDB_defconfig                       |   1 +
 configs/T1040QDS_DDR4_defconfig                    |   1 +
 configs/T1040QDS_SECURE_BOOT_defconfig             |   1 +
 configs/T1040QDS_defconfig                         |   1 +
 configs/T1040RDB_NAND_defconfig                    |   1 +
 configs/T1040RDB_SDCARD_defconfig                  |   1 +
 configs/T1040RDB_SECURE_BOOT_defconfig             |   1 +
 configs/T1040RDB_SPIFLASH_defconfig                |   1 +
 configs/T1040RDB_defconfig                         |   1 +
 configs/TQM5200S_HIGHBOOT_defconfig                |   2 +
 configs/TQM5200S_defconfig                         |   2 +
 configs/TQM5200_B_HIGHBOOT_defconfig               |   2 +
 configs/TQM5200_B_defconfig                        |   2 +
 configs/TQM5200_STK100_defconfig                   |   2 +
 configs/TQM5200_defconfig                          |   2 +
 configs/TQM823L_LCD_defconfig                      |   3 +
 configs/TQM823L_defconfig                          |   3 +
 configs/TQM823M_defconfig                          |   3 +
 configs/TQM834x_defconfig                          |   2 +
 configs/TQM850L_defconfig                          |   3 +
 configs/TQM850M_defconfig                          |   3 +
 configs/TQM855L_defconfig                          |   3 +
 configs/TQM855M_defconfig                          |   4 +
 configs/TQM860L_defconfig                          |   3 +
 configs/TQM860M_defconfig                          |   3 +
 configs/TQM862L_defconfig                          |   3 +
 configs/TQM862M_defconfig                          |   3 +
 configs/TQM866M_defconfig                          |   4 +
 configs/TQM885D_defconfig                          |   3 +
 configs/TTTech_defconfig                           |   3 +
 configs/TWR-P1025_defconfig                        |   1 +
 configs/VOM405_defconfig                           |   1 +
 configs/a4m072_defconfig                           |   1 +
 configs/ac14xx_defconfig                           |   2 +
 configs/acadia_defconfig                           |   1 +
 configs/am335x_baltos_defconfig                    |   5 +-
 configs/am335x_evm_defconfig                       |   1 -
 configs/am335x_hs_evm_defconfig                    |   3 -
 configs/am335x_igep003x_defconfig                  |   6 +-
 configs/am335x_shc_defconfig                       |   4 +-
 configs/am335x_shc_ict_defconfig                   |   4 +-
 configs/am335x_shc_netboot_defconfig               |   4 +-
 configs/am335x_shc_prompt_defconfig                |   4 +-
 configs/am335x_shc_sdboot_defconfig                |   4 +-
 configs/am335x_shc_sdboot_prompt_defconfig         |   4 +-
 configs/am335x_sl50_defconfig                      |   5 +-
 configs/am3517_crane_defconfig                     |   1 +
 configs/am43xx_evm_defconfig                       |   2 +-
 configs/am43xx_hs_evm_defconfig                    |   2 +-
 configs/am57xx_evm_defconfig                       |   4 +-
 configs/am57xx_hs_evm_defconfig                    |   4 +-
 configs/ap121_defconfig                            |   1 +
 configs/ap143_defconfig                            |   1 +
 configs/ap325rxa_defconfig                         |   1 +
 configs/apalis_imx6_defconfig                      |   1 +
 configs/apalis_imx6_nospl_com_defconfig            |   1 +
 configs/apalis_imx6_nospl_it_defconfig             |   1 +
 configs/apf27_defconfig                            |   1 +
 configs/arches_defconfig                           |   1 +
 configs/aria_defconfig                             |   2 +
 configs/astro_mcf5373l_defconfig                   |   2 +
 configs/at91sam9263ek_norflash_boot_defconfig      |   2 +-
 configs/at91sam9263ek_norflash_defconfig           |   2 +-
 configs/atngw100_defconfig                         |   1 +
 configs/atngw100mkii_defconfig                     |   1 +
 configs/atstk1002_defconfig                        |   1 +
 configs/bamboo_defconfig                           |   1 +
 configs/birdland_bav335a_defconfig                 |   3 +-
 configs/birdland_bav335b_defconfig                 |   3 +-
 configs/bk4r1_defconfig                            |   1 +
 configs/brppt1_mmc_defconfig                       |   2 +-
 configs/brppt1_nand_defconfig                      |   2 +-
 configs/brppt1_spi_defconfig                       |   2 +-
 configs/brxre1_defconfig                           |   2 +-
 configs/bubinga_defconfig                          |   1 +
 configs/cam5200_defconfig                          |   1 +
 configs/cam5200_niosflash_defconfig                |   1 +
 configs/canmb_defconfig                            |   1 +
 configs/canyonlands_defconfig                      |   1 +
 configs/charon_defconfig                           |   2 +
 configs/chiliboard_defconfig                       |   4 +-
 configs/chromebook_minnie_defconfig                |   2 +-
 configs/cl-som-am57x_defconfig                     |   1 +
 configs/cm5200_defconfig                           |   1 +
 configs/cm_fx6_defconfig                           |   3 +-
 configs/cm_t335_defconfig                          |   3 +-
 configs/cm_t3517_defconfig                         |   1 +
 configs/cm_t35_defconfig                           |   1 +
 configs/cm_t43_defconfig                           |   3 +-
 configs/cm_t54_defconfig                           |   1 +
 configs/colibri_imx6_defconfig                     |   1 +
 configs/colibri_imx6_nospl_defconfig               |   1 +
 configs/colibri_imx7_defconfig                     |   2 +-
 configs/colibri_vf_defconfig                       |   3 +-
 configs/comtrend_ar5387un_ram_defconfig            |  65 +++---
 configs/comtrend_vr3032u_ram_defconfig             |  66 +++---
 .../controlcenterd_36BIT_SDCARD_DEVELOP_defconfig  |   1 +
 configs/controlcenterd_36BIT_SDCARD_defconfig      |   1 +
 .../controlcenterd_TRAILBLAZER_DEVELOP_defconfig   |   2 +
 configs/controlcenterd_TRAILBLAZER_defconfig       |   2 +
 configs/coreboot-x86_defconfig                     |   1 +
 configs/d2net_v2_defconfig                         |   2 +
 configs/dbau1000_defconfig                         |   1 +
 configs/dbau1100_defconfig                         |   1 +
 configs/dbau1500_defconfig                         |   1 +
 configs/devconcenter_defconfig                     |   1 +
 configs/devkit3250_defconfig                       |   1 +
 configs/devkit8000_defconfig                       |   1 +
 configs/digsy_mtc_RAMBOOT_defconfig                |   1 +
 configs/digsy_mtc_defconfig                        |   1 +
 configs/digsy_mtc_rev5_RAMBOOT_defconfig           |   1 +
 configs/digsy_mtc_rev5_defconfig                   |   1 +
 configs/dns325_defconfig                           |   2 +
 configs/dockstar_defconfig                         |   1 +
 configs/dra7xx_evm_defconfig                       |  11 +-
 configs/dra7xx_hs_evm_defconfig                    |   8 +-
 configs/dreamplug_defconfig                        |   1 +
 configs/ds109_defconfig                            |   1 +
 configs/ds414_defconfig                            |   1 +
 configs/eco5pk_defconfig                           |   1 +
 configs/edb9315a_defconfig                         |   1 +
 configs/edminiv2_defconfig                         |   1 +
 configs/ethernut5_defconfig                        |   1 +
 configs/evb-ast2500_defconfig                      |  12 +-
 configs/evb-rk3399_defconfig                       |   5 +-
 configs/firefly-rk3399_defconfig                   |   1 -
 configs/fo300_defconfig                            |   2 +
 configs/glacier_defconfig                          |   1 +
 configs/glacier_ramboot_defconfig                  |   1 +
 configs/goflexhome_defconfig                       |   2 +
 configs/grasshopper_defconfig                      |   1 +
 configs/guruplug_defconfig                         |   3 +
 configs/gwventana_emmc_defconfig                   |   5 +-
 configs/gwventana_gw5904_defconfig                 |   5 +-
 configs/gwventana_nand_defconfig                   |   5 +-
 configs/haleakala_defconfig                        |   1 +
 configs/hrcon_defconfig                            |   2 +
 configs/hrcon_dh_defconfig                         |   2 +
 configs/huawei_hg556a_ram_defconfig                |  67 +++---
 configs/ib62x0_defconfig                           |   3 +
 configs/icon_defconfig                             |   1 +
 configs/iconnect_defconfig                         |   2 +
 configs/ids8313_defconfig                          |   2 +
 configs/imx31_phycore_defconfig                    |   1 +
 configs/imx31_phycore_eet_defconfig                |   1 +
 configs/imx6dl_icore_mmc_defconfig                 |   2 +-
 configs/imx6dl_icore_nand_defconfig                |   2 +-
 configs/imx6q_icore_mmc_defconfig                  |   2 +-
 configs/imx6q_icore_nand_defconfig                 |   2 +-
 configs/inetspace_v2_defconfig                     |   2 +
 configs/inka4x0_defconfig                          |   2 +-
 configs/intip_defconfig                            |   1 +
 configs/io64_defconfig                             |   1 +
 configs/iocon_defconfig                            |   1 +
 configs/ipek01_defconfig                           |   1 +
 configs/k2e_evm_defconfig                          |   5 +-
 configs/k2e_hs_evm_defconfig                       |   3 +-
 configs/k2g_evm_defconfig                          |   4 +-
 configs/k2g_hs_evm_defconfig                       |   5 +-
 configs/k2hk_evm_defconfig                         |   4 +-
 configs/k2hk_hs_evm_defconfig                      |   3 +-
 configs/k2l_evm_defconfig                          |   4 +-
 configs/katmai_defconfig                           |   2 +
 configs/kilauea_defconfig                          |   1 +
 configs/km_kirkwood_128m16_defconfig               |   2 +
 configs/km_kirkwood_defconfig                      |   2 +
 configs/km_kirkwood_pci_defconfig                  |   2 +
 configs/kmcoge4_defconfig                          |   3 +
 configs/kmcoge5ne_defconfig                        |   3 +
 configs/kmcoge5un_defconfig                        |   2 +
 configs/kmeter1_defconfig                          |   3 +
 configs/kmlion1_defconfig                          |   3 +
 configs/kmnusa_defconfig                           |   2 +
 configs/kmopti2_defconfig                          |   3 +
 configs/kmsugp1_defconfig                          |   2 +
 configs/kmsupx5_defconfig                          |   3 +
 configs/kmsuv31_defconfig                          |   2 +
 configs/kmtegr1_defconfig                          |   3 +
 configs/kmtepr2_defconfig                          |   3 +
 configs/kmvect1_defconfig                          |   3 +
 configs/ls1012aqds_qspi_defconfig                  |   1 +
 configs/ls2080aqds_SECURE_BOOT_defconfig           |   1 +
 configs/ls2080aqds_defconfig                       |   1 +
 configs/ls2080aqds_nand_defconfig                  |   1 +
 configs/ls2080aqds_qspi_defconfig                  |   1 +
 configs/ls2080ardb_SECURE_BOOT_defconfig           |   1 +
 configs/ls2080ardb_defconfig                       |   1 +
 configs/ls2080ardb_nand_defconfig                  |   1 +
 configs/lschlv2_defconfig                          |   1 +
 configs/lsxhl_defconfig                            |   1 +
 configs/luan_defconfig                             |   1 +
 configs/lwmon5_defconfig                           |   1 +
 configs/m53evk_defconfig                           |   2 +-
 configs/makalu_defconfig                           |   1 +
 configs/malta64_defconfig                          |   1 +
 configs/malta64el_defconfig                        |   1 +
 configs/malta_defconfig                            |   1 +
 configs/maltael_defconfig                          |   1 +
 configs/mcx_defconfig                              |   1 +
 configs/mecp5123_defconfig                         |   2 +
 configs/mgcoge3ne_defconfig                        |   3 +
 configs/mgcoge3un_defconfig                        |   2 +
 configs/mgcoge_defconfig                           |   3 +
 configs/microblaze-generic_defconfig               |   1 +
 configs/motionpro_defconfig                        |   3 +
 configs/mpc5121ads_defconfig                       |   3 +
 configs/mpc5121ads_rev2_defconfig                  |   3 +
 configs/ms7720se_defconfig                         |   1 +
 configs/ms7722se_defconfig                         |   1 +
 configs/mt_ventoux_defconfig                       |   2 +
 configs/munices_defconfig                          |   1 +
 configs/mvebu_db-88f7040-nand_defconfig            |   7 +-
 configs/mx51evk_defconfig                          |   3 +-
 configs/mx53cx9020_defconfig                       |   2 +-
 configs/mx53loco_defconfig                         |   2 +-
 configs/mx6cuboxi_defconfig                        |   3 +-
 configs/mx6qsabrelite_defconfig                    |   1 +
 configs/mx6sxsabresd_defconfig                     |   2 +-
 configs/mx6sxsabresd_spl_defconfig                 |   2 +-
 configs/mx7dsabresd_defconfig                      |   2 +-
 configs/mx7dsabresd_secure_defconfig               |   2 +-
 configs/nanopi_neo_air_defconfig                   |   2 +-
 configs/nanopi_neo_defconfig                       |   2 +-
 configs/nas220_defconfig                           |   2 +
 configs/net2big_v2_defconfig                       |   2 +
 configs/netspace_lite_v2_defconfig                 |   2 +
 configs/netspace_max_v2_defconfig                  |   2 +
 configs/netspace_mini_v2_defconfig                 |   2 +
 configs/netspace_v2_defconfig                      |   2 +
 configs/nitrogen6dl2g_defconfig                    |   1 +
 configs/nitrogen6dl_defconfig                      |   1 +
 configs/nitrogen6q2g_defconfig                     |   1 +
 configs/nitrogen6q_defconfig                       |   1 +
 configs/nitrogen6s1g_defconfig                     |   1 +
 configs/nitrogen6s_defconfig                       |   1 +
 configs/novena_defconfig                           |   4 +-
 configs/nsa310s_defconfig                          |   3 +
 configs/omap3_evm_defconfig                        |   1 +
 configs/openrd_base_defconfig                      |   2 +
 configs/openrd_client_defconfig                    |   2 +
 configs/openrd_ultimate_defconfig                  |   2 +
 configs/opos6uldev_defconfig                       |   2 +-
 configs/orangepi_2_defconfig                       |   1 -
 configs/orangepi_lite_defconfig                    |   1 -
 configs/orangepi_one_defconfig                     |   1 -
 configs/orangepi_pc2_defconfig                     |   1 -
 configs/orangepi_pc_defconfig                      |   1 -
 configs/orangepi_pc_plus_defconfig                 |   1 -
 configs/orangepi_plus2e_defconfig                  |   1 -
 configs/orangepi_plus_defconfig                    |   1 -
 configs/orangepi_zero_defconfig                    |   2 +-
 configs/ot1200_defconfig                           |   1 +
 configs/pcm030_LOWBOOT_defconfig                   |   1 +
 configs/pcm030_defconfig                           |   1 +
 configs/pcm051_rev1_defconfig                      |   3 +-
 configs/pcm051_rev3_defconfig                      |   3 +-
 configs/pcm052_defconfig                           |   1 +
 configs/pcm058_defconfig                           |   1 +
 configs/pdm360ng_defconfig                         |   1 +
 configs/pengwyn_defconfig                          |   3 +-
 configs/pepper_defconfig                           |   2 +-
 configs/pine64_plus_defconfig                      |   1 -
 configs/pm9263_defconfig                           |   1 +
 configs/pm9g45_defconfig                           |   1 +
 configs/pogo_e02_defconfig                         |   1 +
 configs/portl2_defconfig                           |   2 +
 configs/pxm2_defconfig                             |   2 +-
 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/qemu_mips64_defconfig                      |   2 +
 configs/qemu_mips64el_defconfig                    |   2 +
 configs/qemu_mips_defconfig                        |   2 +
 configs/qemu_mipsel_defconfig                      |   2 +
 configs/r2dplus_defconfig                          |   1 +
 configs/r7780mp_defconfig                          |   1 +
 configs/rainier_defconfig                          |   1 +
 configs/rainier_ramboot_defconfig                  |   1 +
 configs/redwood_defconfig                          |   1 +
 configs/rut_defconfig                              |   2 +-
 configs/sama5d2_xplained_mmc_defconfig             |   4 +-
 configs/sama5d2_xplained_spiflash_defconfig        |   2 +-
 configs/sandbox_defconfig                          |  12 +-
 configs/sandbox_noblk_defconfig                    |   7 +-
 configs/sandbox_spl_defconfig                      |   7 +-
 configs/sequoia_defconfig                          |   1 +
 configs/sequoia_ramboot_defconfig                  |   1 +
 configs/sfr_nb4-ser_ram_defconfig                  |  67 +++---
 configs/sh7763rdp_defconfig                        |   1 +
 configs/sheevaplug_defconfig                       |   3 +
 configs/socfpga_vining_fpga_defconfig              |   1 +
 configs/stm32f746-disco_defconfig                  |  14 +-
 configs/strider_con_defconfig                      |   2 +
 configs/strider_con_dp_defconfig                   |   2 +
 configs/strider_cpu_defconfig                      |   2 +
 configs/strider_cpu_dp_defconfig                   |   2 +
 configs/suvd3_defconfig                            |   3 +
 configs/sycamore_defconfig                         |   1 +
 configs/t3corp_defconfig                           |   2 +
 configs/tbs2910_defconfig                          |   2 +-
 configs/tplink_wdr4300_defconfig                   |   1 +
 configs/tqma6dl_mba6_mmc_defconfig                 |   1 +
 configs/tqma6dl_mba6_spi_defconfig                 |   1 +
 configs/tqma6q_mba6_mmc_defconfig                  |   1 +
 configs/tqma6q_mba6_spi_defconfig                  |   1 +
 configs/tqma6s_mba6_mmc_defconfig                  |   1 +
 configs/tqma6s_mba6_spi_defconfig                  |   1 +
 configs/tqma6s_wru4_mmc_defconfig                  |   1 +
 configs/tricorder_defconfig                        |   1 +
 configs/tricorder_flash_defconfig                  |   1 +
 configs/tuge1_defconfig                            |   3 +
 configs/tuxx1_defconfig                            |   3 +
 configs/twister_defconfig                          |   1 +
 configs/usbarmory_defconfig                        |   1 +
 configs/v38b_defconfig                             |   2 +
 configs/vct_platinum_defconfig                     |   1 +
 configs/vct_platinum_onenand_defconfig             |   2 +
 configs/vct_platinum_onenand_small_defconfig       |   1 +
 configs/vct_platinumavc_defconfig                  |   1 +
 configs/vct_platinumavc_onenand_defconfig          |   2 +
 configs/vct_platinumavc_onenand_small_defconfig    |   1 +
 configs/vct_premium_defconfig                      |   1 +
 configs/vct_premium_onenand_defconfig              |   2 +
 configs/vct_premium_onenand_small_defconfig        |   1 +
 configs/vf610twr_defconfig                         |   1 +
 configs/vf610twr_nand_defconfig                    |   1 +
 configs/walnut_defconfig                           |   1 +
 configs/wandboard_defconfig                        |   1 +
 configs/work_92105_defconfig                       |   2 +
 configs/wtk_defconfig                              |   3 +
 configs/x600_defconfig                             |   1 +
 configs/xilinx-ppc405-generic_defconfig            |   1 +
 configs/xilinx-ppc440-generic_defconfig            |   1 +
 configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig   |   2 +-
 configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig   |   2 +-
 configs/xilinx_zynqmp_zcu102_defconfig             |   3 +-
 configs/xilinx_zynqmp_zcu102_revB_defconfig        |   3 +-
 configs/xpedite1000_defconfig                      |   2 +
 configs/xpedite517x_defconfig                      |   3 +
 configs/xpedite520x_defconfig                      |   2 +
 configs/xpedite537x_defconfig                      |   3 +
 configs/xpedite550x_defconfig                      |   1 +
 configs/yellowstone_defconfig                      |   1 +
 configs/yosemite_defconfig                         |   1 +
 configs/yucca_defconfig                            |   1 +
 configs/zipitz2_defconfig                          |   1 +
 configs/zynq_microzed_defconfig                    |   4 +
 configs/zynq_picozed_defconfig                     |   4 +
 configs/zynq_zc702_defconfig                       |   5 +
 configs/zynq_zc706_defconfig                       |   5 +
 configs/zynq_zc770_xm010_defconfig                 |   4 +
 configs/zynq_zc770_xm011_defconfig                 |   4 +
 configs/zynq_zc770_xm012_defconfig                 |   4 +
 configs/zynq_zc770_xm013_defconfig                 |   4 +
 configs/zynq_zed_defconfig                         |   4 +
 configs/zynq_zybo_defconfig                        |   5 +
 doc/README.JFFS2                                   |   3 +
 drivers/Kconfig                                    |   2 -
 drivers/Makefile                                   |   2 -
 drivers/block/Kconfig                              |   8 +
 drivers/block/Makefile                             |   1 +
 {common => drivers/block}/ide.c                    |   0
 drivers/block/sil680.c                             |   2 +-
 drivers/hwmon/Kconfig                              |   0
 drivers/hwmon/Makefile                             |  22 --
 drivers/hwmon/adm1021.c                            | 164 ---------------
 drivers/hwmon/adt7460.c                            |  73 -------
 drivers/hwmon/ds1621.c                             | 155 --------------
 drivers/hwmon/ds1722.c                             | 137 -------------
 drivers/hwmon/ds1775.c                             | 126 ------------
 drivers/hwmon/ds620.c                              |  65 ------
 drivers/hwmon/lm63.c                               | 160 ---------------
 drivers/hwmon/lm73.c                               | 146 -------------
 drivers/hwmon/lm75.c                               | 143 -------------
 drivers/hwmon/lm81.c                               | 111 ----------
 drivers/misc/Kconfig                               |   8 +
 drivers/misc/ds4510.c                              |  53 +----
 {include => drivers/misc}/ds4510.h                 |  10 -
 drivers/pcmcia/marubun_pcmcia.c                    |   2 +-
 drivers/pcmcia/mpc8xx_pcmcia.c                     |   2 +-
 drivers/pcmcia/tqm8xx_pcmcia.c                     |   2 +-
 drivers/rtc/Makefile                               |   1 -
 drivers/rtc/rtc4543.c                              | 101 ---------
 drivers/twserial/Makefile                          |   8 -
 drivers/twserial/soft_tws.c                        |  94 ---------
 fs/Makefile                                        |   2 +-
 fs/fat/fat.c                                       |   2 +-
 fs/jffs2/Kconfig                                   |   7 +
 include/config_cmd_all.h                           |  12 --
 include/config_distro_bootcmd.h                    |   6 +-
 include/config_fallbacks.h                         |   2 +-
 include/configs/B4860QDS.h                         |   4 -
 include/configs/BSC9131RDB.h                       |   4 -
 include/configs/BSC9132QDS.h                       |   4 -
 include/configs/C29XPCIE.h                         |   4 -
 include/configs/CPCI2DP.h                          |   2 -
 include/configs/CPCI4052.h                         |   3 -
 include/configs/M52277EVB.h                        |   1 -
 include/configs/M5253DEMO.h                        |   3 +-
 include/configs/M5253EVBE.h                        |   1 -
 include/configs/M54418TWR.h                        |   1 -
 include/configs/M54451EVB.h                        |   1 -
 include/configs/M54455EVB.h                        |   2 -
 include/configs/MIP405.h                           |   4 -
 include/configs/MPC8323ERDB.h                      |   1 -
 include/configs/MPC8349ITX.h                       |   5 -
 include/configs/MPC8536DS.h                        |   2 -
 include/configs/MPC8540ADS.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                        |   2 -
 include/configs/P1010RDB.h                         |   4 -
 include/configs/P1022DS.h                          |   2 -
 include/configs/P1023RDB.h                         |   1 -
 include/configs/P2041RDB.h                         |   3 -
 include/configs/PATI.h                             |   2 -
 include/configs/PIP405.h                           |   4 -
 include/configs/PLU405.h                           |   3 -
 include/configs/PMC405DE.h                         |   2 -
 include/configs/PMC440.h                           |  22 --
 include/configs/T102xQDS.h                         |   4 -
 include/configs/T102xRDB.h                         |   4 -
 include/configs/T1040QDS.h                         |   5 -
 include/configs/T104xRDB.h                         |   4 -
 include/configs/T208xQDS.h                         |   3 -
 include/configs/T208xRDB.h                         |   2 -
 include/configs/T4240QDS.h                         |   1 -
 include/configs/T4240RDB.h                         |   3 -
 include/configs/TQM5200.h                          |   2 -
 include/configs/TQM823L.h                          |   2 -
 include/configs/TQM823M.h                          |   2 -
 include/configs/TQM834x.h                          |  10 -
 include/configs/TQM850L.h                          |   2 -
 include/configs/TQM850M.h                          |   2 -
 include/configs/TQM855L.h                          |   2 -
 include/configs/TQM855M.h                          |   3 -
 include/configs/TQM860L.h                          |   2 -
 include/configs/TQM860M.h                          |   2 -
 include/configs/TQM862L.h                          |   2 -
 include/configs/TQM862M.h                          |   2 -
 include/configs/TQM866M.h                          |   3 -
 include/configs/TQM885D.h                          |   2 -
 include/configs/UCP1020.h                          |  24 ---
 include/configs/VOM405.h                           |   2 -
 include/configs/a4m072.h                           |   1 -
 include/configs/ac14xx.h                           |   3 -
 include/configs/acadia.h                           |   9 -
 include/configs/advantech_dms-ba16.h               |   1 -
 include/configs/am335x_evm.h                       |   1 -
 include/configs/am335x_sl50.h                      |   1 -
 include/configs/am3517_crane.h                     |   1 -
 include/configs/am43xx_evm.h                       |   1 -
 include/configs/amcc-common.h                      |   2 -
 include/configs/ap121.h                            |   1 -
 include/configs/ap143.h                            |   1 -
 include/configs/ap325rxa.h                         |   1 -
 include/configs/ap_sh4a_4a.h                       |   1 -
 include/configs/apalis_imx6.h                      |   2 -
 include/configs/apf27.h                            |   2 -
 include/configs/aria.h                             |   3 -
 include/configs/astro_mcf5373l.h                   |   4 -
 include/configs/atngw100.h                         |   1 -
 include/configs/atngw100mkii.h                     |   1 -
 include/configs/atstk1002.h                        |   1 -
 include/configs/baltos.h                           |   1 -
 include/configs/bav335x.h                          |   1 -
 include/configs/bcm_ep_board.h                     |   1 -
 include/configs/calimain.h                         |   1 -
 include/configs/canmb.h                            |   1 -
 include/configs/canyonlands.h                      |  15 --
 include/configs/cl-som-am57x.h                     |   2 -
 include/configs/clearfog.h                         |   1 -
 include/configs/cm5200.h                           |   1 -
 include/configs/cm_fx6.h                           |   4 -
 include/configs/cm_t335.h                          |   4 -
 include/configs/cm_t35.h                           |   4 -
 include/configs/cm_t3517.h                         |   4 -
 include/configs/cm_t43.h                           |   4 -
 include/configs/cm_t54.h                           |   4 -
 include/configs/colibri_imx6.h                     |   2 -
 include/configs/colibri_pxa270.h                   |   1 -
 include/configs/colibri_vf.h                       |   1 -
 include/configs/controlcenterd.h                   |   3 -
 include/configs/controlcenterdc.h                  |   1 -
 include/configs/corenet_ds.h                       |   3 -
 include/configs/cyrus.h                            |   2 -
 include/configs/da850evm.h                         |   2 -
 include/configs/db-88f6720.h                       |   1 -
 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                         |   6 -
 include/configs/devkit3250.h                       |   1 -
 include/configs/devkit8000.h                       |   1 -
 include/configs/digsy_mtc.h                        |   2 -
 include/configs/dlvision-10g.h                     |  10 -
 include/configs/dlvision.h                         |   3 -
 include/configs/dns325.h                           |   2 -
 include/configs/dockstar.h                         |   2 -
 include/configs/dragonboard410c.h                  |   1 -
 include/configs/ds414.h                            |   1 -
 include/configs/ea20.h                             |   2 -
 include/configs/ecovec.h                           |   1 -
 include/configs/edb93xx.h                          |   1 -
 include/configs/edminiv2.h                         |   3 +-
 include/configs/espt.h                             |   1 -
 include/configs/ethernut5.h                        |   1 -
 include/configs/exynos5-common.h                   |   5 -
 include/configs/gdppc440etx.h                      |   1 -
 include/configs/ge_bx50v3.h                        |   1 -
 include/configs/goflexhome.h                       |   2 -
 include/configs/grasshopper.h                      |   1 -
 include/configs/gw_ventana.h                       |   4 -
 include/configs/hikey.h                            |   1 -
 include/configs/hrcon.h                            |   3 -
 include/configs/ib62x0.h                           |   6 +-
 include/configs/iconnect.h                         |   3 -
 include/configs/ids8313.h                          |   3 -
 include/configs/imx27lite-common.h                 |   1 -
 include/configs/imx31_phycore.h                    |   1 -
 include/configs/inka4x0.h                          |  81 --------
 include/configs/intip.h                            |   8 -
 include/configs/io.h                               |   8 -
 include/configs/io64.h                             |   9 -
 include/configs/iocon.h                            |   3 -
 include/configs/ipam390.h                          |   1 -
 include/configs/ipek01.h                           |   2 -
 include/configs/katmai.h                           |  26 ---
 include/configs/kilauea.h                          |   5 -
 include/configs/km/keymile-common.h                |   3 -
 include/configs/km/km-powerpc.h                    |   1 -
 include/configs/km/km83xx-common.h                 |   7 -
 include/configs/km/kmp204x-common.h                |   1 -
 include/configs/km82xx.h                           |   7 -
 include/configs/lacie_kw.h                         |   3 -
 include/configs/ls1012a_common.h                   |   1 -
 include/configs/ls1012aqds.h                       |   1 -
 include/configs/ls1021aiot.h                       |   3 -
 include/configs/ls1021aqds.h                       |   1 -
 include/configs/ls1021atwr.h                       |   1 -
 include/configs/ls1043a_common.h                   |   4 -
 include/configs/ls1046a_common.h                   |   4 -
 include/configs/ls2080a_common.h                   |   2 -
 include/configs/ls2080aqds.h                       |   1 -
 include/configs/ls2080ardb.h                       |   1 -
 include/configs/lsxl.h                             |   4 +-
 include/configs/lwmon5.h                           |   2 -
 include/configs/makalu.h                           |   6 -
 include/configs/malta.h                            |   1 -
 include/configs/maxbcm.h                           |   1 -
 include/configs/mcx.h                              |   1 -
 include/configs/mecp5123.h                         |   3 -
 include/configs/meson-gxbb-common.h                |   2 -
 include/configs/microblaze-generic.h               |   3 -
 include/configs/motionpro.h                        |   4 -
 include/configs/mpc5121ads.h                       |   8 +-
 include/configs/ms7720se.h                         |   1 -
 include/configs/ms7722se.h                         |   1 -
 include/configs/mt_ventoux.h                       |   1 -
 include/configs/munices.h                          |   1 -
 include/configs/mv-common.h                        |   1 -
 include/configs/mv-plug-common.h                   |   3 -
 include/configs/mx51evk.h                          |   1 -
 include/configs/mx6_common.h                       |   1 -
 include/configs/mx6cuboxi.h                        |   1 -
 include/configs/mx7_common.h                       |   1 -
 include/configs/nas220.h                           |   2 -
 include/configs/neo.h                              |  10 -
 include/configs/nitrogen6x.h                       |   1 -
 include/configs/novena.h                           |   2 -
 include/configs/nsa310s.h                          |   6 +-
 include/configs/odroid_xu3.h                       |   1 -
 include/configs/omap3_evm.h                        |   2 -
 include/configs/omapl138_lcdk.h                    |   2 -
 include/configs/openrd.h                           |   2 -
 include/configs/ot1200.h                           |   2 -
 include/configs/p1_p2_rdb_pc.h                     |   2 -
 include/configs/p1_twr.h                           |   2 -
 include/configs/pb1x00.h                           |   2 -
 include/configs/pcm030.h                           |   1 -
 include/configs/pcm051.h                           |   1 -
 include/configs/pcm052.h                           |   1 -
 include/configs/pcm058.h                           |   3 -
 include/configs/pdm360ng.h                         |   2 -
 include/configs/pengwyn.h                          |   1 -
 include/configs/pm9263.h                           |   1 -
 include/configs/pm9g45.h                           |   1 -
 include/configs/pogo_e02.h                         |   2 -
 include/configs/qemu-mips.h                        |   4 -
 include/configs/qemu-mips64.h                      |   4 -
 include/configs/qemu-ppce500.h                     |   1 -
 include/configs/qemu-x86.h                         |   5 +-
 include/configs/r0p7734.h                          |   1 -
 include/configs/r2dplus.h                          |   1 -
 include/configs/r7780mp.h                          |   5 +-
 include/configs/s32v234evb.h                       |   1 -
 include/configs/sandbox.h                          |  10 -
 include/configs/sequoia.h                          |   9 -
 include/configs/sh7763rdp.h                        |   1 -
 include/configs/sheevaplug.h                       |   4 +-
 include/configs/shmin.h                            |   1 -
 include/configs/socfpga_vining_fpga.h              |   2 -
 include/configs/socrates.h                         |   9 -
 include/configs/spear-common.h                     |   1 -
 include/configs/strider.h                          |   3 -
 include/configs/t3corp.h                           |   1 -
 include/configs/t4qds.h                            |   2 -
 include/configs/tam3517-common.h                   |   1 -
 include/configs/tbs2910.h                          |   1 -
 include/configs/tegra-common.h                     |   2 -
 include/configs/theadorable.h                      |   1 -
 include/configs/ti_armv7_keystone2.h               |   1 -
 include/configs/topic_miami.h                      |   4 -
 include/configs/tplink_wdr4300.h                   |   1 -
 include/configs/tqma6.h                            |  11 -
 include/configs/tqma6_mba6.h                       |   2 -
 include/configs/tqma6_wru4.h                       |   4 -
 include/configs/tricorder.h                        |   3 -
 include/configs/usbarmory.h                        |   1 -
 include/configs/v38b.h                             |   3 -
 include/configs/vct.h                              |   6 -
 include/configs/vexpress_aemv8a.h                  |   1 -
 include/configs/vf610twr.h                         |   1 -
 include/configs/vme8349.h                          |   4 -
 include/configs/wandboard.h                        |   1 -
 include/configs/work_92105.h                       |  10 -
 include/configs/x600.h                             |   2 -
 include/configs/x86-common.h                       |   4 -
 include/configs/xilinx-ppc.h                       |   5 -
 include/configs/xilinx_zynqmp.h                    |   2 -
 include/configs/xilinx_zynqmp_zcu102.h             |   1 -
 include/configs/xpedite1000.h                      |   3 -
 include/configs/xpedite517x.h                      |  24 ---
 include/configs/xpedite520x.h                      |   2 -
 include/configs/xpedite537x.h                      |  22 --
 include/configs/xpedite550x.h                      |   5 -
 include/configs/yosemite.h                         |   9 -
 include/configs/zipitz2.h                          |   2 -
 include/configs/zynq-common.h                      |   5 -
 include/configs/zynq_zybo.h                        |   1 -
 include/dtt.h                                      |  47 -----
 include/i2c.h                                      |   3 -
 include/pcmcia.h                                   |   4 +-
 include/tws.h                                      |  21 --
 lib/Kconfig                                        |   8 +
 scripts/config_whitelist.txt                       |  71 -------
 733 files changed, 1237 insertions(+), 3127 deletions(-)
 create mode 100644 arch/powerpc/lib/Kconfig
 rename {cmd => arch/powerpc/lib}/immap.c (100%)
 delete mode 100644 cmd/dtt.c
 rename {common => drivers/block}/ide.c (100%)
 delete mode 100644 drivers/hwmon/Kconfig
 delete mode 100644 drivers/hwmon/Makefile
 delete mode 100644 drivers/hwmon/adm1021.c
 delete mode 100644 drivers/hwmon/adt7460.c
 delete mode 100644 drivers/hwmon/ds1621.c
 delete mode 100644 drivers/hwmon/ds1722.c
 delete mode 100644 drivers/hwmon/ds1775.c
 delete mode 100644 drivers/hwmon/ds620.c
 delete mode 100644 drivers/hwmon/lm63.c
 delete mode 100644 drivers/hwmon/lm73.c
 delete mode 100644 drivers/hwmon/lm75.c
 delete mode 100644 drivers/hwmon/lm81.c
 rename {include => drivers/misc}/ds4510.h (75%)
 delete mode 100644 drivers/rtc/rtc4543.c
 delete mode 100644 drivers/twserial/Makefile
 delete mode 100644 drivers/twserial/soft_tws.c
 delete mode 100644 include/dtt.h
 delete mode 100644 include/tws.h
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#1 lore raw

PATCH v3 1/48 configs: Re-sync

Run moveconfig.py -s to get defconfig files back in sync.

---

Changes in v3: None
Changes in v2: None

 configs/Sinovoip_BPI_M2_Plus_defconfig           |  1 -
 configs/am335x_baltos_defconfig                  |  4 +-
 configs/am335x_evm_defconfig                     |  1 -
 configs/am335x_hs_evm_defconfig                  |  3 --
 configs/am335x_igep003x_defconfig                |  6 +--
 configs/am335x_shc_defconfig                     |  4 +-
 configs/am335x_shc_ict_defconfig                 |  4 +-
 configs/am335x_shc_netboot_defconfig             |  4 +-
 configs/am335x_shc_prompt_defconfig              |  4 +-
 configs/am335x_shc_sdboot_defconfig              |  4 +-
 configs/am335x_shc_sdboot_prompt_defconfig       |  4 +-
 configs/am335x_sl50_defconfig                    |  4 +-
 configs/am43xx_evm_defconfig                     |  2 +-
 configs/am43xx_hs_evm_defconfig                  |  2 +-
 configs/am57xx_evm_defconfig                     |  4 +-
 configs/am57xx_hs_evm_defconfig                  |  4 +-
 configs/at91sam9263ek_norflash_boot_defconfig    |  2 +-
 configs/at91sam9263ek_norflash_defconfig         |  2 +-
 configs/birdland_bav335a_defconfig               |  2 +-
 configs/birdland_bav335b_defconfig               |  2 +-
 configs/brppt1_mmc_defconfig                     |  2 +-
 configs/brppt1_nand_defconfig                    |  2 +-
 configs/brppt1_spi_defconfig                     |  2 +-
 configs/brxre1_defconfig                         |  2 +-
 configs/chiliboard_defconfig                     |  4 +-
 configs/chromebook_minnie_defconfig              |  2 +-
 configs/cm_fx6_defconfig                         |  2 +-
 configs/cm_t335_defconfig                        |  2 +-
 configs/cm_t43_defconfig                         |  2 +-
 configs/colibri_imx7_defconfig                   |  2 +-
 configs/colibri_vf_defconfig                     |  2 +-
 configs/comtrend_ar5387un_ram_defconfig          | 65 ++++++++++-------------
 configs/comtrend_vr3032u_ram_defconfig           | 66 ++++++++++-------------
 configs/dra7xx_evm_defconfig                     | 11 ++--
 configs/dra7xx_hs_evm_defconfig                  |  8 ++-
 configs/evb-ast2500_defconfig                    | 12 ++---
 configs/evb-rk3399_defconfig                     |  5 +-
 configs/firefly-rk3399_defconfig                 |  1 -
 configs/gwventana_emmc_defconfig                 |  2 +-
 configs/gwventana_gw5904_defconfig               |  2 +-
 configs/gwventana_nand_defconfig                 |  2 +-
 configs/huawei_hg556a_ram_defconfig              | 67 ++++++++++--------------
 configs/imx6dl_icore_mmc_defconfig               |  2 +-
 configs/imx6dl_icore_nand_defconfig              |  2 +-
 configs/imx6q_icore_mmc_defconfig                |  2 +-
 configs/imx6q_icore_nand_defconfig               |  2 +-
 configs/k2e_evm_defconfig                        |  5 +-
 configs/k2e_hs_evm_defconfig                     |  3 +-
 configs/k2g_evm_defconfig                        |  4 +-
 configs/k2g_hs_evm_defconfig                     |  5 +-
 configs/k2hk_evm_defconfig                       |  4 +-
 configs/k2hk_hs_evm_defconfig                    |  3 +-
 configs/k2l_evm_defconfig                        |  4 +-
 configs/m53evk_defconfig                         |  2 +-
 configs/mvebu_db-88f7040-nand_defconfig          |  7 ++-
 configs/mx51evk_defconfig                        |  2 +-
 configs/mx53cx9020_defconfig                     |  2 +-
 configs/mx53loco_defconfig                       |  2 +-
 configs/mx6cuboxi_defconfig                      |  2 +-
 configs/mx6sxsabresd_defconfig                   |  2 +-
 configs/mx6sxsabresd_spl_defconfig               |  2 +-
 configs/mx7dsabresd_defconfig                    |  2 +-
 configs/mx7dsabresd_secure_defconfig             |  2 +-
 configs/nanopi_neo_air_defconfig                 |  2 +-
 configs/nanopi_neo_defconfig                     |  2 +-
 configs/novena_defconfig                         |  2 +-
 configs/opos6uldev_defconfig                     |  2 +-
 configs/orangepi_2_defconfig                     |  1 -
 configs/orangepi_lite_defconfig                  |  1 -
 configs/orangepi_one_defconfig                   |  1 -
 configs/orangepi_pc2_defconfig                   |  1 -
 configs/orangepi_pc_defconfig                    |  1 -
 configs/orangepi_pc_plus_defconfig               |  1 -
 configs/orangepi_plus2e_defconfig                |  1 -
 configs/orangepi_plus_defconfig                  |  1 -
 configs/orangepi_zero_defconfig                  |  2 +-
 configs/pcm051_rev1_defconfig                    |  2 +-
 configs/pcm051_rev3_defconfig                    |  2 +-
 configs/pengwyn_defconfig                        |  2 +-
 configs/pepper_defconfig                         |  2 +-
 configs/pine64_plus_defconfig                    |  1 -
 configs/pxm2_defconfig                           |  2 +-
 configs/rut_defconfig                            |  2 +-
 configs/sama5d2_xplained_mmc_defconfig           |  4 +-
 configs/sama5d2_xplained_spiflash_defconfig      |  2 +-
 configs/sandbox_defconfig                        |  8 +--
 configs/sandbox_noblk_defconfig                  |  4 +-
 configs/sandbox_spl_defconfig                    |  4 +-
 configs/sfr_nb4-ser_ram_defconfig                | 67 ++++++++++--------------
 configs/stm32f746-disco_defconfig                | 14 ++---
 configs/tbs2910_defconfig                        |  2 +-
 configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig |  2 +-
 configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig |  2 +-
 configs/xilinx_zynqmp_zcu102_defconfig           |  2 +-
 configs/xilinx_zynqmp_zcu102_revB_defconfig      |  2 +-
 95 files changed, 227 insertions(+), 306 deletions(-)
configs/Sinovoip_BPI_M2_Plus_defconfig +0 -1
index e8cd4fb9ec..651a2ff4ce 100644
@@ -8,7 +8,6 @@ CONFIG_MACPWR="PD6"
 CONFIG_MMC_SUNXI_SLOT_EXTRA=2
 CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-bananapi-m2-plus"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
-CONFIG_CONSOLE_MUX=y
 CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
configs/am335x_baltos_defconfig +2 -2
index dfbb812d65..186aa7b074 100644
@@ -10,9 +10,8 @@ CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_NAND_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
-CONFIG_SPL_FAT_SUPPORT=y
-CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_STACK_R_ADDR=0x82000000
+CONFIG_SPL_FAT_SUPPORT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_EXTRA_OPTIONS="NAND"
@@ -24,6 +23,7 @@ CONFIG_SPL_STACK_R=y
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_MTD_SUPPORT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/am335x_evm_defconfig +0 -1
index c3237f51e4..962bb65443 100644
@@ -48,4 +48,3 @@ CONFIG_G_DNL_MANUFACTURER="Texas Instruments"
 CONFIG_G_DNL_VENDOR_NUM=0x0451
 CONFIG_G_DNL_PRODUCT_NUM=0xd022
 CONFIG_RSA=y
-CONFIG_SPL_OF_LIBFDT=y
configs/am335x_hs_evm_defconfig +0 -3
index 73c9d012fd..435862b71c 100644
@@ -17,7 +17,6 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_ARCH_MISC_INIT=y
 CONFIG_SPL=y
-CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_STACK_R=y
 # CONFIG_SPL_EXT_SUPPORT is not set
 CONFIG_SPL_MTD_SUPPORT=y
@@ -54,6 +53,4 @@ CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_G_DNL_MANUFACTURER="Texas Instruments"
 CONFIG_G_DNL_VENDOR_NUM=0x0451
 CONFIG_G_DNL_PRODUCT_NUM=0xd022
-CONFIG_USE_TINY_PRINTF=y
 CONFIG_RSA=y
-CONFIG_SPL_OF_LIBFDT=y
configs/am335x_igep003x_defconfig +3 -3
index fa468f05e7..9d36cb7a07 100644
@@ -3,17 +3,16 @@ CONFIG_ARCH_OMAP2PLUS=y
 CONFIG_SPL_GPIO_SUPPORT=y
 CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
-CONFIG_AM33XX=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
+CONFIG_AM33XX=y
 CONFIG_TARGET_AM335X_IGEP003X=y
 CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_NAND_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
-CONFIG_SPL_FAT_SUPPORT=y
-CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_STACK_R_ADDR=0x82000000
+CONFIG_SPL_FAT_SUPPORT=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_EXTRA_OPTIONS="MACH_TYPE=MACH_TYPE_IGEP0033"
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
@@ -23,6 +22,7 @@ CONFIG_SPL_STACK_R=y
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_MTD_SUPPORT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/am335x_shc_defconfig +2 -2
index 1068678a7c..aab5b47737 100644
@@ -9,10 +9,9 @@ CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SPL_FAT_SUPPORT=y
 CONFIG_SERIES=y
-CONFIG_SPL_POWER_SUPPORT=y
-CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
@@ -20,6 +19,7 @@ CONFIG_SPL_STACK_R=y
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot# "
configs/am335x_shc_ict_defconfig +2 -2
index 85b24a548a..ddd3005e2d 100644
@@ -9,11 +9,10 @@ CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SPL_FAT_SUPPORT=y
 CONFIG_SHC_ICT=y
 CONFIG_SERIES=y
-CONFIG_SPL_POWER_SUPPORT=y
-CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
@@ -21,6 +20,7 @@ CONFIG_SPL_STACK_R=y
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_SYS_PROMPT="U-Boot# "
 CONFIG_AUTOBOOT_KEYED=y
configs/am335x_shc_netboot_defconfig +2 -2
index 9117407065..83ec41f7fa 100644
@@ -9,11 +9,10 @@ CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SPL_FAT_SUPPORT=y
 CONFIG_SHC_NETBOOT=y
 CONFIG_SERIES=y
-CONFIG_SPL_POWER_SUPPORT=y
-CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
@@ -22,6 +21,7 @@ CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_SYS_PROMPT="U-Boot# "
 CONFIG_AUTOBOOT_KEYED=y
configs/am335x_shc_prompt_defconfig +2 -2
index e71e54b3f5..180314c57a 100644
@@ -9,10 +9,9 @@ CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SPL_FAT_SUPPORT=y
 CONFIG_SERIES=y
-CONFIG_SPL_POWER_SUPPORT=y
-CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
@@ -20,6 +19,7 @@ CONFIG_SPL_STACK_R=y
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="Enter 'shc' to enter prompt (times out) %d \nEnter 'noautoboot' to enter prompt without timeout\n"
configs/am335x_shc_sdboot_defconfig +2 -2
index bd66fbc7b1..215e3247df 100644
@@ -9,11 +9,10 @@ CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SPL_FAT_SUPPORT=y
 CONFIG_SHC_SDBOOT=y
 CONFIG_SERIES=y
-CONFIG_SPL_POWER_SUPPORT=y
-CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
@@ -21,6 +20,7 @@ CONFIG_SPL_STACK_R=y
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_SYS_PROMPT="U-Boot# "
 CONFIG_AUTOBOOT_KEYED=y
configs/am335x_shc_sdboot_prompt_defconfig +2 -2
index bd66fbc7b1..215e3247df 100644
@@ -9,11 +9,10 @@ CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SPL_FAT_SUPPORT=y
 CONFIG_SHC_SDBOOT=y
 CONFIG_SERIES=y
-CONFIG_SPL_POWER_SUPPORT=y
-CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
@@ -21,6 +20,7 @@ CONFIG_SPL_STACK_R=y
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_SYS_PROMPT="U-Boot# "
 CONFIG_AUTOBOOT_KEYED=y
configs/am335x_sl50_defconfig +2 -2
index 994540d6f0..d3cdbdd229 100644
@@ -9,9 +9,8 @@ CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
-CONFIG_SPL_FAT_SUPPORT=y
-CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_STACK_R_ADDR=0x82000000
+CONFIG_SPL_FAT_SUPPORT=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_SYS_EXTRA_OPTIONS="EMMC_BOOT"
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
@@ -22,6 +21,7 @@ CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_YMODEM_SUPPORT=y
 # CONFIG_AUTOBOOT is not set
 # CONFIG_CMD_IMLS is not set
configs/am43xx_evm_defconfig +1 -1
index 4d9ec8841f..b175388d40 100644
@@ -1,8 +1,8 @@
 CONFIG_ARM=y
 CONFIG_ARCH_OMAP2PLUS=y
+CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_AM43XX=y
-CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_TARGET_AM43XX_EVM=y
 CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_DEFAULT_DEVICE_TREE="am437x-gp-evm"
configs/am43xx_hs_evm_defconfig +1 -1
index 6f3cb516fd..2a581b18bd 100644
@@ -1,8 +1,8 @@
 CONFIG_ARM=y
 CONFIG_ARCH_OMAP2PLUS=y
+CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_AM43XX=y
-CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_TI_SECURE_DEVICE=y
 CONFIG_TARGET_AM43XX_EVM=y
 CONFIG_ISW_ENTRY_ADDR=0x403018e0
configs/am57xx_evm_defconfig +2 -2
index 5dc9f4fdce..23ddce997b 100644
@@ -1,14 +1,14 @@
 CONFIG_ARM=y
 CONFIG_ARCH_OMAP2PLUS=y
+CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_OMAP54XX=y
-CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_TARGET_AM57XX_EVM=y
 # CONFIG_SPL_NAND_SUPPORT is not set
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
-CONFIG_ARMV7_LPAE=y
 CONFIG_SPL_STACK_R_ADDR=0x82000000
+CONFIG_ARMV7_LPAE=y
 CONFIG_DEFAULT_DEVICE_TREE="am572x-idk"
 CONFIG_SPL_LOAD_FIT=y
 CONFIG_OF_BOARD_SETUP=y
configs/am57xx_hs_evm_defconfig +2 -2
index 517f7505db..8d30467b67 100644
@@ -1,8 +1,8 @@
 CONFIG_ARM=y
 CONFIG_ARCH_OMAP2PLUS=y
+CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_OMAP54XX=y
-CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_TI_SECURE_DEVICE=y
 CONFIG_TARGET_AM57XX_EVM=y
 CONFIG_TI_SECURE_EMIF_REGION_START=0xbdb00000
@@ -11,8 +11,8 @@ CONFIG_TI_SECURE_EMIF_PROTECTED_REGION_SIZE=0x01c00000
 # CONFIG_SPL_NAND_SUPPORT is not set
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
-CONFIG_ARMV7_LPAE=y
 CONFIG_SPL_STACK_R_ADDR=0x82000000
+CONFIG_ARMV7_LPAE=y
 CONFIG_DEFAULT_DEVICE_TREE="am57xx-beagle-x15"
 CONFIG_FIT_IMAGE_POST_PROCESS=y
 CONFIG_SPL_LOAD_FIT=y
configs/at91sam9263ek_norflash_boot_defconfig +1 -1
index 21480c5d07..7f3d937e45 100644
@@ -31,6 +31,7 @@ CONFIG_DM_GPIO=y
 CONFIG_AT91_GPIO=y
 CONFIG_DM_MMC=y
 CONFIG_GENERIC_ATMEL_MCI=y
+CONFIG_MTD_NOR_FLASH=y
 CONFIG_DM_ETH=y
 CONFIG_MACB=y
 CONFIG_PINCTRL=y
@@ -43,7 +44,6 @@ CONFIG_DEBUG_UART_CLOCK=100000000
 CONFIG_DEBUG_UART_BOARD_INIT=y
 CONFIG_DEBUG_UART_ANNOUNCE=y
 CONFIG_ATMEL_USART=y
-CONFIG_MTD_NOR_FLASH=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
configs/at91sam9263ek_norflash_defconfig +1 -1
index 824c366c44..63dffd8e3a 100644
@@ -31,6 +31,7 @@ CONFIG_DM_GPIO=y
 CONFIG_AT91_GPIO=y
 CONFIG_DM_MMC=y
 CONFIG_GENERIC_ATMEL_MCI=y
+CONFIG_MTD_NOR_FLASH=y
 CONFIG_DM_ETH=y
 CONFIG_MACB=y
 CONFIG_PINCTRL=y
@@ -43,7 +44,6 @@ CONFIG_DEBUG_UART_CLOCK=100000000
 CONFIG_DEBUG_UART_BOARD_INIT=y
 CONFIG_DEBUG_UART_ANNOUNCE=y
 CONFIG_ATMEL_USART=y
-CONFIG_MTD_NOR_FLASH=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_STORAGE=y
configs/birdland_bav335a_defconfig +1 -1
index 17c6008669..680a88cde5 100644
@@ -10,7 +10,6 @@ CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_SPL_FAT_SUPPORT=y
-CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_BAV_VERSION=1
 CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1"
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
@@ -21,6 +20,7 @@ CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_MUSB_NEW_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/birdland_bav335b_defconfig +1 -1
index 225271cd96..ac04004cf3 100644
@@ -10,7 +10,6 @@ CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_SPL_FAT_SUPPORT=y
-CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_BAV_VERSION=2
 CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1"
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
@@ -21,6 +20,7 @@ CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_MUSB_NEW_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/brppt1_mmc_defconfig +1 -1
index 1bdbf90495..9b3b459cf9 100644
@@ -7,7 +7,6 @@ CONFIG_TARGET_BRPPT1=y
 CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
-CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,EMMC_BOOT"
 CONFIG_BOOTDELAY=-2
@@ -23,6 +22,7 @@ CONFIG_SPL=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
 CONFIG_SPL_I2C_SUPPORT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/brppt1_nand_defconfig +1 -1
index ed7432d7f4..29cd8a21e1 100644
@@ -7,7 +7,6 @@ CONFIG_TARGET_BRPPT1=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_NAND_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
-CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,NAND"
 CONFIG_BOOTDELAY=-2
@@ -23,6 +22,7 @@ CONFIG_SPL=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
 CONFIG_SPL_I2C_SUPPORT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/brppt1_spi_defconfig +1 -1
index 02b5ff60e2..d7ad0138dd 100644
@@ -9,7 +9,6 @@ CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
-CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1,SPI_BOOT,EMMC_BOOT"
 CONFIG_SPI_BOOT=y
@@ -26,6 +25,7 @@ CONFIG_SPL=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
 CONFIG_SPL_I2C_SUPPORT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/brxre1_defconfig +1 -1
index 940793b5a6..f2b5e757ce 100644
@@ -5,7 +5,6 @@ CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
-CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SYS_EXTRA_OPTIONS="SERIAL1,CONS_INDEX=1"
 CONFIG_BOOTDELAY=-2
 # CONFIG_CONSOLE_MUX is not set
@@ -20,6 +19,7 @@ CONFIG_SPL=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
 CONFIG_SPL_I2C_SUPPORT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_BOOTD is not set
configs/chiliboard_defconfig +2 -2
index 2f4c694a0a..d8b0106bc6 100644
@@ -9,14 +9,14 @@ CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_NAND_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
-CONFIG_SPL_FAT_SUPPORT=y
-CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_STACK_R_ADDR=0x82000000
+CONFIG_SPL_FAT_SUPPORT=y
 CONFIG_BOOTDELAY=1
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_SPL=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_I2C_SUPPORT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
configs/chromebook_minnie_defconfig +1 -1
index ef333c0011..09f7ec3d2f 100644
@@ -72,8 +72,8 @@ CONFIG_SYSRESET=y
 CONFIG_DM_VIDEO=y
 CONFIG_DISPLAY=y
 CONFIG_VIDEO_ROCKCHIP=y
-CONFIG_DISPLAY_ROCKCHIP_HDMI=y
 CONFIG_DISPLAY_ROCKCHIP_EDP=y
+CONFIG_DISPLAY_ROCKCHIP_HDMI=y
 CONFIG_CONSOLE_SCROLL_LINES=10
 CONFIG_USE_TINY_PRINTF=y
 CONFIG_CMD_DHRYSTONE=y
configs/cm_fx6_defconfig +1 -1
index 5a371c7e81..f7af33f0bf 100644
@@ -9,8 +9,8 @@ CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
-# CONFIG_CMD_BMODE is not set
 CONFIG_VIDEO=y
+# CONFIG_CMD_BMODE is not set
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6QDL,SPL"
 CONFIG_BOOTDELAY=3
configs/cm_t335_defconfig +1 -1
index 4d0d03e68b..dd84e81f65 100644
@@ -11,13 +11,13 @@ CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_NAND_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_SPL_FAT_SUPPORT=y
-CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_MTD_SUPPORT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="CM-T335 # "
 CONFIG_CMD_BOOTZ=y
configs/cm_t43_defconfig +1 -1
index 6ef980ab69..c3b84cc796 100644
@@ -10,7 +10,6 @@ CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
 CONFIG_SPL_FAT_SUPPORT=y
-CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_CPUINFO is not set
@@ -21,6 +20,7 @@ CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x480
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_MTD_SUPPORT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="CM-T43 # "
 CONFIG_CMD_BOOTZ=y
configs/colibri_imx7_defconfig +1 -1
index d5838acbcc..2ba6aea312 100644
@@ -2,9 +2,9 @@ CONFIG_ARM=y
 CONFIG_SYS_THUMB_BUILD=y
 CONFIG_ARCH_MX7=y
 CONFIG_TARGET_COLIBRI_IMX7=y
+CONFIG_VIDEO=y
 CONFIG_IMX_RDC=y
 CONFIG_IMX_BOOTAUX=y
-CONFIG_VIDEO=y
 CONFIG_DEFAULT_DEVICE_TREE="imx7-colibri"
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/toradex/colibri_imx7/imximage.cfg,MX7D"
 CONFIG_BOOTDELAY=1
configs/colibri_vf_defconfig +1 -1
index b69ce65224..8be632fb8e 100644
@@ -1,8 +1,8 @@
 CONFIG_ARM=y
 CONFIG_SYS_THUMB_BUILD=y
 CONFIG_ARCH_VF610=y
-CONFIG_TARGET_COLIBRI_VF=y
 CONFIG_VIDEO=y
+CONFIG_TARGET_COLIBRI_VF=y
 CONFIG_DEFAULT_DEVICE_TREE="vf610-colibri"
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/toradex/colibri_vf/imximage.cfg,ENV_IS_IN_NAND,IMX_NAND"
 CONFIG_BOOTDELAY=1
configs/comtrend_ar5387un_ram_defconfig +27 -38

81 lines not on this page · raw message

configs/comtrend_vr3032u_ram_defconfig +28 -38

82 lines not on this page · raw message

configs/dra7xx_evm_defconfig +4 -7
index be04402572..12c528367e 100644
@@ -1,14 +1,14 @@
 CONFIG_ARM=y
 CONFIG_ARCH_OMAP2PLUS=y
+CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_OMAP54XX=y
-CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_TARGET_DRA7XX_EVM=y
 # CONFIG_SPL_NAND_SUPPORT is not set
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
-CONFIG_ARMV7_LPAE=y
 CONFIG_SPL_STACK_R_ADDR=0x82000000
+CONFIG_ARMV7_LPAE=y
 CONFIG_DEFAULT_DEVICE_TREE="dra7-evm"
 CONFIG_SPL_LOAD_FIT=y
 CONFIG_OF_BOARD_SETUP=y
@@ -43,10 +43,9 @@ CONFIG_REGMAP=y
 CONFIG_SPL_REGMAP=y
 CONFIG_SYSCON=y
 CONFIG_SPL_SYSCON=y
-CONFIG_BLK=y
+CONFIG_SPL_OF_TRANSLATE=y
 CONFIG_DM_SCSI=y
 CONFIG_DWC_AHCI=y
-CONFIG_SPL_OF_TRANSLATE=y
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
 CONFIG_DFU_SF=y
@@ -61,6 +60,7 @@ CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_DM_ETH=y
+CONFIG_SPL_PHY=y
 CONFIG_DM_PMIC=y
 CONFIG_PMIC_PALMAS=y
 CONFIG_PMIC_LP873X=y
@@ -90,6 +90,3 @@ CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_G_DNL_MANUFACTURER="Texas Instruments"
 CONFIG_G_DNL_VENDOR_NUM=0x0451
 CONFIG_G_DNL_PRODUCT_NUM=0xd022
-CONFIG_SPL_PHY=y
-CONFIG_PIPE3_PHY=y
-CONFIG_SPL_PIPE3_PHY=y
configs/dra7xx_hs_evm_defconfig +3 -5
index 84dd26beee..41125d719c 100644
@@ -1,8 +1,8 @@
 CONFIG_ARM=y
 CONFIG_ARCH_OMAP2PLUS=y
+CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_OMAP54XX=y
-CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_TI_SECURE_DEVICE=y
 CONFIG_TARGET_DRA7XX_EVM=y
 CONFIG_TI_SECURE_EMIF_REGION_START=0xbdb00000
@@ -11,8 +11,8 @@ CONFIG_TI_SECURE_EMIF_PROTECTED_REGION_SIZE=0x01c00000
 # CONFIG_SPL_NAND_SUPPORT is not set
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
-CONFIG_ARMV7_LPAE=y
 CONFIG_SPL_STACK_R_ADDR=0x82000000
+CONFIG_ARMV7_LPAE=y
 CONFIG_DEFAULT_DEVICE_TREE="dra7-evm"
 CONFIG_FIT_IMAGE_POST_PROCESS=y
 CONFIG_SPL_LOAD_FIT=y
@@ -63,6 +63,7 @@ CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_DM_ETH=y
+CONFIG_SPL_PHY=y
 CONFIG_DM_PMIC=y
 CONFIG_PMIC_PALMAS=y
 CONFIG_PMIC_LP873X=y
@@ -92,6 +93,3 @@ CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_G_DNL_MANUFACTURER="Texas Instruments"
 CONFIG_G_DNL_VENDOR_NUM=0x0451
 CONFIG_G_DNL_PRODUCT_NUM=0xd022
-CONFIG_SPL_PHY=y
-CONFIG_PIPE3_PHY=y
-CONFIG_SPL_PIPE3_PHY=y
configs/evb-ast2500_defconfig +6 -6
index 08b5f85a34..f71d0c10c3 100644
@@ -3,21 +3,21 @@ CONFIG_ARCH_ASPEED=y
 CONFIG_ASPEED_AST2500=y
 CONFIG_TARGET_EVB_AST2500=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
-CONFIG_PRE_CONSOLE_BUFFER=y
 CONFIG_DEFAULT_DEVICE_TREE="ast2500-evb"
+CONFIG_PRE_CONSOLE_BUFFER=y
 CONFIG_PRE_CON_BUF_ADDR=0x1e720000
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_I2C=y
 CONFIG_REGMAP=y
 CONFIG_CLK=y
+CONFIG_DM_I2C=y
+CONFIG_SYS_I2C_ASPEED=y
+CONFIG_PINCTRL=y
 CONFIG_RAM=y
+CONFIG_DM_RESET=y
 CONFIG_DM_SERIAL=y
 CONFIG_SYS_NS16550=y
 CONFIG_SYSRESET=y
 CONFIG_TIMER=y
 CONFIG_WDT=y
-CONFIG_DM_RESET=y
-CONFIG_PINCTRL=y
-CONFIG_DM_I2C=y
-CONFIG_SYS_I2C_ASPEED=y
-CONFIG_CMD_I2C=y
configs/evb-rk3399_defconfig +1 -4
index c189e750ff..0008e7b886 100644
@@ -23,6 +23,7 @@ CONFIG_CMD_TIME=y
 CONFIG_SPL_OF_CONTROL=y
 CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents"
 CONFIG_SPL_OF_PLATDATA=y
+CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_REGMAP=y
 CONFIG_SPL_REGMAP=y
 CONFIG_SYSCON=y
@@ -34,12 +35,8 @@ CONFIG_SYS_I2C_ROCKCHIP=y
 CONFIG_MMC_DW=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_ROCKCHIP=y
-CONFIG_DM_PMIC=y
-CONFIG_PMIC_RK808=y
-CONFIG_REGULATOR_RK808=y
 CONFIG_DM_ETH=y
 CONFIG_ETH_DESIGNWARE=y
-CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_GMAC_ROCKCHIP=y
 CONFIG_PINCTRL=y
 CONFIG_SPL_PINCTRL=y
configs/firefly-rk3399_defconfig +0 -1
index f30f131f34..bb5c859e62 100644
@@ -39,7 +39,6 @@ CONFIG_ETH_DESIGNWARE=y
 CONFIG_GMAC_ROCKCHIP=y
 CONFIG_PINCTRL=y
 CONFIG_SPL_PINCTRL=y
-CONFIG_ROCKCHIP_RK3399_PINCTRL=y
 CONFIG_DM_PMIC=y
 CONFIG_PMIC_RK8XX=y
 CONFIG_REGULATOR_PWM=y
configs/gwventana_emmc_defconfig +1 -1
index dfabb6bb39..061f15ed2a 100644
@@ -7,7 +7,6 @@ CONFIG_TARGET_GW_VENTANA=y
 CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
-CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_VIDEO=y
 CONFIG_SPL_STACK_R_ADDR=0x18000000
 CONFIG_FIT=y
@@ -23,6 +22,7 @@ CONFIG_SPL_STACK_R=y
 CONFIG_SPL_DMA_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Ventana > "
 CONFIG_CMD_BOOTZ=y
configs/gwventana_gw5904_defconfig +1 -1
index f95aa44390..931572aa67 100644
@@ -7,7 +7,6 @@ CONFIG_TARGET_GW_VENTANA=y
 CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
-CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_VIDEO=y
 CONFIG_SPL_STACK_R_ADDR=0x18000000
 CONFIG_FIT=y
@@ -23,6 +22,7 @@ CONFIG_SPL_STACK_R=y
 CONFIG_SPL_DMA_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Ventana > "
 CONFIG_CMD_BOOTZ=y
configs/gwventana_nand_defconfig +1 -1
index 169570d8fd..37d0e10569 100644
@@ -8,7 +8,6 @@ CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_NAND_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
-CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_VIDEO=y
 CONFIG_SPL_STACK_R_ADDR=0x18000000
 CONFIG_FIT=y
@@ -24,6 +23,7 @@ CONFIG_SPL_STACK_R=y
 CONFIG_SPL_DMA_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Ventana > "
 CONFIG_CMD_BOOTZ=y
configs/huawei_hg556a_ram_defconfig +28 -39

83 lines not on this page · raw message

configs/imx6dl_icore_mmc_defconfig +1 -1
index 6b67156ca5..c1044a1e74 100644
@@ -7,8 +7,8 @@ CONFIG_TARGET_MX6Q_ICORE=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
-# CONFIG_CMD_BMODE is not set
 CONFIG_VIDEO=y
+# CONFIG_CMD_BMODE is not set
 CONFIG_DEFAULT_DEVICE_TREE="imx6dl-icore"
 CONFIG_FIT=y
 CONFIG_FIT_SIGNATURE=y
configs/imx6dl_icore_nand_defconfig +1 -1
index 2099370aa3..5ddce564a7 100644
@@ -6,8 +6,8 @@ CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_TARGET_MX6Q_ICORE=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
-# CONFIG_CMD_BMODE is not set
 CONFIG_VIDEO=y
+# CONFIG_CMD_BMODE is not set
 CONFIG_DEFAULT_DEVICE_TREE="imx6dl-icore"
 CONFIG_FIT=y
 CONFIG_FIT_SIGNATURE=y
configs/imx6q_icore_mmc_defconfig +1 -1
index adb0472811..35073e80f0 100644
@@ -7,8 +7,8 @@ CONFIG_TARGET_MX6Q_ICORE=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
-# CONFIG_CMD_BMODE is not set
 CONFIG_VIDEO=y
+# CONFIG_CMD_BMODE is not set
 CONFIG_DEFAULT_DEVICE_TREE="imx6q-icore"
 CONFIG_FIT=y
 CONFIG_FIT_SIGNATURE=y
configs/imx6q_icore_nand_defconfig +1 -1
index 45d5fcec58..67741a70c7 100644
@@ -6,8 +6,8 @@ CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_TARGET_MX6Q_ICORE=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
-# CONFIG_CMD_BMODE is not set
 CONFIG_VIDEO=y
+# CONFIG_CMD_BMODE is not set
 CONFIG_DEFAULT_DEVICE_TREE="imx6q-icore"
 CONFIG_FIT=y
 CONFIG_FIT_SIGNATURE=y
configs/k2e_evm_defconfig +2 -3
index 83e21380b8..f09eb84ebc 100644
@@ -1,14 +1,13 @@
 CONFIG_ARM=y
 CONFIG_ARCH_KEYSTONE=y
 CONFIG_SYS_TEXT_BASE=0x0c000000
+CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_TARGET_K2E_EVM=y
-CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
-CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_DEFAULT_DEVICE_TREE="keystone-k2e-evm"
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
@@ -16,8 +15,8 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL=y
 CONFIG_SPL_I2C_SUPPORT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_HUSH_PARSER=y
-CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_GPT is not set
configs/k2e_hs_evm_defconfig +1 -2
index d4ec83efc5..55eab61cc3 100644
@@ -1,9 +1,8 @@
 CONFIG_ARM=y
 CONFIG_ARCH_KEYSTONE=y
 CONFIG_SYS_TEXT_BASE=0x0c000060
-CONFIG_TARGET_K2E_EVM=y
 CONFIG_TI_COMMON_CMD_OPTIONS=y
-CONFIG_TI_SECURE_DEVICE=y
+CONFIG_TARGET_K2E_EVM=y
 CONFIG_DEFAULT_DEVICE_TREE="keystone-k2e-evm"
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
configs/k2g_evm_defconfig +2 -2
index 674ddcc9fe..c065cbcac4 100644
@@ -1,14 +1,13 @@
 CONFIG_ARM=y
 CONFIG_ARCH_KEYSTONE=y
 CONFIG_SYS_TEXT_BASE=0x0c000000
+CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_TARGET_K2G_EVM=y
-CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
-CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_DEFAULT_DEVICE_TREE="keystone-k2g-evm"
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
@@ -16,6 +15,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL=y
 CONFIG_SPL_I2C_SUPPORT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
configs/k2g_hs_evm_defconfig +1 -4
index 2e06c8c46d..2ff9700d2a 100644
@@ -1,12 +1,9 @@
 CONFIG_ARM=y
 CONFIG_ARCH_KEYSTONE=y
 CONFIG_SYS_TEXT_BASE=0x0c000060
-CONFIG_TARGET_K2G_EVM=y
 CONFIG_TI_COMMON_CMD_OPTIONS=y
-CONFIG_TI_SECURE_DEVICE=y
+CONFIG_TARGET_K2G_EVM=y
 CONFIG_DEFAULT_DEVICE_TREE="keystone-k2g-evm"
-CONFIG_FIT=y
-CONFIG_FIT_IMAGE_POST_PROCESS=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
configs/k2hk_evm_defconfig +2 -2
index 7dc5cf51cf..0afdb6e2cb 100644
@@ -1,14 +1,13 @@
 CONFIG_ARM=y
 CONFIG_ARCH_KEYSTONE=y
 CONFIG_SYS_TEXT_BASE=0x0c000000
+CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_TARGET_K2HK_EVM=y
-CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
-CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_DEFAULT_DEVICE_TREE="keystone-k2hk-evm"
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
@@ -16,6 +15,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL=y
 CONFIG_SPL_I2C_SUPPORT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
configs/k2hk_hs_evm_defconfig +1 -2
index 67807e4ba8..a66a256346 100644
@@ -1,9 +1,8 @@
 CONFIG_ARM=y
 CONFIG_ARCH_KEYSTONE=y
 CONFIG_SYS_TEXT_BASE=0x0c000060
-CONFIG_TARGET_K2HK_EVM=y
 CONFIG_TI_COMMON_CMD_OPTIONS=y
-CONFIG_TI_SECURE_DEVICE=y
+CONFIG_TARGET_K2HK_EVM=y
 CONFIG_DEFAULT_DEVICE_TREE="keystone-k2hk-evm"
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
configs/k2l_evm_defconfig +2 -2
index 6be4941f66..fd8c173185 100644
@@ -1,14 +1,13 @@
 CONFIG_ARM=y
 CONFIG_ARCH_KEYSTONE=y
 CONFIG_SYS_TEXT_BASE=0x0c000000
+CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_TARGET_K2L_EVM=y
-CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
-CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_DEFAULT_DEVICE_TREE="keystone-k2l-evm"
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
@@ -16,6 +15,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL=y
 CONFIG_SPL_I2C_SUPPORT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
configs/m53evk_defconfig +1 -1
index b0379b8e63..27212479d6 100644
@@ -6,8 +6,8 @@ CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_TARGET_M53EVK=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_NAND_SUPPORT=y
-# CONFIG_CMD_BMODE is not set
 CONFIG_VIDEO=y
+# CONFIG_CMD_BMODE is not set
 CONFIG_FIT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/aries/m53evk/imximage.cfg"
 CONFIG_BOOTDELAY=3
configs/mvebu_db-88f7040-nand_defconfig +3 -4
index d86c18ed08..d12b87a5af 100644
@@ -7,7 +7,6 @@ CONFIG_SMBIOS_PRODUCT_NAME=""
 CONFIG_AHCI=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
-CONFIG_BOARD_LATE_INIT=y
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_ARCH_EARLY_INIT_R=y
@@ -16,12 +15,12 @@ CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
+CONFIG_CMD_NAND=y
 CONFIG_CMD_PART=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
-CONFIG_CMD_NAND=y
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
@@ -31,6 +30,7 @@ CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_TIME=y
 CONFIG_CMD_MVEBU_BUBT=y
+CONFIG_MVEBU_NAND_BOOT=y
 CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
@@ -45,12 +45,11 @@ CONFIG_MISC=y
 CONFIG_DM_MMC=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_XENON=y
+CONFIG_NAND_PXA3XX=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_SPI_FLASH_STMICRO=y
-CONFIG_MVEBU_NAND_BOOT=y
-CONFIG_NAND_PXA3XX=y
 CONFIG_PHYLIB=y
 CONFIG_PCI=y
 CONFIG_DM_PCI=y
configs/mx51evk_defconfig +1 -1
index d7e5404048..e84272d68c 100644
@@ -1,8 +1,8 @@
 CONFIG_ARM=y
 CONFIG_ARCH_MX5=y
 CONFIG_TARGET_MX51EVK=y
-# CONFIG_CMD_BMODE is not set
 CONFIG_VIDEO=y
+# CONFIG_CMD_BMODE is not set
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx51evk/imximage.cfg"
 CONFIG_BOOTDELAY=1
 # CONFIG_CONSOLE_MUX is not set
configs/mx53cx9020_defconfig +1 -1
index d947d9fd5b..e0c597cbe2 100644
@@ -1,8 +1,8 @@
 CONFIG_ARM=y
 CONFIG_ARCH_MX5=y
 CONFIG_TARGET_MX53CX9020=y
-# CONFIG_CMD_BMODE is not set
 CONFIG_VIDEO=y
+# CONFIG_CMD_BMODE is not set
 CONFIG_DEFAULT_DEVICE_TREE="imx53-cx9020"
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/beckhoff/mx53cx9020/imximage.cfg"
 CONFIG_BOOTDELAY=1
configs/mx53loco_defconfig +1 -1
index b71c3ae719..572735616b 100644
@@ -1,8 +1,8 @@
 CONFIG_ARM=y
 CONFIG_ARCH_MX5=y
 CONFIG_TARGET_MX53LOCO=y
-# CONFIG_CMD_BMODE is not set
 CONFIG_VIDEO=y
+# CONFIG_CMD_BMODE is not set
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx53loco/imximage.cfg"
 CONFIG_BOOTDELAY=1
 # CONFIG_CONSOLE_MUX is not set
configs/mx6cuboxi_defconfig +1 -1
index c34beb74e2..f31d9bcc46 100644
@@ -8,8 +8,8 @@ CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
-# CONFIG_CMD_BMODE is not set
 CONFIG_VIDEO=y
+# CONFIG_CMD_BMODE is not set
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6QDL"
 # CONFIG_SYS_STDIO_DEREGISTER is not set
configs/mx6sxsabresd_defconfig +1 -1
index ff23345c1e..2522eb770b 100644
@@ -1,8 +1,8 @@
 CONFIG_ARM=y
 CONFIG_ARCH_MX6=y
 CONFIG_TARGET_MX6SXSABRESD=y
-# CONFIG_CMD_BMODE is not set
 CONFIG_VIDEO=y
+# CONFIG_CMD_BMODE is not set
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6sxsabresd/imximage.cfg"
 CONFIG_BOOTDELAY=3
 # CONFIG_CONSOLE_MUX is not set
configs/mx6sxsabresd_spl_defconfig +1 -1
index c08cadab4d..6d4fe6370f 100644
@@ -8,8 +8,8 @@ CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
-# CONFIG_CMD_BMODE is not set
 CONFIG_VIDEO=y
+# CONFIG_CMD_BMODE is not set
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg"
 CONFIG_BOOTDELAY=3
 # CONFIG_CONSOLE_MUX is not set
configs/mx7dsabresd_defconfig +1 -1
index 0701e1d324..69b480c7e9 100644
@@ -1,11 +1,11 @@
 CONFIG_ARM=y
 CONFIG_ARCH_MX7=y
 CONFIG_TARGET_MX7DSABRESD=y
+CONFIG_VIDEO=y
 # CONFIG_ARMV7_VIRT is not set
 CONFIG_IMX_RDC=y
 CONFIG_IMX_BOOTAUX=y
 # CONFIG_CMD_BMODE is not set
-CONFIG_VIDEO=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx7dsabresd/imximage.cfg"
 CONFIG_BOOTDELAY=3
 # CONFIG_CONSOLE_MUX is not set
configs/mx7dsabresd_secure_defconfig +1 -1
index 2e8b5bedd3..316662d351 100644
@@ -1,11 +1,11 @@
 CONFIG_ARM=y
 CONFIG_ARCH_MX7=y
 CONFIG_TARGET_MX7DSABRESD=y
+CONFIG_VIDEO=y
 CONFIG_ARMV7_BOOT_SEC_DEFAULT=y
 CONFIG_IMX_RDC=y
 CONFIG_IMX_BOOTAUX=y
 # CONFIG_CMD_BMODE is not set
-CONFIG_VIDEO=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx7dsabresd/imximage.cfg"
 CONFIG_BOOTDELAY=3
 # CONFIG_CONSOLE_MUX is not set
configs/nanopi_neo_air_defconfig +1 -1
index 5400d37bd1..a73640e88f 100644
@@ -4,6 +4,7 @@ CONFIG_MACH_SUN8I_H3=y
 CONFIG_DRAM_CLK=408
 CONFIG_DRAM_ZQ=3881979
 CONFIG_DRAM_ODT_EN=y
+# CONFIG_VIDEO_DE2 is not set
 CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-nanopi-neo-air"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_CONSOLE_MUX=y
@@ -15,4 +16,3 @@ CONFIG_SPL=y
 # CONFIG_SPL_ISO_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_USB_EHCI_HCD=y
-# CONFIG_VIDEO_DE2 is not set
configs/nanopi_neo_defconfig +1 -1
index 5afd5d565a..8b55497250 100644
@@ -4,6 +4,7 @@ CONFIG_MACH_SUN8I_H3=y
 CONFIG_DRAM_CLK=408
 CONFIG_DRAM_ZQ=3881979
 CONFIG_DRAM_ODT_EN=y
+# CONFIG_VIDEO_DE2 is not set
 CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-nanopi-neo"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_CONSOLE_MUX=y
@@ -16,4 +17,3 @@ CONFIG_SPL=y
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_SUN8I_EMAC=y
 CONFIG_USB_EHCI_HCD=y
-# CONFIG_VIDEO_DE2 is not set
configs/novena_defconfig +1 -1
index a970eb5961..b759fa2767 100644
@@ -9,8 +9,8 @@ CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
-CONFIG_SPL_FAT_SUPPORT=y
 CONFIG_VIDEO=y
+CONFIG_SPL_FAT_SUPPORT=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6Q"
configs/opos6uldev_defconfig +1 -1
index 1a9d6cddc3..f08e1dd404 100644
@@ -7,8 +7,8 @@ CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
-# CONFIG_CMD_BMODE is not set
 CONFIG_VIDEO=y
+# CONFIG_CMD_BMODE is not set
 CONFIG_DEFAULT_DEVICE_TREE="imx6ul-opos6uldev"
 CONFIG_BOOTDELAY=5
 # CONFIG_CONSOLE_MUX is not set
configs/orangepi_2_defconfig +0 -1
index 201771ee8f..dffba8cad1 100644
@@ -8,7 +8,6 @@ CONFIG_DRAM_ODT_EN=y
 CONFIG_USB1_VBUS_PIN="PG13"
 CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-2"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
-CONFIG_CONSOLE_MUX=y
 CONFIG_SPL=y
 CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_CMD_IMLS is not set
configs/orangepi_lite_defconfig +0 -1
index 38f4583fd0..448a1619c0 100644
@@ -6,7 +6,6 @@ CONFIG_DRAM_ZQ=3881979
 CONFIG_DRAM_ODT_EN=y
 CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-lite"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
-CONFIG_CONSOLE_MUX=y
 CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
configs/orangepi_one_defconfig +0 -1
index 56c9a871b1..97d0e06276 100644
@@ -6,7 +6,6 @@ CONFIG_DRAM_ZQ=3881979
 CONFIG_DRAM_ODT_EN=y
 CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-one"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
-CONFIG_CONSOLE_MUX=y
 CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
configs/orangepi_pc2_defconfig +0 -1
index 8e01284f75..5a64ad3f41 100644
@@ -6,7 +6,6 @@ CONFIG_DRAM_CLK=672
 CONFIG_DRAM_ZQ=3881977
 CONFIG_DEFAULT_DEVICE_TREE="sun50i-h5-orangepi-pc2"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
-CONFIG_CONSOLE_MUX=y
 CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
configs/orangepi_pc_defconfig +0 -1
index 9d4cb0e673..af7568fddf 100644
@@ -6,7 +6,6 @@ CONFIG_DRAM_ZQ=3881979
 CONFIG_DRAM_ODT_EN=y
 CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-pc"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
-CONFIG_CONSOLE_MUX=y
 CONFIG_SPL=y
 CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_CMD_IMLS is not set
configs/orangepi_pc_plus_defconfig +0 -1
index 0addd1938d..935e96d10a 100644
@@ -7,7 +7,6 @@ CONFIG_DRAM_ODT_EN=y
 CONFIG_MMC_SUNXI_SLOT_EXTRA=2
 CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-pc-plus"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
-CONFIG_CONSOLE_MUX=y
 CONFIG_SPL=y
 CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_CMD_IMLS is not set
configs/orangepi_plus2e_defconfig +0 -1
index 52ec86a4bf..3301ca05a4 100644
@@ -8,7 +8,6 @@ CONFIG_MACPWR="PD6"
 CONFIG_MMC_SUNXI_SLOT_EXTRA=2
 CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-plus2e"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
-CONFIG_CONSOLE_MUX=y
 CONFIG_SPL=y
 CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_CMD_IMLS is not set
configs/orangepi_plus_defconfig +0 -1
index 5e028691c1..34c57509c5 100644
@@ -10,7 +10,6 @@ CONFIG_USB1_VBUS_PIN="PG13"
 CONFIG_SATAPWR="PG11"
 CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-plus"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
-CONFIG_CONSOLE_MUX=y
 CONFIG_SPL=y
 CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_CMD_IMLS is not set
configs/orangepi_zero_defconfig +1 -1
index 97ef08994a..c650ce87d9 100644
@@ -5,6 +5,7 @@ CONFIG_MACH_SUN8I_H3=y
 CONFIG_DRAM_CLK=672
 CONFIG_DRAM_ZQ=3881979
 CONFIG_DRAM_ODT_EN=y
+# CONFIG_VIDEO_DE2 is not set
 CONFIG_DEFAULT_DEVICE_TREE="sun8i-h2-plus-orangepi-zero"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_CONSOLE_MUX=y
@@ -15,4 +16,3 @@ CONFIG_SPL=y
 CONFIG_SPL_SPI_SUNXI=y
 CONFIG_SUN8I_EMAC=y
 CONFIG_USB_EHCI_HCD=y
-# CONFIG_VIDEO_DE2 is not set
configs/pcm051_rev1_defconfig +1 -1
index 4392c6e1d3..e8912c08c2 100644
@@ -10,7 +10,6 @@ CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_SPL_FAT_SUPPORT=y
-CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SYS_EXTRA_OPTIONS="REV1"
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
@@ -23,6 +22,7 @@ CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_NET_SUPPORT=y
 CONFIG_SPL_NET_VCI_STRING="pcm051 U-Boot SPL"
 CONFIG_SPL_OS_BOOT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/pcm051_rev3_defconfig +1 -1
index 72a263187f..ec719b687e 100644
@@ -10,7 +10,6 @@ CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_SPL_FAT_SUPPORT=y
-CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SYS_EXTRA_OPTIONS="REV3"
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
@@ -23,6 +22,7 @@ CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_NET_SUPPORT=y
 CONFIG_SPL_NET_VCI_STRING="pcm051 U-Boot SPL"
 CONFIG_SPL_OS_BOOT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/pengwyn_defconfig +1 -1
index 4c46f1ebdd..0845575ac1 100644
@@ -11,7 +11,6 @@ CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_NAND_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_SPL_FAT_SUPPORT=y
-CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_ARCH_MISC_INIT=y
@@ -24,6 +23,7 @@ CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_NET_SUPPORT=y
 CONFIG_SPL_NET_VCI_STRING="AM335x U-Boot SPL"
 CONFIG_SPL_OS_BOOT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
configs/pepper_defconfig +1 -1
index a7d67bf472..0699b931da 100644
@@ -10,12 +10,12 @@ CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_SPL_FAT_SUPPORT=y
-CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_SPL=y
 CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
+CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="pepper# "
 CONFIG_CMD_BOOTZ=y
configs/pine64_plus_defconfig +0 -1
index 92bda60095..db063268bd 100644
@@ -4,7 +4,6 @@ CONFIG_MACH_SUN50I=y
 CONFIG_RESERVE_ALLWINNER_BOOT0_HEADER=y
 CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-pine64-plus"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
-CONFIG_CONSOLE_MUX=y
 CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
configs/pxm2_defconfig +1 -1
index 67bdfd63f2..9c49ae9b43 100644
@@ -13,8 +13,8 @@ CONFIG_SPL_NAND_SUPPORT=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
-CONFIG_SPL_FAT_SUPPORT=y
 CONFIG_VIDEO=y
+CONFIG_SPL_FAT_SUPPORT=y
 CONFIG_DEFAULT_DEVICE_TREE="am335x-pxm50"
 CONFIG_BOOTDELAY=3
 # CONFIG_CONSOLE_MUX is not set
configs/rut_defconfig +1 -1
index f09a67e62c..f3f5e4dbf3 100644
@@ -13,8 +13,8 @@ CONFIG_SPL_NAND_SUPPORT=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
-CONFIG_SPL_FAT_SUPPORT=y
 CONFIG_VIDEO=y
+CONFIG_SPL_FAT_SUPPORT=y
 CONFIG_DEFAULT_DEVICE_TREE="am335x-rut"
 CONFIG_BOOTDELAY=3
 # CONFIG_CONSOLE_MUX is not set
configs/sama5d2_xplained_mmc_defconfig +2 -2
index f064a43c6b..8e7b296ee3 100644
@@ -4,12 +4,12 @@ CONFIG_TARGET_SAMA5D2_XPLAINED=y
 CONFIG_SPL_GPIO_SUPPORT=y
 CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
+CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
+CONFIG_SPL_DRIVERS_MISC_SUPPORT=y
 CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_FAT_SUPPORT=y
-CONFIG_SYS_MALLOC_F_LEN=0x2000
-CONFIG_SPL_DRIVERS_MISC_SUPPORT=y
 CONFIG_DEFAULT_DEVICE_TREE="at91-sama5d2_xplained"
 CONFIG_FIT=y
 CONFIG_SYS_EXTRA_OPTIONS="SAMA5D2,SYS_USE_MMC"
configs/sama5d2_xplained_spiflash_defconfig +1 -1
index 70a17ed135..1573ff852c 100644
@@ -6,9 +6,9 @@ CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_SPL_SERIAL_SUPPORT=y
+CONFIG_SPL_DRIVERS_MISC_SUPPORT=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
-CONFIG_SPL_DRIVERS_MISC_SUPPORT=y
 CONFIG_DEFAULT_DEVICE_TREE="at91-sama5d2_xplained"
 CONFIG_FIT=y
 CONFIG_SYS_EXTRA_OPTIONS="SAMA5D2,SYS_USE_SERIALFLASH"
configs/sandbox_defconfig +4 -4
index 5417057664..e24012c8ae 100644
@@ -115,6 +115,8 @@ CONFIG_PCI=y
 CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCI_SANDBOX=y
+CONFIG_PHY=y
+CONFIG_PHY_SANDBOX=y
 CONFIG_PINCTRL=y
 CONFIG_PINCONF=y
 CONFIG_PINCTRL_ROCKCHIP_RK3036=y
@@ -170,10 +172,10 @@ CONFIG_CONSOLE_ROTATION=y
 CONFIG_CONSOLE_TRUETYPE=y
 CONFIG_CONSOLE_TRUETYPE_CANTORAONE=y
 CONFIG_VIDEO_SANDBOX_SDL=y
+CONFIG_WDT=y
+CONFIG_WDT_SANDBOX=y
 CONFIG_FS_CBFS=y
 CONFIG_FS_CRAMFS=y
-CONFIG_PHY=y
-CONFIG_PHY_SANDBOX=y
 CONFIG_CMD_DHRYSTONE=y
 CONFIG_TPM=y
 CONFIG_LZ4=y
@@ -182,5 +184,3 @@ CONFIG_UNIT_TEST=y
 CONFIG_UT_TIME=y
 CONFIG_UT_DM=y
 CONFIG_UT_ENV=y
-CONFIG_WDT=y
-CONFIG_WDT_SANDBOX=y
configs/sandbox_noblk_defconfig +2 -2
index 6c6e6596b3..de10d48ef0 100644
@@ -120,6 +120,8 @@ CONFIG_PCI=y
 CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCI_SANDBOX=y
+CONFIG_PHY=y
+CONFIG_PHY_SANDBOX=y
 CONFIG_PINCTRL=y
 CONFIG_PINCONF=y
 CONFIG_PINCTRL_ROCKCHIP_RK3036=y
@@ -173,8 +175,6 @@ CONFIG_CONSOLE_TRUETYPE_CANTORAONE=y
 CONFIG_VIDEO_SANDBOX_SDL=y
 CONFIG_FS_CBFS=y
 CONFIG_FS_CRAMFS=y
-CONFIG_PHY=y
-CONFIG_PHY_SANDBOX=y
 CONFIG_CMD_DHRYSTONE=y
 CONFIG_TPM=y
 CONFIG_LZ4=y
configs/sandbox_spl_defconfig +2 -2
index 3061e5a9d9..25e4da258c 100644
@@ -125,6 +125,8 @@ CONFIG_PCI=y
 CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCI_SANDBOX=y
+CONFIG_PHY=y
+CONFIG_PHY_SANDBOX=y
 CONFIG_PINCTRL=y
 CONFIG_PINCONF=y
 CONFIG_PINCTRL_SANDBOX=y
@@ -178,8 +180,6 @@ CONFIG_CONSOLE_TRUETYPE_CANTORAONE=y
 CONFIG_VIDEO_SANDBOX_SDL=y
 CONFIG_FS_CBFS=y
 CONFIG_FS_CRAMFS=y
-CONFIG_PHY=y
-CONFIG_PHY_SANDBOX=y
 CONFIG_CMD_DHRYSTONE=y
 CONFIG_TPM=y
 CONFIG_LZ4=y
configs/sfr_nb4-ser_ram_defconfig +28 -39

84 lines not on this page · raw message

configs/stm32f746-disco_defconfig +4 -10
index 4322aad14d..ca8d605f9e 100644
@@ -1,5 +1,6 @@
 CONFIG_ARM=y
 CONFIG_STM32=y
+CONFIG_SYS_MALLOC_F_LEN=0xC00
 CONFIG_STM32F7=y
 CONFIG_TARGET_STM32F746_DISCO=y
 CONFIG_DEFAULT_DEVICE_TREE="stm32f746-disco"
@@ -24,10 +25,10 @@ CONFIG_CMD_DNS=y
 CONFIG_CMD_LINK_LOCAL=y
 CONFIG_CMD_TIMER=y
 CONFIG_OF_CONTROL=y
-CONFIG_DM_SEQ_ALIAS=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_NETCONSOLE=y
 CONFIG_CLK=y
+CONFIG_DM_GPIO=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
 CONFIG_MTD_NOR_FLASH=y
@@ -39,17 +40,10 @@ CONFIG_ETH_DESIGNWARE=y
 CONFIG_PINCTRL=y
 # CONFIG_PINCTRL_FULL is not set
 CONFIG_PINCTRL_STM32=y
+CONFIG_RAM=y
+CONFIG_STM32_SDRAM=y
 # CONFIG_SPL_SERIAL_PRESENT is not set
 CONFIG_DM_SPI=y
 CONFIG_STM32_QSPI=y
 CONFIG_OF_LIBFDT_OVERLAY=y
 # CONFIG_EFI_LOADER is not set
-CONFIG_CLK=y
-CONFIG_PINCTRL=y
-# CONFIG_PINCTRL_FULL is not set
-CONFIG_PINCTRL_STM32=y
-CONFIG_RAM=y
-CONFIG_STM32_SDRAM=y
-CONFIG_DM_GPIO=y
-CONFIG_STM32F7_GPIO=y
-CONFIG_SYS_MALLOC_F_LEN=0xC00
configs/tbs2910_defconfig +1 -1
index e4622830ca..c8b5d46dbb 100644
@@ -2,10 +2,10 @@ CONFIG_ARM=y
 CONFIG_SYS_THUMB_BUILD=y
 CONFIG_ARCH_MX6=y
 CONFIG_TARGET_TBS2910=y
-CONFIG_PRE_CONSOLE_BUFFER=y
 CONFIG_VIDEO=y
 CONFIG_FIT=y
 CONFIG_BOOTDELAY=3
+CONFIG_PRE_CONSOLE_BUFFER=y
 CONFIG_PRE_CON_BUF_ADDR=0x7c000000
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig +1 -1
index fbeabdee4e..996143536b 100644
@@ -3,8 +3,8 @@ CONFIG_SYS_CONFIG_NAME="xilinx_zynqmp_zc1751_xm015_dc1"
 CONFIG_ARCH_ZYNQMP=y
 CONFIG_SYS_TEXT_BASE=0x8000000
 CONFIG_SYS_MALLOC_F_LEN=0x8000
-CONFIG_ZYNQMP_USB=y
 CONFIG_IDENT_STRING=" Xilinx ZynqMP ZC1751 xm015 dc1"
+CONFIG_ZYNQMP_USB=y
 CONFIG_DEFAULT_DEVICE_TREE="zynqmp-zc1751-xm015-dc1"
 CONFIG_AHCI=y
 CONFIG_DISTRO_DEFAULTS=y
configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig +1 -1
index 6682b679b3..01882bf3dd 100644
@@ -4,9 +4,9 @@ CONFIG_ARCH_ZYNQMP=y
 CONFIG_SYS_TEXT_BASE=0x8000000
 CONFIG_SYS_MALLOC_F_LEN=0x8000
 # CONFIG_SPL_LIBDISK_SUPPORT is not set
+CONFIG_IDENT_STRING=" Xilinx ZynqMP ZC1751 xm016 dc2"
 # CONFIG_SPL_FAT_SUPPORT is not set
 CONFIG_ZYNQMP_USB=y
-CONFIG_IDENT_STRING=" Xilinx ZynqMP ZC1751 xm016 dc2"
 CONFIG_DEFAULT_DEVICE_TREE="zynqmp-zc1751-xm016-dc2"
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
configs/xilinx_zynqmp_zcu102_defconfig +1 -1
index 0796e81b90..1811e3215c 100644
@@ -3,8 +3,8 @@ CONFIG_SYS_CONFIG_NAME="xilinx_zynqmp_zcu102"
 CONFIG_ARCH_ZYNQMP=y
 CONFIG_SYS_TEXT_BASE=0x8000000
 CONFIG_SYS_MALLOC_F_LEN=0x8000
-CONFIG_ZYNQMP_USB=y
 CONFIG_IDENT_STRING=" Xilinx ZynqMP ZCU102"
+CONFIG_ZYNQMP_USB=y
 CONFIG_DEFAULT_DEVICE_TREE="zynqmp-zcu102"
 CONFIG_AHCI=y
 CONFIG_DISTRO_DEFAULTS=y
configs/xilinx_zynqmp_zcu102_revB_defconfig +1 -1
index 3711ac86db..94a843546e 100644
@@ -3,8 +3,8 @@ CONFIG_SYS_CONFIG_NAME="xilinx_zynqmp_zcu102"
 CONFIG_ARCH_ZYNQMP=y
 CONFIG_SYS_TEXT_BASE=0x8000000
 CONFIG_SYS_MALLOC_F_LEN=0x8000
-CONFIG_ZYNQMP_USB=y
 CONFIG_IDENT_STRING=" Xilinx ZynqMP ZCU102"
+CONFIG_ZYNQMP_USB=y
 CONFIG_DEFAULT_DEVICE_TREE="zynqmp-zcu102-revB"
 CONFIG_AHCI=y
 CONFIG_DISTRO_DEFAULTS=y
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#2 lore raw

PATCH v3 2/48 Kconfig: Drop CONFIG_CMD_DS4510_INFO

In reply to Simon Glass

This option is only used in one driver and two boards. It does not seem worth having the ability to remove this part of the support.

Drop the option.

---

Changes in v3: None
Changes in v2: None

 README                        | 1 -
 drivers/misc/ds4510.c         | 8 --------
 include/configs/xpedite517x.h | 1 -
 include/configs/xpedite537x.h | 1 -
 scripts/config_whitelist.txt  | 1 -
 5 files changed, 12 deletions(-)
README +0 -1
index 864bf8bc22..3eb2be8922 100644
@@ -831,7 +831,6 @@ The following options need to be configured:
 		CONFIG_CMD_DHCP		* DHCP support
 		CONFIG_CMD_DIAG		* Diagnostics
 		CONFIG_CMD_DS4510	* ds4510 I2C gpio commands
-		CONFIG_CMD_DS4510_INFO	* ds4510 I2C info command
 		CONFIG_CMD_DS4510_MEM	* ds4510 I2C eeprom/sram commansd
 		CONFIG_CMD_DS4510_RST	* ds4510 I2C rst command
 		CONFIG_CMD_DTT		* Digital Therm and Thermostat
drivers/misc/ds4510.c +0 -8
index d7c9bd73c8..940e2ce6a0 100644
@@ -186,7 +186,6 @@ int ds4510_gpio_read_val(uint8_t chip)
 }
 
 #ifdef CONFIG_CMD_DS4510
-#ifdef CONFIG_CMD_DS4510_INFO
 /*
  * Display DS4510 information
  */
@@ -240,7 +239,6 @@ static int ds4510_info(uint8_t chip)
 
 	return 0;
 }
-#endif /* CONFIG_CMD_DS4510_INFO */
 
 cmd_tbl_t cmd_ds4510[] = {
 	U_BOOT_CMD_MKENT(device, 3, 0, (void *)DS4510_CMD_DEVICE, "", ""),
@@ -248,9 +246,7 @@ cmd_tbl_t cmd_ds4510[] = {
 	U_BOOT_CMD_MKENT(output, 4, 0, (void *)DS4510_CMD_OUTPUT, "", ""),
 	U_BOOT_CMD_MKENT(input, 3, 0, (void *)DS4510_CMD_INPUT, "", ""),
 	U_BOOT_CMD_MKENT(pullup, 4, 0, (void *)DS4510_CMD_PULLUP, "", ""),
-#ifdef CONFIG_CMD_DS4510_INFO
 	U_BOOT_CMD_MKENT(info, 2, 0, (void *)DS4510_CMD_INFO, "", ""),
-#endif
 #ifdef CONFIG_CMD_DS4510_RST
 	U_BOOT_CMD_MKENT(rstdelay, 3, 0, (void *)DS4510_CMD_RSTDELAY, "", ""),
 #endif
@@ -324,10 +320,8 @@ int do_ds4510(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 		else
 			tmp &= ~(1 << ul_arg2);
 		return ds4510_pullup_write(chip, tmp);
-#ifdef CONFIG_CMD_DS4510_INFO
 	case DS4510_CMD_INFO:
 		return ds4510_info(chip);
-#endif
 #ifdef CONFIG_CMD_DS4510_RST
 	case DS4510_CMD_RSTDELAY:
 		return ds4510_rstdelay_write(chip, ul_arg2);
@@ -378,10 +372,8 @@ U_BOOT_CMD(
 	"ds4510 eeprom/seeprom/sram/gpio access",
 	"device [dev]\n"
 	"	- show or set current device address\n"
-#ifdef CONFIG_CMD_DS4510_INFO
 	"ds4510 info\n"
 	"	- display ds4510 info\n"
-#endif
 	"ds4510 output pin 0|1\n"
 	"	- set pin low or high-Z\n"
 	"ds4510 input pin\n"
include/configs/xpedite517x.h +0 -1
index 447fd9557a..dae61b11e4 100644
@@ -503,7 +503,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
  * Command configuration.
  */
 #define CONFIG_CMD_DS4510
-#define CONFIG_CMD_DS4510_INFO
 #define CONFIG_CMD_DTT
 #define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_IRQ
include/configs/xpedite537x.h +0 -1
index 48f07b08c0..ce1ff86135 100644
@@ -355,7 +355,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
  * Command configuration.
  */
 #define CONFIG_CMD_DS4510
-#define CONFIG_CMD_DS4510_INFO
 #define CONFIG_CMD_DTT
 #define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_JFFS2
scripts/config_whitelist.txt +0 -1
index fa9c3fc8cb..38a73477fe 100644
@@ -384,7 +384,6 @@ CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
 CONFIG_CMD_DS4510
-CONFIG_CMD_DS4510_INFO
 CONFIG_CMD_DS4510_MEM
 CONFIG_CMD_DS4510_RST
 CONFIG_CMD_DTT
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#3 lore raw

PATCH v3 2/48 Kconfig: Drop CONFIG_CMD_DS4510_INFO

Quoted 8 lines · Simon Glass

This option is only used in one driver and two boards. It does not seem worth having the ability to remove this part of the support.

Drop the option.

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/12f4cee5/attachment.sig>
#4 lore raw

PATCH v3 3/48 Kconfig: Drop CONFIG_CMD_DS4510_MEM

In reply to Simon Glass

This option is only used in one driver and is not enabled by any board. It does not seem worth having the ability to remove this part of the support.

Drop the option.

---

Changes in v3: None
Changes in v2: None

 README                       |  1 -
 drivers/misc/ds4510.c        | 10 ----------
 scripts/config_whitelist.txt |  1 -
 3 files changed, 12 deletions(-)
README +0 -1
index 3eb2be8922..142de27b98 100644
@@ -831,7 +831,6 @@ The following options need to be configured:
 		CONFIG_CMD_DHCP		* DHCP support
 		CONFIG_CMD_DIAG		* Diagnostics
 		CONFIG_CMD_DS4510	* ds4510 I2C gpio commands
-		CONFIG_CMD_DS4510_MEM	* ds4510 I2C eeprom/sram commansd
 		CONFIG_CMD_DS4510_RST	* ds4510 I2C rst command
 		CONFIG_CMD_DTT		* Digital Therm and Thermostat
 		CONFIG_CMD_ECHO		  echo arguments
drivers/misc/ds4510.c +0 -10
index 940e2ce6a0..936fb3ead4 100644
@@ -250,11 +250,9 @@ cmd_tbl_t cmd_ds4510[] = {
 #ifdef CONFIG_CMD_DS4510_RST
 	U_BOOT_CMD_MKENT(rstdelay, 3, 0, (void *)DS4510_CMD_RSTDELAY, "", ""),
 #endif
-#ifdef CONFIG_CMD_DS4510_MEM
 	U_BOOT_CMD_MKENT(eeprom, 6, 0, (void *)DS4510_CMD_EEPROM, "", ""),
 	U_BOOT_CMD_MKENT(seeprom, 6, 0, (void *)DS4510_CMD_SEEPROM, "", ""),
 	U_BOOT_CMD_MKENT(sram, 6, 0, (void *)DS4510_CMD_SRAM, "", ""),
-#endif
 };
 
 int do_ds4510(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
@@ -264,13 +262,11 @@ int do_ds4510(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 	ulong ul_arg2 = 0;
 	ulong ul_arg3 = 0;
 	int tmp;
-#ifdef CONFIG_CMD_DS4510_MEM
 	ulong addr;
 	ulong off;
 	ulong cnt;
 	int end;
 	int (*rw_func)(uint8_t, int, uint8_t *, int);
-#endif
 
 	c = find_cmd_tbl(argv[1], cmd_ds4510, ARRAY_SIZE(cmd_ds4510));
 
@@ -326,7 +322,6 @@ int do_ds4510(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 	case DS4510_CMD_RSTDELAY:
 		return ds4510_rstdelay_write(chip, ul_arg2);
 #endif
-#ifdef CONFIG_CMD_DS4510_MEM
 	case DS4510_CMD_EEPROM:
 		end = DS4510_EEPROM + DS4510_EEPROM_SIZE;
 		off = DS4510_EEPROM;
@@ -339,13 +334,11 @@ int do_ds4510(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 		end = DS4510_SRAM + DS4510_SRAM_SIZE;
 		off = DS4510_SRAM;
 		break;
-#endif
 	default:
 		/* We should never get here... */
 		return 1;
 	}
 
-#ifdef CONFIG_CMD_DS4510_MEM
 	/* Only eeprom, seeprom, and sram commands should make it here */
 	if (strcmp(argv[2], "read") == 0)
 		rw_func = ds4510_mem_read;
@@ -364,7 +357,6 @@ int do_ds4510(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 	}
 
 	return rw_func(chip, off, (uint8_t *)addr, cnt);
-#endif
 }
 
 U_BOOT_CMD(
@@ -387,7 +379,6 @@ U_BOOT_CMD(
 	"ds4510 rstdelay 0-3\n"
 	"	- set reset output delay"
 #endif
-#ifdef CONFIG_CMD_DS4510_MEM
 	"\n"
 	"ds4510 eeprom read addr off cnt\n"
 	"ds4510 eeprom write addr off cnt\n"
@@ -398,6 +389,5 @@ U_BOOT_CMD(
 	"ds4510 sram read addr off cnt\n"
 	"ds4510 sram write addr off cnt\n"
 	"	- read/write 'cnt' bytes at SRAM offset 'off'"
-#endif
 );
 #endif /* CONFIG_CMD_DS4510 */
scripts/config_whitelist.txt +0 -1
index 38a73477fe..6e190a87be 100644
@@ -384,7 +384,6 @@ CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
 CONFIG_CMD_DS4510
-CONFIG_CMD_DS4510_MEM
 CONFIG_CMD_DS4510_RST
 CONFIG_CMD_DTT
 CONFIG_CMD_ECCTEST
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#5 lore raw

PATCH v3 3/48 Kconfig: Drop CONFIG_CMD_DS4510_MEM

Quoted 8 lines · Simon Glass

This option is only used in one driver and is not enabled by any board. It does not seem worth having the ability to remove this part of the support.

Drop the option.

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/d0a2c25a/attachment.sig>
#6 lore raw

PATCH v3 4/48 Kconfig: Drop CONFIG_CMD_DS4510_RST

In reply to Simon Glass

This option is only used in one driver and is not enabled by any board. It does not seem worth having the ability to remove this part of the support.

Drop the option.

---

Changes in v3: None
Changes in v2: None

 README                       | 1 -
 drivers/misc/ds4510.c        | 6 ------
 scripts/config_whitelist.txt | 1 -
 3 files changed, 8 deletions(-)
README +0 -1
index 142de27b98..455d0d293a 100644
@@ -831,7 +831,6 @@ The following options need to be configured:
 		CONFIG_CMD_DHCP		* DHCP support
 		CONFIG_CMD_DIAG		* Diagnostics
 		CONFIG_CMD_DS4510	* ds4510 I2C gpio commands
-		CONFIG_CMD_DS4510_RST	* ds4510 I2C rst command
 		CONFIG_CMD_DTT		* Digital Therm and Thermostat
 		CONFIG_CMD_ECHO		  echo arguments
 		CONFIG_CMD_EDITENV	  edit env variable
drivers/misc/ds4510.c +0 -6
index 936fb3ead4..c08a0bee63 100644
@@ -247,9 +247,7 @@ cmd_tbl_t cmd_ds4510[] = {
 	U_BOOT_CMD_MKENT(input, 3, 0, (void *)DS4510_CMD_INPUT, "", ""),
 	U_BOOT_CMD_MKENT(pullup, 4, 0, (void *)DS4510_CMD_PULLUP, "", ""),
 	U_BOOT_CMD_MKENT(info, 2, 0, (void *)DS4510_CMD_INFO, "", ""),
-#ifdef CONFIG_CMD_DS4510_RST
 	U_BOOT_CMD_MKENT(rstdelay, 3, 0, (void *)DS4510_CMD_RSTDELAY, "", ""),
-#endif
 	U_BOOT_CMD_MKENT(eeprom, 6, 0, (void *)DS4510_CMD_EEPROM, "", ""),
 	U_BOOT_CMD_MKENT(seeprom, 6, 0, (void *)DS4510_CMD_SEEPROM, "", ""),
 	U_BOOT_CMD_MKENT(sram, 6, 0, (void *)DS4510_CMD_SRAM, "", ""),
@@ -318,10 +316,8 @@ int do_ds4510(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 		return ds4510_pullup_write(chip, tmp);
 	case DS4510_CMD_INFO:
 		return ds4510_info(chip);
-#ifdef CONFIG_CMD_DS4510_RST
 	case DS4510_CMD_RSTDELAY:
 		return ds4510_rstdelay_write(chip, ul_arg2);
-#endif
 	case DS4510_CMD_EEPROM:
 		end = DS4510_EEPROM + DS4510_EEPROM_SIZE;
 		off = DS4510_EEPROM;
@@ -374,11 +370,9 @@ U_BOOT_CMD(
 	"	- disable/enable pullup on specified pin\n"
 	"ds4510 nv 0|1\n"
 	"	- make gpio and seeprom writes volatile/non-volatile"
-#ifdef CONFIG_CMD_DS4510_RST
 	"\n"
 	"ds4510 rstdelay 0-3\n"
 	"	- set reset output delay"
-#endif
 	"\n"
 	"ds4510 eeprom read addr off cnt\n"
 	"ds4510 eeprom write addr off cnt\n"
scripts/config_whitelist.txt +0 -1
index 6e190a87be..451e3066ec 100644
@@ -384,7 +384,6 @@ CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
 CONFIG_CMD_DS4510
-CONFIG_CMD_DS4510_RST
 CONFIG_CMD_DTT
 CONFIG_CMD_ECCTEST
 CONFIG_CMD_EECONFIG
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#7 lore raw

PATCH v3 4/48 Kconfig: Drop CONFIG_CMD_DS4510_RST

Quoted 8 lines · Simon Glass

This option is only used in one driver and is not enabled by any board. It does not seem worth having the ability to remove this part of the support.

Drop the option.

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/9f15fc19/attachment.sig>
#8 lore raw

PATCH v3 5/48 Kconfig: Drop CONFIG_CMD_DS4510

In reply to Simon Glass

This option enables a command in the driver. But the functions defined by the driver are not called anywhere else in U-Boot. So it does not seem useful to have this driver without its commands.

Drop this option, move the header file out of the common include/ directory and make all the function static.

---

Changes in v3: None
Changes in v2: None

 drivers/misc/ds4510.c              | 22 ++++++++++------------
 {include => drivers/misc}/ds4510.h | 10 ----------
 include/configs/xpedite517x.h      |  1 -
 include/configs/xpedite537x.h      |  1 -
 scripts/config_whitelist.txt       |  1 -
 5 files changed, 10 insertions(+), 25 deletions(-)
 rename {include => drivers/misc}/ds4510.h (75%)
drivers/misc/ds4510.c +10 -12
index c08a0bee63..9ffdafc992 100644
@@ -12,7 +12,7 @@
 #include <common.h>
 #include <i2c.h>
 #include <command.h>
-#include <ds4510.h>
+#include "ds4510.h"
 
 /* Default to an address that hopefully won't corrupt other i2c devices */
 #ifndef CONFIG_SYS_I2C_DS4510_ADDR
@@ -35,7 +35,7 @@ enum {
 /*
  * Write to DS4510, taking page boundaries into account
  */
-int ds4510_mem_write(uint8_t chip, int offset, uint8_t *buf, int count)
+static int ds4510_mem_write(uint8_t chip, int offset, uint8_t *buf, int count)
 {
 	int wrlen;
 	int i = 0;
@@ -64,7 +64,7 @@ int ds4510_mem_write(uint8_t chip, int offset, uint8_t *buf, int count)
 /*
  * General read from DS4510
  */
-int ds4510_mem_read(uint8_t chip, int offset, uint8_t *buf, int count)
+static int ds4510_mem_read(uint8_t chip, int offset, uint8_t *buf, int count)
 {
 	return i2c_read(chip, offset, 1, buf, count);
 }
@@ -74,7 +74,7 @@ int ds4510_mem_read(uint8_t chip, int offset, uint8_t *buf, int count)
  * nv = 0 - Writes to SEEPROM registers behave like EEPROM
  * nv = 1 - Writes to SEEPROM registers behave like SRAM
  */
-int ds4510_see_write(uint8_t chip, uint8_t nv)
+static int ds4510_see_write(uint8_t chip, uint8_t nv)
 {
 	uint8_t data;
 
@@ -92,7 +92,7 @@ int ds4510_see_write(uint8_t chip, uint8_t nv)
 /*
  * Write de-assertion of reset signal delay
  */
-int ds4510_rstdelay_write(uint8_t chip, uint8_t delay)
+static int ds4510_rstdelay_write(uint8_t chip, uint8_t delay)
 {
 	uint8_t data;
 
@@ -108,7 +108,7 @@ int ds4510_rstdelay_write(uint8_t chip, uint8_t delay)
 /*
  * Write pullup characteristics of IO pins
  */
-int ds4510_pullup_write(uint8_t chip, uint8_t val)
+static int ds4510_pullup_write(uint8_t chip, uint8_t val)
 {
 	val &= DS4510_IO_MASK;
 
@@ -118,7 +118,7 @@ int ds4510_pullup_write(uint8_t chip, uint8_t val)
 /*
  * Read pullup characteristics of IO pins
  */
-int ds4510_pullup_read(uint8_t chip)
+static int ds4510_pullup_read(uint8_t chip)
 {
 	uint8_t val;
 
@@ -131,7 +131,7 @@ int ds4510_pullup_read(uint8_t chip)
 /*
  * Write drive level of IO pins
  */
-int ds4510_gpio_write(uint8_t chip, uint8_t val)
+static int ds4510_gpio_write(uint8_t chip, uint8_t val)
 {
 	uint8_t data;
 	int i;
@@ -155,7 +155,7 @@ int ds4510_gpio_write(uint8_t chip, uint8_t val)
 /*
  * Read drive level of IO pins
  */
-int ds4510_gpio_read(uint8_t chip)
+static int ds4510_gpio_read(uint8_t chip)
 {
 	uint8_t data;
 	int val = 0;
@@ -175,7 +175,7 @@ int ds4510_gpio_read(uint8_t chip)
 /*
  * Read physical level of IO pins
  */
-int ds4510_gpio_read_val(uint8_t chip)
+static int ds4510_gpio_read_val(uint8_t chip)
 {
 	uint8_t val;
 
@@ -185,7 +185,6 @@ int ds4510_gpio_read_val(uint8_t chip)
 	return val & DS4510_IO_MASK;
 }
 
-#ifdef CONFIG_CMD_DS4510
 /*
  * Display DS4510 information
  */
@@ -384,4 +383,3 @@ U_BOOT_CMD(
 	"ds4510 sram write addr off cnt\n"
 	"	- read/write 'cnt' bytes at SRAM offset 'off'"
 );
-#endif /* CONFIG_CMD_DS4510 */
drivers/misc/ds4510.h renamed from include/ds4510.h +0 -10
similarity index 75%
rename from include/ds4510.h
rename to drivers/misc/ds4510.h
index e54db35265..a6c6c58cc4 100644
@@ -50,14 +50,4 @@
 #define DS4510_SRAM				0xfa
 #define DS4510_SRAM_SIZE			0x06
 
-int ds4510_mem_write(uint8_t chip, int offset, uint8_t *buf, int count);
-int ds4510_mem_read(uint8_t chip, int offset, uint8_t *buf, int count);
-int ds4510_see_write(uint8_t chip, uint8_t nv);
-int ds4510_rstdelay_write(uint8_t chip, uint8_t delay);
-int ds4510_pullup_write(uint8_t chip, uint8_t val);
-int ds4510_pullup_read(uint8_t chip);
-int ds4510_gpio_write(uint8_t chip, uint8_t val);
-int ds4510_gpio_read(uint8_t chip);
-int ds4510_gpio_read_val(uint8_t chip);
-
 #endif /* __DS4510_H_ */
include/configs/xpedite517x.h +0 -1
index dae61b11e4..822f70e7ac 100644
@@ -502,7 +502,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_DS4510
 #define CONFIG_CMD_DTT
 #define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_IRQ
include/configs/xpedite537x.h +0 -1
index ce1ff86135..a12a3f8347 100644
@@ -354,7 +354,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_DS4510
 #define CONFIG_CMD_DTT
 #define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_JFFS2
scripts/config_whitelist.txt +0 -1
index 451e3066ec..02f7536c00 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_DS4510
 CONFIG_CMD_DTT
 CONFIG_CMD_ECCTEST
 CONFIG_CMD_EECONFIG
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#9 lore raw

PATCH v3 5/48 Kconfig: Drop CONFIG_CMD_DS4510

Quoted 10 lines · Simon Glass

This option enables a command in the driver. But the functions defined by the driver are not called anywhere else in U-Boot. So it does not seem useful to have this driver without its commands.

Drop this option, move the header file out of the common include/ directory and make all the function static.

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/62bf6c2a/attachment.sig>
#10 lore raw

PATCH v3 6/48 Convert CONFIG_DS4510 to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_DS4510

---

Changes in v3: None
Changes in v2: None

 README                        | 1 -
 configs/xpedite517x_defconfig | 1 +
 configs/xpedite537x_defconfig | 1 +
 drivers/misc/Kconfig          | 8 ++++++++
 include/configs/xpedite517x.h | 1 -
 include/configs/xpedite537x.h | 1 -
 scripts/config_whitelist.txt  | 1 -
 7 files changed, 10 insertions(+), 4 deletions(-)
README +0 -1
index 455d0d293a..0ef706f78d 100644
@@ -830,7 +830,6 @@ The following options need to be configured:
 		CONFIG_CMD_CRC32	* crc32
 		CONFIG_CMD_DHCP		* DHCP support
 		CONFIG_CMD_DIAG		* Diagnostics
-		CONFIG_CMD_DS4510	* ds4510 I2C gpio commands
 		CONFIG_CMD_DTT		* Digital Therm and Thermostat
 		CONFIG_CMD_ECHO		  echo arguments
 		CONFIG_CMD_EDITENV	  edit env variable
configs/xpedite517x_defconfig +1 -0
index 909efb1c08..69fd8fa004 100644
@@ -15,6 +15,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
+CONFIG_DS4510=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SYS_NS16550=y
configs/xpedite537x_defconfig +1 -0
index 41dee5d839..641ef8ff09 100644
@@ -16,6 +16,7 @@ CONFIG_CMD_PING=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
 CONFIG_SYS_FSL_DDR2=y
+CONFIG_DS4510=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SYS_NS16550=y
drivers/misc/Kconfig +8 -0
index 1aae4bcd07..ecca159d14 100644
@@ -75,6 +75,14 @@ config CROS_EC_SPI
 	  provides a faster and more robust interface than I2C but the bugs
 	  are less interesting.
 
+config DS4510
+	bool "Enable support for DS4510 CPU supervisor"
+	help
+	  Enable support for the Maxim DS4510 CPU supervisor. It has an
+	  integrated 64-byte EEPROM, four programmable non-volatile I/O pins
+	  and a configurable timer for the supervisor function. The device is
+	  connected over I2C.
+
 config FSL_SEC_MON
 	bool "Enable FSL SEC_MON Driver"
 	help
include/configs/xpedite517x.h +0 -1
index 822f70e7ac..bd1d0c75d9 100644
@@ -249,7 +249,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_SYS_M41T11_BASE_YEAR	2000
 
 /* GPIO/EEPROM/SRAM */
-#define CONFIG_DS4510
 #define CONFIG_SYS_I2C_DS4510_ADDR	0x51
 
 /* GPIO */
include/configs/xpedite537x.h +0 -1
index a12a3f8347..a290cf3463 100644
@@ -246,7 +246,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 #define CONFIG_SYS_M41T11_BASE_YEAR	2000
 
 /* GPIO/EEPROM/SRAM */
-#define CONFIG_DS4510
 #define CONFIG_SYS_I2C_DS4510_ADDR	0x51
 
 /* GPIO */
scripts/config_whitelist.txt +0 -1
index 02f7536c00..e9ba613c2c 100644
@@ -681,7 +681,6 @@ CONFIG_DRIVE_MMC
 CONFIG_DRIVE_SATA
 CONFIG_DRIVE_TYPES
 CONFIG_DRIVE_USB
-CONFIG_DS4510
 CONFIG_DSP_CLUSTER_START
 CONFIG_DTT
 CONFIG_DTT_AD7414
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#11 lore raw

PATCH v3 6/48 Convert CONFIG_DS4510 to Kconfig

Quoted 6 lines · Simon Glass

This converts the following to Kconfig:

   CONFIG_DS4510

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/a0c972e0/attachment.sig>
#12 lore raw

PATCH v3 7/48 Kconfig: Drop CONFIG_SYS_I2C_DTT_ADDR

In reply to Simon Glass

This option is only defined to a non-default value by canyonlands, which needs conversion to driver model (where the I2C address would be defined by the device tree).

Drop this option.

---

Changes in v3: None
Changes in v2: None

 README                        | 6 ------
 drivers/hwmon/ds1775.c        | 2 +-
 drivers/hwmon/lm75.c          | 4 ----
 include/configs/canyonlands.h | 4 ----
 include/configs/kilauea.h     | 1 -
 include/configs/makalu.h      | 1 -
 scripts/config_whitelist.txt  | 1 -
 7 files changed, 1 insertion(+), 18 deletions(-)
README +0 -6
index 0ef706f78d..b58911da49 100644
@@ -2329,12 +2329,6 @@ The following options need to be configured:
 		If defined, then this indicates the I2C bus number for the DTT.
 		If not defined, then U-Boot assumes that DTT is on I2C bus 0.
 
-		CONFIG_SYS_I2C_DTT_ADDR:
-
-		If defined, specifies the I2C address of the DTT device.
-		If not defined, then U-Boot uses predefined value for
-		specified DTT device.
-
 		CONFIG_SOFT_I2C_READ_REPEATED_START
 
 		defining this will force the i2c_read() function in
drivers/hwmon/ds1775.c +1 -1
index b95b130d92..4c0c0b82a0 100644
@@ -11,7 +11,7 @@
 #include <i2c.h>
 #include <dtt.h>
 
-#define DTT_I2C_DEV_CODE	CONFIG_SYS_I2C_DTT_ADDR /* Dallas Semi's DS1775 device code */
+#define DTT_I2C_DEV_CODE	0x48 /* Dallas Semi's DS1775 device code */
 #define DTT_READ_TEMP		0x0
 #define DTT_CONFIG		0x1
 #define DTT_TEMP_HYST		0x2
drivers/hwmon/lm75.c +0 -4
index 462f902dad..aafa4757b1 100644
@@ -16,11 +16,7 @@
 /*
  * Device code
  */
-#if defined(CONFIG_SYS_I2C_DTT_ADDR)
-#define DTT_I2C_DEV_CODE CONFIG_SYS_I2C_DTT_ADDR
-#else
 #define DTT_I2C_DEV_CODE 0x48			/* ON Semi's LM75 device */
-#endif
 #define DTT_READ_TEMP		0x0
 #define DTT_CONFIG		0x1
 #define DTT_TEMP_HYST		0x2
include/configs/canyonlands.h +0 -4
index a330372d19..ea440d6e16 100644
@@ -269,10 +269,6 @@
 #define CONFIG_SYS_DTT_LOW_TEMP	-30
 #define CONFIG_SYS_DTT_HYSTERESIS	3
 
-#if defined(CONFIG_ARCHES)
-#define CONFIG_SYS_I2C_DTT_ADDR	0x4a		/* AD7414 I2C address	*/
-#endif
-
 #if !defined(CONFIG_ARCHES)
 /* RTC configuration */
 #define CONFIG_RTC_M41T62
include/configs/kilauea.h +0 -1
index 1f5c2ad234..b8c0d0d8f0 100644
@@ -320,7 +320,6 @@
 /* Standard DTT sensor configuration */
 #define CONFIG_DTT_DS1775	1
 #define CONFIG_DTT_SENSORS	{ 0 }
-#define CONFIG_SYS_I2C_DTT_ADDR	0x48
 
 /* RTC configuration */
 #define CONFIG_RTC_DS1338	1
include/configs/makalu.h +0 -1
index da5cfa19d3..cdb02f3693 100644
@@ -192,7 +192,6 @@
 /* Standard DTT sensor configuration */
 #define CONFIG_DTT_DS1775	1
 #define CONFIG_DTT_SENSORS	{ 0 }
-#define CONFIG_SYS_I2C_DTT_ADDR	0x48
 
 /* RTC configuration */
 #define CONFIG_RTC_X1205	1
scripts/config_whitelist.txt +0 -1
index e9ba613c2c..29ec43dd1c 100644
@@ -4206,7 +4206,6 @@ CONFIG_SYS_I2C_DSPIC_2_ADDR
 CONFIG_SYS_I2C_DSPIC_ADDR
 CONFIG_SYS_I2C_DSPIC_IO_ADDR
 CONFIG_SYS_I2C_DSPIC_KEYB_ADDR
-CONFIG_SYS_I2C_DTT_ADDR
 CONFIG_SYS_I2C_DVI_ADDR
 CONFIG_SYS_I2C_DVI_BUS_NUM
 CONFIG_SYS_I2C_EARLY_INIT
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#13 lore raw

PATCH v3 7/48 Kconfig: Drop CONFIG_SYS_I2C_DTT_ADDR

Quoted 9 lines · Simon Glass

This option is only defined to a non-default value by canyonlands, which needs conversion to driver model (where the I2C address would be defined by the device tree).

Drop this option.

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/358ade90/attachment.sig>
#14 lore raw

PATCH v3 8/48 Drop three-wire serial (TWS) support

In reply to Simon Glass

This subsystem has not been converted to driver model, there is only one driver and only one board that uses it. Drop it and its CONFIG option.

Also drop the rtc4543 RTC driver since it uses TWS.

---

Changes in v3: None
Changes in v2: None

 configs/inka4x0_defconfig    |   1 -
 drivers/Makefile             |   1 -
 drivers/rtc/Makefile         |   1 -
 drivers/rtc/rtc4543.c        | 101 -------------------------------------------
 drivers/twserial/Makefile    |   8 ----
 drivers/twserial/soft_tws.c  |  94 ----------------------------------------
 include/configs/inka4x0.h    |  80 ----------------------------------
 include/tws.h                |  21 ---------
 scripts/config_whitelist.txt |   2 -
 9 files changed, 309 deletions(-)
 delete mode 100644 drivers/rtc/rtc4543.c
 delete mode 100644 drivers/twserial/Makefile
 delete mode 100644 drivers/twserial/soft_tws.c
 delete mode 100644 include/tws.h
configs/inka4x0_defconfig +0 -1
index 174719c367..9b30244e3c 100644
@@ -8,7 +8,6 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_SNTP=y
-CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_MAC_PARTITION=y
drivers/Makefile +0 -1
index 64c39d3a3e..f16d7fdb4f 100644
@@ -87,7 +87,6 @@ obj-y += spmi/
 obj-y += sysreset/
 obj-y += timer/
 obj-y += tpm/
-obj-y += twserial/
 obj-y += video/
 obj-y += watchdog/
 obj-$(CONFIG_QE) += qe/
drivers/rtc/Makefile +0 -1
index 87c3d9cae2..438681da7a 100644
@@ -48,7 +48,6 @@ obj-$(CONFIG_RTC_PCF2127) += pcf2127.o
 obj-$(CONFIG_RTC_PL031) += pl031.o
 obj-$(CONFIG_RTC_PT7C4338) += pt7c4338.o
 obj-$(CONFIG_RTC_RS5C372A) += rs5c372.o
-obj-$(CONFIG_RTC_RTC4543) += rtc4543.o
 obj-$(CONFIG_RTC_RV3029) += rv3029.o
 obj-$(CONFIG_RTC_RX8025) += rx8025.o
 obj-$(CONFIG_RTC_S3C24X0) += s3c24x0_rtc.o
drivers/rtc/rtc4543.c deleted +0 -101

101 lines not on this page · raw message

drivers/twserial/Makefile deleted +0 -8
deleted file mode 100644
index 7cc7c4de82..0000000000
@@ -1,8 +0,0 @@
-#
-# (C) Copyright 2009
-# Detlev Zundel, DENX Software Engineering, dzu at denx.de.
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-$(CONFIG_SOFT_TWS) += soft_tws.o
drivers/twserial/soft_tws.c deleted +0 -94

94 lines not on this page · raw message

include/configs/inka4x0.h +0 -80

86 lines not on this page · raw message

include/tws.h deleted +0 -21
deleted file mode 100644
index 7dd5268125..0000000000
@@ -1,21 +0,0 @@
-/*
- * (C) Copyright 2009
- * Detlev Zundel, DENX Software Engineering, dzu at denx.de.
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#ifndef _TWS_H_
-#define _TWS_H_
-
-/*
- * Read/Write interface:
- *   buffer:  Where to read/write the data
- *   len:     How many bits to read/write
- *
- *   Returns: 0 on success, not 0 on failure
- */
-int tws_read(uchar *buffer, int len);
-int tws_write(uchar *buffer, int len);
-
-#endif	/* _TWS_H_ */
scripts/config_whitelist.txt +0 -2
index 29ec43dd1c..4bdf2c6f13 100644
@@ -2347,7 +2347,6 @@ CONFIG_RTC_MV
 CONFIG_RTC_MXS
 CONFIG_RTC_PCF8563
 CONFIG_RTC_PT7C4338
-CONFIG_RTC_RTC4543
 CONFIG_RTC_RV3029
 CONFIG_RTC_RX8025
 CONFIG_RTC_X1205
@@ -2580,7 +2579,6 @@ CONFIG_SOFT_I2C_GPIO_SCL
 CONFIG_SOFT_I2C_GPIO_SDA
 CONFIG_SOFT_I2C_READ_REPEATED_START
 CONFIG_SOFT_SPI
-CONFIG_SOFT_TWS
 CONFIG_SOURCE
 CONFIG_SPARSE_RCU_POINTER
 CONFIG_SPDDRAM_SILENT
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#15 lore raw

PATCH v3 8/48 Drop three-wire serial (TWS) support

Quoted 7 lines · Simon Glass

This subsystem has not been converted to driver model, there is only one driver and only one board that uses it. Drop it and its CONFIG option.

Also drop the rtc4543 RTC driver since it uses TWS.

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/1f2a75bc/attachment.sig>
#16 lore raw

PATCH v3 9/48 Drop digital thermometer and thermostat (DTT) drivers

In reply to Simon Glass

This subsystem is quite old. It has been replaced with a driver-model version (UCLASS_THERMAL). Boards are free to convert to that if required, but here is a removal patch that could be applied in the meantime.

---

Changes in v3: None
Changes in v2: None

 README                             |   6 --
 board/gdsys/405ep/dlvision-10g.c   |  10 ++-
 board/gdsys/405ep/io.c             |  10 ++-
 board/gdsys/405ep/neo.c            |  10 ++-
 board/gdsys/405ex/io64.c           |  10 ++-
 cmd/Makefile                       |   1 -
 cmd/dtt.c                          | 120 ---------------------------
 drivers/Kconfig                    |   2 -
 drivers/Makefile                   |   1 -
 drivers/hwmon/Kconfig              |   0
 drivers/hwmon/Makefile             |  22 -----
 drivers/hwmon/adm1021.c            | 164 -------------------------------------
 drivers/hwmon/adt7460.c            |  73 -----------------
 drivers/hwmon/ds1621.c             | 155 -----------------------------------
 drivers/hwmon/ds1722.c             | 137 -------------------------------
 drivers/hwmon/ds1775.c             | 126 ----------------------------
 drivers/hwmon/ds620.c              |  65 ---------------
 drivers/hwmon/lm63.c               | 160 ------------------------------------
 drivers/hwmon/lm73.c               | 146 ---------------------------------
 drivers/hwmon/lm75.c               | 139 -------------------------------
 drivers/hwmon/lm81.c               | 111 -------------------------
 include/config_cmd_all.h           |   1 -
 include/configs/PMC440.h           |  21 -----
 include/configs/TQM834x.h          |   8 --
 include/configs/UCP1020.h          |  21 -----
 include/configs/acadia.h           |   9 --
 include/configs/canyonlands.h      |  11 ---
 include/configs/dlvision-10g.h     |   8 --
 include/configs/dlvision.h         |   1 -
 include/configs/exynos5-common.h   |   2 -
 include/configs/intip.h            |   8 --
 include/configs/io.h               |   6 --
 include/configs/io64.h             |   9 --
 include/configs/katmai.h           |  25 ------
 include/configs/kilauea.h          |   4 -
 include/configs/km/km-powerpc.h    |   1 -
 include/configs/km/km83xx-common.h |   7 --
 include/configs/km82xx.h           |   7 --
 include/configs/makalu.h           |   5 --
 include/configs/motionpro.h        |   8 +-
 include/configs/neo.h              |   8 --
 include/configs/odroid_xu3.h       |   1 -
 include/configs/sequoia.h          |   9 --
 include/configs/socrates.h         |   8 --
 include/configs/tqma6.h            |  10 ---
 include/configs/tqma6_mba6.h       |   2 -
 include/configs/tqma6_wru4.h       |   4 -
 include/configs/work_92105.h       |   8 --
 include/configs/xilinx-ppc.h       |   1 -
 include/configs/xpedite517x.h      |   3 -
 include/configs/xpedite537x.h      |   3 -
 include/configs/xpedite550x.h      |   3 -
 include/configs/yosemite.h         |   9 --
 include/dtt.h                      |  47 -----------
 include/i2c.h                      |   3 -
 scripts/config_whitelist.txt       |  22 -----
 56 files changed, 35 insertions(+), 1736 deletions(-)
 delete mode 100644 cmd/dtt.c
 delete mode 100644 drivers/hwmon/Kconfig
 delete mode 100644 drivers/hwmon/Makefile
 delete mode 100644 drivers/hwmon/adm1021.c
 delete mode 100644 drivers/hwmon/adt7460.c
 delete mode 100644 drivers/hwmon/ds1621.c
 delete mode 100644 drivers/hwmon/ds1722.c
 delete mode 100644 drivers/hwmon/ds1775.c
 delete mode 100644 drivers/hwmon/ds620.c
 delete mode 100644 drivers/hwmon/lm63.c
 delete mode 100644 drivers/hwmon/lm73.c
 delete mode 100644 drivers/hwmon/lm75.c
 delete mode 100644 drivers/hwmon/lm81.c
 delete mode 100644 include/dtt.h
README +0 -6
index b58911da49..3d45b29bd5 100644
@@ -830,7 +830,6 @@ The following options need to be configured:
 		CONFIG_CMD_CRC32	* crc32
 		CONFIG_CMD_DHCP		* DHCP support
 		CONFIG_CMD_DIAG		* Diagnostics
-		CONFIG_CMD_DTT		* Digital Therm and Thermostat
 		CONFIG_CMD_ECHO		  echo arguments
 		CONFIG_CMD_EDITENV	  edit env variable
 		CONFIG_CMD_EEPROM	* EEPROM read/write support
@@ -2324,11 +2323,6 @@ The following options need to be configured:
 		If defined, then this indicates the I2C bus number for the RTC.
 		If not defined, then U-Boot assumes that RTC is on I2C bus 0.
 
-		CONFIG_SYS_DTT_BUS_NUM
-
-		If defined, then this indicates the I2C bus number for the DTT.
-		If not defined, then U-Boot assumes that DTT is on I2C bus 0.
-
 		CONFIG_SOFT_I2C_READ_REPEATED_START
 
 		defining this will force the i2c_read() function in
board/gdsys/405ep/dlvision-10g.c +7 -3
index e400d1945a..b531786653 100644
@@ -10,7 +10,6 @@
 #include <asm/processor.h>
 #include <asm/io.h>
 #include <asm/ppc4xx-gpio.h>
-#include <dtt.h>
 
 #include "405ep.h"
 #include <gdsys_fpga.h>
@@ -61,8 +60,13 @@ struct ihs_fpga *fpga_ptr[] = CONFIG_SYS_FPGA_PTR;
 
 int misc_init_r(void)
 {
-	/* startup fans */
-	dtt_init();
+	/*
+	 * Note: DTT has been removed. Please use UCLASS_THERMAL.
+	 *
+	 * startup fans
+	 *
+	 * dtt_init();
+	 */
 
 	return 0;
 }
board/gdsys/405ep/io.c +7 -3
index 81b49659ff..1484469bb0 100644
@@ -11,7 +11,6 @@
 #include <asm/io.h>
 #include <asm/ppc4xx-gpio.h>
 
-#include <dtt.h>
 #include <miiphy.h>
 
 #include "405ep.h"
@@ -41,8 +40,13 @@ struct ihs_fpga *fpga_ptr[] = CONFIG_SYS_FPGA_PTR;
 
 int misc_init_r(void)
 {
-	/* startup fans */
-	dtt_init();
+	/*
+	 * Note: DTT has been removed. Please use UCLASS_THERMAL.
+	 *
+	 * startup fans
+	 *
+	 * dtt_init();
+	 */
 
 	return 0;
 }
board/gdsys/405ep/neo.c +7 -3
index ff0edb2547..ad88af2d46 100644
@@ -10,7 +10,6 @@
 #include <asm/processor.h>
 #include <asm/io.h>
 #include <asm/ppc4xx-gpio.h>
-#include <dtt.h>
 
 #include "405ep.h"
 #include <gdsys_fpga.h>
@@ -32,8 +31,13 @@ struct ihs_fpga *fpga_ptr[] = CONFIG_SYS_FPGA_PTR;
 
 int misc_init_r(void)
 {
-	/* startup fans */
-	dtt_init();
+	/*
+	 * Note: DTT has been removed. Please use UCLASS_THERMAL.
+	 *
+	 * startup fans
+	 *
+	 * dtt_init();
+	 */
 
 	return 0;
 }
board/gdsys/405ex/io64.c +7 -3
index 0a7baaa9db..9ef965bbfa 100644
@@ -26,7 +26,6 @@
 
 #include <miiphy.h>
 #include <i2c.h>
-#include <dtt.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -70,8 +69,13 @@ static inline void blank_string(int size)
  */
 int misc_init_r(void)
 {
-	/* startup fans */
-	dtt_init();
+	/*
+	 * Note: DTT has been removed. Please use UCLASS_THERMAL.
+	 *
+	 * startup fans
+	 *
+	 * dtt_init();
+	 */
 
 #ifdef CONFIG_ENV_IS_IN_FLASH
 	/* Monitor protection ON by default */
cmd/Makefile +0 -1
index e98786807b..f043407656 100644
@@ -43,7 +43,6 @@ ifdef CONFIG_POST
 obj-$(CONFIG_CMD_DIAG) += diag.o
 endif
 obj-$(CONFIG_CMD_DISPLAY) += display.o
-obj-$(CONFIG_CMD_DTT) += dtt.o
 obj-$(CONFIG_CMD_ECHO) += echo.o
 obj-$(CONFIG_ENV_IS_IN_EEPROM) += eeprom.o
 obj-$(CONFIG_CMD_EEPROM) += eeprom.o
cmd/dtt.c deleted +0 -120

120 lines not on this page · raw message

drivers/Kconfig +0 -2
index a5f24d72da..a736386a0d 100644
@@ -30,8 +30,6 @@ source "drivers/fpga/Kconfig"
 
 source "drivers/gpio/Kconfig"
 
-source "drivers/hwmon/Kconfig"
-
 source "drivers/i2c/Kconfig"
 
 source "drivers/input/Kconfig"
drivers/Makefile +0 -1
index f16d7fdb4f..058bccb761 100644
@@ -74,7 +74,6 @@ obj-$(CONFIG_CPU) += cpu/
 obj-y += crypto/
 obj-y += firmware/
 obj-$(CONFIG_FPGA) += fpga/
-obj-y += hwmon/
 obj-y += misc/
 obj-$(CONFIG_MMC) += mmc/
 obj-y += pcmcia/
drivers/hwmon/Kconfig deleted +0 -0
deleted file mode 100644
index e69de29bb2..0000000000
drivers/hwmon/Makefile deleted +0 -22
deleted file mode 100644
index b4fb057c16..0000000000
@@ -1,22 +0,0 @@
-#
-# (C) Copyright 2006
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-#
-# (C) Copyright 2001
-# Erik Theisen, Wave 7 Optics, etheisen at mindspring.com.
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-#ccflags-y += -DDEBUG
-
-obj-$(CONFIG_DTT_ADM1021) += adm1021.o
-obj-$(CONFIG_DTT_ADT7460) += adt7460.o
-obj-$(CONFIG_DTT_DS1621) += ds1621.o
-obj-$(CONFIG_DTT_DS1722) += ds1722.o
-obj-$(CONFIG_DTT_DS1775) += ds1775.o
-obj-$(CONFIG_DTT_DS620) += ds620.o
-obj-$(CONFIG_DTT_LM63) += lm63.o
-obj-$(CONFIG_DTT_LM73) += lm73.o
-obj-$(CONFIG_DTT_LM75) += lm75.o
-obj-$(CONFIG_DTT_LM81) += lm81.o
drivers/hwmon/adm1021.c deleted +0 -164

164 lines not on this page · raw message

drivers/hwmon/adt7460.c deleted +0 -73

73 lines not on this page · raw message

drivers/hwmon/ds1621.c deleted +0 -155

155 lines not on this page · raw message

drivers/hwmon/ds1722.c deleted +0 -137

137 lines not on this page · raw message

drivers/hwmon/ds1775.c deleted +0 -126

126 lines not on this page · raw message

drivers/hwmon/ds620.c deleted +0 -65

65 lines not on this page · raw message

drivers/hwmon/lm63.c deleted +0 -160

160 lines not on this page · raw message

drivers/hwmon/lm73.c deleted +0 -146

146 lines not on this page · raw message

drivers/hwmon/lm75.c deleted +0 -139

139 lines not on this page · raw message

drivers/hwmon/lm81.c deleted +0 -111

111 lines not on this page · raw message

include/config_cmd_all.h +0 -1
index bc0bc2b6c8..95c05350cd 100644
@@ -13,7 +13,6 @@
  * Alphabetical list of all possible commands.
  */
 
-#define CONFIG_CMD_DTT		/* Digital Therm and Thermostat */
 #define CONFIG_CMD_EEPROM	/* EEPROM read/write support	*/
 #define CONFIG_CMD_FDC		/* Floppy Disk Support		*/
 #define CONFIG_CMD_FUSE		/* Device fuse support		*/
include/configs/PMC440.h +0 -21
index b9599b5e3b..8628b7ed18 100644
@@ -163,26 +163,6 @@
 #define CONFIG_SYS_EEPROM_WREN			1
 #define CONFIG_SYS_I2C_BOOT_EEPROM_ADDR	0x52
 
-/*
- * standard dtt sensor configuration - bottom bit will determine local or
- * remote sensor of the TMP401
- */
-#define CONFIG_DTT_SENSORS		{ 0, 1 }
-
-/*
- * The PMC440 uses a TI TMP401 temperature sensor. This part
- * is basically compatible to the ADM1021 that is supported
- * by U-Boot.
- *
- * - i2c addr 0x4c
- * - conversion rate 0x02 = 0.25 conversions/second
- * - ALERT ouput disabled
- * - local temp sensor enabled, min set to 0 deg, max set to 70 deg
- * - remote temp sensor enabled, min set to 0 deg, max set to 70 deg
- */
-#define CONFIG_DTT_ADM1021
-#define CONFIG_SYS_DTT_ADM1021		{ { 0x4c, 0x02, 0, 1, 70, 0, 1, 70, 0} }
-
 #define CONFIG_PREBOOT		"echo Add \\\"run fpga\\\" and "	\
 				"\\\"painit\\\" to preboot command"
 
@@ -258,7 +238,6 @@
 
 /* Partitions */
 
-#define CONFIG_CMD_DTT
 #define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_PCI
include/configs/TQM834x.h +0 -8
index e3c2cca3c3..df6386c602 100644
@@ -184,13 +184,6 @@
 #define CONFIG_RTC_DS1337			/* use ds1337 rtc via i2c */
 #define CONFIG_SYS_I2C_RTC_ADDR		0x68	/* at address 0x68 */
 
-/* I2C SYSMON (LM75) */
-#define CONFIG_DTT_LM75			1	/* ON Semi's LM75 */
-#define CONFIG_DTT_SENSORS		{0}	/* Sensor addresses */
-#define CONFIG_SYS_DTT_MAX_TEMP		70
-#define CONFIG_SYS_DTT_LOW_TEMP		-30
-#define CONFIG_SYS_DTT_HYSTERESIS	3
-
 /*
  * TSEC
  */
@@ -280,7 +273,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_DTT
 #define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_REGINFO
include/configs/UCP1020.h +0 -21
index cd46db4f6f..8265f3c1ab 100644
@@ -129,27 +129,6 @@
 
 #define CONFIG_HWCONFIG
 
-#define CONFIG_DTT_ADM1021	1	/* ADM1021 temp sensor support	*/
-#define CONFIG_SYS_DTT_BUS_NUM	1	/* The I2C bus for DTT		*/
-#define CONFIG_DTT_SENSORS	{ 0, 1 }	/* Sensor index	*/
-/*
- * ADM1021/NCT72 temp sensor configuration (see dtt/adm1021.c for details).
- * there will be one entry in this array for each two (dummy) sensors in
- * CONFIG_DTT_SENSORS.
- *
- * For uCP1020 module:
- * - only one ADM1021/NCT72
- * - i2c addr 0x41
- * - conversion rate 0x02 = 0.25 conversions/second
- * - ALERT output disabled
- * - local temp sensor enabled, min set to 0 deg, max set to 85 deg
- * - remote temp sensor enabled, min set to 0 deg, max set to 85 deg
- */
-#define CONFIG_SYS_DTT_ADM1021	{ { CONFIG_SYS_I2C_NCT72_ADDR, \
-					 0x02, 0, 1, 0, 85, 1, 0, 85} }
-
-#define CONFIG_CMD_DTT
-
 /*
  * These can be toggled for performance analysis, otherwise use default.
  */
include/configs/acadia.h +0 -9
index 9f35e71d0c..0be310d4a3 100644
@@ -124,14 +124,6 @@
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 3
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 10
 
-/* I2C SYSMON (LM75, AD7414 is almost compatible)			*/
-#define CONFIG_DTT_LM75		1		/* ON Semi's LM75	*/
-#define CONFIG_DTT_AD7414	1		/* use AD7414		*/
-#define CONFIG_DTT_SENSORS	{0}		/* Sensor addresses	*/
-#define CONFIG_SYS_DTT_MAX_TEMP	70
-#define CONFIG_SYS_DTT_LOW_TEMP	-30
-#define CONFIG_SYS_DTT_HYSTERESIS	3
-
 /*-----------------------------------------------------------------------
  * Ethernet
  *----------------------------------------------------------------------*/
@@ -160,7 +152,6 @@
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_DTT
 #define CONFIG_CMD_NAND
 
 /*-----------------------------------------------------------------------
include/configs/canyonlands.h +0 -11
index ea440d6e16..b495d0645b 100644
@@ -261,14 +261,6 @@
 #define CONFIG_4xx_CONFIG_I2C_EEPROM_OFFSET	0
 #define CONFIG_4xx_CONFIG_BLOCKSIZE		16
 
-/* I2C SYSMON (LM75, AD7414 is almost compatible)			*/
-#define CONFIG_DTT_LM75				/* ON Semi's LM75	*/
-#define CONFIG_DTT_AD7414			/* use AD7414		*/
-#define CONFIG_DTT_SENSORS	{0}		/* Sensor addresses	*/
-#define CONFIG_SYS_DTT_MAX_TEMP	70
-#define CONFIG_SYS_DTT_LOW_TEMP	-30
-#define CONFIG_SYS_DTT_HYSTERESIS	3
-
 #if !defined(CONFIG_ARCHES)
 /* RTC configuration */
 #define CONFIG_RTC_M41T62
@@ -369,17 +361,14 @@
  * Commands additional to the ones defined in amcc-common.h
  */
 #if defined(CONFIG_ARCHES)
-#define CONFIG_CMD_DTT
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_SDRAM
 #elif defined(CONFIG_CANYONLANDS)
-#define CONFIG_CMD_DTT
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_SATA
 #define CONFIG_CMD_SDRAM
 #elif defined(CONFIG_GLACIER)
-#define CONFIG_CMD_DTT
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_SDRAM
include/configs/dlvision-10g.h +0 -8
index e32651f541..89f24e0980 100644
@@ -57,7 +57,6 @@
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_DTT
 #undef CONFIG_CMD_EEPROM
 #undef CONFIG_CMD_IRQ
 
@@ -111,13 +110,6 @@
 #define CONFIG_SYS_SPD_BUS_NUM		4
 
 /* Temp sensor/hwmon/dtt */
-#define CONFIG_SYS_DTT_BUS_NUM	4
-#define CONFIG_DTT_LM63		1	/* National LM63	*/
-#define CONFIG_DTT_SENSORS	{ 0x4c, 0x4e, 0x18 } /* Sensor addresses */
-#define CONFIG_DTT_PWM_LOOKUPTABLE	\
-		{ { 46, 10 }, { 48, 14 }, { 50, 19 }, { 52, 23 },\
-		  { 54, 27 }, { 56, 31 }, { 58, 36 }, { 60, 40 } }
-#define CONFIG_DTT_TACH_LIMIT	0xa10
 
 #define CONFIG_SYS_ICS8N3QV01_I2C	{1, 3}
 #define CONFIG_SYS_SIL1178_I2C		{0, 2}
include/configs/dlvision.h +0 -1
index 2b7d62b034..ec21a8347a 100644
@@ -55,7 +55,6 @@
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_DTT
 #undef CONFIG_CMD_EEPROM
 #undef CONFIG_CMD_IRQ
 
include/configs/exynos5-common.h +0 -2
index 5411e5ff49..91976a75bc 100644
@@ -46,8 +46,6 @@
 
 /* Thermal Management Unit */
 #define CONFIG_EXYNOS_TMU
-#define CONFIG_CMD_DTT
-#define CONFIG_TMU_CMD_DTT
 
 /* MMC SPL */
 #define COPY_BL2_FNPTR_ADDR	0x02020030
include/configs/intip.h +0 -8
index f1f840923b..036fd20eb4 100644
@@ -218,13 +218,6 @@
 #define CONFIG_4xx_CONFIG_I2C_EEPROM_OFFSET	0
 #define CONFIG_4xx_CONFIG_BLOCKSIZE		16
 
-/* I2C SYSMON */
-#define CONFIG_DTT_LM63         1       /* National LM63        */
-#define CONFIG_DTT_SENSORS      { 0 }   /* Sensor addresses     */
-#define CONFIG_DTT_PWM_LOOKUPTABLE      \
-	{ { 40, 10 }, { 50, 20 }, { 60, 40 } }
-#define CONFIG_DTT_TACH_LIMIT   0xa10
-
 /* RTC configuration */
 #define CONFIG_RTC_DS1337	1
 #define CONFIG_SYS_I2C_RTC_ADDR	0x68
@@ -272,7 +265,6 @@
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_DTT
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_SDRAM
 
include/configs/io.h +0 -6
index 3e44a8c607..dd195ffeed 100644
@@ -57,7 +57,6 @@
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_DTT
 #undef CONFIG_CMD_EEPROM
 #undef CONFIG_CMD_IRQ
 
@@ -93,11 +92,6 @@
 #define CONFIG_SYS_I2C_PPC4XX_SPEED_0		100000
 
 /* Temp sensor/hwmon/dtt */
-#define CONFIG_DTT_LM63		1	/* National LM63	*/
-#define CONFIG_DTT_SENSORS	{ 0 }	/* Sensor addresses	*/
-#define CONFIG_DTT_PWM_LOOKUPTABLE	\
-		{ { 40, 10 }, { 50, 20 }, { 60, 40 } }
-#define CONFIG_DTT_TACH_LIMIT	0xa10
 
 /*
  * FLASH organization
include/configs/io64.h +0 -9
index 8e754fc10b..1b58f04540 100644
@@ -327,14 +327,6 @@
 #define CONFIG_4xx_CONFIG_I2C_EEPROM_OFFSET	0
 #define CONFIG_4xx_CONFIG_BLOCKSIZE		16
 
-/* Temp sensor/hwmon/dtt */
-#define CONFIG_DTT_LM63		1	/* National LM63 */
-#define CONFIG_DTT_SENSORS	{ 0x18, 0x4c, 0x4e }	/* Sensor addresses */
-#define CONFIG_DTT_PWM_LOOKUPTABLE	\
-		{ { 40, 10 }, { 43, 13 }, { 46, 16 },  \
-		  { 50, 20 }, { 53, 27 }, { 56, 34 }, { 60, 40 } }
-#define CONFIG_DTT_TACH_LIMIT	0xa10
-
 /*-----------------------------------------------------------------------
  * Ethernet
  *----------------------------------------------------------------------*/
@@ -373,7 +365,6 @@
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_DTT
 
 #define CONFIG_SYS_POST_MEMORY_ON	CONFIG_SYS_POST_MEMORY
 
include/configs/katmai.h +0 -25
index 3143b631ce..c3b9da0d96 100644
@@ -123,31 +123,6 @@
 #define CONFIG_SYS_I2C_RTC_ADDR	0x68
 #define CONFIG_SYS_M41T11_BASE_YEAR	1900	/* play along with linux	*/
 
-/* I2C DTT */
-#define CONFIG_DTT_ADM1021	1	/* ADM1021 temp sensor support	*/
-#define CONFIG_SYS_DTT_BUS_NUM		1	/* The I2C bus for DTT		*/
-/*
- * standard dtt sensor configuration - bottom bit will determine local or
- * remote sensor of the ADM1021, the rest determines index into
- * CONFIG_SYS_DTT_ADM1021 array below.
- */
-#define CONFIG_DTT_SENSORS	{ 0, 1 }
-
-/*
- * ADM1021 temp sensor configuration (see dtt/adm1021.c for details).
- * there will be one entry in this array for each two (dummy) sensors in
- * CONFIG_DTT_SENSORS.
- *
- * For Katmai board:
- * - only one ADM1021
- * - i2c addr 0x18
- * - conversion rate 0x02 = 0.25 conversions/second
- * - ALERT ouput disabled
- * - local temp sensor enabled, min set to 0 deg, max set to 85 deg
- * - remote temp sensor enabled, min set to 0 deg, max set to 85 deg
- */
-#define CONFIG_SYS_DTT_ADM1021		{ { 0x18, 0x02, 0, 1, 0, 85, 1, 0, 58} }
-
 /*-----------------------------------------------------------------------
  * Environment
  *----------------------------------------------------------------------*/
include/configs/kilauea.h +0 -4
index b8c0d0d8f0..a91a6a9ee5 100644
@@ -317,10 +317,6 @@
 #define CONFIG_4xx_CONFIG_I2C_EEPROM_OFFSET	0
 #define CONFIG_4xx_CONFIG_BLOCKSIZE		16
 
-/* Standard DTT sensor configuration */
-#define CONFIG_DTT_DS1775	1
-#define CONFIG_DTT_SENSORS	{ 0 }
-
 /* RTC configuration */
 #define CONFIG_RTC_DS1338	1
 #define CONFIG_SYS_I2C_RTC_ADDR	0x68
include/configs/km/km-powerpc.h +0 -1
index 8293607c9c..0d50538a8e 100644
@@ -14,7 +14,6 @@
 
 #define CONFIG_BOOTCOUNT_LIMIT
 
-#define CONFIG_CMD_DTT
 #define CONFIG_JFFS2_CMDLINE
 
 /* standard km ethernet_present for piggy */
include/configs/km/km83xx-common.h +0 -7
index 35ec0972bf..7d69224bd1 100644
@@ -215,13 +215,6 @@
 
 #define CONFIG_KM_IVM_BUS		2	/* I2C2 (Mux-Port 1)*/
 
-/* I2C SYSMON (LM75, AD7414 is almost compatible) */
-#define CONFIG_DTT_LM75		/* ON Semi's LM75 */
-#define CONFIG_DTT_SENSORS	{0, 1, 2, 3}	/* Sensor addresses */
-#define CONFIG_SYS_DTT_MAX_TEMP	70
-#define CONFIG_SYS_DTT_HYSTERESIS	3
-#define CONFIG_SYS_DTT_BUS_NUM		1
-
 #if defined(CONFIG_CMD_NAND)
 #define CONFIG_NAND_KMETER1
 #define CONFIG_SYS_MAX_NAND_DEVICE	1
include/configs/km82xx.h +0 -7
index aeece20bda..09c3aa9ca8 100644
@@ -268,13 +268,6 @@ int get_sda(void);
 int get_scl(void);
 #endif
 
-/* I2C SYSMON (LM75, AD7414 is almost compatible)			*/
-#define CONFIG_DTT_LM75			/* ON Semi's LM75		*/
-#define CONFIG_DTT_SENSORS	{0}	/* Sensor addresses		*/
-#define CONFIG_SYS_DTT_MAX_TEMP	70
-#define CONFIG_SYS_DTT_HYSTERESIS	3
-#define CONFIG_SYS_DTT_BUS_NUM		2
-
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN	1
 
 #define CONFIG_SYS_IMMR		0xF0000000
include/configs/makalu.h +0 -5
index cdb02f3693..a92bc43538 100644
@@ -189,10 +189,6 @@
 #define CONFIG_SYS_I2C_EEPROM_ADDR	0x52	/* I2C boot EEPROM (24C02BN)	*/
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN	1	/* Bytes of address		*/
 
-/* Standard DTT sensor configuration */
-#define CONFIG_DTT_DS1775	1
-#define CONFIG_DTT_SENSORS	{ 0 }
-
 /* RTC configuration */
 #define CONFIG_RTC_X1205	1
 #define CONFIG_SYS_I2C_RTC_ADDR	0x6f
@@ -231,7 +227,6 @@
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_DTT
 #define CONFIG_CMD_PCI
 
 /* POST support */
include/configs/motionpro.h +7 -1
index cb5c346807..aaa8962fd2 100644
@@ -33,7 +33,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_DTT
 #define CONFIG_CMD_IDE
 #define CONFIG_CMD_IMMAP
 #define CONFIG_CMD_JFFS2
@@ -268,6 +267,13 @@
 #define LED_ON			0x00000010
 
 /*
+<<<<<<< 4ba57299158b7a7020d2bd3b8d8369884696a0ae
+=======
+ * Temperature sensor
+ */
+
+/*
+>>>>>>> Drop digital thermometer and thermostat (DTT) drivers
  * Environment settings
  */
 #define CONFIG_ENV_IS_IN_FLASH	1
include/configs/neo.h +0 -8
index 9115e251b1..29ce61c326 100644
@@ -57,7 +57,6 @@
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_DTT
 #undef CONFIG_CMD_EEPROM
 #undef CONFIG_CMD_IRQ
 
@@ -100,13 +99,6 @@
 #define CONFIG_RTC_DS1337
 #define CONFIG_SYS_I2C_RTC_ADDR	0x68
 
-/* Temp sensor/hwmon/dtt */
-#define CONFIG_DTT_LM63		1	/* National LM63	*/
-#define CONFIG_DTT_SENSORS	{ 0 }	/* Sensor addresses	*/
-#define CONFIG_DTT_PWM_LOOKUPTABLE	\
-		{ { 40, 10 }, { 50, 20 }, { 60, 40 } }
-#define CONFIG_DTT_TACH_LIMIT	0xa10
-
 /*
  * FLASH organization
  */
include/configs/odroid_xu3.h +0 -1
index 246fb808a9..ba29f3e7d1 100644
@@ -61,7 +61,6 @@
 
 /* FIXME: MUST BE REMOVED AFTER TMU IS TURNED ON */
 #undef CONFIG_EXYNOS_TMU
-#undef CONFIG_TMU_CMD_DTT
 
 #define CONFIG_DFU_ALT_SYSTEM               \
 	"uImage fat 0 1;"                   \
include/configs/sequoia.h +0 -9
index c39bb24420..7a120ed5a6 100644
@@ -159,14 +159,6 @@
 #define CONFIG_4xx_CONFIG_I2C_EEPROM_OFFSET	0
 #define CONFIG_4xx_CONFIG_BLOCKSIZE		16
 
-/* I2C SYSMON (LM75, AD7414 is almost compatible)			*/
-#define CONFIG_DTT_LM75		1	/* ON Semi's LM75		*/
-#define CONFIG_DTT_AD7414	1	/* use AD7414			*/
-#define CONFIG_DTT_SENSORS	{0}	/* Sensor addresses		*/
-#define CONFIG_SYS_DTT_MAX_TEMP	70
-#define CONFIG_SYS_DTT_LOW_TEMP	-30
-#define CONFIG_SYS_DTT_HYSTERESIS	3
-
 /*
  * Default environment variables
  */
@@ -219,7 +211,6 @@
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_DTT
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_SDRAM
include/configs/socrates.h +0 -8
index 76b4038d50..b37e796d33 100644
@@ -210,13 +210,6 @@
 /* I2C W83782G HW-Monitoring IC */
 #define CONFIG_SYS_I2C_W83782G_ADDR	0x28	/* W83782G address 		*/
 
-/* I2C temp sensor */
-/* Socrates uses Maxim's	DS75, which is compatible with LM75 */
-#define CONFIG_DTT_LM75		1
-#define CONFIG_DTT_SENSORS	{4}		/* Sensor addresses	*/
-#define CONFIG_SYS_DTT_MAX_TEMP	125
-#define CONFIG_SYS_DTT_LOW_TEMP	-55
-#define CONFIG_SYS_DTT_HYSTERESIS	3
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS	4
 
 /*
@@ -286,7 +279,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_DTT
 #undef CONFIG_CMD_EEPROM
 #define CONFIG_CMD_SDRAM
 #define CONFIG_CMD_REGINFO
include/configs/tqma6.h +0 -10
index 738693c0c0..799c45e2d7 100644
@@ -57,13 +57,6 @@
 #define CONFIG_I2C_MULTI_BUS
 #define CONFIG_SYS_I2C_SPEED		100000
 
-/* I2C SYSMON (LM75) */
-#define CONFIG_DTT_LM75
-#define CONFIG_DTT_MAX_TEMP		70
-#define CONFIG_DTT_MIN_TEMP		-30
-#define CONFIG_DTT_HYSTERESIS	3
-#define CONFIG_CMD_DTT
-
 /* I2C EEPROM (M24C64) */
 #define CONFIG_SYS_I2C_EEPROM_ADDR			0x50
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN			2
@@ -371,8 +364,5 @@
 #endif
 
 /* Support at least the sensor on TQMa6 SOM */
-#if !defined(CONFIG_DTT_SENSORS)
-#define CONFIG_DTT_SENSORS		{ 0 }
-#endif
 
 #endif /* __CONFIG_H */
include/configs/tqma6_mba6.h +0 -2
index 3d6e4383e1..69e9079339 100644
@@ -10,8 +10,6 @@
 #ifndef __CONFIG_TQMA6_MBA6_H
 #define __CONFIG_TQMA6_MBA6_H
 
-#define CONFIG_DTT_SENSORS		{ 0, 1 }
-
 #define CONFIG_FEC_XCV_TYPE		RGMII
 #define CONFIG_ETHPRIME			"FEC"
 
include/configs/tqma6_wru4.h +0 -4
index b9cc5d632f..4ab4c6559d 100644
@@ -7,10 +7,6 @@
 #ifndef __CONFIG_TQMA6_WRU4_H
 #define __CONFIG_TQMA6_WRU4_H
 
-/* DTT sensors */
-#define CONFIG_DTT_SENSORS		{ 0, 1 }
-#define CONFIG_SYS_DTT_BUS_NUM		2
-
 /* Ethernet */
 #define CONFIG_FEC_XCV_TYPE		RMII
 #define CONFIG_ETHPRIME			"FEC"
include/configs/work_92105.h +0 -8
index 82f4af9c93..458acf59af 100644
@@ -85,14 +85,6 @@
 #define CONFIG_RTC_DS1374
 
 /*
- * I2C Temperature Sensor (DTT)
- */
-
-#define CONFIG_CMD_DTT
-#define CONFIG_DTT_SENSORS { 0, 1 }
-#define CONFIG_DTT_DS620
-
-/*
  * U-Boot General Configurations
  */
 #define CONFIG_SYS_LONGHELP
include/configs/xilinx-ppc.h +0 -1
index ea4b739d0b..c4efae67a7 100644
@@ -28,7 +28,6 @@
 #define CONFIG_CMD_REGINFO
 #undef CONFIG_CMD_JFFS2
 #undef CONFIG_CMD_MTDPARTS
-#undef CONFIG_CMD_DTT
 #undef CONFIG_CMD_EEPROM
 
 /*Misc*/
include/configs/xpedite517x.h +0 -3
index bd1d0c75d9..97a9d71e8b 100644
@@ -233,8 +233,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 
 /* I2C DS1631 temperature sensor */
 #define CONFIG_SYS_I2C_DS1621_ADDR	0x48
-#define CONFIG_DTT_DS1621
-#define CONFIG_DTT_SENSORS		{ 0 }
 #define CONFIG_SYS_I2C_LM90_ADDR	0x4c
 
 /* I2C EEPROM - AT24C128B */
@@ -501,7 +499,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_DTT
 #define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_JFFS2
include/configs/xpedite537x.h +0 -3
index a290cf3463..fa1971db20 100644
@@ -230,8 +230,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 
 /* I2C DS1631 temperature sensor */
 #define CONFIG_SYS_I2C_DS1621_ADDR	0x48
-#define CONFIG_DTT_DS1621
-#define CONFIG_DTT_SENSORS		{ 0 }
 #define CONFIG_SYS_I2C_LM90_ADDR	0x4c
 
 /* I2C EEPROM - AT24C128B */
@@ -353,7 +351,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_DTT
 #define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_NAND
include/configs/xpedite550x.h +0 -3
index ad4247ab48..e3f0b939c3 100644
@@ -219,8 +219,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 #define CONFIG_SYS_FSL_I2C2_OFFSET	0x3100
 
 /* I2C DS7505 temperature sensor */
-#define CONFIG_DTT_LM75
-#define CONFIG_DTT_SENSORS		{ 0 }
 #define CONFIG_SYS_I2C_LM75_ADDR	0x48
 
 /* I2C ADT7461 temperature sensor */
@@ -338,7 +336,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_DTT
 #define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_NAND
include/configs/yosemite.h +0 -9
index 77648d78bc..d9c09b80cd 100644
@@ -131,14 +131,6 @@
 #define CONFIG_ENV_OFFSET		0x0
 #endif /* CONFIG_ENV_IS_IN_EEPROM */
 
-/* I2C SYSMON (LM75, AD7414 is almost compatible)			*/
-#define CONFIG_DTT_LM75		1		/* ON Semi's LM75	*/
-#define CONFIG_DTT_AD7414	1		/* use AD7414		*/
-#define CONFIG_DTT_SENSORS	{0}		/* Sensor addresses	*/
-#define CONFIG_SYS_DTT_MAX_TEMP	70
-#define CONFIG_SYS_DTT_LOW_TEMP	-30
-#define CONFIG_SYS_DTT_HYSTERESIS	3
-
 /*
  * Default environment variables
  */
@@ -184,7 +176,6 @@
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_DTT
 #define CONFIG_CMD_PCI
 
 #ifdef CONFIG_440EP
include/dtt.h deleted +0 -47

47 lines not on this page · raw message

include/i2c.h +0 -3
index a88cc7cddf..2c1643d650 100644
@@ -571,9 +571,6 @@ void i2c_dump_msgs(struct i2c_msg *msg, int nmsgs);
 #if !defined(CONFIG_SYS_RTC_BUS_NUM)
 #define CONFIG_SYS_RTC_BUS_NUM		0
 #endif
-#if !defined(CONFIG_SYS_DTT_BUS_NUM)
-#define CONFIG_SYS_DTT_BUS_NUM		0
-#endif
 #if !defined(CONFIG_SYS_SPD_BUS_NUM)
 #define CONFIG_SYS_SPD_BUS_NUM		0
 #endif
scripts/config_whitelist.txt +0 -22
index 4bdf2c6f13..8233c7e54d 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_DTT
 CONFIG_CMD_ECCTEST
 CONFIG_CMD_EECONFIG
 CONFIG_CMD_EEPROM
@@ -682,20 +681,6 @@ CONFIG_DRIVE_SATA
 CONFIG_DRIVE_TYPES
 CONFIG_DRIVE_USB
 CONFIG_DSP_CLUSTER_START
-CONFIG_DTT
-CONFIG_DTT_AD7414
-CONFIG_DTT_ADM1021
-CONFIG_DTT_DS1621
-CONFIG_DTT_DS1775
-CONFIG_DTT_DS620
-CONFIG_DTT_HYSTERESIS
-CONFIG_DTT_LM63
-CONFIG_DTT_LM75
-CONFIG_DTT_MAX_TEMP
-CONFIG_DTT_MIN_TEMP
-CONFIG_DTT_PWM_LOOKUPTABLE
-CONFIG_DTT_SENSORS
-CONFIG_DTT_TACH_LIMIT
 CONFIG_DUOVERO
 CONFIG_DV_USBPHY_CTL
 CONFIG_DWC2_DFLT_SPEED_FULL
@@ -3451,12 +3436,6 @@ CONFIG_SYS_DSPI_CTAR4
 CONFIG_SYS_DSPI_CTAR5
 CONFIG_SYS_DSPI_CTAR6
 CONFIG_SYS_DSPI_CTAR7
-CONFIG_SYS_DTT_ADM1021
-CONFIG_SYS_DTT_BUS_NUM
-CONFIG_SYS_DTT_HYSTERESIS
-CONFIG_SYS_DTT_LOW_TEMP
-CONFIG_SYS_DTT_MAX_TEMP
-CONFIG_SYS_DTT_MIN_TEMP
 CONFIG_SYS_DUART_RST
 CONFIG_SYS_DV_CLKMODE
 CONFIG_SYS_DV_NOR_BOOT_CFG
@@ -6116,7 +6095,6 @@ CONFIG_TIZEN
 CONFIG_TI_KEYSTONE_SERDES
 CONFIG_TI_KSNAV
 CONFIG_TI_SPI_MMAP
-CONFIG_TMU_CMD_DTT
 CONFIG_TMU_TIMER
 CONFIG_TOTAL5200
 CONFIG_TPL_DRIVERS_MISC_SUPPORT
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#17 lore raw

PATCH v3 9/48 Drop digital thermometer and thermostat (DTT) drivers

Quoted 7 lines · Simon Glass

This subsystem is quite old. It has been replaced with a driver-model version (UCLASS_THERMAL). Boards are free to convert to that if required, but here is a removal patch that could be applied in the meantime.

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/69d412a2/attachment.sig>
#18 lore raw

PATCH v3 10/48 Kconfig: Drop CONFIG_SYS_I2C_DS1621_ADDR

In reply to Simon Glass

Now that dtt is gone, this is not used. Drop it.

---

Changes in v3: None
Changes in v2: None

 include/configs/xpedite517x.h | 12 ------------
 include/configs/xpedite537x.h | 11 -----------
 scripts/config_whitelist.txt  |  1 -
 3 files changed, 24 deletions(-)
include/configs/xpedite517x.h +0 -12
index 97a9d71e8b..94aad2519e 100644
@@ -87,17 +87,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_SYS_MEMTEST_END		0x20000000
 #define CONFIG_POST			(CONFIG_SYS_POST_MEMORY |\
 					 CONFIG_SYS_POST_I2C)
-#define I2C_ADDR_LIST			{CONFIG_SYS_I2C_DS1621_ADDR,	\
-					 CONFIG_SYS_I2C_DS4510_ADDR,	\
-					 CONFIG_SYS_I2C_EEPROM_ADDR,	\
-					 CONFIG_SYS_I2C_LM90_ADDR,	\
-					 CONFIG_SYS_I2C_PCA9553_ADDR,	\
-					 CONFIG_SYS_I2C_PCA953X_ADDR0,	\
-					 CONFIG_SYS_I2C_PCA953X_ADDR1,	\
-					 CONFIG_SYS_I2C_PCA953X_ADDR2,	\
-					 CONFIG_SYS_I2C_PCA953X_ADDR3,	\
-					 CONFIG_SYS_I2C_PEX8518_ADDR,	\
-					 CONFIG_SYS_I2C_RTC_ADDR}
 /* The XPedite5170 can host an XMC which has an EEPROM at address 0x50 */
 #define I2C_ADDR_IGNORE_LIST		{0x50}
 
@@ -232,7 +221,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_SYS_I2C_PEX8518_ADDR	0x70
 
 /* I2C DS1631 temperature sensor */
-#define CONFIG_SYS_I2C_DS1621_ADDR	0x48
 #define CONFIG_SYS_I2C_LM90_ADDR	0x4c
 
 /* I2C EEPROM - AT24C128B */
include/configs/xpedite537x.h +0 -11
index fa1971db20..826cd9aa5f 100644
@@ -81,16 +81,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 #define CONFIG_SYS_MEMTEST_END		0x20000000
 #define CONFIG_POST			(CONFIG_SYS_POST_MEMORY | \
 					 CONFIG_SYS_POST_I2C)
-#define I2C_ADDR_LIST			{CONFIG_SYS_I2C_DS1621_ADDR,	\
-					 CONFIG_SYS_I2C_DS4510_ADDR,	\
-					 CONFIG_SYS_I2C_EEPROM_ADDR,	\
-					 CONFIG_SYS_I2C_LM90_ADDR,	\
-					 CONFIG_SYS_I2C_PCA953X_ADDR0,	\
-					 CONFIG_SYS_I2C_PCA953X_ADDR1,	\
-					 CONFIG_SYS_I2C_PCA953X_ADDR2,	\
-					 CONFIG_SYS_I2C_PCA953X_ADDR3,	\
-					 CONFIG_SYS_I2C_PEX8518_ADDR,	\
-					 CONFIG_SYS_I2C_RTC_ADDR}
 /* The XPedite5370 can host an XMC which has an EEPROM at address 0x50 */
 #define I2C_ADDR_IGNORE_LIST		{0x50}
 
@@ -229,7 +219,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 #define CONFIG_SYS_I2C_PEX8518_ADDR	0x70
 
 /* I2C DS1631 temperature sensor */
-#define CONFIG_SYS_I2C_DS1621_ADDR	0x48
 #define CONFIG_SYS_I2C_LM90_ADDR	0x4c
 
 /* I2C EEPROM - AT24C128B */
scripts/config_whitelist.txt +0 -1
index 8233c7e54d..3469deb589 100644
@@ -4177,7 +4177,6 @@ CONFIG_SYS_I2C_CLK_OFFSET
 CONFIG_SYS_I2C_DAVINCI
 CONFIG_SYS_I2C_DIRECT_BUS
 CONFIG_SYS_I2C_DPMEM_OFFSET
-CONFIG_SYS_I2C_DS1621_ADDR
 CONFIG_SYS_I2C_DS4510_ADDR
 CONFIG_SYS_I2C_DSPIC_2_ADDR
 CONFIG_SYS_I2C_DSPIC_ADDR
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#19 lore raw

PATCH v3 10/48 Kconfig: Drop CONFIG_SYS_I2C_DS1621_ADDR

Quoted 5 lines · Simon Glass

Now that dtt is gone, this is not used. Drop it.

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/d5755ad0/attachment.sig>
#20 lore raw

PATCH v3 11/48 Kconfig: Drop CONFIG_SYS_I2C_DS4510_ADDR

In reply to Simon Glass

This is only used by one board and always set to 0x51. Drop this option.

---

Changes in v3: None
Changes in v2: None

 drivers/misc/ds4510.c         | 7 +------
 include/configs/xpedite517x.h | 3 ---
 include/configs/xpedite537x.h | 3 ---
 scripts/config_whitelist.txt  | 1 -
 4 files changed, 1 insertion(+), 13 deletions(-)
drivers/misc/ds4510.c +1 -6
index 9ffdafc992..55f8936513 100644
@@ -14,11 +14,6 @@
 #include <command.h>
 #include "ds4510.h"
 
-/* Default to an address that hopefully won't corrupt other i2c devices */
-#ifndef CONFIG_SYS_I2C_DS4510_ADDR
-#define CONFIG_SYS_I2C_DS4510_ADDR	(~0)
-#endif
-
 enum {
 	DS4510_CMD_INFO,
 	DS4510_CMD_DEVICE,
@@ -254,7 +249,7 @@ cmd_tbl_t cmd_ds4510[] = {
 
 int do_ds4510(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
-	static uint8_t chip = CONFIG_SYS_I2C_DS4510_ADDR;
+	static uint8_t chip = 0x51;
 	cmd_tbl_t *c;
 	ulong ul_arg2 = 0;
 	ulong ul_arg3 = 0;
include/configs/xpedite517x.h +0 -3
index 94aad2519e..cf84e1f99a 100644
@@ -234,9 +234,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_SYS_I2C_RTC_ADDR		0x68
 #define CONFIG_SYS_M41T11_BASE_YEAR	2000
 
-/* GPIO/EEPROM/SRAM */
-#define CONFIG_SYS_I2C_DS4510_ADDR	0x51
-
 /* GPIO */
 #define CONFIG_PCA953X
 #define CONFIG_SYS_I2C_PCA953X_ADDR0	0x18
include/configs/xpedite537x.h +0 -3
index 826cd9aa5f..d630f2a9c9 100644
@@ -232,9 +232,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 #define CONFIG_SYS_I2C_RTC_ADDR		0x68
 #define CONFIG_SYS_M41T11_BASE_YEAR	2000
 
-/* GPIO/EEPROM/SRAM */
-#define CONFIG_SYS_I2C_DS4510_ADDR	0x51
-
 /* GPIO */
 #define CONFIG_PCA953X
 #define CONFIG_SYS_I2C_PCA953X_ADDR0	0x18
scripts/config_whitelist.txt +0 -1
index 3469deb589..d015fc84e1 100644
@@ -4177,7 +4177,6 @@ CONFIG_SYS_I2C_CLK_OFFSET
 CONFIG_SYS_I2C_DAVINCI
 CONFIG_SYS_I2C_DIRECT_BUS
 CONFIG_SYS_I2C_DPMEM_OFFSET
-CONFIG_SYS_I2C_DS4510_ADDR
 CONFIG_SYS_I2C_DSPIC_2_ADDR
 CONFIG_SYS_I2C_DSPIC_ADDR
 CONFIG_SYS_I2C_DSPIC_IO_ADDR
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#21 lore raw

PATCH v3 11/48 Kconfig: Drop CONFIG_SYS_I2C_DS4510_ADDR

Quoted 5 lines · Simon Glass

This is only used by one board and always set to 0x51. Drop this option.

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/53081afa/attachment.sig>
#22 lore raw

PATCH v3 12/48 Convert CONFIG_CMD_ECCTEST to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_ECCTEST

---

Changes in v3: None
Changes in v2: None

 arch/powerpc/cpu/ppc4xx/Kconfig | 6 ++++++
 configs/katmai_defconfig        | 1 +
 configs/t3corp_defconfig        | 1 +
 include/configs/katmai.h        | 1 -
 include/configs/t3corp.h        | 1 -
 scripts/config_whitelist.txt    | 1 -
 6 files changed, 8 insertions(+), 3 deletions(-)
arch/powerpc/cpu/ppc4xx/Kconfig +6 -0
index 38121c1427..77e8fd458e 100644
@@ -137,6 +137,12 @@ config CMD_CHIP_CONFIG
 	  and control the CPU and peripehrals clocks. The programmed
 	  configuration is then used when the board boots.
 
+config CMD_ECCTEST
+	bool "Enable the 'ecctest' command"
+	help
+	  This command tests memory ECC by single and double error bit
+	  injection.
+
 source "board/amcc/acadia/Kconfig"
 source "board/amcc/bamboo/Kconfig"
 source "board/amcc/bubinga/Kconfig"
configs/katmai_defconfig +1 -0
index 406bdcd696..baa266e167 100644
@@ -2,6 +2,7 @@ CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_KATMAI=y
 CONFIG_CMD_CHIP_CONFIG=y
+CONFIG_CMD_ECCTEST=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=5
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
configs/t3corp_defconfig +1 -0
index 21c4c89212..2e5416e03b 100644
@@ -2,6 +2,7 @@ CONFIG_PPC=y
 CONFIG_4xx=y
 CONFIG_TARGET_T3CORP=y
 CONFIG_CMD_CHIP_CONFIG=y
+CONFIG_CMD_ECCTEST=y
 CONFIG_FIT=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=5
include/configs/katmai.h +0 -1
index c3b9da0d96..3f39a26d3b 100644
@@ -145,7 +145,6 @@
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_ECCTEST
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_SDRAM
 
include/configs/t3corp.h +0 -1
index 964115f980..ed5aaa2a63 100644
@@ -349,7 +349,6 @@
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_ECCTEST
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_SDRAM
 
scripts/config_whitelist.txt +0 -1
index d015fc84e1..2c032b7059 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_ECCTEST
 CONFIG_CMD_EECONFIG
 CONFIG_CMD_EEPROM
 CONFIG_CMD_EEPROM_LAYOUT
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#23 lore raw

PATCH v3 12/48 Convert CONFIG_CMD_ECCTEST to Kconfig

Quoted 4 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_ECCTEST

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/2b610ccf/attachment.sig>
#24 lore raw

PATCH v3 13/48 Convert CONFIG_CMD_EECONFIG to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_EECONFIG

---

Changes in v3: None
Changes in v2: None

 board/gateworks/gw_ventana/Kconfig | 5 +++++
 configs/gwventana_emmc_defconfig   | 1 +
 configs/gwventana_gw5904_defconfig | 1 +
 configs/gwventana_nand_defconfig   | 1 +
 include/configs/gw_ventana.h       | 1 -
 include/configs/pcm058.h           | 1 -
 scripts/config_whitelist.txt       | 1 -
 7 files changed, 8 insertions(+), 3 deletions(-)
board/gateworks/gw_ventana/Kconfig +5 -0
index ccce98e2ed..c5779846da 100644
@@ -9,4 +9,9 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "gw_ventana"
 
+config CMD_EECONFIG
+	bool "Enable the 'econfig' command"
+	help
+	  Provides access to EEPROM configuration on Gateworks Ventana
+
 endif
configs/gwventana_emmc_defconfig +1 -0
index 061f15ed2a..289134e854 100644
@@ -4,6 +4,7 @@ CONFIG_SPL_GPIO_SUPPORT=y
 CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_TARGET_GW_VENTANA=y
+CONFIG_CMD_EECONFIG=y
 CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
configs/gwventana_gw5904_defconfig +1 -0
index 931572aa67..5e5f1f6d37 100644
@@ -4,6 +4,7 @@ CONFIG_SPL_GPIO_SUPPORT=y
 CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_TARGET_GW_VENTANA=y
+CONFIG_CMD_EECONFIG=y
 CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
configs/gwventana_nand_defconfig +1 -0
index 37d0e10569..eedccfc999 100644
@@ -4,6 +4,7 @@ CONFIG_SPL_GPIO_SUPPORT=y
 CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_TARGET_GW_VENTANA=y
+CONFIG_CMD_EECONFIG=y
 CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_NAND_SUPPORT=y
include/configs/gw_ventana.h +0 -1
index 1c18a380fe..661d8c38c8 100644
@@ -143,7 +143,6 @@
 /* Various command support */
 #define CONFIG_CMD_HDMIDETECT    /* detect HDMI output device */
 #define CONFIG_CMD_GSC
-#define CONFIG_CMD_EECONFIG      /* Gateworks EEPROM config cmd */
 #define CONFIG_CMD_UNZIP         /* gzwrite */
 #define CONFIG_RBTREE
 
include/configs/pcm058.h +0 -1
index f622be62b7..041d84018f 100644
@@ -88,7 +88,6 @@
 /* Various command support */
 #define CONFIG_CMD_HDMIDETECT    /* detect HDMI output device */
 #define CONFIG_CMD_GSC
-#define CONFIG_CMD_EECONFIG      /* Gateworks EEPROM config cmd */
 #define CONFIG_RBTREE
 
 /* Physical Memory Map */
scripts/config_whitelist.txt +0 -1
index 2c032b7059..149793579b 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_EECONFIG
 CONFIG_CMD_EEPROM
 CONFIG_CMD_EEPROM_LAYOUT
 CONFIG_CMD_ENTERRCM
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#25 lore raw

PATCH v3 13/48 Convert CONFIG_CMD_EECONFIG to Kconfig

Quoted 4 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_EECONFIG

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/3c26bed1/attachment.sig>
#26 lore raw

PATCH v3 14/48 Convert CONFIG_CMD_EEPROM et al to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_EEPROM
CONFIG_CMD_EEPROM_LAYOUT
CONFIG_EEPROM_LAYOUT_HELP_STRING

---

Changes in v3: None
Changes in v2: None

 README                                             |  2 -
 arch/arm/Kconfig                                   |  1 +
 arch/arm/mach-omap2/Kconfig                        |  1 +
 arch/arm/mach-omap2/am33xx/Kconfig                 |  1 +
 arch/powerpc/cpu/mpc85xx/Kconfig                   | 24 +++++++++++
 cmd/Kconfig                                        | 48 ++++++++++++++++++++++
 cmd/eeprom.c                                       |  4 --
 configs/C29XPCIE_NAND_defconfig                    |  1 +
 configs/C29XPCIE_NOR_SECBOOT_defconfig             |  1 +
 configs/C29XPCIE_SPIFLASH_SECBOOT_defconfig        |  1 +
 configs/C29XPCIE_SPIFLASH_defconfig                |  1 +
 configs/C29XPCIE_defconfig                         |  1 +
 configs/CPCI2DP_defconfig                          |  1 +
 configs/CPCI4052_defconfig                         |  1 +
 configs/MIP405T_defconfig                          |  1 +
 configs/MIP405_defconfig                           |  1 +
 configs/MPC8323ERDB_defconfig                      |  1 +
 configs/PATI_defconfig                             |  1 +
 configs/PIP405_defconfig                           |  1 +
 configs/PLU405_defconfig                           |  1 +
 configs/PMC405DE_defconfig                         |  1 +
 configs/PMC440_defconfig                           |  1 +
 configs/TQM834x_defconfig                          |  1 +
 configs/TQM855M_defconfig                          |  1 +
 configs/TQM866M_defconfig                          |  1 +
 configs/TQM885D_defconfig                          |  1 +
 configs/TWR-P1025_defconfig                        |  1 +
 configs/VOM405_defconfig                           |  1 +
 configs/acadia_defconfig                           |  1 +
 configs/am335x_baltos_defconfig                    |  1 +
 configs/am335x_sl50_defconfig                      |  1 +
 configs/apf27_defconfig                            |  1 +
 configs/arches_defconfig                           |  1 +
 configs/bamboo_defconfig                           |  1 +
 configs/birdland_bav335a_defconfig                 |  1 +
 configs/birdland_bav335b_defconfig                 |  1 +
 configs/bk4r1_defconfig                            |  1 +
 configs/bubinga_defconfig                          |  1 +
 configs/canyonlands_defconfig                      |  1 +
 configs/cl-som-am57x_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/cm_t54_defconfig                           |  1 +
 .../controlcenterd_36BIT_SDCARD_DEVELOP_defconfig  |  1 +
 configs/controlcenterd_36BIT_SDCARD_defconfig      |  1 +
 .../controlcenterd_TRAILBLAZER_DEVELOP_defconfig   |  1 +
 configs/controlcenterd_TRAILBLAZER_defconfig       |  1 +
 configs/d2net_v2_defconfig                         |  1 +
 configs/devconcenter_defconfig                     |  1 +
 configs/eco5pk_defconfig                           |  1 +
 configs/glacier_defconfig                          |  1 +
 configs/glacier_ramboot_defconfig                  |  1 +
 configs/haleakala_defconfig                        |  1 +
 configs/icon_defconfig                             |  1 +
 configs/imx31_phycore_defconfig                    |  1 +
 configs/imx31_phycore_eet_defconfig                |  1 +
 configs/inetspace_v2_defconfig                     |  1 +
 configs/intip_defconfig                            |  1 +
 configs/io64_defconfig                             |  1 +
 configs/katmai_defconfig                           |  1 +
 configs/kilauea_defconfig                          |  1 +
 configs/km_kirkwood_128m16_defconfig               |  1 +
 configs/km_kirkwood_defconfig                      |  1 +
 configs/km_kirkwood_pci_defconfig                  |  1 +
 configs/kmcoge4_defconfig                          |  1 +
 configs/kmcoge5ne_defconfig                        |  1 +
 configs/kmcoge5un_defconfig                        |  1 +
 configs/kmeter1_defconfig                          |  1 +
 configs/kmlion1_defconfig                          |  1 +
 configs/kmnusa_defconfig                           |  1 +
 configs/kmopti2_defconfig                          |  1 +
 configs/kmsugp1_defconfig                          |  1 +
 configs/kmsupx5_defconfig                          |  1 +
 configs/kmsuv31_defconfig                          |  1 +
 configs/kmtegr1_defconfig                          |  1 +
 configs/kmtepr2_defconfig                          |  1 +
 configs/kmvect1_defconfig                          |  1 +
 configs/ls1012aqds_qspi_defconfig                  |  1 +
 configs/ls2080aqds_SECURE_BOOT_defconfig           |  1 +
 configs/ls2080aqds_defconfig                       |  1 +
 configs/ls2080aqds_nand_defconfig                  |  1 +
 configs/ls2080aqds_qspi_defconfig                  |  1 +
 configs/ls2080ardb_SECURE_BOOT_defconfig           |  1 +
 configs/ls2080ardb_defconfig                       |  1 +
 configs/ls2080ardb_nand_defconfig                  |  1 +
 configs/luan_defconfig                             |  1 +
 configs/lwmon5_defconfig                           |  1 +
 configs/makalu_defconfig                           |  1 +
 configs/mgcoge3ne_defconfig                        |  1 +
 configs/mgcoge3un_defconfig                        |  1 +
 configs/mgcoge_defconfig                           |  1 +
 configs/mt_ventoux_defconfig                       |  1 +
 configs/net2big_v2_defconfig                       |  1 +
 configs/netspace_lite_v2_defconfig                 |  1 +
 configs/netspace_max_v2_defconfig                  |  1 +
 configs/netspace_mini_v2_defconfig                 |  1 +
 configs/netspace_v2_defconfig                      |  1 +
 configs/novena_defconfig                           |  1 +
 configs/ot1200_defconfig                           |  1 +
 configs/pcm051_rev1_defconfig                      |  1 +
 configs/pcm051_rev3_defconfig                      |  1 +
 configs/pcm052_defconfig                           |  1 +
 configs/pengwyn_defconfig                          |  1 +
 configs/portl2_defconfig                           |  1 +
 configs/rainier_defconfig                          |  1 +
 configs/rainier_ramboot_defconfig                  |  1 +
 configs/redwood_defconfig                          |  1 +
 configs/sequoia_defconfig                          |  1 +
 configs/sequoia_ramboot_defconfig                  |  1 +
 configs/socfpga_vining_fpga_defconfig              |  1 +
 configs/suvd3_defconfig                            |  1 +
 configs/sycamore_defconfig                         |  1 +
 configs/t3corp_defconfig                           |  1 +
 configs/tqma6dl_mba6_mmc_defconfig                 |  1 +
 configs/tqma6dl_mba6_spi_defconfig                 |  1 +
 configs/tqma6q_mba6_mmc_defconfig                  |  1 +
 configs/tqma6q_mba6_spi_defconfig                  |  1 +
 configs/tqma6s_mba6_mmc_defconfig                  |  1 +
 configs/tqma6s_mba6_spi_defconfig                  |  1 +
 configs/tqma6s_wru4_mmc_defconfig                  |  1 +
 configs/tricorder_defconfig                        |  1 +
 configs/tricorder_flash_defconfig                  |  1 +
 configs/tuge1_defconfig                            |  1 +
 configs/tuxx1_defconfig                            |  1 +
 configs/twister_defconfig                          |  1 +
 configs/vct_platinum_defconfig                     |  1 +
 configs/vct_platinum_onenand_defconfig             |  1 +
 configs/vct_platinumavc_defconfig                  |  1 +
 configs/vct_platinumavc_onenand_defconfig          |  1 +
 configs/vct_premium_defconfig                      |  1 +
 configs/vct_premium_onenand_defconfig              |  1 +
 configs/walnut_defconfig                           |  1 +
 configs/work_92105_defconfig                       |  1 +
 configs/xilinx_zynqmp_zcu102_defconfig             |  1 +
 configs/xilinx_zynqmp_zcu102_revB_defconfig        |  1 +
 configs/xpedite1000_defconfig                      |  1 +
 configs/xpedite517x_defconfig                      |  1 +
 configs/xpedite520x_defconfig                      |  1 +
 configs/xpedite537x_defconfig                      |  1 +
 configs/yellowstone_defconfig                      |  1 +
 configs/yosemite_defconfig                         |  1 +
 configs/yucca_defconfig                            |  1 +
 configs/zynq_zc702_defconfig                       |  1 +
 configs/zynq_zc706_defconfig                       |  1 +
 configs/zynq_zybo_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/CPCI2DP.h                          |  1 -
 include/configs/CPCI4052.h                         |  1 -
 include/configs/MIP405.h                           |  1 -
 include/configs/MPC8323ERDB.h                      |  1 -
 include/configs/P1010RDB.h                         |  1 -
 include/configs/PATI.h                             |  1 -
 include/configs/PIP405.h                           |  1 -
 include/configs/PLU405.h                           |  1 -
 include/configs/PMC405DE.h                         |  1 -
 include/configs/PMC440.h                           |  1 -
 include/configs/T102xQDS.h                         |  1 -
 include/configs/T102xRDB.h                         |  1 -
 include/configs/T1040QDS.h                         |  1 -
 include/configs/TQM834x.h                          |  1 -
 include/configs/TQM855M.h                          |  1 -
 include/configs/TQM866M.h                          |  1 -
 include/configs/TQM885D.h                          |  1 -
 include/configs/VOM405.h                           |  1 -
 include/configs/am335x_evm.h                       |  1 -
 include/configs/am335x_sl50.h                      |  1 -
 include/configs/am43xx_evm.h                       |  1 -
 include/configs/amcc-common.h                      |  1 -
 include/configs/apf27.h                            |  1 -
 include/configs/baltos.h                           |  1 -
 include/configs/bav335x.h                          |  1 -
 include/configs/cl-som-am57x.h                     |  2 -
 include/configs/cm_fx6.h                           |  4 --
 include/configs/cm_t335.h                          |  4 --
 include/configs/cm_t35.h                           |  4 --
 include/configs/cm_t3517.h                         |  4 --
 include/configs/cm_t43.h                           |  4 --
 include/configs/cm_t54.h                           |  4 --
 include/configs/controlcenterd.h                   |  1 -
 include/configs/dlvision-10g.h                     |  1 -
 include/configs/dlvision.h                         |  1 -
 include/configs/gdppc440etx.h                      |  1 -
 include/configs/imx31_phycore.h                    |  1 -
 include/configs/io.h                               |  1 -
 include/configs/iocon.h                            |  1 -
 include/configs/km/keymile-common.h                |  1 -
 include/configs/lacie_kw.h                         |  1 -
 include/configs/ls1012aqds.h                       |  1 -
 include/configs/ls2080aqds.h                       |  1 -
 include/configs/ls2080ardb.h                       |  1 -
 include/configs/lwmon5.h                           |  1 -
 include/configs/neo.h                              |  1 -
 include/configs/novena.h                           |  1 -
 include/configs/ot1200.h                           |  1 -
 include/configs/p1_p2_rdb_pc.h                     |  1 -
 include/configs/p1_twr.h                           |  1 -
 include/configs/pcm051.h                           |  1 -
 include/configs/pcm052.h                           |  1 -
 include/configs/pengwyn.h                          |  1 -
 include/configs/socfpga_vining_fpga.h              |  2 -
 include/configs/socrates.h                         |  1 -
 include/configs/tam3517-common.h                   |  1 -
 include/configs/ti_armv7_keystone2.h               |  1 -
 include/configs/tqma6.h                            |  1 -
 include/configs/tricorder.h                        |  1 -
 include/configs/vct.h                              |  3 --
 include/configs/work_92105.h                       |  1 -
 include/configs/xilinx-ppc.h                       |  1 -
 include/configs/xilinx_zynqmp.h                    |  1 -
 include/configs/xilinx_zynqmp_zcu102.h             |  1 -
 include/configs/xpedite1000.h                      |  1 -
 include/configs/xpedite517x.h                      |  1 -
 include/configs/xpedite520x.h                      |  1 -
 include/configs/xpedite537x.h                      |  1 -
 include/configs/xpedite550x.h                      |  1 -
 include/configs/zynq-common.h                      |  1 -
 include/configs/zynq_zybo.h                        |  1 -
 scripts/config_whitelist.txt                       |  3 --
 225 files changed, 216 insertions(+), 107 deletions(-)
README +0 -2
index 3d45b29bd5..841869dec7 100644
@@ -832,8 +832,6 @@ The following options need to be configured:
 		CONFIG_CMD_DIAG		* Diagnostics
 		CONFIG_CMD_ECHO		  echo arguments
 		CONFIG_CMD_EDITENV	  edit env variable
-		CONFIG_CMD_EEPROM	* EEPROM read/write support
-		CONFIG_CMD_EEPROM_LAYOUT* EEPROM layout aware commands
 		CONFIG_CMD_ELF		* bootelf, bootvx
 		CONFIG_CMD_ENV_CALLBACK	* display details about env callbacks
 		CONFIG_CMD_ENV_FLAGS	* display details about env flags
arch/arm/Kconfig +1 -0
index a17ba2c60a..96dec83e22 100644
@@ -549,6 +549,7 @@ config ARCH_KEYSTONE
 	select SYS_THUMB_BUILD
 	select CMD_POWEROFF
 	imply FIT
+	imply CMD_EEPROM
 
 config ARCH_OMAP2PLUS
 	bool "TI OMAP2+"
arch/arm/mach-omap2/Kconfig +1 -0
index 408b62c663..e43ae19203 100644
@@ -125,6 +125,7 @@ config AM43XX
 	imply SPL_SEPARATE_BSS
 	imply SPL_SYS_MALLOC_SIMPLE
 	imply SYS_THUMB_BUILD
+	imply CMD_EEPROM
 	help
 	  Support for AM43xx SOC from Texas Instruments.
 	  The AM43xx high performance SOC features a Cortex-A9
arch/arm/mach-omap2/am33xx/Kconfig +1 -0
index 5c4168fefc..fb9448bd80 100644
@@ -34,6 +34,7 @@ config TARGET_AM335X_EVM
 	imply SPL_DM
 	imply SPL_DM_SEQ_ALIAS
 	imply SPL_OF_LIBFDT
+	imply CMD_EEPROM
 	help
 	  This option specifies support for the AM335x
 	  GP and HS EVM development platforms. The AM335x
arch/powerpc/cpu/mpc85xx/Kconfig +24 -0
index 31c0964994..a87430cdbc 100644
@@ -124,6 +124,7 @@ config TARGET_P1010RDB_PA
 	select BOARD_LATE_INIT if CHAIN_OF_TRUST
 	select SUPPORT_SPL
 	select SUPPORT_TPL
+	imply CMD_EEPROM
 
 config TARGET_P1010RDB_PB
 	bool "Support P1010RDB_PB"
@@ -131,6 +132,7 @@ config TARGET_P1010RDB_PB
 	select BOARD_LATE_INIT if CHAIN_OF_TRUST
 	select SUPPORT_SPL
 	select SUPPORT_TPL
+	imply CMD_EEPROM
 
 config TARGET_P1022DS
 	bool "Support P1022DS"
@@ -141,54 +143,63 @@ config TARGET_P1022DS
 config TARGET_P1023RDB
 	bool "Support P1023RDB"
 	select ARCH_P1023
+	imply CMD_EEPROM
 
 config TARGET_P1020MBG
 	bool "Support P1020MBG-PC"
 	select SUPPORT_SPL
 	select SUPPORT_TPL
 	select ARCH_P1020
+	imply CMD_EEPROM
 
 config TARGET_P1020RDB_PC
 	bool "Support P1020RDB-PC"
 	select SUPPORT_SPL
 	select SUPPORT_TPL
 	select ARCH_P1020
+	imply CMD_EEPROM
 
 config TARGET_P1020RDB_PD
 	bool "Support P1020RDB-PD"
 	select SUPPORT_SPL
 	select SUPPORT_TPL
 	select ARCH_P1020
+	imply CMD_EEPROM
 
 config TARGET_P1020UTM
 	bool "Support P1020UTM"
 	select SUPPORT_SPL
 	select SUPPORT_TPL
 	select ARCH_P1020
+	imply CMD_EEPROM
 
 config TARGET_P1021RDB
 	bool "Support P1021RDB"
 	select SUPPORT_SPL
 	select SUPPORT_TPL
 	select ARCH_P1021
+	imply CMD_EEPROM
 
 config TARGET_P1024RDB
 	bool "Support P1024RDB"
 	select SUPPORT_SPL
 	select SUPPORT_TPL
 	select ARCH_P1024
+	imply CMD_EEPROM
 
 config TARGET_P1025RDB
 	bool "Support P1025RDB"
 	select SUPPORT_SPL
 	select SUPPORT_TPL
 	select ARCH_P1025
+	imply CMD_EEPROM
 
 config TARGET_P2020RDB
 	bool "Support P2020RDB-PC"
 	select SUPPORT_SPL
 	select SUPPORT_TPL
 	select ARCH_P2020
+	imply CMD_EEPROM
 
 config TARGET_P1_TWR
 	bool "Support p1_twr"
@@ -211,6 +222,7 @@ config TARGET_T1024QDS
 	select BOARD_LATE_INIT if CHAIN_OF_TRUST
 	select SUPPORT_SPL
 	select PHYS_64BIT
+	imply CMD_EEPROM
 
 config TARGET_T1023RDB
 	bool "Support T1023RDB"
@@ -218,6 +230,7 @@ config TARGET_T1023RDB
 	select BOARD_LATE_INIT if CHAIN_OF_TRUST
 	select SUPPORT_SPL
 	select PHYS_64BIT
+	imply CMD_EEPROM
 
 config TARGET_T1024RDB
 	bool "Support T1024RDB"
@@ -225,12 +238,14 @@ config TARGET_T1024RDB
 	select BOARD_LATE_INIT if CHAIN_OF_TRUST
 	select SUPPORT_SPL
 	select PHYS_64BIT
+	imply CMD_EEPROM
 
 config TARGET_T1040QDS
 	bool "Support T1040QDS"
 	select ARCH_T1040
 	select BOARD_LATE_INIT if CHAIN_OF_TRUST
 	select PHYS_64BIT
+	imply CMD_EEPROM
 
 config TARGET_T1040RDB
 	bool "Support T1040RDB"
@@ -377,6 +392,7 @@ config ARCH_B4420
 	select SYS_FSL_SEC_COMPAT_4
 	select SYS_PPC64
 	select FSL_IFC
+	imply CMD_EEPROM
 
 config ARCH_B4860
 	bool
@@ -402,6 +418,7 @@ config ARCH_B4860
 	select SYS_FSL_SEC_COMPAT_4
 	select SYS_PPC64
 	select FSL_IFC
+	imply CMD_EEPROM
 
 config ARCH_BSC9131
 	bool
@@ -415,6 +432,7 @@ config ARCH_BSC9131
 	select SYS_FSL_SEC_BE
 	select SYS_FSL_SEC_COMPAT_4
 	select FSL_IFC
+	imply CMD_EEPROM
 
 config ARCH_BSC9132
 	bool
@@ -432,6 +450,7 @@ config ARCH_BSC9132
 	select SYS_FSL_SEC_COMPAT_4
 	select SYS_PPC_E500_USE_DEBUG_TLB
 	select FSL_IFC
+	imply CMD_EEPROM
 
 config ARCH_C29X
 	bool
@@ -565,6 +584,7 @@ config ARCH_P1010
 	select SYS_FSL_SEC_COMPAT_4
 	select SYS_PPC_E500_USE_DEBUG_TLB
 	select FSL_IFC
+	imply CMD_EEPROM
 
 config ARCH_P1011
 	bool
@@ -649,6 +669,7 @@ config ARCH_P1024
 	select SYS_FSL_SEC_COMPAT_2
 	select SYS_PPC_E500_USE_DEBUG_TLB
 	select FSL_ELBC
+	imply CMD_EEPROM
 
 config ARCH_P1025
 	bool
@@ -678,6 +699,7 @@ config ARCH_P2020
 	select SYS_FSL_SEC_COMPAT_2
 	select SYS_PPC_E500_USE_DEBUG_TLB
 	select FSL_ELBC
+	imply CMD_EEPROM
 
 config ARCH_P2041
 	bool
@@ -821,6 +843,7 @@ config ARCH_T1023
 	select SYS_FSL_SEC_BE
 	select SYS_FSL_SEC_COMPAT_5
 	select FSL_IFC
+	imply CMD_EEPROM
 
 config ARCH_T1024
 	bool
@@ -838,6 +861,7 @@ config ARCH_T1024
 	select SYS_FSL_SEC_BE
 	select SYS_FSL_SEC_COMPAT_5
 	select FSL_IFC
+	imply CMD_EEPROM
 
 config ARCH_T1040
 	bool
cmd/Kconfig +48 -0

54 lines not on this page · raw message

cmd/eeprom.c +0 -4
index e43566bc56..c61b396a62 100644
@@ -265,10 +265,6 @@ __weak int eeprom_parse_layout_version(char *str)
 
 static unsigned char eeprom_buf[CONFIG_SYS_EEPROM_SIZE];
 
-#ifndef CONFIG_EEPROM_LAYOUT_HELP_STRING
-#define CONFIG_EEPROM_LAYOUT_HELP_STRING "<not defined>"
-#endif
-
 #endif
 
 enum eeprom_action {
configs/C29XPCIE_NAND_defconfig +1 -0
index 88964b30bd..42f085a47c 100644
@@ -20,6 +20,7 @@ CONFIG_TPL_ENV_SUPPORT=y
 CONFIG_TPL_I2C_SUPPORT=y
 CONFIG_TPL_MPC8XXX_INIT_DDR_SUPPORT=y
 CONFIG_HUSH_PARSER=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MII=y
configs/C29XPCIE_NOR_SECBOOT_defconfig +1 -0
index 58e618b628..99e2b33ac7 100644
@@ -10,6 +10,7 @@ CONFIG_OF_STDOUT_VIA_ALIAS=y
 CONFIG_BOOTDELAY=-1
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_HUSH_PARSER=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MII=y
configs/C29XPCIE_SPIFLASH_SECBOOT_defconfig +1 -0
index d0565032e8..26544f4ab6 100644
@@ -11,6 +11,7 @@ CONFIG_SYS_EXTRA_OPTIONS="SPIFLASH"
 CONFIG_BOOTDELAY=-1
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_HUSH_PARSER=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MII=y
configs/C29XPCIE_SPIFLASH_defconfig +1 -0
index 5b595b8425..41bf176650 100644
@@ -9,6 +9,7 @@ CONFIG_SYS_EXTRA_OPTIONS="SPIFLASH"
 CONFIG_BOOTDELAY=-1
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_HUSH_PARSER=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MII=y
configs/C29XPCIE_defconfig +1 -0
index 62881024a8..70b447863d 100644
@@ -8,6 +8,7 @@ CONFIG_OF_STDOUT_VIA_ALIAS=y
 CONFIG_BOOTDELAY=-1
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_HUSH_PARSER=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MII=y
configs/CPCI2DP_defconfig +1 -0
index 96a7643ca4..735993b76d 100644
@@ -5,6 +5,7 @@ CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_BOARD_EARLY_INIT_F=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
configs/CPCI4052_defconfig +1 -0
index 4d818d7b7c..630598111d 100644
@@ -9,6 +9,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
 CONFIG_AUTOBOOT_STOP_STR=" "
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
configs/MIP405T_defconfig +1 -0
index 833c263bb6..65a4dea66b 100644
@@ -11,6 +11,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/MIP405_defconfig +1 -0
index 3da515295e..76ba77cfe3 100644
@@ -11,6 +11,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
configs/MPC8323ERDB_defconfig +1 -0
index 6470850e4e..54d8a3ea1d 100644
@@ -6,6 +6,7 @@ CONFIG_OF_STDOUT_VIA_ALIAS=y
 CONFIG_BOOTDELAY=6
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_PING=y
configs/PATI_defconfig +1 -0
index fbf3227fc0..0560866c6c 100644
@@ -12,6 +12,7 @@ CONFIG_SYS_PROMPT="pati=> "
 # CONFIG_CMD_XIMG is not set
 # CONFIG_CMD_EDITENV is not set
 # CONFIG_CMD_ENV_EXISTS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
configs/PIP405_defconfig +1 -0
index 4c2d558b85..bd421eab9c 100644
@@ -11,6 +11,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
configs/PLU405_defconfig +1 -0
index 5b679760e6..ffad41fae8 100644
@@ -9,6 +9,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
 CONFIG_AUTOBOOT_STOP_STR=" "
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
configs/PMC405DE_defconfig +1 -0
index 0dd9ca7ff6..cdc54aedcb 100644
@@ -10,6 +10,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
 CONFIG_AUTOBOOT_STOP_STR=" "
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
configs/PMC440_defconfig +1 -0
index 6b8854b5d8..00edbeef82 100644
@@ -10,6 +10,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
 CONFIG_AUTOBOOT_STOP_STR=" "
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
configs/TQM834x_defconfig +1 -0
index b03f79ef39..c4b9091586 100644
@@ -6,6 +6,7 @@ CONFIG_OF_STDOUT_VIA_ALIAS=y
 CONFIG_BOOTDELAY=6
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/TQM855M_defconfig +1 -0
index ea0ad4df9f..37e740ff45 100644
@@ -5,6 +5,7 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
configs/TQM866M_defconfig +1 -0
index c3297773af..a2f0f00b61 100644
@@ -5,6 +5,7 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
configs/TQM885D_defconfig +1 -0
index 4ecdf6db83..fc9319696a 100644
@@ -5,6 +5,7 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
configs/TWR-P1025_defconfig +1 -0
index 2efc09d534..3c79c3809e 100644
@@ -9,6 +9,7 @@ CONFIG_SYS_EXTRA_OPTIONS="TWR_P1025"
 CONFIG_BOOTDELAY=10
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
configs/VOM405_defconfig +1 -0
index 23d33a649f..c19c11d162 100644
@@ -6,6 +6,7 @@ CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
 CONFIG_BOARD_EARLY_INIT_F=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/acadia_defconfig +1 -0
index a30e34dea3..652d01eb08 100644
@@ -9,6 +9,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
configs/am335x_baltos_defconfig +1 -0
index 186aa7b074..155a16687a 100644
@@ -29,6 +29,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
configs/am335x_sl50_defconfig +1 -0
index d3cdbdd229..4b04017b07 100644
@@ -26,6 +26,7 @@ CONFIG_SPL_YMODEM_SUPPORT=y
 # CONFIG_AUTOBOOT is not set
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
configs/apf27_defconfig +1 -0
index 71839f575e..7474fdd994 100644
@@ -11,6 +11,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="BIOS> "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
configs/arches_defconfig +1 -0
index 4477bab5ee..e0621f0ca7 100644
@@ -12,6 +12,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
configs/bamboo_defconfig +1 -0
index 44d91984bb..41ce230481 100644
@@ -9,6 +9,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
configs/birdland_bav335a_defconfig +1 -0
index 680a88cde5..6b98e0f15a 100644
@@ -26,6 +26,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
configs/birdland_bav335b_defconfig +1 -0
index ac04004cf3..c9a6dcc5d6 100644
@@ -26,6 +26,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
configs/bk4r1_defconfig +1 -0
index c15070e804..c5b1e9c062 100644
@@ -9,6 +9,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/bubinga_defconfig +1 -0
index e2e7ce0e62..69cf9e09b2 100644
@@ -9,6 +9,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
configs/canyonlands_defconfig +1 -0
index e76736afc4..2b59fd329b 100644
@@ -12,6 +12,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
configs/cl-som-am57x_defconfig +1 -0
index ed419a34d1..3b8862f94f 100644
@@ -9,6 +9,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
configs/cm_fx6_defconfig +1 -0
index f7af33f0bf..ab985b505f 100644
@@ -23,6 +23,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_XIMG is not set
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FLASH is not set
configs/cm_t335_defconfig +1 -0
index dd84e81f65..c2bad388cd 100644
@@ -23,6 +23,7 @@ CONFIG_SYS_PROMPT="CM-T335 # "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
configs/cm_t3517_defconfig +1 -0
index c1cb2c0421..075a942a96 100644
@@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="CM-T3517 # "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
configs/cm_t35_defconfig +1 -0
index 868d175d22..434d7b45de 100644
@@ -12,6 +12,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="CM-T3x # "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
configs/cm_t43_defconfig +1 -0
index c3b84cc796..7cc4997704 100644
@@ -26,6 +26,7 @@ CONFIG_SYS_PROMPT="CM-T43 # "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
configs/cm_t54_defconfig +1 -0
index 067945636f..1735d477b4 100644
@@ -16,6 +16,7 @@ CONFIG_SYS_PROMPT="CM-T54 # "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig +1 -0
index 6c46ac8bf7..b75a12faaa 100644
@@ -16,6 +16,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/controlcenterd_36BIT_SDCARD_defconfig +1 -0
index 0c1181f67d..b53bfd08c5 100644
@@ -16,6 +16,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/controlcenterd_TRAILBLAZER_DEVELOP_defconfig +1 -0
index bc2e7b4331..b197116f1c 100644
@@ -9,6 +9,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_BOARD_EARLY_INIT_F=y
 # CONFIG_CMD_BOOTM is not set
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 # CONFIG_CMD_SETEXPR is not set
configs/controlcenterd_TRAILBLAZER_defconfig +1 -0
index 7ec77a1102..aee0f3af71 100644
@@ -9,6 +9,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_BOARD_EARLY_INIT_F=y
 # CONFIG_CMD_BOOTM is not set
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 # CONFIG_CMD_SETEXPR is not set
configs/d2net_v2_defconfig +1 -0
index 67a791d991..58af17c5c8 100644
@@ -9,6 +9,7 @@ CONFIG_CONSOLE_MUX=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="d2v2> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
configs/devconcenter_defconfig +1 -0
index 1c16ed2a4b..b75807d113 100644
@@ -14,6 +14,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
configs/eco5pk_defconfig +1 -0
index 61ac94bbba..d567b899ca 100644
@@ -9,6 +9,7 @@ CONFIG_SPL=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="ECO5-PK # "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
configs/glacier_defconfig +1 -0
index b47bfb5c24..6886298ff6 100644
@@ -12,6 +12,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
configs/glacier_ramboot_defconfig +1 -0
index 7e6957053d..ccb77bc2fd 100644
@@ -13,6 +13,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
configs/haleakala_defconfig +1 -0
index 9ff43da384..6833e477d2 100644
@@ -12,6 +12,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
configs/icon_defconfig +1 -0
index b47b15d8d6..0a28a95e75 100644
@@ -13,6 +13,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
configs/imx31_phycore_defconfig +1 -0
index ed3e7c56d6..224bedb1d6 100644
@@ -2,6 +2,7 @@ CONFIG_ARM=y
 CONFIG_TARGET_IMX31_PHYCORE=y
 CONFIG_BOOTDELAY=3
 CONFIG_SYS_PROMPT="uboot> "
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_PING=y
configs/imx31_phycore_eet_defconfig +1 -0
index 7de703e4c1..c881b8fdcc 100644
@@ -4,6 +4,7 @@ CONFIG_VIDEO=y
 CONFIG_BOOTDELAY=3
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
configs/inetspace_v2_defconfig +1 -0
index bee04903fe..ba468bd494 100644
@@ -9,6 +9,7 @@ CONFIG_CONSOLE_MUX=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="ns2> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
configs/intip_defconfig +1 -0
index da4f3f4730..d6c85c8de1 100644
@@ -16,6 +16,7 @@ CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
configs/io64_defconfig +1 -0
index 9026ac8702..c586f00bf9 100644
@@ -17,6 +17,7 @@ CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
configs/katmai_defconfig +1 -0
index baa266e167..43b0c418a4 100644
@@ -11,6 +11,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
configs/kilauea_defconfig +1 -0
index 0ed41c388e..5eaa7e3c86 100644
@@ -12,6 +12,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
configs/km_kirkwood_128m16_defconfig +1 -0
index 49080a8abc..0884688f49 100644
@@ -12,6 +12,7 @@ CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
configs/km_kirkwood_defconfig +1 -0
index 678558e549..d34174db08 100644
@@ -12,6 +12,7 @@ CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
configs/km_kirkwood_pci_defconfig +1 -0
index 2c5ed605b7..83e9d04c4a 100644
@@ -12,6 +12,7 @@ CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
configs/kmcoge4_defconfig +1 -0
index e9f4414dfc..4d6718dd31 100644
@@ -15,6 +15,7 @@ CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
configs/kmcoge5ne_defconfig +1 -0
index 3a351ef78b..233943c0d7 100644
@@ -11,6 +11,7 @@ CONFIG_AUTOBOOT_PROMPT="Hit <SPACE> key to stop autoboot in %2ds\n"
 CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
configs/kmcoge5un_defconfig +1 -0
index 9f5f6674d9..d41fae022c 100644
@@ -12,6 +12,7 @@ CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
configs/kmeter1_defconfig +1 -0
index 01d940a388..d92e6b2934 100644
@@ -11,6 +11,7 @@ CONFIG_AUTOBOOT_PROMPT="Hit <SPACE> key to stop autoboot in %2ds\n"
 CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
configs/kmlion1_defconfig +1 -0
index a8bd490509..13f5c1e304 100644
@@ -15,6 +15,7 @@ CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
configs/kmnusa_defconfig +1 -0
index 0b4f10a257..cb06ba0cbf 100644
@@ -12,6 +12,7 @@ CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
configs/kmopti2_defconfig +1 -0
index f14e37a27a..0b112ffb48 100644
@@ -11,6 +11,7 @@ CONFIG_AUTOBOOT_PROMPT="Hit <SPACE> key to stop autoboot in %2ds\n"
 CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
configs/kmsugp1_defconfig +1 -0
index a35aee97d1..40b5f9628c 100644
@@ -12,6 +12,7 @@ CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
configs/kmsupx5_defconfig +1 -0
index ce4b97e545..ba02124ccb 100644
@@ -11,6 +11,7 @@ CONFIG_AUTOBOOT_PROMPT="Hit <SPACE> key to stop autoboot in %2ds\n"
 CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
configs/kmsuv31_defconfig +1 -0
index bb932c0037..242fc1a904 100644
@@ -12,6 +12,7 @@ CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
configs/kmtegr1_defconfig +1 -0
index 746af8c724..16b7b18062 100644
@@ -11,6 +11,7 @@ CONFIG_AUTOBOOT_PROMPT="Hit <SPACE> key to stop autoboot in %2ds\n"
 CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
configs/kmtepr2_defconfig +1 -0
index 0f5fca78d7..3f73346208 100644
@@ -11,6 +11,7 @@ CONFIG_AUTOBOOT_PROMPT="Hit <SPACE> key to stop autoboot in %2ds\n"
 CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
configs/kmvect1_defconfig +1 -0
index 83650558b9..8b9180b6a6 100644
@@ -11,6 +11,7 @@ CONFIG_AUTOBOOT_PROMPT="Hit <SPACE> key to stop autoboot in %2ds\n"
 CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
configs/ls1012aqds_qspi_defconfig +1 -0
index a6995abc60..2124273e1c 100644
@@ -13,6 +13,7 @@ CONFIG_BOOTDELAY=10
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/ls2080aqds_SECURE_BOOT_defconfig +1 -0
index a680706fa2..617c522851 100644
@@ -9,6 +9,7 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
 CONFIG_BOOTDELAY=10
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/ls2080aqds_defconfig +1 -0
index fd889580a4..0106e9ad0d 100644
@@ -8,6 +8,7 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
 CONFIG_BOOTDELAY=10
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/ls2080aqds_nand_defconfig +1 -0
index 26c9210545..99df6e0818 100644
@@ -17,6 +17,7 @@ CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/ls2080aqds_qspi_defconfig +1 -0
index 447808040c..f08e7bfa87 100644
@@ -9,6 +9,7 @@ CONFIG_SYS_EXTRA_OPTIONS="QSPI_BOOT"
 CONFIG_QSPI_BOOT=y
 CONFIG_BOOTDELAY=10
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/ls2080ardb_SECURE_BOOT_defconfig +1 -0
index a5ebe0e4a5..70839e6f01 100644
@@ -9,6 +9,7 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
 CONFIG_BOOTDELAY=10
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/ls2080ardb_defconfig +1 -0
index efdb0f105d..ed79c97121 100644
@@ -8,6 +8,7 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
 CONFIG_BOOTDELAY=10
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/ls2080ardb_nand_defconfig +1 -0
index f642fc7206..5ce37fdfb4 100644
@@ -17,6 +17,7 @@ CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
configs/luan_defconfig +1 -0
index 1ee1e6f135..16b3a9c005 100644
@@ -9,6 +9,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
configs/lwmon5_defconfig +1 -0
index 5fc5916124..09365d4c9c 100644
@@ -13,6 +13,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
configs/makalu_defconfig +1 -0
index 47198fc56a..b462ee9c93 100644
@@ -10,6 +10,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
configs/mgcoge3ne_defconfig +1 -0
index 22c8b31810..d66fffe47e 100644
@@ -11,6 +11,7 @@ CONFIG_AUTOBOOT_PROMPT="Hit <SPACE> key to stop autoboot in %2ds\n"
 CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
configs/mgcoge3un_defconfig +1 -0
index 341c56c755..1fba301af8 100644
@@ -12,6 +12,7 @@ CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
configs/mgcoge_defconfig +1 -0
index 875c17e61b..c9f07d11a4 100644
@@ -11,6 +11,7 @@ CONFIG_AUTOBOOT_PROMPT="Hit <SPACE> key to stop autoboot in %2ds\n"
 CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
configs/mt_ventoux_defconfig +1 -0
index 484086837a..e426772b15 100644
@@ -12,6 +12,7 @@ CONFIG_SPL=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="mt_ventoux => "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
configs/net2big_v2_defconfig +1 -0
index b43ad161f8..ff222a1176 100644
@@ -9,6 +9,7 @@ CONFIG_CONSOLE_MUX=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="2big2> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
configs/netspace_lite_v2_defconfig +1 -0
index 3c3fc99e94..cec9389b6c 100644
@@ -9,6 +9,7 @@ CONFIG_CONSOLE_MUX=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="ns2> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
configs/netspace_max_v2_defconfig +1 -0
index 4605be3cd2..fd4525e30f 100644
@@ -9,6 +9,7 @@ CONFIG_CONSOLE_MUX=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="ns2> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
configs/netspace_mini_v2_defconfig +1 -0
index 0a00e0529a..d6e70db41e 100644
@@ -9,6 +9,7 @@ CONFIG_CONSOLE_MUX=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="ns2> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
configs/netspace_v2_defconfig +1 -0
index 2103a1c8db..3ccbf657a4 100644
@@ -9,6 +9,7 @@ CONFIG_CONSOLE_MUX=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="ns2> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
configs/novena_defconfig +1 -0
index b759fa2767..d14d36a477 100644
@@ -21,6 +21,7 @@ CONFIG_SPL_EXT_SUPPORT=y
 CONFIG_SPL_I2C_SUPPORT=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
configs/ot1200_defconfig +1 -0
index 213f036266..d6271b8d55 100644
@@ -7,6 +7,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/pcm051_rev1_defconfig +1 -0
index e8912c08c2..e5574942bc 100644
@@ -28,6 +28,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
configs/pcm051_rev3_defconfig +1 -0
index ec719b687e..39e9ee3ccf 100644
@@ -28,6 +28,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
configs/pcm052_defconfig +1 -0
index 1dbc0a8ce8..1e72e91ede 100644
@@ -9,6 +9,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
configs/pengwyn_defconfig +1 -0
index 0845575ac1..56b5084a4c 100644
@@ -29,6 +29,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
configs/portl2_defconfig +1 -0
index 77aeb9239f..0d15fb8a0c 100644
@@ -12,6 +12,7 @@ CONFIG_AUTOBOOT_STOP_STR=" "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
configs/rainier_defconfig +1 -0
index be2beb72a9..7c62f6956c 100644
@@ -12,6 +12,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
configs/rainier_ramboot_defconfig +1 -0
index 0c0559a3af..621e414e7a 100644
@@ -12,6 +12,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
configs/redwood_defconfig +1 -0
index 425b2fe98c..78b004f462 100644
@@ -9,6 +9,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
configs/sequoia_defconfig +1 -0
index b21e369473..a0163792e4 100644
@@ -12,6 +12,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
configs/sequoia_ramboot_defconfig +1 -0
index ffdf6c4787..b6802f23f5 100644
@@ -12,6 +12,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
configs/socfpga_vining_fpga_defconfig +1 -0
index fb9bae404b..18186e83db 100644
@@ -19,6 +19,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/suvd3_defconfig +1 -0
index f476a23dd0..68fee8ce79 100644
@@ -11,6 +11,7 @@ CONFIG_AUTOBOOT_PROMPT="Hit <SPACE> key to stop autoboot in %2ds\n"
 CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
configs/sycamore_defconfig +1 -0
index 5f56a516ff..d34634381e 100644
@@ -9,6 +9,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
configs/t3corp_defconfig +1 -0
index 2e5416e03b..3b37eb9e5f 100644
@@ -13,6 +13,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
configs/tqma6dl_mba6_mmc_defconfig +1 -0
index 6e4e6f7c44..cd31cf39aa 100644
@@ -11,6 +11,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/tqma6dl_mba6_spi_defconfig +1 -0
index 9cd54811e1..dee295ee35 100644
@@ -12,6 +12,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/tqma6q_mba6_mmc_defconfig +1 -0
index 5b4c506557..6e8e84225e 100644
@@ -10,6 +10,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/tqma6q_mba6_spi_defconfig +1 -0
index c842af7720..3ec25c8217 100644
@@ -11,6 +11,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/tqma6s_mba6_mmc_defconfig +1 -0
index cff6e1045e..eb609e12a4 100644
@@ -11,6 +11,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/tqma6s_mba6_spi_defconfig +1 -0
index 740d01f989..f824018849 100644
@@ -12,6 +12,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/tqma6s_wru4_mmc_defconfig +1 -0
index e24912e0c2..4dc6b9e291 100644
@@ -16,6 +16,7 @@ CONFIG_AUTOBOOT_ENCRYPTION=y
 CONFIG_AUTOBOOT_STOP_STR_SHA256="36a9e7f1c95b82ffb99743e0c5c4ce95d83c9a430aac59f84ef3cbfab6145068"
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
configs/tricorder_defconfig +1 -0
index 14a8eb4ea6..65b2b5a210 100644
@@ -9,6 +9,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="OMAP3 Tricorder # "
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
configs/tricorder_flash_defconfig +1 -0
index 290e97902c..a5d1bab015 100644
@@ -9,6 +9,7 @@ CONFIG_SPL=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMI is not set
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
configs/tuge1_defconfig +1 -0
index fa998f81b6..a5579e4f33 100644
@@ -11,6 +11,7 @@ CONFIG_AUTOBOOT_PROMPT="Hit <SPACE> key to stop autoboot in %2ds\n"
 CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
configs/tuxx1_defconfig +1 -0
index a6093bc029..519472f247 100644
@@ -11,6 +11,7 @@ CONFIG_AUTOBOOT_PROMPT="Hit <SPACE> key to stop autoboot in %2ds\n"
 CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
configs/twister_defconfig +1 -0
index 62d7d17ca9..124506a448 100644
@@ -10,6 +10,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="twister => "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
configs/vct_platinum_defconfig +1 -0
index 259b48f5aa..f8b9d7e61b 100644
@@ -4,6 +4,7 @@ CONFIG_VCT_PLATINUM=y
 CONFIG_BOOTDELAY=5
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_SYS_PROMPT="$ "
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
configs/vct_platinum_onenand_defconfig +1 -0
index 6d2d14f8a2..707ede5901 100644
@@ -6,6 +6,7 @@ CONFIG_BOOTDELAY=5
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_SYS_PROMPT="$ "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
configs/vct_platinumavc_defconfig +1 -0
index aff3d2be65..5efe2236a3 100644
@@ -4,6 +4,7 @@ CONFIG_VCT_PLATINUMAVC=y
 CONFIG_BOOTDELAY=5
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_SYS_PROMPT="VCT# "
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NET is not set
configs/vct_platinumavc_onenand_defconfig +1 -0
index d690e19a1d..979c554d22 100644
@@ -6,6 +6,7 @@ CONFIG_BOOTDELAY=5
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_SYS_PROMPT="$ "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
configs/vct_premium_defconfig +1 -0
index 3996d9da50..24f776b49f 100644
@@ -4,6 +4,7 @@ CONFIG_VCT_PREMIUM=y
 CONFIG_BOOTDELAY=5
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_SYS_PROMPT="$ "
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
configs/vct_premium_onenand_defconfig +1 -0
index 6bbdc3b0e6..2a4a0552fc 100644
@@ -6,6 +6,7 @@ CONFIG_BOOTDELAY=5
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_SYS_PROMPT="$ "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
configs/walnut_defconfig +1 -0
index 5f56a516ff..d34634381e 100644
@@ -9,6 +9,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
configs/work_92105_defconfig +1 -0
index ebcae43e3f..edfe107e72 100644
@@ -12,6 +12,7 @@ CONFIG_SPL=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
configs/xilinx_zynqmp_zcu102_defconfig +1 -0
index 1811e3215c..e7433198dd 100644
@@ -18,6 +18,7 @@ CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_SYS_PROMPT="ZynqMP> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_UNZIP=y
 # CONFIG_CMD_FLASH is not set
configs/xilinx_zynqmp_zcu102_revB_defconfig +1 -0
index 94a843546e..afad4fa1e7 100644
@@ -18,6 +18,7 @@ CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_SYS_PROMPT="ZynqMP> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_UNZIP=y
 # CONFIG_CMD_FLASH is not set
configs/xpedite1000_defconfig +1 -0
index 9dd082bfdd..54b74ff65f 100644
@@ -7,6 +7,7 @@ CONFIG_BOOTDELAY=3
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/xpedite517x_defconfig +1 -0
index 69fd8fa004..6457d1952b 100644
@@ -8,6 +8,7 @@ CONFIG_OF_STDOUT_VIA_ALIAS=y
 CONFIG_BOOTDELAY=3
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/xpedite520x_defconfig +1 -0
index e1fdfeb759..b6cebe9146 100644
@@ -8,6 +8,7 @@ CONFIG_OF_STDOUT_VIA_ALIAS=y
 CONFIG_BOOTDELAY=3
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/xpedite537x_defconfig +1 -0
index 641ef8ff09..c575cc4121 100644
@@ -8,6 +8,7 @@ CONFIG_OF_STDOUT_VIA_ALIAS=y
 CONFIG_BOOTDELAY=3
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/yellowstone_defconfig +1 -0
index 1eb3eef3ad..d15ee20ba7 100644
@@ -10,6 +10,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
configs/yosemite_defconfig +1 -0
index 237a7ca5a7..935854cb80 100644
@@ -10,6 +10,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
configs/yucca_defconfig +1 -0
index 10fbafcb4b..127f1e0da1 100644
@@ -9,6 +9,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
configs/zynq_zc702_defconfig +1 -0
index c59d7f5c54..83e8f65082 100644
@@ -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_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/zynq_zc706_defconfig +1 -0
index c73bacb18f..9dbf47f496 100644
@@ -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_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/zynq_zybo_defconfig +1 -0
index af7fe65be1..8bed4e6809 100644
@@ -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_EEPROM=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
include/config_cmd_all.h +0 -1
index 95c05350cd..a824204913 100644
@@ -13,7 +13,6 @@
  * Alphabetical list of all possible commands.
  */
 
-#define CONFIG_CMD_EEPROM	/* EEPROM read/write support	*/
 #define CONFIG_CMD_FDC		/* Floppy Disk Support		*/
 #define CONFIG_CMD_FUSE		/* Device fuse support		*/
 #define CONFIG_CMD_GETTIME	/* Get time since boot         */
include/configs/B4860QDS.h +0 -1
index 2041b7bb3e..3dff45cd6e 100644
@@ -702,7 +702,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_ERRATA
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
include/configs/BSC9131RDB.h +0 -1
index 72dc8ba710..36633bde6e 100644
@@ -228,7 +228,6 @@ extern unsigned long get_sdram_size(void);
 #define CONFIG_SYS_FSL_I2C_OFFSET	0x3000
 
 /* I2C EEPROM */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 3
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 5
include/configs/BSC9132QDS.h +0 -1
index 1b956fc7da..28658e4894 100644
@@ -417,7 +417,6 @@ combinations. this should be removed later
 #define CONFIG_SYS_EEPROM_BUS_NUM	0
 
 /* enable read and write access to EEPROM */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 3
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 5
include/configs/C29XPCIE.h +0 -1
index f95c3b9eeb..84365f11df 100644
@@ -371,7 +371,6 @@
 
 /* I2C EEPROM */
 /* enable read and write access to EEPROM */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 3
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 5
include/configs/CPCI2DP.h +0 -1
index c3b2353f5f..561ff894b3 100644
@@ -47,7 +47,6 @@
  */
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_IRQ
-#define CONFIG_CMD_EEPROM
 
 #undef	CONFIG_WATCHDOG			/* watchdog disabled		*/
 
include/configs/CPCI4052.h +0 -1
index deb6f826e1..43bf127a2a 100644
@@ -63,7 +63,6 @@
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_IDE
-#define CONFIG_CMD_EEPROM
 
 #define CONFIG_SUPPORT_VFAT
 
include/configs/MIP405.h +0 -1
index 30db7edde8..64c6ed100f 100644
@@ -46,7 +46,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_IDE
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_JFFS2
include/configs/MPC8323ERDB.h +0 -1
index d782fc3cf1..ea99aead45 100644
@@ -320,7 +320,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_EEPROM
 
 #if defined(CONFIG_PCI)
 	#define CONFIG_CMD_PCI
include/configs/P1010RDB.h +0 -1
index 867004fb48..5b7d6adad3 100644
@@ -589,7 +589,6 @@ extern unsigned long get_sdram_size(void);
 #define MAX_NUM_PORTS			9 /* for 128Bytes EEPROM */
 #endif
 /* enable read and write access to EEPROM */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 3
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 5
include/configs/PATI.h +0 -1
index e53db2485b..1b2cb3dd22 100644
@@ -38,7 +38,6 @@
  */
 #define CONFIG_CMD_REGINFO
 #define CONFIG_CMD_REGINFO
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_IRQ
 
 #define CONFIG_BOOTCOMMAND	""	/* autoboot command			*/
include/configs/PIP405.h +0 -1
index 6c74b00cd5..84b1a73033 100644
@@ -40,7 +40,6 @@
 #define CONFIG_CMD_IDE
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_IRQ
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_REGINFO
 #define CONFIG_CMD_FDC
 #define CONFIG_SCSI
include/configs/PLU405.h +0 -1
index 4bb07d8bd4..74cb8abafb 100644
@@ -58,7 +58,6 @@
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_IDE
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_EEPROM
 
 #define CONFIG_SUPPORT_VFAT
 
include/configs/PMC405DE.h +0 -1
index d889306653..2f05a5a176 100644
@@ -48,7 +48,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_PCI
 
include/configs/PMC440.h +0 -1
index 8628b7ed18..54a1a2546f 100644
@@ -238,7 +238,6 @@
 
 /* Partitions */
 
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_REGINFO
include/configs/T102xQDS.h +0 -1
index 42e692c4a0..d8ad914515 100644
@@ -779,7 +779,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_ERRATA
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
include/configs/T102xRDB.h +0 -1
index c2175bda34..5e35ceb89a 100644
@@ -789,7 +789,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_ERRATA
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
include/configs/T1040QDS.h +0 -1
index 25658871e4..cba7404c31 100644
@@ -659,7 +659,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_ERRATA
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
include/configs/TQM834x.h +0 -1
index df6386c602..a90e2ac8d9 100644
@@ -273,7 +273,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_REGINFO
 
include/configs/TQM855M.h +0 -1
index 7cfc351191..ffb514bb85 100644
@@ -115,7 +115,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_IDE
 #define CONFIG_CMD_JFFS2
 
include/configs/TQM866M.h +0 -1
index 2906fcfca4..f11e23a6a3 100644
@@ -129,7 +129,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_IDE
 #define CONFIG_CMD_JFFS2
 
include/configs/TQM885D.h +0 -1
index eaf0741071..e91070ae30 100644
@@ -125,7 +125,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_IDE
 
 /*
include/configs/VOM405.h +0 -1
index fbadcd17f1..5255b6d688 100644
@@ -54,7 +54,6 @@
  * Command line configuration.
  */
 #define CONFIG_CMD_IRQ
-#define CONFIG_CMD_EEPROM
 
 #undef	CONFIG_WATCHDOG			/* watchdog disabled		*/
 
include/configs/am335x_evm.h +0 -1
index b6b14d38bd..0c6d2880da 100644
@@ -176,7 +176,6 @@
 #define CONFIG_SYS_NS16550_COM5		0x481a8000	/* UART4 */
 #define CONFIG_SYS_NS16550_COM6		0x481aa000	/* UART5 */
 
-#define CONFIG_CMD_EEPROM
 #define CONFIG_ENV_EEPROM_IS_ON_I2C
 #define CONFIG_SYS_I2C_EEPROM_ADDR	0x50	/* Main EEPROM */
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN	2
include/configs/am335x_sl50.h +0 -1
index 6855f62865..2c4033ca59 100644
@@ -64,7 +64,6 @@
 #define CONFIG_SYS_NS16550_COM5		0x481a8000	/* UART4 */
 #define CONFIG_SYS_NS16550_COM6		0x481aa000	/* UART5 */
 
-#define CONFIG_CMD_EEPROM
 #define CONFIG_ENV_EEPROM_IS_ON_I2C
 #define CONFIG_SYS_I2C_EEPROM_ADDR	0x50	/* Main EEPROM */
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN	2
include/configs/am43xx_evm.h +0 -1
index 1feb946834..25f63e8311 100644
@@ -23,7 +23,6 @@
 #endif
 
 /* I2C Configuration */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_ENV_EEPROM_IS_ON_I2C
 #define CONFIG_SYS_I2C_EEPROM_ADDR	0x50	/* Main EEPROM */
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN	2
include/configs/amcc-common.h +0 -1
index 01406640b0..eca90cf750 100644
@@ -51,7 +51,6 @@
  */
 #if defined(CONFIG_440)
 #endif
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
include/configs/apf27.h +0 -1
index 40a82b884b..3450751054 100644
@@ -54,7 +54,6 @@
 /*
  * U-Boot Commands
  */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_IMX_FUSE	/* imx iim fuse                 */
 #define CONFIG_CMD_MTDPARTS	/* MTD partition support	*/
 #define CONFIG_CMD_NAND		/* NAND support			*/
include/configs/baltos.h +0 -1
index c65eeedb53..fe4ac05f38 100644
@@ -229,7 +229,6 @@
 #define CONFIG_SYS_NS16550_COM5		0x481a8000	/* UART4 */
 #define CONFIG_SYS_NS16550_COM6		0x481aa000	/* UART5 */
 
-#define CONFIG_CMD_EEPROM
 #define CONFIG_ENV_EEPROM_IS_ON_I2C
 #define CONFIG_SYS_I2C_EEPROM_ADDR	0x50	/* Main EEPROM */
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN	2
include/configs/bav335x.h +0 -1
index 924a351c38..71b1b96ec4 100644
@@ -330,7 +330,6 @@ DEFAULT_LINUX_BOOT_ENV \
 #define CONFIG_SYS_NS16550_COM5		0x481a8000	/* UART4 */
 #define CONFIG_SYS_NS16550_COM6		0x481aa000	/* UART5 */
 
-#define CONFIG_CMD_EEPROM
 #define CONFIG_ENV_EEPROM_IS_ON_I2C
 #define CONFIG_SYS_I2C_EEPROM_ADDR	0x50	/* Main EEPROM */
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN	2
include/configs/cl-som-am57x.h +0 -2
index 3000453563..96e5c9cdd5 100644
@@ -60,8 +60,6 @@
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN  1
 #define CONFIG_SYS_I2C_EEPROM_BUS       3
 
-#define CONFIG_CMD_EEPROM
-#define CONFIG_CMD_EEPROM_LAYOUT
 #define CONFIG_ENV_EEPROM_IS_ON_I2C
 #define CONFIG_SYS_EEPROM_SIZE		256
 
include/configs/cm_fx6.h +0 -4
index f5f3df3ad6..dd8010cd48 100644
@@ -258,14 +258,10 @@
 #define CONFIG_VIDEO_BMP_LOGO
 
 /* EEPROM */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_ENV_EEPROM_IS_ON_I2C
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN		1
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS	4
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS	5
 #define CONFIG_SYS_EEPROM_SIZE			256
 
-#define CONFIG_CMD_EEPROM_LAYOUT
-#define CONFIG_EEPROM_LAYOUT_HELP_STRING "v2, v3"
-
 #endif	/* __CONFIG_CM_FX6_H */
include/configs/cm_t335.h +0 -4
index 9a8e1302c5..3fb9daebbc 100644
@@ -153,16 +153,12 @@
 /* Status LED polarity is inversed, so init it in the "off" state */
 
 /* EEPROM */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_ENV_EEPROM_IS_ON_I2C
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN		1
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS	4
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS	5
 #define CONFIG_SYS_EEPROM_SIZE			256
 
-#define CONFIG_CMD_EEPROM_LAYOUT
-#define CONFIG_EEPROM_LAYOUT_HELP_STRING "v2, v3"
-
 #ifndef CONFIG_SPL_BUILD
 /*
  * Enable PCA9555 at I2C0-0x26.
include/configs/cm_t35.h +0 -4
index 1898e3837d..8f201534ef 100644
@@ -306,14 +306,10 @@
 #define CONFIG_SYS_SPL_MALLOC_SIZE	0x100000
 
 /* EEPROM */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_ENV_EEPROM_IS_ON_I2C
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN		1
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS	4
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS	5
 #define CONFIG_SYS_EEPROM_SIZE			256
 
-#define CONFIG_CMD_EEPROM_LAYOUT
-#define CONFIG_EEPROM_LAYOUT_HELP_STRING "legacy, v1, v2, v3"
-
 #endif /* __CONFIG_H */
include/configs/cm_t3517.h +0 -4
index 0df7d4269c..dd78b0c7e8 100644
@@ -257,14 +257,10 @@
 #define CONFIG_OMAP3_SPI
 
 /* EEPROM */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_ENV_EEPROM_IS_ON_I2C
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN		1
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS	4
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS	5
 #define CONFIG_SYS_EEPROM_SIZE			256
 
-#define CONFIG_CMD_EEPROM_LAYOUT
-#define CONFIG_EEPROM_LAYOUT_HELP_STRING "v1, v2, v3"
-
 #endif /* __CONFIG_H */
include/configs/cm_t43.h +0 -4
index 4f44a6752e..1e63098d5f 100644
@@ -150,14 +150,10 @@
 #define CONFIG_SPL_SPI_LOAD
 
 /* EEPROM */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_ENV_EEPROM_IS_ON_I2C
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN		1
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS	4
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS	5
 #define CONFIG_SYS_EEPROM_SIZE			256
 
-#define CONFIG_CMD_EEPROM_LAYOUT
-#define CONFIG_EEPROM_LAYOUT_HELP_STRING "v2, v3"
-
 #endif	/* __CONFIG_CM_T43_H */
include/configs/cm_t54.h +0 -4
index ccaa568009..14042ada7d 100644
@@ -67,16 +67,12 @@
 /* Enabled commands */
 
 /* EEPROM */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_ENV_EEPROM_IS_ON_I2C
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN		1
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS	4
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS	5
 #define CONFIG_SYS_EEPROM_SIZE			256
 
-#define CONFIG_CMD_EEPROM_LAYOUT
-#define CONFIG_EEPROM_LAYOUT_HELP_STRING "v2, v3"
-
 /* USB Networking options */
 #define CONFIG_USB_HOST_ETHER
 #define CONFIG_USB_ETHER_SMSC95XX
include/configs/controlcenterd.h +0 -1
index 7535ad5a62..97faed8cca 100644
@@ -185,7 +185,6 @@
 
 #define CONFIG_PCA9698			/* NXP PCA9698 */
 
-#define CONFIG_CMD_EEPROM
 #define CONFIG_SYS_I2C_EEPROM_ADDR 0x52
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2
 
include/configs/dlvision-10g.h +0 -1
index 89f24e0980..5597e27516 100644
@@ -57,7 +57,6 @@
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#undef CONFIG_CMD_EEPROM
 #undef CONFIG_CMD_IRQ
 
 /*
include/configs/dlvision.h +0 -1
index ec21a8347a..e5a8b3232d 100644
@@ -55,7 +55,6 @@
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#undef CONFIG_CMD_EEPROM
 #undef CONFIG_CMD_IRQ
 
 /*
include/configs/gdppc440etx.h +0 -1
index fee46add80..7e03dd63ee 100644
@@ -147,7 +147,6 @@
  * Commands additional to the ones defined in amcc-common.h
  */
 #define CONFIG_CMD_PCI
-#undef CONFIG_CMD_EEPROM
 
 /*
  * PCI stuff
include/configs/imx31_phycore.h +0 -1
index 0a66720a7d..739af03e88 100644
@@ -48,7 +48,6 @@
 /***********************************************************
  * Command definition
  ***********************************************************/
-#define CONFIG_CMD_EEPROM
 
 
 #define MTDPARTS_DEFAULT	"mtdparts=physmap-flash.0:128k(uboot)ro," \
include/configs/io.h +0 -1
index dd195ffeed..767acf2773 100644
@@ -57,7 +57,6 @@
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#undef CONFIG_CMD_EEPROM
 #undef CONFIG_CMD_IRQ
 
 /*
include/configs/iocon.h +0 -1
index 9c3be78bc7..e15adfcbb0 100644
@@ -58,7 +58,6 @@
  * Commands additional to the ones defined in amcc-common.h
  */
 #define CONFIG_CMD_FPGAD
-#undef CONFIG_CMD_EEPROM
 #undef CONFIG_CMD_IRQ
 
 /*
include/configs/km/keymile-common.h +0 -1
index 872e2b3403..506ce51236 100644
@@ -14,7 +14,6 @@
  * Command line configuration.
  */
 #define CONFIG_CMD_IMMAP
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_MTDPARTS
 
include/configs/lacie_kw.h +0 -1
index 9e9d879541..0737a3e2ce 100644
@@ -120,7 +120,6 @@
  */
 #ifdef CONFIG_CMD_I2C
 /* I2C EEPROM HT24LC04 (512B - 32 pages of 16 Bytes) */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_SYS_I2C_EEPROM_ADDR		0x50
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS	4 /* 16-byte page size */
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN		1 /* 8-bit device address */
include/configs/ls1012aqds.h +0 -1
index 2b3833d61b..5b8500b91b 100644
@@ -61,7 +61,6 @@
 
 /* EEPROM */
 #define CONFIG_ID_EEPROM
-#define CONFIG_CMD_EEPROM
 #define CONFIG_SYS_I2C_EEPROM_NXID
 #define CONFIG_SYS_EEPROM_BUS_NUM    0
 #define CONFIG_SYS_I2C_EEPROM_ADDR   0x57
include/configs/ls2080aqds.h +0 -1
index f50ad42917..dc52b223cb 100644
@@ -332,7 +332,6 @@ unsigned long get_board_ddr_clk(void);
 
 /* EEPROM */
 #define CONFIG_ID_EEPROM
-#define CONFIG_CMD_EEPROM
 #define CONFIG_SYS_I2C_EEPROM_NXID
 #define CONFIG_SYS_EEPROM_BUS_NUM	0
 #define CONFIG_SYS_I2C_EEPROM_ADDR	0x57
include/configs/ls2080ardb.h +0 -1
index d0bf5520b7..2e0d95efd7 100644
@@ -278,7 +278,6 @@ unsigned long get_board_sys_clk(void);
 
 /* EEPROM */
 #define CONFIG_ID_EEPROM
-#define CONFIG_CMD_EEPROM
 #define CONFIG_SYS_I2C_EEPROM_NXID
 #define CONFIG_SYS_EEPROM_BUS_NUM	0
 #define CONFIG_SYS_I2C_EEPROM_ADDR	0x57
include/configs/lwmon5.h +0 -1
index 6893bf24ff..f36ec3d3f8 100644
@@ -381,7 +381,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 #define CONFIG_CMD_SDRAM
include/configs/neo.h +0 -1
index 29ce61c326..609f7e17ee 100644
@@ -57,7 +57,6 @@
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#undef CONFIG_CMD_EEPROM
 #undef CONFIG_CMD_IRQ
 
 /*
include/configs/novena.h +0 -1
index e0ed304586..753b59f6ec 100644
@@ -17,7 +17,6 @@
 #include "mx6_common.h"
 
 /* U-Boot Commands */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_FAT_WRITE
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_SATA
include/configs/ot1200.h +0 -1
index 34da90f20b..2052075a54 100644
@@ -91,7 +91,6 @@
 #define CONFIG_PHY_SMSC
 
 #ifndef CONFIG_SPL
-#define CONFIG_CMD_EEPROM
 #define CONFIG_ENV_EEPROM_IS_ON_I2C
 #define CONFIG_SYS_I2C_EEPROM_BUS             1
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN        1
include/configs/p1_p2_rdb_pc.h +0 -1
index 638e9da028..24f751c839 100644
@@ -631,7 +631,6 @@
 #define CONFIG_SYS_I2C_PCA9557_ADDR	0x18
 
 /* enable read and write access to EEPROM */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 3
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 5
include/configs/p1_twr.h +0 -1
index 427629f409..a6501520f5 100644
@@ -230,7 +230,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_SYS_I2C_PCA9555_ADDR	0x23
 
 /* enable read and write access to EEPROM */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 3
 #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 5
include/configs/pcm051.h +0 -1
index ea3872f5c9..fc75ca85c5 100644
@@ -108,7 +108,6 @@
 #define CONFIG_SYS_NS16550_COM6		0x481aa000	/* UART5 */
 
 /* I2C Configuration */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_ENV_EEPROM_IS_ON_I2C
 #define CONFIG_SYS_I2C_EEPROM_ADDR	0x50	/* Main EEPROM */
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN	2
include/configs/pcm052.h +0 -1
index 51b489a809..8c0e26486f 100644
@@ -91,7 +91,6 @@
 #define CONFIG_SYS_RTC_BUS_NUM 2
 
 /* EEPROM (24FC256) */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_SYS_I2C_EEPROM_ADDR 0x50
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2
 #define CONFIG_SYS_I2C_EEPROM_BUS 2
include/configs/pengwyn.h +0 -1
index 2cb6f56f7d..9c8720bee9 100644
@@ -107,7 +107,6 @@
 
 /* I2C Configuration */
 #define	CONFIG_SYS_I2C_SPEED		100000
-#define CONFIG_CMD_EEPROM
 #define CONFIG_ENV_EEPROM_IS_ON_I2C
 #define CONFIG_SYS_I2C_EEPROM_ADDR	0x50
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN	2
include/configs/socfpga_vining_fpga.h +0 -2
index e208f45649..251dd0e901 100644
@@ -12,8 +12,6 @@
 #define CONFIG_FAT_WRITE
 #define CONFIG_HW_WATCHDOG
 
-#define CONFIG_CMD_EEPROM
-
 /* Memory configurations */
 #define PHYS_SDRAM_1_SIZE		0x40000000	/* 1GiB on VINING_FPGA */
 
include/configs/socrates.h +0 -1
index b37e796d33..bfd4e5fe3f 100644
@@ -279,7 +279,6 @@
 /*
  * Command line configuration.
  */
-#undef CONFIG_CMD_EEPROM
 #define CONFIG_CMD_SDRAM
 #define CONFIG_CMD_REGINFO
 
include/configs/tam3517-common.h +0 -1
index 34ce122489..72bcdf869d 100644
@@ -71,7 +71,6 @@
 
 /* commands to include */
 #define CONFIG_CMD_NAND		/* NAND support			*/
-#define CONFIG_CMD_EEPROM
 
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_OMAP24_I2C_SPEED	400000
include/configs/ti_armv7_keystone2.h +0 -1
index 868464cd32..3161c50abb 100644
@@ -208,7 +208,6 @@
 /* U-Boot command configuration */
 #define CONFIG_CMD_SAVES
 #define CONFIG_CMD_UBIFS
-#define CONFIG_CMD_EEPROM
 
 /* U-Boot general configuration */
 #define CONFIG_MISC_INIT_R
include/configs/tqma6.h +0 -1
index 799c45e2d7..0b362559f2 100644
@@ -62,7 +62,6 @@
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN			2
 #define CONFIG_SYS_I2C_EEPROM_PAGE_WRITE_BITS		5 /* 32 Bytes */
 #define CONFIG_SYS_I2C_EEPROM_PAGE_WRITE_DELAY_MS	20
-#define CONFIG_CMD_EEPROM
 
 #define CONFIG_POWER
 #define CONFIG_POWER_I2C
include/configs/tricorder.h +0 -1
index 8fe4165a77..9bce1ac1a0 100644
@@ -66,7 +66,6 @@
  
 
 /* EEPROM */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN	2
 #define CONFIG_SYS_EEPROM_BUS_NUM	1
 
include/configs/vct.h +0 -3
index b1dccdf666..e4ae9cdb2e 100644
@@ -77,7 +77,6 @@
 /*
  * Commands
  */
-#define CONFIG_CMD_EEPROM
 
 /*
  * Only Premium/Platinum have ethernet support right now
@@ -254,8 +253,6 @@ int vct_gpio_get(int pin);
  * (NOR/OneNAND) usage and Linux kernel booting.
  */
 #if defined(CONFIG_VCT_SMALL_IMAGE)
-#undef CONFIG_CMD_EEPROM
-#undef CONFIG_CMD_EEPROM
 #undef CONFIG_CMD_IRQ
 #undef CONFIG_CMD_LOADY
 #undef CONFIG_CMD_REGINFO
include/configs/work_92105.h +0 -1
index 458acf59af..f99f305524 100644
@@ -74,7 +74,6 @@
  * I2C EEPROM
  */
 
-#define CONFIG_CMD_EEPROM
 #define CONFIG_SYS_I2C_EEPROM_ADDR 0x56
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2
 
include/configs/xilinx-ppc.h +0 -1
index c4efae67a7..efb3038d9a 100644
@@ -28,7 +28,6 @@
 #define CONFIG_CMD_REGINFO
 #undef CONFIG_CMD_JFFS2
 #undef CONFIG_CMD_MTDPARTS
-#undef CONFIG_CMD_EEPROM
 
 /*Misc*/
 #define CONFIG_SYS_LONGHELP		/* undef to save memory         */
include/configs/xilinx_zynqmp.h +0 -1
index 30b5b34520..3a6a4972e6 100644
@@ -184,7 +184,6 @@
 
 /* EEPROM */
 #ifdef CONFIG_ZYNQMP_EEPROM
-# define CONFIG_CMD_EEPROM
 # define CONFIG_SYS_I2C_EEPROM_ADDR_LEN		2
 # define CONFIG_SYS_I2C_EEPROM_ADDR		0x54
 # define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS	4
include/configs/xilinx_zynqmp_zcu102.h +0 -1
index 8d018da23e..4194b66c66 100644
@@ -44,7 +44,6 @@
 #define CONFIG_ZYNQMP_XHCI_LIST {ZYNQMP_USB0_XHCI_BASEADDR}
 
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN	1
-#define CONFIG_CMD_EEPROM
 #define CONFIG_ZYNQ_EEPROM_BUS		5
 #define CONFIG_ZYNQ_GEM_EEPROM_ADDR	0x54
 #define CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET	0x20
include/configs/xpedite1000.h +0 -1
index 2a7a48d21d..6d9500619e 100644
@@ -175,7 +175,6 @@ extern void out32(unsigned int, unsigned long);
 /*
  * Command configuration
  */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_PCI
include/configs/xpedite517x.h +0 -1
index cf84e1f99a..4ecceb2a9f 100644
@@ -484,7 +484,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_NAND
include/configs/xpedite520x.h +0 -1
index ffc0d009ba..3e21c96bc2 100644
@@ -287,7 +287,6 @@
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_PCA953X
include/configs/xpedite537x.h +0 -1
index d630f2a9c9..526bff6cff 100644
@@ -337,7 +337,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_PCA953X
include/configs/xpedite550x.h +0 -1
index e3f0b939c3..ee033ef01d 100644
@@ -336,7 +336,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_PCA953X
include/configs/zynq-common.h +0 -1
index 51edd463a1..223637952d 100644
@@ -145,7 +145,6 @@
 
 /* EEPROM */
 #ifdef CONFIG_ZYNQ_EEPROM
-# define CONFIG_CMD_EEPROM
 # define CONFIG_SYS_I2C_EEPROM_ADDR_LEN		1
 # define CONFIG_SYS_I2C_EEPROM_ADDR		0x54
 # define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS	4
include/configs/zynq_zybo.h +0 -1
index 1488fd8b2f..808967cee3 100644
@@ -14,7 +14,6 @@
 #define CONFIG_ZYNQ_I2C0
 #define CONFIG_ZYNQ_I2C1
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN	1
-#define CONFIG_CMD_EEPROM
 #define CONFIG_ZYNQ_GEM_EEPROM_ADDR	0x50
 #define CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET	0xFA
 #define CONFIG_DISPLAY
scripts/config_whitelist.txt +0 -3
index 149793579b..73e2a3fd31 100644
@@ -383,8 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_EEPROM
-CONFIG_CMD_EEPROM_LAYOUT
 CONFIG_CMD_ENTERRCM
 CONFIG_CMD_ENV
 CONFIG_CMD_ENV_CALLBACK
@@ -743,7 +741,6 @@ CONFIG_EDB93XX_SDCS2
 CONFIG_EDB93XX_SDCS3
 CONFIG_EEPRO100
 CONFIG_EEPRO100_SROM_WRITE
-CONFIG_EEPROM_LAYOUT_HELP_STRING
 CONFIG_EFLASH_PROTSECTORS
 CONFIG_EHCI_DESC_BIG_ENDIAN
 CONFIG_EHCI_HCD_INIT_AFTER_RESET
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#27 lore raw

PATCH v3 14/48 Convert CONFIG_CMD_EEPROM et al to Kconfig

Quoted 7 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_EEPROM
CONFIG_CMD_EEPROM_LAYOUT
CONFIG_EEPROM_LAYOUT_HELP_STRING

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/39b193d1/attachment.sig>
#28 lore raw

PATCH v3 15/48 Convert CONFIG_CMD_ENTERRCM to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_ENTERRCM

---

Changes in v3: None
Changes in v2: None

 arch/arm/mach-tegra/Kconfig    | 16 ++++++++++++++++
 include/configs/tegra-common.h |  2 --
 scripts/config_whitelist.txt   |  1 -
 3 files changed, 16 insertions(+), 3 deletions(-)
arch/arm/mach-tegra/Kconfig +16 -0
index c67ffa5a23..e029607ce6 100644
@@ -126,4 +126,20 @@ source "arch/arm/mach-tegra/tegra124/Kconfig"
 source "arch/arm/mach-tegra/tegra210/Kconfig"
 source "arch/arm/mach-tegra/tegra186/Kconfig"
 
+config CMD_ENTERRCM
+	bool "Enable 'enterrcm' command"
+	default y
+	help
+	  Tegra's boot ROM supports a mode whereby code may be downloaded and
+	  flash-programmed over a USB connection. On dev boards, this is
+	  typically entered by holding down a "force recovery" button and
+	  resetting the CPU. However, not all boards have such a button (one
+	  example is the Compulab Trimslice), so a method to enter RCM from
+	  software is useful.
+
+	  Even on boards other than Trimslice, controlling this over a UART
+	  may be useful, e.g. to allow simple remote control without the need
+	  for mechanical button actuators, or hooking up relays/... to the
+	  button.
+
 endif
include/configs/tegra-common.h +0 -2
index 5107a1f609..06ea218f8d 100644
@@ -87,8 +87,6 @@
 						CONFIG_SYS_INIT_RAM_SIZE - \
 						GENERATED_GBL_DATA_SIZE)
 
-#define CONFIG_CMD_ENTERRCM
-
 /* Defines for SPL */
 #define CONFIG_SPL_FRAMEWORK
 #define CONFIG_SPL_BOARD_INIT
scripts/config_whitelist.txt +0 -1
index 73e2a3fd31..c59c5ce42a 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_ENTERRCM
 CONFIG_CMD_ENV
 CONFIG_CMD_ENV_CALLBACK
 CONFIG_CMD_ENV_FLAGS
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#29 lore raw

PATCH v3 15/48 Convert CONFIG_CMD_ENTERRCM to Kconfig

Quoted 4 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_ENTERRCM

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/1bf3e07f/attachment.sig>
#30 lore raw

PATCH v3 16/48 Kconfig: Drop CONFIG_CMD_ENV

In reply to Simon Glass

This option is not used in U-Boot. Drop it.

---

Changes in v3: None
Changes in v2:
- Reword to indicate this option is being dropped

 include/configs/ap_sh4a_4a.h        | 1 -
 include/configs/calimain.h          | 1 -
 include/configs/clearfog.h          | 1 -
 include/configs/colibri_pxa270.h    | 1 -
 include/configs/controlcenterdc.h   | 1 -
 include/configs/da850evm.h          | 2 --
 include/configs/db-88f6720.h        | 1 -
 include/configs/db-88f6820-amc.h    | 1 -
 include/configs/db-88f6820-gp.h     | 1 -
 include/configs/db-mv784mp-gp.h     | 1 -
 include/configs/dns325.h            | 1 -
 include/configs/dockstar.h          | 1 -
 include/configs/dragonboard410c.h   | 1 -
 include/configs/ds414.h             | 1 -
 include/configs/ea20.h              | 2 --
 include/configs/ecovec.h            | 1 -
 include/configs/espt.h              | 1 -
 include/configs/goflexhome.h        | 1 -
 include/configs/hikey.h             | 1 -
 include/configs/iconnect.h          | 1 -
 include/configs/ipam390.h           | 1 -
 include/configs/lacie_kw.h          | 1 -
 include/configs/ls1012a_common.h    | 1 -
 include/configs/ls1043a_common.h    | 3 ---
 include/configs/ls1046a_common.h    | 3 ---
 include/configs/ls2080a_common.h    | 1 -
 include/configs/lsxl.h              | 1 -
 include/configs/maxbcm.h            | 1 -
 include/configs/meson-gxbb-common.h | 2 --
 include/configs/mv-plug-common.h    | 1 -
 include/configs/omapl138_lcdk.h     | 2 --
 include/configs/openrd.h            | 1 -
 include/configs/pogo_e02.h          | 1 -
 include/configs/r0p7734.h           | 1 -
 include/configs/s32v234evb.h        | 1 -
 include/configs/shmin.h             | 1 -
 include/configs/spear-common.h      | 1 -
 include/configs/theadorable.h       | 1 -
 include/configs/vexpress_aemv8a.h   | 1 -
 include/configs/vme8349.h           | 4 ----
 include/configs/x600.h              | 1 -
 include/configs/xilinx_zynqmp.h     | 1 -
 include/configs/zipitz2.h           | 1 -
 scripts/config_whitelist.txt        | 1 -
 44 files changed, 55 deletions(-)
include/configs/ap_sh4a_4a.h +0 -1
index d3d72b634d..440505dd1f 100644
@@ -17,7 +17,6 @@
 #define CONFIG_SYS_TEXT_BASE 0x8BFC0000
 
 #define CONFIG_CMD_SDRAM
-#define CONFIG_CMD_ENV
 
 #define CONFIG_BOOTARGS		"console=ttySC4,115200"
 
include/configs/calimain.h +0 -1
index 6e2fd33563..f5d108e359 100644
@@ -299,7 +299,6 @@
 /*
  * U-Boot commands
  */
-#define CONFIG_CMD_ENV
 #define CONFIG_CMD_SAVES
 
 #ifndef CONFIG_DRIVER_TI_EMAC
include/configs/clearfog.h +0 -1
index 0c51d2a288..3397aaf2eb 100644
@@ -24,7 +24,6 @@
 /*
  * Commands configuration
  */
-#define CONFIG_CMD_ENV
 #define CONFIG_CMD_PCI
 
 /* I2C */
include/configs/colibri_pxa270.h +0 -1
index 62a404a7b1..587963963a 100644
@@ -51,7 +51,6 @@
 /*
  * Bootloader Components Configuration
  */
-#define	CONFIG_CMD_ENV
 
 /* I2C support */
 #ifdef CONFIG_SYS_I2C
include/configs/controlcenterdc.h +0 -1
index add5f90cc2..710bae8519 100644
@@ -33,7 +33,6 @@
 /*
  * Commands configuration
  */
-#define CONFIG_CMD_ENV
 #define CONFIG_CMD_I2C
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_SCSI
include/configs/da850evm.h +0 -2
index 9442c05943..c2a2cb1bdb 100644
@@ -273,7 +273,6 @@
 /*
  * U-Boot commands
  */
-#define CONFIG_CMD_ENV
 #define CONFIG_CMD_SAVES
 
 #ifdef CONFIG_CMD_BDI
@@ -302,7 +301,6 @@
 	!defined(CONFIG_USE_SPIFLASH)
 #define CONFIG_ENV_IS_NOWHERE
 #define CONFIG_ENV_SIZE		(16 << 10)
-#undef CONFIG_CMD_ENV
 #endif
 
 #ifndef CONFIG_DIRECT_NOR_BOOT
include/configs/db-88f6720.h +0 -1
index 6e2561cb5a..699c03f844 100644
@@ -23,7 +23,6 @@
 /*
  * Commands configuration
  */
-#define CONFIG_CMD_ENV
 
 /* I2C */
 #define CONFIG_SYS_I2C
include/configs/db-88f6820-amc.h +0 -1
index 1cdefa0549..0f0ab01f62 100644
@@ -24,7 +24,6 @@
 /*
  * Commands configuration
  */
-#define CONFIG_CMD_ENV
 #define CONFIG_CMD_PCI
 
 /* SPI NOR flash default params, used by sf commands */
include/configs/db-88f6820-gp.h +0 -1
index 676dfc996b..0890a4db62 100644
@@ -24,7 +24,6 @@
 /*
  * Commands configuration
  */
-#define CONFIG_CMD_ENV
 #define CONFIG_CMD_PCI
 #define CONFIG_SCSI
 
include/configs/db-mv784mp-gp.h +0 -1
index fc8a3ec7dc..821aa9dec1 100644
@@ -25,7 +25,6 @@
 /*
  * Commands configuration
  */
-#define CONFIG_CMD_ENV
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_SATA
include/configs/dns325.h +0 -1
index 9450b62e4a..de682334eb 100644
@@ -28,7 +28,6 @@
 /*
  * Commands configuration
  */
-#define CONFIG_CMD_ENV
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_IDE
 #define CONFIG_SYS_MVFS
include/configs/dockstar.h +0 -1
index 69429ed34e..2db31d3c11 100644
@@ -23,7 +23,6 @@
 /*
  * Commands configuration
  */
-#define CONFIG_CMD_ENV
 #define CONFIG_CMD_NAND
 /*
  * mv-common.h should be defined after CMD configs since it used them
include/configs/dragonboard410c.h +0 -1
index b97c6c4240..11c842d952 100644
@@ -46,7 +46,6 @@
 #define CONFIG_USB_ETHER_SMSC95XX
 
 /* Extra Commands */
-#define CONFIG_CMD_ENV
 /* Enable that for switching of boot partitions */
 /* Disabled by default as some sub-commands can brick eMMC */
 /*#define CONFIG_SUPPORT_EMMC_BOOT */
include/configs/ds414.h +0 -1
index 2c83a716a3..aaba5d8eab 100644
@@ -23,7 +23,6 @@
 /*
  * Commands configuration
  */
-#define CONFIG_CMD_ENV
 
 /* I2C */
 #define CONFIG_SYS_I2C
include/configs/ea20.h +0 -2
index 3a5b5c7285..53ee1adc0b 100644
@@ -128,7 +128,6 @@
 /*
  * U-Boot commands
  */
-#define CONFIG_CMD_ENV
 #define CONFIG_CMD_SAVES
 
 #ifdef CONFIG_CMD_BDI
@@ -169,7 +168,6 @@
 	!defined(CONFIG_USE_SPIFLASH)
 #define CONFIG_ENV_IS_NOWHERE
 #define CONFIG_ENV_SIZE		(16 << 10)
-#undef CONFIG_CMD_ENV
 #endif
 
 /* additions for new relocation code, must added to all boards */
include/configs/ecovec.h +0 -1
index f8fb97b08e..2404441860 100644
@@ -29,7 +29,6 @@
 #define CONFIG_SYS_TEXT_BASE 0x8FFC0000
 
 #define CONFIG_CMD_SDRAM
-#define CONFIG_CMD_ENV
 
 #define CONFIG_BOOTARGS		"console=ttySC0,115200"
 
include/configs/espt.h +0 -1
index ace71862dd..845bcc1c9a 100644
@@ -18,7 +18,6 @@
  * Command line configuration.
  */
 #define CONFIG_CMD_SDRAM
-#define CONFIG_CMD_ENV
 
 #define CONFIG_BOOTARGS         "console=ttySC0,115200 root=1f01"
 #define CONFIG_ENV_OVERWRITE    1
include/configs/goflexhome.h +0 -1
index f9bced3f8f..dbcd2b2dbe 100644
@@ -43,7 +43,6 @@
  * Commands configuration
  */
 
-#define CONFIG_CMD_ENV
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_IDE
 #define CONFIG_SYS_MVFS         /* Picks up Filesystem from mv-common.h */
include/configs/hikey.h +0 -1
index 584ce52bd0..0fb6fb3b60 100644
@@ -73,7 +73,6 @@
 #define CONFIG_FS_EXT4
 
 /* Command line configuration */
-#define CONFIG_CMD_ENV
 
 #define CONFIG_MTD_PARTITIONS
 
include/configs/iconnect.h +0 -1
index 950a7195fd..46374f2c37 100644
@@ -32,7 +32,6 @@
  * Commands configuration
  */
 #define CONFIG_SYS_MVFS
-#define CONFIG_CMD_ENV
 #define CONFIG_CMD_NAND
 
 /*
include/configs/ipam390.h +0 -1
index 5caf02e8d9..0beb31b5c0 100644
@@ -241,7 +241,6 @@
 /*
  * U-Boot commands
  */
-#define CONFIG_CMD_ENV
 #define CONFIG_CMD_SAVES
 
 #ifdef CONFIG_CMD_BDI
include/configs/lacie_kw.h +0 -1
index 0737a3e2ce..69c08c69da 100644
@@ -43,7 +43,6 @@
 /*
  * Commands configuration
  */
-#define CONFIG_CMD_ENV
 #define CONFIG_CMD_IDE
 #ifndef CONFIG_NETSPACE_MINI_V2 /* No USB ports on Network Space v2 Mini */
 #endif
include/configs/ls1012a_common.h +0 -1
index 09f890d55c..561b81a6f4 100644
@@ -85,7 +85,6 @@
 #define CONFIG_SYS_BAUDRATE_TABLE	{ 9600, 19200, 38400, 57600, 115200 }
 
 /* Command line configuration */
-#define CONFIG_CMD_ENV
 #undef CONFIG_CMD_IMLS
 
 #define CONFIG_SYS_HZ			1000
include/configs/ls1043a_common.h +0 -3
index e26924877d..78c34eba3e 100644
@@ -174,9 +174,6 @@
 #endif
 
 /* Command line configuration */
-#ifndef SPL_NO_ENV
-#define CONFIG_CMD_ENV
-#endif
 
 /*  MMC  */
 #ifndef SPL_NO_MMC
include/configs/ls1046a_common.h +0 -3
index 957ffd3634..c380fedf27 100644
@@ -139,9 +139,6 @@
 #define CONFIG_SYS_I2C_MXC_I2C4
 
 /* Command line configuration */
-#ifndef SPL_NO_ENV
-#define CONFIG_CMD_ENV
-#endif
 
 /* MMC */
 #ifndef SPL_NO_MMC
include/configs/ls2080a_common.h +0 -1
index 427f623e8c..53686e3412 100644
@@ -160,7 +160,6 @@ unsigned long long get_qixis_addr(void);
 #endif
 
 /* Command line configuration */
-#define CONFIG_CMD_ENV
 
 /* Miscellaneous configurable options */
 #define CONFIG_SYS_LOAD_ADDR	(CONFIG_SYS_DDR_SDRAM_BASE + 0x10000000)
include/configs/lsxl.h +0 -1
index ce6d7c9998..59542a62e4 100644
@@ -38,7 +38,6 @@
 /*
  * Commands configuration
  */
-#define CONFIG_CMD_ENV
 #define CONFIG_CMD_IDE
 
 /*
include/configs/maxbcm.h +0 -1
index cdb3a473ea..b82a684cc9 100644
@@ -23,7 +23,6 @@
 /*
  * Commands configuration
  */
-#define CONFIG_CMD_ENV
 
 /* I2C */
 #define CONFIG_SYS_I2C
include/configs/meson-gxbb-common.h +0 -2
index f1734c0e21..12a4dfce6b 100644
@@ -26,8 +26,6 @@
 #define GICD_BASE			0xc4301000
 #define GICC_BASE			0xc4302000
 
-#define CONFIG_CMD_ENV
-
 /* Monitor Command Prompt */
 /* Console I/O Buffer Size */
 #define CONFIG_SYS_PBSIZE		(CONFIG_SYS_CBSIZE + \
include/configs/mv-plug-common.h +0 -1
index 83c559ed66..ce85e38875 100644
@@ -28,7 +28,6 @@
 /*
  * Commands configuration
  */
-#define CONFIG_CMD_ENV
 #define CONFIG_CMD_IDE
 
 /*
include/configs/omapl138_lcdk.h +0 -2
index 0cc0042bca..5995c662b6 100644
@@ -284,7 +284,6 @@
 /*
  * U-Boot commands
  */
-#define CONFIG_CMD_ENV
 #define CONFIG_CMD_SAVES
 #ifdef CONFIG_CMD_BDI
 #define CONFIG_CLOCKS
@@ -309,7 +308,6 @@
 	!defined(CONFIG_USE_SPIFLASH)
 #define CONFIG_ENV_IS_NOWHERE
 #define CONFIG_ENV_SIZE		(16 << 10)
-#undef CONFIG_CMD_ENV
 #endif
 
 /* SD/MMC */
include/configs/openrd.h +0 -1
index 19660db080..6c17f3b24b 100644
@@ -26,7 +26,6 @@
  * Commands configuration
  */
 #define CONFIG_SYS_MVFS
-#define CONFIG_CMD_ENV
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_IDE
 
include/configs/pogo_e02.h +0 -1
index 36f6e95ced..e62e21704c 100644
@@ -29,7 +29,6 @@
  * Commands configuration
  */
 #define CONFIG_SYS_MVFS
-#define CONFIG_CMD_ENV
 #define CONFIG_CMD_NAND
 
 /*
include/configs/r0p7734.h +0 -1
index b159b1ed8d..6212dbae21 100644
@@ -17,7 +17,6 @@
 #define CONFIG_SYS_TEXT_BASE 0x8FFC0000
 
 #define CONFIG_CMD_SDRAM
-#define CONFIG_CMD_ENV
 
 #define CONFIG_BOOTARGS		"console=ttySC3,115200"
 
include/configs/s32v234evb.h +0 -1
index 33487cd86f..b25a7ea344 100644
@@ -117,7 +117,6 @@
 #define CONFIG_LOADADDR			0xC307FFC0
 #define CONFIG_BOOTARGS			"console=ttyLF0 root=/dev/ram rw"
 
-#define CONFIG_CMD_ENV
 #define CONFIG_EXTRA_ENV_SETTINGS \
 	"boot_scripts=boot.scr.uimg boot.scr\0" \
 	"scriptaddr=" __stringify(CONFIG_LOADADDR) "\0" \
include/configs/shmin.h +0 -1
index bc1eba32ff..995f76a1ea 100644
@@ -16,7 +16,6 @@
 /* #define CONFIG_T_SH7706LSR	1 */
 
 #define CONFIG_CMD_SDRAM
-#define CONFIG_CMD_ENV
 
 #define CONFIG_BOOTARGS		"console=ttySC0,115200"
 
include/configs/spear-common.h +0 -1
index 75fd27a373..86e14ffac8 100644
@@ -97,7 +97,6 @@
  * Command support defines
  */
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_ENV
 #define CONFIG_CMD_SAVES
 
 /*
include/configs/theadorable.h +0 -1
index 2a671e84ec..27cae9d528 100644
@@ -23,7 +23,6 @@
 /*
  * Commands configuration
  */
-#define CONFIG_CMD_ENV
 #define CONFIG_CMD_SATA
 
 /*
include/configs/vexpress_aemv8a.h +0 -1
index ae13246478..11cb53587c 100644
@@ -125,7 +125,6 @@
 #endif
 
 /*#define CONFIG_MENU_SHOW*/
-#define CONFIG_CMD_ENV
 
 /* BOOTP options */
 #define CONFIG_BOOTP_BOOTFILESIZE
include/configs/vme8349.h +0 -4
index ae18bd6338..1aed81fc14 100644
@@ -351,10 +351,6 @@
     #define CONFIG_CMD_PCI
 #endif
 
-#if defined(CONFIG_SYS_RAMBOOT)
-    #undef CONFIG_CMD_ENV
-#endif
-
 /* Pass Ethernet MAC to VxWorks */
 #define CONFIG_SYS_VXWORKS_MAC_PTR	0x000043f0
 
include/configs/x600.h +0 -1
index bf6fafce98..afbd837cb8 100644
@@ -106,7 +106,6 @@
 /*
  * Command support defines
  */
-#define CONFIG_CMD_ENV
 #define CONFIG_CMD_FPGA_LOADMK
 #define CONFIG_CMD_MTDPARTS
 #define CONFIG_CMD_NAND
include/configs/xilinx_zynqmp.h +0 -1
index 3a6a4972e6..8a433691f4 100644
@@ -52,7 +52,6 @@
 	{ 4800, 9600, 19200, 38400, 57600, 115200 }
 
 /* Command line configuration */
-#define CONFIG_CMD_ENV
 #define CONFIG_MP
 
 /* BOOTP options */
include/configs/zipitz2.h +0 -1
index 841cc6dbb2..8a745e5097 100644
@@ -54,7 +54,6 @@
 /*
  * Bootloader Components Configuration
  */
-#define	CONFIG_CMD_ENV
 
 /*
  * MMC Card Configuration
scripts/config_whitelist.txt +0 -1
index c59c5ce42a..73475e598b 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_ENV
 CONFIG_CMD_ENV_CALLBACK
 CONFIG_CMD_ENV_FLAGS
 CONFIG_CMD_ERRATA
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#31 lore raw

PATCH v3 16/48 Kconfig: Drop CONFIG_CMD_ENV

Quoted 3 lines · Simon Glass

This option is not used in U-Boot. Drop it.

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/6b8aa32b/attachment.sig>
#32 lore raw

PATCH v3 17/48 Convert CONFIG_CMD_ENV_CALLBACK to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_ENV_CALLBACK

---

Changes in v3: None
Changes in v2: None

 README                          | 1 -
 cmd/Kconfig                     | 8 ++++++++
 configs/sandbox_defconfig       | 1 +
 configs/sandbox_noblk_defconfig | 1 +
 configs/sandbox_spl_defconfig   | 1 +
 include/configs/sandbox.h       | 1 -
 scripts/config_whitelist.txt    | 1 -
 7 files changed, 11 insertions(+), 3 deletions(-)
README +0 -1
index 841869dec7..74e1e5473f 100644
@@ -833,7 +833,6 @@ The following options need to be configured:
 		CONFIG_CMD_ECHO		  echo arguments
 		CONFIG_CMD_EDITENV	  edit env variable
 		CONFIG_CMD_ELF		* bootelf, bootvx
-		CONFIG_CMD_ENV_CALLBACK	* display details about env callbacks
 		CONFIG_CMD_ENV_FLAGS	* display details about env flags
 		CONFIG_CMD_ENV_EXISTS	* check existence of env variable
 		CONFIG_CMD_EXPORTENV	* export the environment
cmd/Kconfig +8 -0
index 6b9feff94c..3ac876403c 100644
@@ -314,6 +314,14 @@ config CMD_ENV_EXISTS
 	  Check if a variable is defined in the environment for use in
 	  shell scripting.
 
+config CMD_ENV_CALLBACK
+	bool "env callbacks - print callbacks and their associated variables"
+	help
+	  Some environment variable have callbacks defined by
+	  U_BOOT_ENV_CALLBACK. These are called when the variable changes.
+	  For example changing "baudrate" adjust the serial baud rate. This
+	  command lists the currently defined callbacks.
+
 endmenu
 
 menu "Memory commands"
configs/sandbox_defconfig +1 -0
index e24012c8ae..b63da46c87 100644
@@ -22,6 +22,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_ENV_CALLBACK=y
 CONFIG_CMD_MD5SUM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_MEMTEST=y
configs/sandbox_noblk_defconfig +1 -0
index de10d48ef0..3349697b67 100644
@@ -22,6 +22,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_ENV_CALLBACK=y
 CONFIG_CMD_MD5SUM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_MEMTEST=y
configs/sandbox_spl_defconfig +1 -0
index 25e4da258c..79eb83719e 100644
@@ -29,6 +29,7 @@ CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
+CONFIG_CMD_ENV_CALLBACK=y
 CONFIG_CMD_MD5SUM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_MEMTEST=y
include/configs/sandbox.h +0 -1
index 37c6132b8a..1743055f15 100644
@@ -110,7 +110,6 @@
 #define CONFIG_CMD_SANDBOX
 
 #define CONFIG_CMD_ENV_FLAGS
-#define CONFIG_CMD_ENV_CALLBACK
 
 #define CONFIG_BOOTARGS ""
 
scripts/config_whitelist.txt +0 -1
index 73475e598b..deb98c9db7 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_ENV_CALLBACK
 CONFIG_CMD_ENV_FLAGS
 CONFIG_CMD_ERRATA
 CONFIG_CMD_ESBC_VALIDATE
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#33 lore raw

PATCH v3 17/48 Convert CONFIG_CMD_ENV_CALLBACK to Kconfig

Quoted 4 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_ENV_CALLBACK

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/c907057a/attachment.sig>
#34 lore raw

PATCH v3 18/48 Convert CONFIG_CMD_ENV_FLAGS to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_ENV_FLAGS

---

Changes in v3: None
Changes in v2: None

 README                          | 1 -
 cmd/Kconfig                     | 8 ++++++++
 configs/ids8313_defconfig       | 1 +
 configs/sandbox_defconfig       | 1 +
 configs/sandbox_noblk_defconfig | 1 +
 configs/sandbox_spl_defconfig   | 1 +
 include/configs/ids8313.h       | 1 -
 include/configs/sandbox.h       | 2 --
 scripts/config_whitelist.txt    | 1 -
 9 files changed, 12 insertions(+), 5 deletions(-)
README +0 -1
index 74e1e5473f..9381510402 100644
@@ -833,7 +833,6 @@ The following options need to be configured:
 		CONFIG_CMD_ECHO		  echo arguments
 		CONFIG_CMD_EDITENV	  edit env variable
 		CONFIG_CMD_ELF		* bootelf, bootvx
-		CONFIG_CMD_ENV_FLAGS	* display details about env flags
 		CONFIG_CMD_ENV_EXISTS	* check existence of env variable
 		CONFIG_CMD_EXPORTENV	* export the environment
 		CONFIG_CMD_EXT2		* ext2 command support
cmd/Kconfig +8 -0
index 3ac876403c..ab09a9f528 100644
@@ -322,6 +322,14 @@ config CMD_ENV_CALLBACK
 	  For example changing "baudrate" adjust the serial baud rate. This
 	  command lists the currently defined callbacks.
 
+config CMD_ENV_FLAGS
+	bool "env flags -print variables that have non-default flags"
+	help
+	  Some environment variables have special flags that control their
+	  behaviour. For example, serial# can only be written once and cannot
+	  be deleted. This command shows the variables that have special
+	  flags.
+
 endmenu
 
 menu "Memory commands"
configs/ids8313_defconfig +1 -0
index 165e2eb495..2accd31229 100644
@@ -13,6 +13,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="Enter password - autoboot in %d seconds...\n"
 CONFIG_AUTOBOOT_DELAY_STR="ids"
+CONFIG_CMD_ENV_FLAGS=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
configs/sandbox_defconfig +1 -0
index b63da46c87..f8e1b3ad99 100644
@@ -23,6 +23,7 @@ CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
 CONFIG_CMD_ENV_CALLBACK=y
+CONFIG_CMD_ENV_FLAGS=y
 CONFIG_CMD_MD5SUM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_MEMTEST=y
configs/sandbox_noblk_defconfig +1 -0
index 3349697b67..312834bf40 100644
@@ -23,6 +23,7 @@ CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
 CONFIG_CMD_ENV_CALLBACK=y
+CONFIG_CMD_ENV_FLAGS=y
 CONFIG_CMD_MD5SUM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_MEMTEST=y
configs/sandbox_spl_defconfig +1 -0
index 79eb83719e..7f262dc327 100644
@@ -30,6 +30,7 @@ CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
 CONFIG_CMD_ENV_CALLBACK=y
+CONFIG_CMD_ENV_FLAGS=y
 CONFIG_CMD_MD5SUM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_MEMTEST=y
include/configs/ids8313.h +0 -1
index 7ffc9d1dd9..be96834c76 100644
@@ -444,7 +444,6 @@
 #define CONFIG_UBOOTPATH		"ids8313/u-boot.bin"
 #define CONFIG_FDTFILE			"ids8313/ids8313.dtb"
 #define CONFIG_LOADADDR		0x400000
-#define CONFIG_CMD_ENV_FLAGS
 #define CONFIG_ENV_FLAGS_LIST_STATIC "ethaddr:mo,eth1addr:mo"
 
 /* Initial Memory map for Linux*/
include/configs/sandbox.h +0 -2
index 1743055f15..da547c5bb2 100644
@@ -109,8 +109,6 @@
 
 #define CONFIG_CMD_SANDBOX
 
-#define CONFIG_CMD_ENV_FLAGS
-
 #define CONFIG_BOOTARGS ""
 
 #ifndef SANDBOX_NO_SDL
scripts/config_whitelist.txt +0 -1
index deb98c9db7..d6de1d774b 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_ENV_FLAGS
 CONFIG_CMD_ERRATA
 CONFIG_CMD_ESBC_VALIDATE
 CONFIG_CMD_ETHSW
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#35 lore raw

PATCH v3 18/48 Convert CONFIG_CMD_ENV_FLAGS to Kconfig

Quoted 4 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_ENV_FLAGS

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/46a4f2d7/attachment.sig>
#36 lore raw

PATCH v3 19/48 Convert CONFIG_CMD_ERRATA to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_ERRATA

---

Changes in v3: None
Changes in v2:
- Change 'default y if MPC85xx' to 'default y'
- Fix defconfig ordering in controlcenterd_TRAILBLAZER boards

 arch/powerpc/cpu/mpc85xx/Kconfig                     | 8 ++++++++
 configs/controlcenterd_TRAILBLAZER_DEVELOP_defconfig | 1 +
 configs/controlcenterd_TRAILBLAZER_defconfig         | 1 +
 include/configs/B4860QDS.h                           | 1 -
 include/configs/BSC9131RDB.h                         | 1 -
 include/configs/BSC9132QDS.h                         | 1 -
 include/configs/C29XPCIE.h                           | 1 -
 include/configs/MPC8572DS.h                          | 1 -
 include/configs/P1010RDB.h                           | 1 -
 include/configs/P1022DS.h                            | 1 -
 include/configs/P2041RDB.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                           | 1 -
 include/configs/UCP1020.h                            | 1 -
 include/configs/controlcenterd.h                     | 1 -
 include/configs/corenet_ds.h                         | 1 -
 include/configs/cyrus.h                              | 1 -
 include/configs/km/kmp204x-common.h                  | 1 -
 include/configs/t4qds.h                              | 1 -
 scripts/config_whitelist.txt                         | 1 -
 25 files changed, 10 insertions(+), 22 deletions(-)
arch/powerpc/cpu/mpc85xx/Kconfig +8 -0
index a87430cdbc..88d56a9a32 100644
@@ -4,6 +4,14 @@ menu "mpc85xx CPU"
 config SYS_CPU
 	default "mpc85xx"
 
+config CMD_ERRATA
+	bool "Enable the 'errata' command"
+	depends on MPC85xx
+	default y
+	help
+	  This enables the 'errata' command which displays a list of errata
+	  work-arounds which are enabled for the current board.
+
 choice
 	prompt "Target select"
 	optional
configs/controlcenterd_TRAILBLAZER_DEVELOP_defconfig +1 -0
index b197116f1c..95e4839b6d 100644
@@ -1,6 +1,7 @@
 CONFIG_PPC=y
 CONFIG_IDENT_STRING=" controlcenterd trailblazer 0.01"
 CONFIG_MPC85xx=y
+# CONFIG_CMD_ERRATA is not set
 CONFIG_TARGET_CONTROLCENTERD=y
 CONFIG_SYS_EXTRA_OPTIONS="TRAILBLAZER,SPIFLASH,DEVELOP"
 CONFIG_BOOTDELAY=-2
configs/controlcenterd_TRAILBLAZER_defconfig +1 -0
index aee0f3af71..ce29fc9104 100644
@@ -1,6 +1,7 @@
 CONFIG_PPC=y
 CONFIG_IDENT_STRING=" controlcenterd trailblazer 0.01"
 CONFIG_MPC85xx=y
+# CONFIG_CMD_ERRATA is not set
 CONFIG_TARGET_CONTROLCENTERD=y
 CONFIG_SYS_EXTRA_OPTIONS="TRAILBLAZER,SPIFLASH"
 CONFIG_BOOTDELAY=-2
include/configs/B4860QDS.h +0 -1
index 3dff45cd6e..3ed66fa455 100644
@@ -702,7 +702,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_ERRATA
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
include/configs/BSC9131RDB.h +0 -1
index 36633bde6e..64875f3116 100644
@@ -293,7 +293,6 @@ extern unsigned long get_sdram_size(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_ERRATA
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
include/configs/BSC9132QDS.h +0 -1
index 28658e4894..506fb79b35 100644
@@ -520,7 +520,6 @@ combinations. this should be removed later
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_ERRATA
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
include/configs/C29XPCIE.h +0 -1
index 84365f11df..c6afb9a208 100644
@@ -436,7 +436,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_ERRATA
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
include/configs/MPC8572DS.h +0 -1
index 2c1be228ee..59f1cc7c8d 100644
@@ -547,7 +547,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_ERRATA
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
include/configs/P1010RDB.h +0 -1
index 5b7d6adad3..9850fb80a0 100644
@@ -724,7 +724,6 @@ extern unsigned long get_sdram_size(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_ERRATA
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
include/configs/P1022DS.h +0 -1
index 0763cf312e..2d1564a835 100644
@@ -593,7 +593,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_ERRATA
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
include/configs/P2041RDB.h +0 -1
index 7629fe8eb4..bcc9cc8f9c 100644
@@ -580,7 +580,6 @@ unsigned long get_board_sys_clk(unsigned long dummy);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_ERRATA
 #define CONFIG_CMD_IRQ
 
 #ifdef CONFIG_PCI
include/configs/T102xQDS.h +0 -1
index d8ad914515..427b6f23ae 100644
@@ -779,7 +779,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_ERRATA
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
include/configs/T102xRDB.h +0 -1
index 5e35ceb89a..7af377a8d9 100644
@@ -789,7 +789,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_ERRATA
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
include/configs/T1040QDS.h +0 -1
index cba7404c31..d7af902858 100644
@@ -659,7 +659,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_ERRATA
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
include/configs/T104xRDB.h +0 -1
index d2ece40d4a..6e27e513a9 100644
@@ -772,7 +772,6 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_ERRATA
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
include/configs/T208xQDS.h +0 -1
index 02fd37d5cb..bd6c47cca5 100644
@@ -744,7 +744,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_ERRATA
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
include/configs/T208xRDB.h +0 -1
index faa1111e9f..fa1c9a74fc 100644
@@ -690,7 +690,6 @@ unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_ERRATA
 #define CONFIG_CMD_REGINFO
 
 #ifdef CONFIG_PCI
include/configs/T4240RDB.h +0 -1
index 8ebfde19f9..f1144b2039 100644
@@ -272,7 +272,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_ERRATA
 #define CONFIG_CMD_IRQ
 
 #ifdef CONFIG_PCI
include/configs/UCP1020.h +0 -1
index 8265f3c1ab..9cede19d4f 100644
@@ -424,7 +424,6 @@
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
-#define CONFIG_CMD_ERRATA
 
 /*
  * USB
include/configs/controlcenterd.h +0 -1
index 97faed8cca..40117b9a7f 100644
@@ -343,7 +343,6 @@
 
 #ifndef CONFIG_TRAILBLAZER
 
-#define CONFIG_CMD_ERRATA
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
include/configs/corenet_ds.h +0 -1
index 7e606cd794..af1573de92 100644
@@ -593,7 +593,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_ERRATA
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
include/configs/cyrus.h +0 -1
index 435929723b..9210770d7b 100644
@@ -411,7 +411,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_ERRATA
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
include/configs/km/kmp204x-common.h +0 -1
index 9bfcfdefe9..664a64c55a 100644
@@ -370,7 +370,6 @@ int get_scl(void);
  * additionnal command line configuration.
  */
 #define CONFIG_CMD_PCI
-#define CONFIG_CMD_ERRATA
 
 /* we don't need flash support */
 #undef CONFIG_FLASH_CFI_MTD
include/configs/t4qds.h +0 -1
index 55b8e3ebfc..f4f9a38b2c 100644
@@ -241,7 +241,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_ERRATA
 #define CONFIG_CMD_IRQ
 
 #ifdef CONFIG_PCI
scripts/config_whitelist.txt +0 -1
index d6de1d774b..0eecde12b2 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_ERRATA
 CONFIG_CMD_ESBC_VALIDATE
 CONFIG_CMD_ETHSW
 CONFIG_CMD_FDC
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#37 lore raw

PATCH v3 19/48 Convert CONFIG_CMD_ERRATA to Kconfig

Quoted 5 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_ERRATA

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/c05111c3/attachment.sig>
#38 lore raw

PATCH v3 19/48 Convert CONFIG_CMD_ERRATA to Kconfig

In reply to Simon Glass
Quoted 5 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_ERRATA

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/31cde40e/attachment.sig>
#39 lore raw

PATCH v3 20/48 Convert CONFIG_CMD_ESBC_VALIDATE to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_ESBC_VALIDATE

---

Changes in v3: None
Changes in v2:
- Add 'default y if CHAIN_OF_TRUST' to drop defconfig options

 arch/arm/include/asm/fsl_secure_boot.h     | 1 -
 arch/powerpc/include/asm/fsl_secure_boot.h | 1 -
 board/freescale/common/Kconfig             | 9 +++++++++
 scripts/config_whitelist.txt               | 1 -
 4 files changed, 9 insertions(+), 3 deletions(-)
arch/arm/include/asm/fsl_secure_boot.h +0 -1
index b0ca4bcf04..3212defcf0 100644
@@ -8,7 +8,6 @@
 #define __FSL_SECURE_BOOT_H
 
 #ifdef CONFIG_CHAIN_OF_TRUST
-#define CONFIG_CMD_ESBC_VALIDATE
 #define CONFIG_FSL_SEC_MON
 #define CONFIG_SHA_HW_ACCEL
 #define CONFIG_SHA_PROG_HW_ACCEL
arch/powerpc/include/asm/fsl_secure_boot.h +0 -1
index 62ce816b13..f188c8ca2c 100644
@@ -99,7 +99,6 @@
 #define CONFIG_SPL_UBOOT_KEY_HASH	NULL
 #endif /* ifdef CONFIG_SPL_BUILD */
 
-#define CONFIG_CMD_ESBC_VALIDATE
 #define CONFIG_FSL_SEC_MON
 #define CONFIG_SHA_PROG_HW_ACCEL
 
board/freescale/common/Kconfig +9 -0
index 8a9a9be8ce..cac06ee316 100644
@@ -4,3 +4,12 @@ config CHAIN_OF_TRUST
 	select FSL_CAAM
 	bool
 	default y
+
+config CMD_ESBC_VALIDATE
+	bool "Enable the 'esbc_validate' and 'esbc_halt' commands"
+	default y if CHAIN_OF_TRUST
+	help
+	  This option enables two commands used for secure booting:
+
+	    esbc_validate - validate signature using RSA verification
+	    esbc_halt - put the core in spin loop (Secure Boot Only)
scripts/config_whitelist.txt +0 -1
index 0eecde12b2..a7efc841ec 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_ESBC_VALIDATE
 CONFIG_CMD_ETHSW
 CONFIG_CMD_FDC
 CONFIG_CMD_FDT_MAX_DUMP
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#40 lore raw

PATCH v3 20/48 Convert CONFIG_CMD_ESBC_VALIDATE to Kconfig

Quoted 5 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_ESBC_VALIDATE

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/3b709896/attachment.sig>
#41 lore raw

PATCH v3 21/48 Convert CONFIG_CMD_ETHSW to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_ETHSW

Also enable it for sandbox to increase build coverage.

---

Changes in v3: None
Changes in v2: None

 cmd/Kconfig                              | 8 ++++++++
 configs/T1040D4RDB_NAND_defconfig        | 1 +
 configs/T1040D4RDB_SDCARD_defconfig      | 1 +
 configs/T1040D4RDB_SECURE_BOOT_defconfig | 1 +
 configs/T1040D4RDB_SPIFLASH_defconfig    | 1 +
 configs/T1040D4RDB_defconfig             | 1 +
 configs/T1040QDS_DDR4_defconfig          | 1 +
 configs/T1040QDS_SECURE_BOOT_defconfig   | 1 +
 configs/T1040QDS_defconfig               | 1 +
 configs/T1040RDB_NAND_defconfig          | 1 +
 configs/T1040RDB_SDCARD_defconfig        | 1 +
 configs/T1040RDB_SECURE_BOOT_defconfig   | 1 +
 configs/T1040RDB_SPIFLASH_defconfig      | 1 +
 configs/T1040RDB_defconfig               | 1 +
 configs/sandbox_defconfig                | 1 +
 include/configs/T1040QDS.h               | 1 -
 include/configs/T104xRDB.h               | 1 -
 scripts/config_whitelist.txt             | 1 -
 18 files changed, 22 insertions(+), 3 deletions(-)
cmd/Kconfig +8 -0
index ab09a9f528..cc959f6a4a 100644
@@ -711,6 +711,14 @@ config CMD_LINK_LOCAL
 	help
 	  Acquire a network IP address using the link-local protocol
 
+config CMD_ETHSW
+	bool "ethsw"
+	help
+	  Allow control of L2 Ethernet switch commands. These are supported
+	  by the vsc9953 Ethernet driver at present. Sub-commands allow
+	  operations such as enabling / disabling a port and
+	  viewing/maintaining the filtering database (FDB)
+
 endmenu
 
 menu "Misc commands"
configs/T1040D4RDB_NAND_defconfig +1 -0
index bf239bd104..c22bf9ce8c 100644
@@ -28,6 +28,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_ETHSW=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_FSL_CAAM=y
configs/T1040D4RDB_SDCARD_defconfig +1 -0
index e6a5b83f7f..63010c546c 100644
@@ -28,6 +28,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_ETHSW=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_FSL_CAAM=y
configs/T1040D4RDB_SECURE_BOOT_defconfig +1 -0
index b0edffaacf..47582578cf 100644
@@ -20,6 +20,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_ETHSW=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_DM=y
configs/T1040D4RDB_SPIFLASH_defconfig +1 -0
index e99809be3d..2a872b930f 100644
@@ -29,6 +29,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_ETHSW=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_FSL_CAAM=y
configs/T1040D4RDB_defconfig +1 -0
index 355d6ab3f0..82d6140518 100644
@@ -18,6 +18,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_ETHSW=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_FSL_CAAM=y
configs/T1040QDS_DDR4_defconfig +1 -0
index 6ebde4d2df..063ae20c83 100644
@@ -20,6 +20,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_ETHSW=y
 CONFIG_CMD_BMP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
configs/T1040QDS_SECURE_BOOT_defconfig +1 -0
index e437cdac35..a75ee03bcf 100644
@@ -22,6 +22,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_ETHSW=y
 CONFIG_CMD_BMP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
configs/T1040QDS_defconfig +1 -0
index 7b96193c85..5d8cdf1383 100644
@@ -20,6 +20,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_ETHSW=y
 CONFIG_CMD_BMP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
configs/T1040RDB_NAND_defconfig +1 -0
index a427cf18c4..b3e9c412b9 100644
@@ -28,6 +28,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_ETHSW=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_FSL_CAAM=y
configs/T1040RDB_SDCARD_defconfig +1 -0
index 2d2585f8c1..7b2187cf9c 100644
@@ -28,6 +28,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_ETHSW=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_FSL_CAAM=y
configs/T1040RDB_SECURE_BOOT_defconfig +1 -0
index c15f600d50..f16834b85c 100644
@@ -20,6 +20,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_ETHSW=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_DM=y
configs/T1040RDB_SPIFLASH_defconfig +1 -0
index f0c60001c3..9f5a8c4e9c 100644
@@ -29,6 +29,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_ETHSW=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_FSL_CAAM=y
configs/T1040RDB_defconfig +1 -0
index 1fca4a411b..7d6ed1bb72 100644
@@ -18,6 +18,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_ETHSW=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_FSL_CAAM=y
configs/sandbox_defconfig +1 -0
index f8e1b3ad99..720f0ee9dc 100644
@@ -186,3 +186,4 @@ CONFIG_UNIT_TEST=y
 CONFIG_UT_TIME=y
 CONFIG_UT_DM=y
 CONFIG_UT_ENV=y
+CONFIG_CMD_ETHSW=y
include/configs/T1040QDS.h +0 -1
index d7af902858..5ce06ce5d7 100644
@@ -629,7 +629,6 @@ unsigned long get_board_ddr_clk(void);
 
 /* Enable VSC9953 L2 Switch driver */
 #define CONFIG_VSC9953
-#define CONFIG_CMD_ETHSW
 #define CONFIG_SYS_FM1_QSGMII11_PHY_ADDR	0x14
 #define CONFIG_SYS_FM1_QSGMII21_PHY_ADDR	0x18
 
include/configs/T104xRDB.h +0 -1
index 6e27e513a9..1b17525197 100644
@@ -748,7 +748,6 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg
 /* Enable VSC9953 L2 Switch driver on T1040 SoC */
 #if defined(CONFIG_TARGET_T1040RDB) || defined(CONFIG_TARGET_T1040D4RDB)
 #define CONFIG_VSC9953
-#define CONFIG_CMD_ETHSW
 #ifdef CONFIG_TARGET_T1040RDB
 #define CONFIG_SYS_FM1_QSGMII11_PHY_ADDR	0x04
 #define CONFIG_SYS_FM1_QSGMII21_PHY_ADDR	0x08
scripts/config_whitelist.txt +0 -1
index a7efc841ec..4134a16452 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_ETHSW
 CONFIG_CMD_FDC
 CONFIG_CMD_FDT_MAX_DUMP
 CONFIG_CMD_FPGAD
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#42 lore raw

PATCH v3 21/48 Convert CONFIG_CMD_ETHSW to Kconfig

Quoted 6 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_ETHSW

Also enable it for sandbox to increase build coverage.

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/7ed168f9/attachment.sig>
#43 lore raw

PATCH v3 22/48 Convert CONFIG_CMD_FDC to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_FDC

---

Changes in v3: None
Changes in v2: None

 README                       | 1 -
 cmd/Kconfig                  | 5 +++++
 configs/PIP405_defconfig     | 1 +
 include/config_cmd_all.h     | 1 -
 include/configs/PIP405.h     | 1 -
 scripts/config_whitelist.txt | 1 -
 6 files changed, 6 insertions(+), 4 deletions(-)
README +0 -1
index 9381510402..1b5aabbeb6 100644
@@ -841,7 +841,6 @@ The following options need to be configured:
 					  that work for multiple fs types
 		CONFIG_CMD_FS_UUID	* Look up a filesystem UUID
 		CONFIG_CMD_SAVEENV	  saveenv
-		CONFIG_CMD_FDC		* Floppy Disk Support
 		CONFIG_CMD_FAT		* FAT command support
 		CONFIG_CMD_FLASH	  flinfo, erase, protect
 		CONFIG_CMD_FPGA		  FPGA device initialization support
cmd/Kconfig +5 -0
index cc959f6a4a..99082c14f2 100644
@@ -604,6 +604,11 @@ config CMD_GPIO
 	help
 	  GPIO support.
 
+config CMD_FDC
+	bool "fdcboot - Boot from floppy device"
+	help
+	  The 'fdtboot' command allows booting an image from a floppy disk.
+
 endmenu
 
 
configs/PIP405_defconfig +1 -0
index bd421eab9c..e366ac1355 100644
@@ -14,6 +14,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_FDC=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
include/config_cmd_all.h +0 -1
index a824204913..9b3d88a1f8 100644
@@ -13,7 +13,6 @@
  * Alphabetical list of all possible commands.
  */
 
-#define CONFIG_CMD_FDC		/* Floppy Disk Support		*/
 #define CONFIG_CMD_FUSE		/* Device fuse support		*/
 #define CONFIG_CMD_GETTIME	/* Get time since boot         */
 #define CONFIG_CMD_HASH		/* calculate hash / digest	*/
include/configs/PIP405.h +0 -1
index 84b1a73033..eb1f0e26c5 100644
@@ -41,7 +41,6 @@
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
-#define CONFIG_CMD_FDC
 #define CONFIG_SCSI
 #define CONFIG_CMD_SDRAM
 #define CONFIG_CMD_SAVES
scripts/config_whitelist.txt +0 -1
index 4134a16452..e8b83e5bea 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_FDC
 CONFIG_CMD_FDT_MAX_DUMP
 CONFIG_CMD_FPGAD
 CONFIG_CMD_FPGA_LOADBP
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#44 lore raw

PATCH v3 22/48 Convert CONFIG_CMD_FDC to Kconfig

Quoted 4 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_FDC

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/9fe2c180/attachment.sig>
#45 lore raw

PATCH v3 23/48 Kconfig: Drop CONFIG_CMD_FDT_MAX_DUMP

In reply to Simon Glass

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

---

Changes in v3: None
Changes in v2: None

 cmd/fdt.c                    | 8 +++-----
 scripts/config_whitelist.txt | 1 -
 2 files changed, 3 insertions(+), 6 deletions(-)
cmd/fdt.c +3 -5
index 95dd673b95..a21415dab4 100644
@@ -20,9 +20,7 @@
 
 #define MAX_LEVEL	32		/* how deeply nested we will go */
 #define SCRATCHPAD	1024		/* bytes of scratchpad memory */
-#ifndef CONFIG_CMD_FDT_MAX_DUMP
-#define CONFIG_CMD_FDT_MAX_DUMP 64
-#endif
+#define CMD_FDT_MAX_DUMP 64
 
 /*
  * Global data (for the gd->bd)
@@ -901,7 +899,7 @@ static void print_data(const void *data, int len)
 	}
 
 	if ((len %4) == 0) {
-		if (len > CONFIG_CMD_FDT_MAX_DUMP)
+		if (len > CMD_FDT_MAX_DUMP)
 			printf("* 0x%p [0x%08x]", data, len);
 		else {
 			const __be32 *p;
@@ -913,7 +911,7 @@ static void print_data(const void *data, int len)
 			printf(">");
 		}
 	} else { /* anything else... hexdump */
-		if (len > CONFIG_CMD_FDT_MAX_DUMP)
+		if (len > CMD_FDT_MAX_DUMP)
 			printf("* 0x%p [0x%08x]", data, len);
 		else {
 			const u8 *s;
scripts/config_whitelist.txt +0 -1
index e8b83e5bea..cb537d8637 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_FDT_MAX_DUMP
 CONFIG_CMD_FPGAD
 CONFIG_CMD_FPGA_LOADBP
 CONFIG_CMD_FPGA_LOADFS
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#46 lore raw

PATCH v3 23/48 Kconfig: Drop CONFIG_CMD_FDT_MAX_DUMP

Quoted 3 lines · Simon Glass

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

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/3f800403/attachment.sig>
#47 lore raw

PATCH v3 24/48 Convert CONFIG_CMD_FPGAD to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_FPGAD

---

Changes in v3: None
Changes in v2: None

 cmd/Kconfig                      | 8 ++++++++
 configs/hrcon_defconfig          | 1 +
 configs/hrcon_dh_defconfig       | 1 +
 configs/iocon_defconfig          | 1 +
 configs/strider_con_defconfig    | 1 +
 configs/strider_con_dp_defconfig | 1 +
 configs/strider_cpu_defconfig    | 1 +
 configs/strider_cpu_dp_defconfig | 1 +
 include/configs/hrcon.h          | 1 -
 include/configs/iocon.h          | 1 -
 include/configs/strider.h        | 1 -
 scripts/config_whitelist.txt     | 1 -
 12 files changed, 15 insertions(+), 4 deletions(-)
cmd/Kconfig +8 -0
index 99082c14f2..99e42e4b36 100644
@@ -593,6 +593,14 @@ config CMD_FPGA
 	help
 	  FPGA support.
 
+config CMD_FPGAD
+	bool "fpgad - dump FPGA registers"
+	help
+	  (legacy, needs conversion to driver model)
+	  Provides a way to dump FPGA registers by calling the board-specific
+	  fpga_get_reg() function. This functions similarly to the 'md'
+	  command.
+
 config CMD_REMOTEPROC
 	bool "remoteproc"
 	depends on REMOTEPROC
configs/hrcon_defconfig +1 -0
index afb0154fcd..cf89ebe145 100644
@@ -15,6 +15,7 @@ CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_FPGAD=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/hrcon_dh_defconfig +1 -0
index ce8b7972a4..c5512e71c4 100644
@@ -14,6 +14,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_FPGAD=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
configs/iocon_defconfig +1 -0
index c74df944a6..b3ee66d7f6 100644
@@ -16,6 +16,7 @@ CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
 CONFIG_LOOPW=y
+CONFIG_CMD_FPGAD=y
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_MII=y
configs/strider_con_defconfig +1 -0
index 51a50856a9..099d40714f 100644
@@ -17,6 +17,7 @@ CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_FPGAD=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/strider_con_dp_defconfig +1 -0
index 9524c9c6f2..754db3d2d8 100644
@@ -17,6 +17,7 @@ CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_FPGAD=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/strider_cpu_defconfig +1 -0
index 090d7e8efc..692e883e75 100644
@@ -17,6 +17,7 @@ CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_FPGAD=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
configs/strider_cpu_dp_defconfig +1 -0
index ec715f1180..18e33a2e6b 100644
@@ -17,6 +17,7 @@ CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_FPGAD=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
include/configs/hrcon.h +0 -1
index 5574e7715a..cfebd2d26e 100644
@@ -26,7 +26,6 @@
 #define CONFIG_FSL_ESDHC
 #define CONFIG_SYS_FSL_ESDHC_ADDR	CONFIG_SYS_MPC83xx_ESDHC_ADDR
 
-#define CONFIG_CMD_FPGAD
 #define CONFIG_CMD_IOLOOP
 
 /*
include/configs/iocon.h +0 -1
index e15adfcbb0..0d81ac1b2f 100644
@@ -57,7 +57,6 @@
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_FPGAD
 #undef CONFIG_CMD_IRQ
 
 /*
include/configs/strider.h +0 -1
index 1298808b13..539557d972 100644
@@ -28,7 +28,6 @@
 
 #define CONFIG_SYS_ALT_MEMTEST
 
-#define CONFIG_CMD_FPGAD
 #define CONFIG_CMD_IOLOOP
 
 /*
scripts/config_whitelist.txt +0 -1
index cb537d8637..e8212938bb 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_FPGAD
 CONFIG_CMD_FPGA_LOADBP
 CONFIG_CMD_FPGA_LOADFS
 CONFIG_CMD_FPGA_LOADMK
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#48 lore raw

PATCH v3 24/48 Convert CONFIG_CMD_FPGAD to Kconfig

Quoted 4 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_FPGAD

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/6a7526b6/attachment.sig>
#49 lore raw

PATCH v3 25/48 Convert CONFIG_CMD_FPGA_LOADBP et al to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_FPGA_LOADBP
CONFIG_CMD_FPGA_LOADFS
CONFIG_CMD_FPGA_LOADMK
CONFIG_CMD_FPGA_LOADP

---

Changes in v3: None
Changes in v2: None

 README                             | 13 -------------
 arch/Kconfig                       |  1 +
 cmd/Kconfig                        | 26 ++++++++++++++++++++++++++
 configs/astro_mcf5373l_defconfig   |  1 +
 configs/mt_ventoux_defconfig       |  1 +
 configs/x600_defconfig             |  1 +
 configs/zynq_microzed_defconfig    |  4 ++++
 configs/zynq_picozed_defconfig     |  4 ++++
 configs/zynq_zc702_defconfig       |  4 ++++
 configs/zynq_zc706_defconfig       |  4 ++++
 configs/zynq_zc770_xm010_defconfig |  4 ++++
 configs/zynq_zc770_xm011_defconfig |  4 ++++
 configs/zynq_zc770_xm012_defconfig |  4 ++++
 configs/zynq_zc770_xm013_defconfig |  4 ++++
 configs/zynq_zed_defconfig         |  4 ++++
 configs/zynq_zybo_defconfig        |  4 ++++
 include/configs/astro_mcf5373l.h   |  1 -
 include/configs/mt_ventoux.h       |  1 -
 include/configs/topic_miami.h      |  4 ----
 include/configs/x600.h             |  1 -
 include/configs/x86-common.h       |  1 -
 include/configs/zynq-common.h      |  4 ----
 scripts/config_whitelist.txt       |  4 ----
 23 files changed, 70 insertions(+), 29 deletions(-)
README +0 -13
index 1b5aabbeb6..4758dff0d1 100644
@@ -2384,19 +2384,6 @@ The following options need to be configured:
 
 		Specify the number of FPGA devices to support.
 
-		CONFIG_CMD_FPGA_LOADMK
-
-		Enable support for fpga loadmk command
-
-		CONFIG_CMD_FPGA_LOADP
-
-		Enable support for fpga loadp command - load partial bitstream
-
-		CONFIG_CMD_FPGA_LOADBP
-
-		Enable support for fpga loadbp command - load partial bitstream
-		(Xilinx only)
-
 		CONFIG_SYS_FPGA_PROG_FEEDBACK
 
 		Enable printing of hash marks during FPGA configuration.
arch/Kconfig +1 -0
index 826e346f98..ce47078d6a 100644
@@ -85,6 +85,7 @@ config X86
 	select DM_SPI
 	select DM_SPI_FLASH
 	select USB_EHCI_HCD
+	imply CMD_FPGA_LOADMK
 
 config XTENSA
 	bool "Xtensa architecture"
cmd/Kconfig +26 -0
index 99e42e4b36..16cf961f3e 100644
@@ -593,6 +593,32 @@ config CMD_FPGA
 	help
 	  FPGA support.
 
+config CMD_FPGA_LOADBP
+	bool "fpga loadbp - load partial bitstream (Xilinx only)"
+	depends on CMD_FPGA
+	help
+	  Supports loading an FPGA device from a bitstream buffer containing
+	  a partial bitstream.
+
+config CMD_FPGA_LOADFS
+	bool "fpga loadfs - load bitstream from FAT filesystem (Xilinx only)"
+	depends on CMD_FPGA
+	help
+	  Supports loading an FPGA device from a FAT filesystem.
+
+config CMD_FPGA_LOADMK
+	bool "fpga loadmk - load bitstream from image"
+	depends on CMD_FPGA
+	help
+	  Supports loading an FPGA device from a image generated by mkimage.
+
+config CMD_FPGA_LOADP
+	bool "fpga loadp - load partial bitstream"
+	depends on CMD_FPGA
+	help
+	  Supports loading an FPGA device from a bitstream buffer containing
+	  a partial bitstream.
+
 config CMD_FPGAD
 	bool "fpgad - dump FPGA registers"
 	help
configs/astro_mcf5373l_defconfig +1 -0
index d5e84308d6..c35222b244 100644
@@ -5,6 +5,7 @@ CONFIG_BOOTDELAY=1
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="URMEL > "
 CONFIG_CMD_I2C=y
+CONFIG_CMD_FPGA_LOADMK=y
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NET is not set
 # CONFIG_CMD_NFS is not set
configs/mt_ventoux_defconfig +1 -0
index e426772b15..c4a6f2063f 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_EEPROM=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_FPGA_LOADMK=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/x600_defconfig +1 -0
index 3aaba16c2e..2e5d5f1ae8 100644
@@ -20,6 +20,7 @@ CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_FPGA_LOADMK=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/zynq_microzed_defconfig +4 -0
index 4093618325..2d7fffc1f4 100644
@@ -16,6 +16,10 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_DFU=y
+CONFIG_CMD_FPGA_LOADBP=y
+CONFIG_CMD_FPGA_LOADFS=y
+CONFIG_CMD_FPGA_LOADMK=y
+CONFIG_CMD_FPGA_LOADP=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
configs/zynq_picozed_defconfig +4 -0
index 3c3a5b29b0..7ca69a973c 100644
@@ -12,6 +12,10 @@ CONFIG_SYS_PROMPT="Zynq> "
 CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_DFU=y
+CONFIG_CMD_FPGA_LOADBP=y
+CONFIG_CMD_FPGA_LOADFS=y
+CONFIG_CMD_FPGA_LOADMK=y
+CONFIG_CMD_FPGA_LOADP=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
configs/zynq_zc702_defconfig +4 -0
index 83e8f65082..44e6850d8b 100644
@@ -19,6 +19,10 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_DFU=y
+CONFIG_CMD_FPGA_LOADBP=y
+CONFIG_CMD_FPGA_LOADFS=y
+CONFIG_CMD_FPGA_LOADMK=y
+CONFIG_CMD_FPGA_LOADP=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
configs/zynq_zc706_defconfig +4 -0
index 9dbf47f496..825346abd6 100644
@@ -19,6 +19,10 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_DFU=y
+CONFIG_CMD_FPGA_LOADBP=y
+CONFIG_CMD_FPGA_LOADFS=y
+CONFIG_CMD_FPGA_LOADMK=y
+CONFIG_CMD_FPGA_LOADP=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
configs/zynq_zc770_xm010_defconfig +4 -0
index ececcb4f95..a1ef49f250 100644
@@ -15,6 +15,10 @@ CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
+CONFIG_CMD_FPGA_LOADBP=y
+CONFIG_CMD_FPGA_LOADFS=y
+CONFIG_CMD_FPGA_LOADMK=y
+CONFIG_CMD_FPGA_LOADP=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
configs/zynq_zc770_xm011_defconfig +4 -0
index 980382ce69..dc49372e48 100644
@@ -14,6 +14,10 @@ CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_NAND=y
+CONFIG_CMD_FPGA_LOADBP=y
+CONFIG_CMD_FPGA_LOADFS=y
+CONFIG_CMD_FPGA_LOADMK=y
+CONFIG_CMD_FPGA_LOADP=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
configs/zynq_zc770_xm012_defconfig +4 -0
index 48caf31683..16cd613110 100644
@@ -11,6 +11,10 @@ CONFIG_SPL=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
+CONFIG_CMD_FPGA_LOADBP=y
+CONFIG_CMD_FPGA_LOADFS=y
+CONFIG_CMD_FPGA_LOADMK=y
+CONFIG_CMD_FPGA_LOADP=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
configs/zynq_zc770_xm013_defconfig +4 -0
index 23bcb0e446..4396db0eb1 100644
@@ -13,6 +13,10 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
+CONFIG_CMD_FPGA_LOADBP=y
+CONFIG_CMD_FPGA_LOADFS=y
+CONFIG_CMD_FPGA_LOADMK=y
+CONFIG_CMD_FPGA_LOADP=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
configs/zynq_zed_defconfig +4 -0
index 26a5320b61..2887ca4167 100644
@@ -16,6 +16,10 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_DFU=y
+CONFIG_CMD_FPGA_LOADBP=y
+CONFIG_CMD_FPGA_LOADFS=y
+CONFIG_CMD_FPGA_LOADMK=y
+CONFIG_CMD_FPGA_LOADP=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
configs/zynq_zybo_defconfig +4 -0
index 8bed4e6809..e5be0d141e 100644
@@ -19,6 +19,10 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_DFU=y
+CONFIG_CMD_FPGA_LOADBP=y
+CONFIG_CMD_FPGA_LOADFS=y
+CONFIG_CMD_FPGA_LOADMK=y
+CONFIG_CMD_FPGA_LOADP=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
include/configs/astro_mcf5373l.h +0 -1
index 8899579faa..084b78c1e3 100644
@@ -63,7 +63,6 @@
 #define CONFIG_CMD_JFFS2
 #endif
 #define CONFIG_CMD_REGINFO
-#define CONFIG_CMD_FPGA_LOADMK
 #define CONFIG_CMDLINE_EDITING
 
 #define CONFIG_MCFRTC
include/configs/mt_ventoux.h +0 -1
index 2e373175dc..ed83eeba54 100644
@@ -39,7 +39,6 @@
 /*
  * FPGA
  */
-#define CONFIG_CMD_FPGA_LOADMK
 #define CONFIG_FPGA
 #define CONFIG_FPGA_XILINX
 #define CONFIG_FPGA_SPARTAN3
include/configs/topic_miami.h +0 -4
index 23160bd88d..a28922585c 100644
@@ -44,10 +44,6 @@
 #undef CONFIG_SPL_FPGA_SUPPORT
 
 /* FPGA commands that we don't use */
-#undef CONFIG_CMD_FPGA_LOADMK
-#undef CONFIG_CMD_FPGA_LOADP
-#undef CONFIG_CMD_FPGA_LOADBP
-#undef CONFIG_CMD_FPGA_LOADFS
 
 /* Extras */
 #define CONFIG_CMD_MEMTEST
include/configs/x600.h +0 -1
index afbd837cb8..c7d32fedb3 100644
@@ -106,7 +106,6 @@
 /*
  * Command support defines
  */
-#define CONFIG_CMD_FPGA_LOADMK
 #define CONFIG_CMD_MTDPARTS
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_SAVES
include/configs/x86-common.h +0 -1
index 29be55a840..8284076b08 100644
@@ -70,7 +70,6 @@
 /*-----------------------------------------------------------------------
  * Command line configuration.
  */
-#define CONFIG_CMD_FPGA_LOADMK
 #define CONFIG_CMD_IO
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_PCI
include/configs/zynq-common.h +0 -4
index 223637952d..c958f2de22 100644
@@ -259,10 +259,6 @@
 #define CONFIG_FPGA
 #define CONFIG_FPGA_XILINX
 #define CONFIG_FPGA_ZYNQPL
-#define CONFIG_CMD_FPGA_LOADMK
-#define CONFIG_CMD_FPGA_LOADP
-#define CONFIG_CMD_FPGA_LOADBP
-#define CONFIG_CMD_FPGA_LOADFS
 
 /* FIT support */
 #define CONFIG_IMAGE_FORMAT_LEGACY /* enable also legacy image format */
scripts/config_whitelist.txt +0 -4
index e8212938bb..1a62d3e362 100644
@@ -383,10 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_FPGA_LOADBP
-CONFIG_CMD_FPGA_LOADFS
-CONFIG_CMD_FPGA_LOADMK
-CONFIG_CMD_FPGA_LOADP
 CONFIG_CMD_FUSE
 CONFIG_CMD_GETTIME
 CONFIG_CMD_GSC
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#50 lore raw

PATCH v3 25/48 Convert CONFIG_CMD_FPGA_LOADBP et al to Kconfig

Quoted 7 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_FPGA_LOADBP
CONFIG_CMD_FPGA_LOADFS
CONFIG_CMD_FPGA_LOADMK
CONFIG_CMD_FPGA_LOADP

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/958e312b/attachment.sig>
#51 lore raw

PATCH v3 26/48 Convert CONFIG_CMD_FUSE to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_FUSE

---

Changes in v3: None
Changes in v2: None

 README                               | 1 -
 arch/arm/cpu/armv7/mx6/Kconfig       | 1 +
 arch/arm/cpu/armv7/mx7/Kconfig       | 2 ++
 cmd/Kconfig                          | 8 ++++++++
 configs/colibri_vf_defconfig         | 1 +
 configs/mx51evk_defconfig            | 1 +
 configs/sandbox_defconfig            | 2 +-
 configs/usbarmory_defconfig          | 1 +
 configs/vf610twr_defconfig           | 1 +
 configs/vf610twr_nand_defconfig      | 1 +
 include/config_cmd_all.h             | 1 -
 include/configs/ac14xx.h             | 1 -
 include/configs/advantech_dms-ba16.h | 1 -
 include/configs/apalis_imx6.h        | 1 -
 include/configs/aria.h               | 1 -
 include/configs/colibri_imx6.h       | 1 -
 include/configs/colibri_vf.h         | 1 -
 include/configs/ge_bx50v3.h          | 1 -
 include/configs/mecp5123.h           | 1 -
 include/configs/mpc5121ads.h         | 2 --
 include/configs/mx51evk.h            | 1 -
 include/configs/mx6_common.h         | 1 -
 include/configs/mx7_common.h         | 1 -
 include/configs/pdm360ng.h           | 2 --
 include/configs/usbarmory.h          | 1 -
 include/configs/vf610twr.h           | 1 -
 scripts/config_whitelist.txt         | 1 -
 27 files changed, 17 insertions(+), 21 deletions(-)
README +0 -1
index 4758dff0d1..ba9691a895 100644
@@ -844,7 +844,6 @@ The following options need to be configured:
 		CONFIG_CMD_FAT		* FAT command support
 		CONFIG_CMD_FLASH	  flinfo, erase, protect
 		CONFIG_CMD_FPGA		  FPGA device initialization support
-		CONFIG_CMD_FUSE		* Device fuse support
 		CONFIG_CMD_GETTIME	* Get time since boot
 		CONFIG_CMD_GO		* the 'go' command (exec code)
 		CONFIG_CMD_GREPENV	* search environment
arch/arm/cpu/armv7/mx6/Kconfig +1 -0
index af6dad3aa9..5ecca47a98 100644
@@ -7,6 +7,7 @@ config MX6
 	select ARM_ERRATA_751472 if !MX6UL
 	select ARM_ERRATA_761320 if !MX6UL
 	select ARM_ERRATA_794072 if !MX6UL
+	imply CMD_FUSE
 
 config MX6D
 	bool
arch/arm/cpu/armv7/mx7/Kconfig +2 -0
index 8dfb4c9646..80c129019a 100644
@@ -6,10 +6,12 @@ config MX7
 	select CPU_V7_HAS_VIRT
 	select CPU_V7_HAS_NONSEC
 	select ARCH_SUPPORT_PSCI
+	imply CMD_FUSE
 	default y
 
 config MX7D
 	select ROM_UNIFIED_SECTIONS
+	imply CMD_FUSE
 	bool
 
 choice
cmd/Kconfig +8 -0
index 16cf961f3e..495080fc01 100644
@@ -627,6 +627,14 @@ config CMD_FPGAD
 	  fpga_get_reg() function. This functions similarly to the 'md'
 	  command.
 
+config CMD_FUSE
+	bool "fuse - support for the fuse subssystem"
+	help
+	  (deprecated - needs conversion to driver model)
+	  This allows reading, sensing, programming or overriding fuses
+	  which control the behaviour of the device. The command uses the
+	  fuse_...() API.
+
 config CMD_REMOTEPROC
 	bool "remoteproc"
 	depends on REMOTEPROC
configs/colibri_vf_defconfig +1 -0
index 8be632fb8e..3b510c3e6d 100644
@@ -21,6 +21,7 @@ CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_DFU=y
 CONFIG_CMD_USB_MASS_STORAGE=y
+CONFIG_CMD_FUSE=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/mx51evk_defconfig +1 -0
index e84272d68c..8f09c04ceb 100644
@@ -14,6 +14,7 @@ CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_FUSE=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
configs/sandbox_defconfig +1 -1
index 720f0ee9dc..a573d52b7f 100644
@@ -44,6 +44,7 @@ CONFIG_CMD_CDP=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_DNS=y
 CONFIG_CMD_LINK_LOCAL=y
+CONFIG_CMD_ETHSW=y
 CONFIG_CMD_BMP=y
 CONFIG_CMD_TIME=y
 CONFIG_CMD_TIMER=y
@@ -186,4 +187,3 @@ CONFIG_UNIT_TEST=y
 CONFIG_UT_TIME=y
 CONFIG_UT_DM=y
 CONFIG_UT_ENV=y
-CONFIG_CMD_ETHSW=y
configs/usbarmory_defconfig +1 -0
index 43256177be..a71a75751f 100644
@@ -8,6 +8,7 @@ CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_FUSE=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
configs/vf610twr_defconfig +1 -0
index 9198f65eaa..47193094dd 100644
@@ -10,6 +10,7 @@ CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_FUSE=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/vf610twr_nand_defconfig +1 -0
index ba4e5965ca..f1dc19a543 100644
@@ -10,6 +10,7 @@ CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_FUSE=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
include/config_cmd_all.h +0 -1
index 9b3d88a1f8..7e9983e150 100644
@@ -13,7 +13,6 @@
  * Alphabetical list of all possible commands.
  */
 
-#define CONFIG_CMD_FUSE		/* Device fuse support		*/
 #define CONFIG_CMD_GETTIME	/* Get time since boot         */
 #define CONFIG_CMD_HASH		/* calculate hash / digest	*/
 #define CONFIG_CMD_IDE		/* IDE harddisk support		*/
include/configs/ac14xx.h +0 -1
index 2a46e9b864..3d3c216d61 100644
@@ -367,7 +367,6 @@
 #define CONFIG_LOADS_ECHO		1
 #define CONFIG_SYS_LOADS_BAUD_CHANGE	1
 
-#undef CONFIG_CMD_FUSE
 #undef CONFIG_CMD_IDE
 #define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_REGINFO
include/configs/advantech_dms-ba16.h +0 -1
index b76f376a04..f320792cfd 100644
@@ -36,7 +36,6 @@
 #define CONFIG_MXC_GPIO
 #define CONFIG_MXC_UART
 
-#define CONFIG_CMD_FUSE
 #define CONFIG_MXC_OCOTP
 
 /* SATA Configs */
include/configs/apalis_imx6.h +0 -1
index c1c0f592d2..8eddb68d3b 100644
@@ -54,7 +54,6 @@
 #define CONFIG_SYS_I2C_SPEED		100000
 
 /* OCOTP Configs */
-#define CONFIG_CMD_FUSE
 #ifdef CONFIG_CMD_FUSE
 #define CONFIG_MXC_OCOTP
 #endif
include/configs/aria.h +0 -1
index 4d946fc44a..3b5d56c6bb 100644
@@ -372,7 +372,6 @@
 #define CONFIG_LOADS_ECHO		1
 #define CONFIG_SYS_LOADS_BAUD_CHANGE	1
 
-#undef CONFIG_CMD_FUSE
 #undef CONFIG_CMD_IDE
 #define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_REGINFO
include/configs/colibri_imx6.h +0 -1
index 9c4085245a..6189a6191f 100644
@@ -52,7 +52,6 @@
 #define CONFIG_SYS_I2C_SPEED		100000
 
 /* OCOTP Configs */
-#define CONFIG_CMD_FUSE
 #ifdef CONFIG_CMD_FUSE
 #define CONFIG_MXC_OCOTP
 #endif
include/configs/colibri_vf.h +0 -1
index 28383f49da..6e8cd914b3 100644
@@ -20,7 +20,6 @@
 
 #define CONFIG_SKIP_LOWLEVEL_INIT
 
-#define CONFIG_CMD_FUSE
 #ifdef CONFIG_CMD_FUSE
 #define CONFIG_MXC_OCOTP
 #endif
include/configs/ge_bx50v3.h +0 -1
index 198259b3c0..f60a0298d6 100644
@@ -47,7 +47,6 @@
 #define CONFIG_MXC_GPIO
 #define CONFIG_MXC_UART
 
-#define CONFIG_CMD_FUSE
 #define CONFIG_MXC_OCOTP
 
 /* SATA Configs */
include/configs/mecp5123.h +0 -1
index fe94e663c5..6e10cafe6e 100644
@@ -273,7 +273,6 @@
 #define CONFIG_SYS_LOADS_BAUD_CHANGE	/* allow baudrate change	*/
 
 #define CONFIG_CMD_REGINFO
-#undef CONFIG_CMD_FUSE
 #undef CONFIG_CMD_IDE
 #define CONFIG_CMD_JFFS2
 
include/configs/mpc5121ads.h +0 -2
index 7919320c88..bd7c4a64e2 100644
@@ -382,8 +382,6 @@
 #define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_REGINFO
 
-#undef CONFIG_CMD_FUSE
-
 #if defined(CONFIG_PCI)
 #define CONFIG_CMD_PCI
 #endif
include/configs/mx51evk.h +0 -1
index 54bc563467..4513adf2c4 100644
@@ -33,7 +33,6 @@
  * Hardware drivers
  */
 #define CONFIG_FSL_IIM
-#define CONFIG_CMD_FUSE
 
 #define CONFIG_MXC_UART
 #define CONFIG_MXC_UART_BASE	UART1_BASE
include/configs/mx6_common.h +0 -1
index 21ac3fc357..1a8ab4ee33 100644
@@ -78,7 +78,6 @@
 #define CONFIG_FSL_USDHC
 
 /* Fuses */
-#define CONFIG_CMD_FUSE
 #define CONFIG_MXC_OCOTP
 
 /* Secure boot (HAB) support */
include/configs/mx7_common.h +0 -1
index 9a20c7732d..fe460109d1 100644
@@ -59,7 +59,6 @@
 #define CONFIG_FSL_USDHC
 
 /* Fuses */
-#define CONFIG_CMD_FUSE
 #define CONFIG_MXC_OCOTP
 
 #define CONFIG_ARMV7_SECURE_BASE	0x00900000
include/configs/pdm360ng.h +0 -2
index 4bd8236b33..676d55f5e8 100644
@@ -340,8 +340,6 @@
 
 #define CONFIG_CMD_REGINFO
 
-#undef CONFIG_CMD_FUSE
-
 /*
  * Miscellaneous configurable options
  */
include/configs/usbarmory.h +0 -1
index f725b79cd4..e25bf99e1c 100644
@@ -53,7 +53,6 @@
 #define CONFIG_SYS_I2C_MXC_I2C2		/* enable I2C bus 2 */
 
 /* Fuse */
-#define CONFIG_CMD_FUSE
 #define CONFIG_FSL_IIM
 
 /* U-Boot memory offsets */
include/configs/vf610twr.h +0 -1
index 3e7dc9b685..2460294d88 100644
@@ -20,7 +20,6 @@
 /* Enable passing of ATAGs */
 #define CONFIG_CMDLINE_TAG
 
-#define CONFIG_CMD_FUSE
 #ifdef CONFIG_CMD_FUSE
 #define CONFIG_MXC_OCOTP
 #endif
scripts/config_whitelist.txt +0 -1
index 1a62d3e362..ba8ac3ebcc 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_FUSE
 CONFIG_CMD_GETTIME
 CONFIG_CMD_GSC
 CONFIG_CMD_HASH
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#52 lore raw

PATCH v3 26/48 Convert CONFIG_CMD_FUSE to Kconfig

Quoted 4 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_FUSE

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/bbcd2416/attachment.sig>
#53 lore raw

PATCH v3 27/48 Convert CONFIG_CMD_GETTIME to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_GETTIME

---

Changes in v3: None
Changes in v2:
- Imply CMD_TIME on x86 to remove defconfig changes

 README                       | 1 -
 arch/Kconfig                 | 1 +
 cmd/Kconfig                  | 8 ++++++++
 include/config_cmd_all.h     | 1 -
 include/configs/x86-common.h | 1 -
 scripts/config_whitelist.txt | 1 -
 6 files changed, 9 insertions(+), 4 deletions(-)
README +0 -1
index ba9691a895..efb1512e17 100644
@@ -844,7 +844,6 @@ The following options need to be configured:
 		CONFIG_CMD_FAT		* FAT command support
 		CONFIG_CMD_FLASH	  flinfo, erase, protect
 		CONFIG_CMD_FPGA		  FPGA device initialization support
-		CONFIG_CMD_GETTIME	* Get time since boot
 		CONFIG_CMD_GO		* the 'go' command (exec code)
 		CONFIG_CMD_GREPENV	* search environment
 		CONFIG_CMD_HASH		* calculate hash / digest
arch/Kconfig +1 -0
index ce47078d6a..4f8409ca1b 100644
@@ -86,6 +86,7 @@ config X86
 	select DM_SPI_FLASH
 	select USB_EHCI_HCD
 	imply CMD_FPGA_LOADMK
+	imply CMD_GETTIME
 
 config XTENSA
 	bool "Xtensa architecture"
cmd/Kconfig +8 -0
index 495080fc01..7243f78d1e 100644
@@ -846,6 +846,14 @@ config CMD_TIME
 	help
 	  Run commands and summarize execution time.
 
+config CMD_GETTIME
+	bool "gettime - read elapsed time"
+	help
+	  Enable the 'gettime' command which reads the elapsed time since
+	  U-Boot started running. This shows the time in seconds and
+	  milliseconds. See also the 'bootstage' command which provides more
+	  flexibility for boot timing.
+
 # TODO: rename to CMD_SLEEP
 config CMD_MISC
 	bool "sleep"
include/config_cmd_all.h +0 -1
index 7e9983e150..2c633e6727 100644
@@ -13,7 +13,6 @@
  * Alphabetical list of all possible commands.
  */
 
-#define CONFIG_CMD_GETTIME	/* Get time since boot         */
 #define CONFIG_CMD_HASH		/* calculate hash / digest	*/
 #define CONFIG_CMD_IDE		/* IDE harddisk support		*/
 #define CONFIG_CMD_IMMAP	/* IMMR dump support		*/
include/configs/x86-common.h +0 -1
index 8284076b08..e9d5f3d053 100644
@@ -73,7 +73,6 @@
 #define CONFIG_CMD_IO
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_PCI
-#define CONFIG_CMD_GETTIME
 #define CONFIG_SCSI
 
 #define CONFIG_CMD_ZBOOT
scripts/config_whitelist.txt +0 -1
index ba8ac3ebcc..718a8ede2a 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_GETTIME
 CONFIG_CMD_GSC
 CONFIG_CMD_HASH
 CONFIG_CMD_HD44760
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#54 lore raw

PATCH v3 27/48 Convert CONFIG_CMD_GETTIME to Kconfig

Quoted 5 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_GETTIME

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/35ce3145/attachment.sig>
#55 lore raw

PATCH v3 28/48 Convert CONFIG_CMD_GSC to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_GSC

---

Changes in v3: None
Changes in v2: None

 board/gateworks/gw_ventana/Kconfig | 8 ++++++++
 configs/gwventana_emmc_defconfig   | 1 +
 configs/gwventana_gw5904_defconfig | 1 +
 configs/gwventana_nand_defconfig   | 1 +
 include/configs/gw_ventana.h       | 1 -
 include/configs/pcm058.h           | 1 -
 scripts/config_whitelist.txt       | 1 -
 7 files changed, 11 insertions(+), 3 deletions(-)
board/gateworks/gw_ventana/Kconfig +8 -0
index c5779846da..5d1bae41ac 100644
@@ -14,4 +14,12 @@ config CMD_EECONFIG
 	help
 	  Provides access to EEPROM configuration on Gateworks Ventana
 
+config CMD_GSC
+	bool "Enable the 'gsc' command"
+	help
+	  Provides access to the GSC configuration:
+
+	     gsc sleep - sleeps for a period of seconds
+	     gsc wd - enables / disables the watchdog
+
 endif
configs/gwventana_emmc_defconfig +1 -0
index 289134e854..12de448115 100644
@@ -5,6 +5,7 @@ CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_TARGET_GW_VENTANA=y
 CONFIG_CMD_EECONFIG=y
+CONFIG_CMD_GSC=y
 CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
configs/gwventana_gw5904_defconfig +1 -0
index 5e5f1f6d37..6d8cd6030c 100644
@@ -5,6 +5,7 @@ CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_TARGET_GW_VENTANA=y
 CONFIG_CMD_EECONFIG=y
+CONFIG_CMD_GSC=y
 CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
configs/gwventana_nand_defconfig +1 -0
index eedccfc999..62b9b575ca 100644
@@ -5,6 +5,7 @@ CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_TARGET_GW_VENTANA=y
 CONFIG_CMD_EECONFIG=y
+CONFIG_CMD_GSC=y
 CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_NAND_SUPPORT=y
include/configs/gw_ventana.h +0 -1
index 661d8c38c8..4dcff0347f 100644
@@ -142,7 +142,6 @@
 
 /* Various command support */
 #define CONFIG_CMD_HDMIDETECT    /* detect HDMI output device */
-#define CONFIG_CMD_GSC
 #define CONFIG_CMD_UNZIP         /* gzwrite */
 #define CONFIG_RBTREE
 
include/configs/pcm058.h +0 -1
index 041d84018f..44b4ffdf99 100644
@@ -87,7 +87,6 @@
 
 /* Various command support */
 #define CONFIG_CMD_HDMIDETECT    /* detect HDMI output device */
-#define CONFIG_CMD_GSC
 #define CONFIG_RBTREE
 
 /* Physical Memory Map */
scripts/config_whitelist.txt +0 -1
index 718a8ede2a..0a5cd1595f 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_GSC
 CONFIG_CMD_HASH
 CONFIG_CMD_HD44760
 CONFIG_CMD_HD44780
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#56 lore raw

PATCH v3 28/48 Convert CONFIG_CMD_GSC to Kconfig

Quoted 4 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_GSC

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/09a0f595/attachment.sig>
#57 lore raw

PATCH v3 29/48 Convert CONFIG_CMD_HASH to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_HASH

---

Changes in v3:
- Drop CMD_HASH for boards which don't define CHAIN_OF_TRUST
- Add 'imply CMD_HASH' for CHAIN_OF_TRUST

Changes in v2: None

 README                                 | 6 ------
 arch/Kconfig                           | 1 +
 arch/arm/Kconfig                       | 1 +
 arch/arm/include/asm/fsl_secure_boot.h | 1 -
 arch/arm/mach-exynos/Kconfig           | 1 +
 arch/powerpc/Kconfig                   | 1 +
 board/freescale/common/Kconfig         | 1 +
 cmd/Kconfig                            | 8 ++++++++
 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/P1010RDB.h             | 1 -
 include/configs/P2041RDB.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/T4240QDS.h             | 1 -
 include/configs/T4240RDB.h             | 1 -
 include/configs/bcm_ep_board.h         | 1 -
 include/configs/corenet_ds.h           | 1 -
 include/configs/exynos5-common.h       | 3 ---
 include/configs/ids8313.h              | 1 -
 include/configs/ls1021aiot.h           | 3 ---
 include/configs/ls1021aqds.h           | 1 -
 include/configs/ls1021atwr.h           | 1 -
 include/configs/ls1043a_common.h       | 1 -
 include/configs/ls1046a_common.h       | 1 -
 include/configs/ls2080a_common.h       | 1 -
 include/configs/sandbox.h              | 1 -
 scripts/config_whitelist.txt           | 1 -
 35 files changed, 13 insertions(+), 38 deletions(-)
README +0 -6
index efb1512e17..d53607ac1e 100644
@@ -846,7 +846,6 @@ The following options need to be configured:
 		CONFIG_CMD_FPGA		  FPGA device initialization support
 		CONFIG_CMD_GO		* the 'go' command (exec code)
 		CONFIG_CMD_GREPENV	* search environment
-		CONFIG_CMD_HASH		* calculate hash / digest
 		CONFIG_CMD_I2C		* I2C serial bus support
 		CONFIG_CMD_IDE		* IDE harddisk support
 		CONFIG_CMD_IMI		  iminfo
@@ -2710,11 +2709,6 @@ The following options need to be configured:
 		but sometimes that is not allowed.
 
 - Hashing support:
-		CONFIG_CMD_HASH
-
-		This enables a generic 'hash' command which can produce
-		hashes / digests from a few algorithms (e.g. SHA1, SHA256).
-
 		CONFIG_HASH_VERIFY
 
 		Enable the hash verify command (hash -v). This adds to code
arch/Kconfig +1 -0
index 4f8409ca1b..61c08fffa4 100644
@@ -68,6 +68,7 @@ config SANDBOX
 	select DM_SPI
 	select DM_GPIO
 	select DM_MMC
+	imply CMD_HASH
 
 config SH
 	bool "SuperH architecture"
arch/arm/Kconfig +1 -0
index 96dec83e22..7c54f99899 100644
@@ -502,6 +502,7 @@ config TARGET_BCM28155_AP
 config TARGET_BCMCYGNUS
 	bool "Support bcmcygnus"
 	select CPU_V7
+	imply CMD_HASH
 
 config TARGET_BCMNSP
 	bool "Support bcmnsp"
arch/arm/include/asm/fsl_secure_boot.h +0 -1
index 3212defcf0..0410f7f14e 100644
@@ -29,7 +29,6 @@
 #define CONFIG_KEY_REVOCATION
 
 #ifndef CONFIG_SPL_BUILD
-#define CONFIG_CMD_HASH
 #ifndef CONFIG_SYS_RAMBOOT
 /* The key used for verification of next level images
  * is picked up from an Extension Table which has
arch/arm/mach-exynos/Kconfig +1 -0
index 46981a5933..849f199fb9 100644
@@ -17,6 +17,7 @@ config ARCH_EXYNOS5
 	bool "Exynos5 SoC family"
 	select CPU_V7
 	select BOARD_EARLY_INIT_F
+	imply CMD_HASH
 	help
 	  Samsung Exynos5 SoC family are based on ARM Cortex-A15 CPU (and
 	  Cortex-A7 CPU in big.LITTLE configuration). There are multiple SoCs
arch/powerpc/Kconfig +1 -0
index 01e9008d0a..3d2c1319c9 100644
@@ -33,6 +33,7 @@ config MPC85xx
 	select SYS_FSL_DDR
 	select SYS_FSL_DDR_BE
 	imply USB_EHCI_HCD if USB
+	imply CMD_HASH
 
 config MPC86xx
 	bool "MPC86xx"
board/freescale/common/Kconfig +1 -0
index cac06ee316..03449d76ea 100644
@@ -1,6 +1,7 @@
 config CHAIN_OF_TRUST
 	depends on !FIT_SIGNATURE && SECURE_BOOT
 	imply CMD_BLOB
+	imply CMD_HASH
 	select FSL_CAAM
 	bool
 	default y
cmd/Kconfig +8 -0
index 7243f78d1e..b05e69a8b7 100644
@@ -996,6 +996,14 @@ config CMD_BLOB
 	  generation/use as key for cryptographic operation. Key
 	  modifier should be 16 byte long.
 
+config CMD_HASH
+	bool "Support 'hash' command"
+	help
+	  This provides a way to hash data in memory using various supported
+	  algorithms (such as SHA1, MD5, CRC32). The computed digest can be
+	  saved to memory or to an environment variable. It is also possible
+	  to verify a hash against data in memory.
+
 config CMD_TPM
 	bool "Enable the 'tpm' command"
 	depends on TPM
include/config_cmd_all.h +0 -1
index 2c633e6727..3c238d929f 100644
@@ -13,7 +13,6 @@
  * Alphabetical list of all possible commands.
  */
 
-#define CONFIG_CMD_HASH		/* calculate hash / digest	*/
 #define CONFIG_CMD_IDE		/* IDE harddisk support		*/
 #define CONFIG_CMD_IMMAP	/* IMMR dump support		*/
 #define CONFIG_CMD_IO		/* Access to X86 IO space	*/
include/configs/B4860QDS.h +0 -1
index 3ed66fa455..377b8998a4 100644
@@ -711,7 +711,6 @@ unsigned long get_board_ddr_clk(void);
 
 /* Hash command with SHA acceleration supported in hardware */
 #ifdef CONFIG_FSL_CAAM
-#define CONFIG_CMD_HASH
 #define CONFIG_SHA_HW_ACCEL
 #endif
 
include/configs/BSC9131RDB.h +0 -1
index 64875f3116..65d8f126b2 100644
@@ -328,7 +328,6 @@ extern unsigned long get_sdram_size(void);
 
 /* Hash command with SHA acceleration supported in hardware */
 #ifdef CONFIG_FSL_CAAM
-#define CONFIG_CMD_HASH
 #define CONFIG_SHA_HW_ACCEL
 #endif
 
include/configs/BSC9132QDS.h +0 -1
index 506fb79b35..59da85d0c9 100644
@@ -525,7 +525,6 @@ combinations. this should be removed later
 
 /* Hash command with SHA acceleration supported in hardware */
 #ifdef CONFIG_FSL_CAAM
-#define CONFIG_CMD_HASH
 #define CONFIG_SHA_HW_ACCEL
 #endif
 
include/configs/C29XPCIE.h +0 -1
index c6afb9a208..eaa42545fc 100644
@@ -441,7 +441,6 @@
 
 /* Hash command with SHA acceleration supported in hardware */
 #ifdef CONFIG_FSL_CAAM
-#define CONFIG_CMD_HASH
 #define CONFIG_SHA_HW_ACCEL
 #endif
 
include/configs/P1010RDB.h +0 -1
index 9850fb80a0..9c12c5d21a 100644
@@ -735,7 +735,6 @@ extern unsigned long get_sdram_size(void);
 
 /* Hash command with SHA acceleration supported in hardware */
 #ifdef CONFIG_FSL_CAAM
-#define CONFIG_CMD_HASH
 #define CONFIG_SHA_HW_ACCEL
 #endif
 
include/configs/P2041RDB.h +0 -1
index bcc9cc8f9c..92dcd2c418 100644
@@ -605,7 +605,6 @@ unsigned long get_board_sys_clk(unsigned long dummy);
 
 /* Hash command with SHA acceleration supported in hardware */
 #ifdef CONFIG_FSL_CAAM
-#define CONFIG_CMD_HASH
 #define CONFIG_SHA_HW_ACCEL
 #endif
 
include/configs/T102xQDS.h +0 -1
index 427b6f23ae..d97ec0ef95 100644
@@ -865,7 +865,6 @@ unsigned long get_board_ddr_clk(void);
 
 /* Hash command with SHA acceleration supported in hardware */
 #ifdef CONFIG_FSL_CAAM
-#define CONFIG_CMD_HASH
 #define CONFIG_SHA_HW_ACCEL
 #endif
 
include/configs/T102xRDB.h +0 -1
index 7af377a8d9..99537d58e6 100644
@@ -884,7 +884,6 @@ unsigned long get_board_ddr_clk(void);
 
 /* Hash command with SHA acceleration supported in hardware */
 #ifdef CONFIG_FSL_CAAM
-#define CONFIG_CMD_HASH
 #define CONFIG_SHA_HW_ACCEL
 #endif
 
include/configs/T1040QDS.h +0 -1
index 5ce06ce5d7..977b7b6d63 100644
@@ -667,7 +667,6 @@ unsigned long get_board_ddr_clk(void);
 
 /* Hash command with SHA acceleration supported in hardware */
 #ifdef CONFIG_FSL_CAAM
-#define CONFIG_CMD_HASH
 #define CONFIG_SHA_HW_ACCEL
 #endif
 
include/configs/T104xRDB.h +0 -1
index 1b17525197..fa691b5883 100644
@@ -780,7 +780,6 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg
 
 /* Hash command with SHA acceleration supported in hardware */
 #ifdef CONFIG_FSL_CAAM
-#define CONFIG_CMD_HASH
 #define CONFIG_SHA_HW_ACCEL
 #endif
 
include/configs/T208xQDS.h +0 -1
index bd6c47cca5..1ca13b595d 100644
@@ -753,7 +753,6 @@ unsigned long get_board_ddr_clk(void);
 
 /* Hash command with SHA acceleration supported in hardware */
 #ifdef CONFIG_FSL_CAAM
-#define CONFIG_CMD_HASH
 #define CONFIG_SHA_HW_ACCEL
 #endif
 
include/configs/T208xRDB.h +0 -1
index fa1c9a74fc..47eb3a7fac 100644
@@ -698,7 +698,6 @@ unsigned long get_board_ddr_clk(void);
 
 /* Hash command with SHA acceleration supported in hardware */
 #ifdef CONFIG_FSL_CAAM
-#define CONFIG_CMD_HASH
 #define CONFIG_SHA_HW_ACCEL
 #endif
 
include/configs/T4240QDS.h +0 -1
index 5d030d1179..de987d52e7 100644
@@ -500,7 +500,6 @@ unsigned long get_board_ddr_clk(void);
 
 /* Hash command with SHA acceleration supported in hardware */
 #ifdef CONFIG_FSL_CAAM
-#define CONFIG_CMD_HASH
 #define CONFIG_SHA_HW_ACCEL
 #endif
 
include/configs/T4240RDB.h +0 -1
index f1144b2039..e2f1863bdc 100644
@@ -697,7 +697,6 @@ unsigned long get_board_ddr_clk(void);
 
 /* Hash command with SHA acceleration supported in hardware */
 #ifdef CONFIG_FSL_CAAM
-#define CONFIG_CMD_HASH
 #define CONFIG_SHA_HW_ACCEL
 #endif
 
include/configs/bcm_ep_board.h +0 -1
index d9b88fa2d3..14a7638aef 100644
@@ -67,7 +67,6 @@
 #define CONFIG_FAT_WRITE
 
 /* SHA hashing */
-#define CONFIG_CMD_HASH
 #define CONFIG_HASH_VERIFY
 #define CONFIG_SHA1
 #define CONFIG_SHA256
include/configs/corenet_ds.h +0 -1
index af1573de92..64ae67e592 100644
@@ -619,7 +619,6 @@
 
 /* Hash command with SHA acceleration supported in hardware */
 #ifdef CONFIG_FSL_CAAM
-#define CONFIG_CMD_HASH
 #define CONFIG_SHA_HW_ACCEL
 #endif
 
include/configs/exynos5-common.h +0 -3
index 91976a75bc..ed9d713eef 100644
@@ -42,8 +42,6 @@
 /* select serial console configuration */
 #define EXYNOS5_DEFAULT_UART_OFFSET	0x010000
 
-#define CONFIG_CMD_HASH
-
 /* Thermal Management Unit */
 #define CONFIG_EXYNOS_TMU
 
@@ -135,7 +133,6 @@
 #endif /*CONFIG_CMD_NET*/
 
 /* SHA hashing */
-#define CONFIG_CMD_HASH
 #define CONFIG_HASH_VERIFY
 #define CONFIG_SHA1
 #define CONFIG_SHA256
include/configs/ids8313.h +0 -1
index be96834c76..5e85cc6d4c 100644
@@ -540,7 +540,6 @@
 #define CONFIG_SYS_BOOTCOUNT_ADDR	0x9
 
 #define CONFIG_IMAGE_FORMAT_LEGACY
-#define CONFIG_CMD_HASH
 #define CONFIG_SHA1
 #define CONFIG_SHA256
 
include/configs/ls1021aiot.h +0 -3
index 35d17b96f4..48186f525b 100644
@@ -308,9 +308,6 @@
 /* Hash command with SHA acceleration supported in hardware */
 
 #ifdef CONFIG_FSL_CAAM
-
-#define CONFIG_CMD_HASH
-
 #define CONFIG_SHA_HW_ACCEL
 
 #endif
include/configs/ls1021aqds.h +0 -1
index 333bb26623..3fc7d30d0b 100644
@@ -572,7 +572,6 @@ unsigned long get_board_ddr_clk(void);
 
 /* Hash command with SHA acceleration supported in hardware */
 #ifdef CONFIG_FSL_CAAM
-#define CONFIG_CMD_HASH
 #define CONFIG_SHA_HW_ACCEL
 #endif
 
include/configs/ls1021atwr.h +0 -1
index 81f38a30a4..099aaaceda 100644
@@ -436,7 +436,6 @@
 
 /* Hash command with SHA acceleration supported in hardware */
 #ifdef CONFIG_FSL_CAAM
-#define CONFIG_CMD_HASH
 #define CONFIG_SHA_HW_ACCEL
 #endif
 
include/configs/ls1043a_common.h +0 -1
index 78c34eba3e..3cd8554ae9 100644
@@ -300,7 +300,6 @@
 
 /* Hash command with SHA acceleration supported in hardware */
 #ifdef CONFIG_FSL_CAAM
-#define CONFIG_CMD_HASH
 #define CONFIG_SHA_HW_ACCEL
 #endif
 
include/configs/ls1046a_common.h +0 -1
index c380fedf27..d1df75ab78 100644
@@ -229,7 +229,6 @@
 
 /* Hash command with SHA acceleration supported in hardware */
 #ifdef CONFIG_FSL_CAAM
-#define CONFIG_CMD_HASH
 #define CONFIG_SHA_HW_ACCEL
 #endif
 
include/configs/ls2080a_common.h +0 -1
index 53686e3412..b5c3495dfb 100644
@@ -231,7 +231,6 @@ unsigned long long get_qixis_addr(void);
 
 /* Hash command with SHA acceleration supported in hardware */
 #ifdef CONFIG_FSL_CAAM
-#define CONFIG_CMD_HASH
 #define CONFIG_SHA_HW_ACCEL
 #endif
 
include/configs/sandbox.h +0 -1
index da547c5bb2..cd7a82630e 100644
@@ -102,7 +102,6 @@
 
 /* Can't boot elf images */
 
-#define CONFIG_CMD_HASH
 #define CONFIG_HASH_VERIFY
 #define CONFIG_SHA1
 #define CONFIG_SHA256
scripts/config_whitelist.txt +0 -1
index 0a5cd1595f..f2400f8764 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_HASH
 CONFIG_CMD_HD44760
 CONFIG_CMD_HD44780
 CONFIG_CMD_HDMIDETECT
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#58 lore raw

PATCH v3 29/48 Convert CONFIG_CMD_HASH to Kconfig

Quoted 4 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_HASH

Signature · 8 lines
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/20170517/82066f5d/attachment.sig>
#59 lore raw

PATCH v3 29/48 Convert CONFIG_CMD_HASH to Kconfig

In reply to Simon Glass
Quoted 5 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_HASH

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/63f03933/attachment.sig>
#60 lore raw

PATCH v3 30/48 Kconfig: Add CONFIG_HASH to enable hashing API

In reply to Simon Glass

At present CONFIG_CMD_HASH enables the 'hash' command which also brings in the hashing API. Some boards may wish to enable the API without the command. Add a separate CONFIG to permit this.

---

Changes in v3: None
Changes in v2: None

 cmd/Kconfig     |  2 ++
 common/Kconfig  | 12 ++++++++++++
 common/Makefile |  2 +-
 common/hash.c   |  4 ++--
 4 files changed, 17 insertions(+), 3 deletions(-)
cmd/Kconfig +2 -0
index b05e69a8b7..1e3cd02703 100644
@@ -350,6 +350,7 @@ config CMD_MEMORY
 
 config CMD_CRC32
 	bool "crc32"
+	select HASH
 	default y
 	help
 	  Compute CRC32.
@@ -998,6 +999,7 @@ config CMD_BLOB
 
 config CMD_HASH
 	bool "Support 'hash' command"
+	select HASH
 	help
 	  This provides a way to hash data in memory using various supported
 	  algorithms (such as SHA1, MD5, CRC32). The computed digest can be
common/Kconfig +12 -0
index 1879aefaf8..23bcf99a2c 100644
@@ -493,4 +493,16 @@ config BOARD_EARLY_INIT_F
 
 endmenu
 
+menu "Security support"
+
+config HASH
+	bool "Support hashing API (SHA1, SHA256, etc.)"
+	help
+	  This provides a way to hash data in memory using various supported
+	  algorithms (such as SHA1, MD5, CRC32). The API is defined in hash.h
+	  and the algorithms it supports are defined in common/hash.c. See
+	  also CMD_HASH for command-line access.
+
+endmenu
+
 source "common/spl/Kconfig"
common/Makefile +1 -1
index 14d01844ad..b2d663530d 100644
@@ -10,7 +10,7 @@ ifndef CONFIG_SPL_BUILD
 obj-y += init/
 obj-y += main.o
 obj-y += exports.o
-obj-y += hash.o
+obj-$(CONFIG_HASH) += hash.o
 obj-$(CONFIG_HUSH_PARSER) += cli_hush.o
 obj-$(CONFIG_AUTOBOOT) += autoboot.o
 
common/hash.c +2 -2
index b645298afc..a0eded98d0 100644
@@ -473,5 +473,5 @@ int hash_command(const char *algo_name, int flags, cmd_tbl_t *cmdtp, int flag,
 
 	return 0;
 }
-#endif
-#endif
+#endif /* CONFIG_CMD_HASH || CONFIG_CMD_SHA1SUM || CONFIG_CMD_CRC32) */
+#endif /* !USE_HOSTCC */
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#61 lore raw

PATCH v3 30/48 Kconfig: Add CONFIG_HASH to enable hashing API

Quoted 43 lines · Simon Glass

At present CONFIG_CMD_HASH enables the 'hash' command which also brings in the hashing API. Some boards may wish to enable the API without the command. Add a separate CONFIG to permit this.

---

Changes in v3: None
Changes in v2: None

 cmd/Kconfig     |  2 ++
 common/Kconfig  | 12 ++++++++++++
 common/Makefile |  2 +-
 common/hash.c   |  4 ++--
 4 files changed, 17 insertions(+), 3 deletions(-)
cmd/Kconfig +2 -0
index b05e69a8b7..1e3cd02703 100644
@@ -350,6 +350,7 @@ config CMD_MEMORY
 
 config CMD_CRC32
 	bool "crc32"
+	select HASH
 	default y
 	help
 	  Compute CRC32.
@@ -998,6 +999,7 @@ config CMD_BLOB
 
 config CMD_HASH
 	bool "Support 'hash' command"
+	select HASH
 	help
 	  This provides a way to hash data in memory using various supported
 	  algorithms (such as SHA1, MD5, CRC32). The computed digest can be
common/Kconfig +0 -0
index 1879aefaf8..23bcf99a2c 100644
@@ -493,4 +493,16 @@ config BOARD_EARLY_INIT_F
 
 endmenu

common/Kconfig config BOARD_EARLY_INIT_F · line 504

Quoted 10 lines
common/Kconfig +9 -0
 
+menu "Security support"
+
+config HASH
+	bool "Support hashing API (SHA1, SHA256, etc.)"
+	help
+	  This provides a way to hash data in memory using various supported
+	  algorithms (such as SHA1, MD5, CRC32). The API is defined in hash.h
+	  and the algorithms it supports are defined in common/hash.c. See
+	  also CMD_HASH for command-line access.

No need to resend the whole series. But I think we should make this a hidden (but with the help!) option. It's framework, so if you say y here and then don't use it anywhere (in say a command or another framework) it will just get discarded at link time.

Signature · 8 lines
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/20170517/2163d944/attachment.sig>
#62 lore raw

PATCH v3 30/48 Kconfig: Add CONFIG_HASH to enable hashing API

Hi Tom,

Quoted 46 lines · Tom Rini
Quoted 44 lines · Simon Glass

At present CONFIG_CMD_HASH enables the 'hash' command which also brings in the hashing API. Some boards may wish to enable the API without the command. Add a separate CONFIG to permit this.

---

Changes in v3: None
Changes in v2: None

 cmd/Kconfig     |  2 ++
 common/Kconfig  | 12 ++++++++++++
 common/Makefile |  2 +-
 common/hash.c   |  4 ++--
 4 files changed, 17 insertions(+), 3 deletions(-)
cmd/Kconfig +2 -0
index b05e69a8b7..1e3cd02703 100644
@@ -350,6 +350,7 @@ config CMD_MEMORY
 
 config CMD_CRC32
      bool "crc32"
+     select HASH
      default y
      help
        Compute CRC32.
@@ -998,6 +999,7 @@ config CMD_BLOB
 
 config CMD_HASH
      bool "Support 'hash' command"
+     select HASH
      help
        This provides a way to hash data in memory using various supported
        algorithms (such as SHA1, MD5, CRC32). The computed digest can be
common/Kconfig +0 -0
index 1879aefaf8..23bcf99a2c 100644
@@ -493,4 +493,16 @@ config BOARD_EARLY_INIT_F
 
 endmenu
 
Quoted 14 lines

common/Kconfig config BOARD_EARLY_INIT_F · line 504

Quoted 9 lines
common/Kconfig +9 -0
+menu "Security support"
+
+config HASH
+     bool "Support hashing API (SHA1, SHA256, etc.)"
+     help
+       This provides a way to hash data in memory using various supported
+       algorithms (such as SHA1, MD5, CRC32). The API is defined in hash.h
+       and the algorithms it supports are defined in common/hash.c. See
+       also CMD_HASH for command-line access.

No need to resend the whole series. But I think we should make this a hidden (but with the help!) option. It's framework, so if you say y here and then don't use it anywhere (in say a command or another framework) it will just get discarded at link time.

OK I just resent that one patch/

Regards,
Simon

#63 lore raw

PATCH v3 31/48 Convert CONFIG_CMD_HD44760 to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_HD44760

Also drop CONFIG_CMD_HD44780 which appears to be a typo.

---

Changes in v3: None
Changes in v2: None

 board/work-microwave/work_92105/Kconfig              | 5 +++++
 board/work-microwave/work_92105/work_92105_display.c | 2 +-
 configs/work_92105_defconfig                         | 1 +
 include/configs/work_92105.h                         | 1 -
 scripts/config_whitelist.txt                         | 1 -
 5 files changed, 7 insertions(+), 3 deletions(-)
board/work-microwave/work_92105/Kconfig +5 -0
index 74f004f53c..1fde4b29aa 100644
@@ -12,4 +12,9 @@ config SYS_SOC
 config SYS_CONFIG_NAME
 	default "work_92105"
 
+config CMD_HD44760
+	bool "Enable 'hd44780' LCD-control comand"
+	help
+	  This controls the LCD driver.
+
 endif
board/work-microwave/work_92105/work_92105_display.c +1 -1
index 3d7438e527..37a736351c 100644
@@ -346,4 +346,4 @@ U_BOOT_CMD(
 	"HD44780 LCD driver control",
 	hd44780_help_text
 );
-#endif /* CONFIG_CMD_HD44780 */
+#endif /* CONFIG_CMD_HD44760 */
configs/work_92105_defconfig +1 -0
index edfe107e72..03d62dc3d5 100644
@@ -4,6 +4,7 @@ CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_NAND_SUPPORT=y
+CONFIG_CMD_HD44760=y
 CONFIG_BOOTDELAY=3
 CONFIG_VERSION_VARIABLE=y
 # CONFIG_DISPLAY_BOARDINFO is not set
include/configs/work_92105.h +0 -1
index f99f305524..89261065e2 100644
@@ -134,7 +134,6 @@
 #define CONFIG_LPC32XX_SSP
 #define CONFIG_LPC32XX_SSP_TIMEOUT 100000
 #define CONFIG_CMD_MAX6957
-#define CONFIG_CMD_HD44760
 /*
  * Environment
  */
scripts/config_whitelist.txt +0 -1
index f2400f8764..157487cfa6 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_HD44760
 CONFIG_CMD_HD44780
 CONFIG_CMD_HDMIDETECT
 CONFIG_CMD_IDE
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#64 lore raw

PATCH v3 31/48 Convert CONFIG_CMD_HD44760 to Kconfig

Quoted 6 lines · Simon Glass

This converts the following to Kconfig:

   CONFIG_CMD_HD44760

Also drop CONFIG_CMD_HD44780 which appears to be a typo.

Applied to u-boot/master, thanks!

Signature · 8 lines
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/20170522/05e3cdbe/attachment.sig>