Skip to contentSkip to conversation

Kconfig: Convert commands (D to L) to Kconfig

PATCH Superseded Simon Glass 5 participants 85 messages May 15, 2017 – May 17, 2017 Page 1 of 3

Subsystems (23)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

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.

Simon Glass (47):
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 Convert CONFIG_CMD_ENV to Kconfig
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

 README                                             |  78 +------
 api/api_storage.c                                  |   2 +-
 arch/Kconfig                                       |   8 +
 arch/arm/Kconfig                                   |   2 +
 arch/arm/cpu/armv7/ls102xa/Kconfig                 |   1 +
 arch/arm/cpu/armv7/mx6/Kconfig                     |   1 +
 arch/arm/cpu/armv7/mx7/Kconfig                     |   2 +
 arch/arm/cpu/armv8/fsl-layerscape/Kconfig          |   4 +
 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                   |  50 +++++
 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                     |   8 +
 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                                        | 224 +++++++++++++++++++++
 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/B4420QDS_NAND_defconfig                    |   1 +
 configs/B4420QDS_SPIFLASH_defconfig                |   1 +
 configs/B4420QDS_defconfig                         |   1 +
 configs/B4860QDS_NAND_defconfig                    |   1 +
 configs/B4860QDS_SECURE_BOOT_defconfig             |   2 +
 configs/B4860QDS_SPIFLASH_defconfig                |   1 +
 configs/B4860QDS_SRIO_PCIE_BOOT_defconfig          |   1 +
 configs/B4860QDS_defconfig                         |   1 +
 configs/BSC9131RDB_NAND_SYSCLK100_defconfig        |   1 +
 configs/BSC9131RDB_NAND_defconfig                  |   1 +
 configs/BSC9131RDB_SPIFLASH_SYSCLK100_defconfig    |   1 +
 configs/BSC9131RDB_SPIFLASH_defconfig              |   1 +
 configs/BSC9132QDS_NAND_DDRCLK100_SECURE_defconfig |   1 +
 configs/BSC9132QDS_NAND_DDRCLK133_SECURE_defconfig |   1 +
 configs/BSC9132QDS_NOR_DDRCLK100_SECURE_defconfig  |   1 +
 configs/BSC9132QDS_NOR_DDRCLK133_SECURE_defconfig  |   1 +
 .../BSC9132QDS_SDCARD_DDRCLK100_SECURE_defconfig   |   1 +
 .../BSC9132QDS_SDCARD_DDRCLK133_SECURE_defconfig   |   1 +
 .../BSC9132QDS_SPIFLASH_DDRCLK100_SECURE_defconfig |   1 +
 .../BSC9132QDS_SPIFLASH_DDRCLK133_SECURE_defconfig |   1 +
 configs/C29XPCIE_NAND_defconfig                    |   2 +
 configs/C29XPCIE_NOR_SECBOOT_defconfig             |   3 +
 configs/C29XPCIE_SPIFLASH_SECBOOT_defconfig        |   3 +
 configs/C29XPCIE_SPIFLASH_defconfig                |   2 +
 configs/C29XPCIE_defconfig                         |   2 +
 configs/CPCI2DP_defconfig                          |   2 +
 configs/CPCI4052_defconfig                         |   3 +
 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                          |   4 +
 configs/MIP405_defconfig                           |   4 +
 configs/MPC8323ERDB_defconfig                      |   1 +
 configs/MPC8349ITXGP_defconfig                     |   1 +
 configs/MPC8349ITX_LOWBOOT_defconfig               |   2 +
 configs/MPC8349ITX_defconfig                       |   2 +
 configs/MPC8536DS_36BIT_defconfig                  |   1 +
 configs/MPC8536DS_SDCARD_defconfig                 |   1 +
 configs/MPC8536DS_SPIFLASH_defconfig               |   1 +
 configs/MPC8536DS_defconfig                        |   1 +
 configs/MPC8540ADS_defconfig                       |   1 +
 configs/MPC8541CDS_defconfig                       |   1 +
 configs/MPC8541CDS_legacy_defconfig                |   1 +
 configs/MPC8544DS_defconfig                        |   1 +
 configs/MPC8548CDS_36BIT_defconfig                 |   1 +
 configs/MPC8548CDS_defconfig                       |   1 +
 configs/MPC8548CDS_legacy_defconfig                |   1 +
 configs/MPC8555CDS_defconfig                       |   1 +
 configs/MPC8555CDS_legacy_defconfig                |   1 +
 configs/MPC8560ADS_defconfig                       |   1 +
 configs/MPC8568MDS_defconfig                       |   1 +
 configs/MPC8569MDS_ATM_defconfig                   |   1 +
 configs/MPC8569MDS_defconfig                       |   1 +
 configs/MPC8572DS_36BIT_defconfig                  |   1 +
 configs/MPC8572DS_defconfig                        |   1 +
 configs/MiniFAP_defconfig                          |   3 +
 configs/O2D300_defconfig                           |   1 +
 configs/O2DNT2_RAMBOOT_defconfig                   |   1 +
 configs/O2DNT2_defconfig                           |   1 +
 configs/O2D_defconfig                              |   1 +
 configs/O2I_defconfig                              |   1 +
 configs/O2MNT_O2M110_defconfig                     |   1 +
 configs/O2MNT_O2M112_defconfig                     |   1 +
 configs/O2MNT_O2M113_defconfig                     |   1 +
 configs/O2MNT_defconfig                            |   1 +
 configs/O3DNT_defconfig                            |   1 +
 configs/P1010RDB-PA_36BIT_NAND_SECBOOT_defconfig   |   1 +
 configs/P1010RDB-PA_36BIT_NOR_SECBOOT_defconfig    |   1 +
 .../P1010RDB-PA_36BIT_SPIFLASH_SECBOOT_defconfig   |   1 +
 configs/P1010RDB-PA_NAND_SECBOOT_defconfig         |   1 +
 configs/P1010RDB-PA_NOR_SECBOOT_defconfig          |   1 +
 configs/P1010RDB-PA_SPIFLASH_SECBOOT_defconfig     |   1 +
 configs/P1010RDB-PB_36BIT_NAND_SECBOOT_defconfig   |   1 +
 configs/P1010RDB-PB_36BIT_NOR_SECBOOT_defconfig    |   1 +
 .../P1010RDB-PB_36BIT_SPIFLASH_SECBOOT_defconfig   |   1 +
 configs/P1010RDB-PB_NAND_SECBOOT_defconfig         |   1 +
 configs/P1010RDB-PB_NOR_SECBOOT_defconfig          |   1 +
 configs/P1010RDB-PB_SPIFLASH_SECBOOT_defconfig     |   1 +
 configs/P1022DS_36BIT_NAND_defconfig               |   1 +
 configs/P1022DS_36BIT_SDCARD_defconfig             |   1 +
 configs/P1022DS_36BIT_SPIFLASH_defconfig           |   1 +
 configs/P1022DS_36BIT_defconfig                    |   1 +
 configs/P1022DS_NAND_defconfig                     |   1 +
 configs/P1022DS_SDCARD_defconfig                   |   1 +
 configs/P1022DS_SPIFLASH_defconfig                 |   1 +
 configs/P1022DS_defconfig                          |   1 +
 configs/P1023RDB_defconfig                         |   1 +
 configs/P2020RDB-PC_36BIT_NAND_defconfig           |   1 +
 configs/P2020RDB-PC_36BIT_SDCARD_defconfig         |   1 +
 configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig       |   1 +
 configs/P2020RDB-PC_36BIT_defconfig                |   1 +
 configs/P2020RDB-PC_NAND_defconfig                 |   1 +
 configs/P2020RDB-PC_SDCARD_defconfig               |   1 +
 configs/P2020RDB-PC_SPIFLASH_defconfig             |   1 +
 configs/P2020RDB-PC_defconfig                      |   1 +
 configs/P2041RDB_NAND_defconfig                    |   1 +
 configs/P2041RDB_SDCARD_defconfig                  |   1 +
 configs/P2041RDB_SECURE_BOOT_defconfig             |   2 +
 configs/P2041RDB_SPIFLASH_defconfig                |   1 +
 configs/P2041RDB_SRIO_PCIE_BOOT_defconfig          |   1 +
 configs/P2041RDB_defconfig                         |   1 +
 configs/P3041DS_NAND_SECURE_BOOT_defconfig         |   1 +
 configs/P3041DS_SECURE_BOOT_defconfig              |   1 +
 configs/P4080DS_SECURE_BOOT_defconfig              |   1 +
 configs/P5020DS_NAND_SECURE_BOOT_defconfig         |   1 +
 configs/P5020DS_SECURE_BOOT_defconfig              |   1 +
 configs/P5040DS_NAND_SECURE_BOOT_defconfig         |   1 +
 configs/P5040DS_SECURE_BOOT_defconfig              |   1 +
 configs/PATI_defconfig                             |   2 +
 configs/PIP405_defconfig                           |   4 +
 configs/PLU405_defconfig                           |   3 +
 configs/PMC405DE_defconfig                         |   2 +
 configs/PMC440_defconfig                           |   1 +
 configs/Sinovoip_BPI_M2_Plus_defconfig             |   1 -
 configs/T1023RDB_SECURE_BOOT_defconfig             |   1 +
 configs/T1024QDS_DDR4_SECURE_BOOT_defconfig        |   1 +
 configs/T1024QDS_SECURE_BOOT_defconfig             |   1 +
 configs/T1024RDB_SECURE_BOOT_defconfig             |   1 +
 configs/T1040D4RDB_NAND_defconfig                  |   1 +
 configs/T1040D4RDB_SDCARD_defconfig                |   1 +
 configs/T1040D4RDB_SECURE_BOOT_defconfig           |   2 +
 configs/T1040D4RDB_SPIFLASH_defconfig              |   1 +
 configs/T1040D4RDB_defconfig                       |   1 +
 configs/T1040QDS_DDR4_defconfig                    |   1 +
 configs/T1040QDS_SECURE_BOOT_defconfig             |   2 +
 configs/T1040QDS_defconfig                         |   1 +
 configs/T1040RDB_NAND_defconfig                    |   1 +
 configs/T1040RDB_SDCARD_defconfig                  |   1 +
 configs/T1040RDB_SECURE_BOOT_defconfig             |   2 +
 configs/T1040RDB_SPIFLASH_defconfig                |   1 +
 configs/T1040RDB_defconfig                         |   1 +
 configs/T1042D4RDB_SECURE_BOOT_defconfig           |   1 +
 configs/T1042RDB_PI_NAND_SECURE_BOOT_defconfig     |   1 +
 configs/T1042RDB_SECURE_BOOT_defconfig             |   1 +
 configs/T2080QDS_NAND_defconfig                    |   1 +
 configs/T2080QDS_SDCARD_defconfig                  |   1 +
 configs/T2080QDS_SECURE_BOOT_defconfig             |   2 +
 configs/T2080QDS_SPIFLASH_defconfig                |   1 +
 configs/T2080QDS_SRIO_PCIE_BOOT_defconfig          |   1 +
 configs/T2080QDS_defconfig                         |   1 +
 configs/T2080RDB_SECURE_BOOT_defconfig             |   1 +
 configs/T4160QDS_SECURE_BOOT_defconfig             |   1 +
 configs/T4240QDS_SECURE_BOOT_defconfig             |   1 +
 configs/TQM5200S_HIGHBOOT_defconfig                |   3 +
 configs/TQM5200S_defconfig                         |   3 +
 configs/TQM5200_B_HIGHBOOT_defconfig               |   3 +
 configs/TQM5200_B_defconfig                        |   3 +
 configs/TQM5200_STK100_defconfig                   |   3 +
 configs/TQM5200_defconfig                          |   3 +
 configs/TQM823L_LCD_defconfig                      |   2 +
 configs/TQM823L_defconfig                          |   2 +
 configs/TQM823M_defconfig                          |   2 +
 configs/TQM834x_defconfig                          |   2 +
 configs/TQM850L_defconfig                          |   2 +
 configs/TQM850M_defconfig                          |   2 +
 configs/TQM855L_defconfig                          |   2 +
 configs/TQM855M_defconfig                          |   3 +
 configs/TQM860L_defconfig                          |   2 +
 configs/TQM860M_defconfig                          |   2 +
 configs/TQM862L_defconfig                          |   2 +
 configs/TQM862M_defconfig                          |   2 +
 configs/TQM866M_defconfig                          |   3 +
 configs/TQM885D_defconfig                          |   2 +
 configs/TTTech_defconfig                           |   2 +
 configs/TWR-P1025_defconfig                        |   1 +
 configs/VOM405_defconfig                           |   2 +
 configs/a4m072_defconfig                           |   2 +
 configs/ac14xx_defconfig                           |   2 +
 configs/acadia_defconfig                           |   2 +
 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                           |   2 +
 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                           |   2 +
 configs/bayleybay_defconfig                        |   1 +
 configs/bcm958622hr_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                          |   2 +
 configs/cam5200_defconfig                          |   2 +
 configs/cam5200_niosflash_defconfig                |   2 +
 configs/canmb_defconfig                            |   1 +
 configs/canyonlands_defconfig                      |   2 +
 configs/charon_defconfig                           |   3 +
 configs/chiliboard_defconfig                       |   4 +-
 configs/chromebook_link64_defconfig                |   1 +
 configs/chromebook_link_defconfig                  |   1 +
 configs/chromebook_minnie_defconfig                |   2 +-
 configs/chromebook_samus_defconfig                 |   1 +
 configs/chromebox_panther_defconfig                |   1 +
 configs/cl-som-am57x_defconfig                     |   2 +
 configs/cm5200_defconfig                           |   1 +
 configs/cm_fx6_defconfig                           |   4 +-
 configs/cm_t335_defconfig                          |   4 +-
 configs/cm_t3517_defconfig                         |   2 +
 configs/cm_t35_defconfig                           |   2 +
 configs/cm_t43_defconfig                           |   4 +-
 configs/cm_t54_defconfig                           |   2 +
 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 +++---
 ...conga-qeval20-qa3-e3845-internal-uart_defconfig |   1 +
 configs/conga-qeval20-qa3-e3845_defconfig          |   1 +
 .../controlcenterd_36BIT_SDCARD_DEVELOP_defconfig  |   2 +
 configs/controlcenterd_36BIT_SDCARD_defconfig      |   2 +
 .../controlcenterd_TRAILBLAZER_DEVELOP_defconfig   |   2 +
 configs/controlcenterd_TRAILBLAZER_defconfig       |   2 +
 configs/coreboot-x86_defconfig                     |   2 +
 configs/cougarcanyon2_defconfig                    |   1 +
 configs/crownbay_defconfig                         |   1 +
 configs/d2net_v2_defconfig                         |   2 +
 configs/dbau1000_defconfig                         |   1 +
 configs/dbau1100_defconfig                         |   1 +
 configs/dbau1500_defconfig                         |   1 +
 configs/devconcenter_defconfig                     |   2 +
 configs/devkit3250_defconfig                       |   1 +
 configs/devkit8000_defconfig                       |   1 +
 configs/dfi-bt700-q7x-151_defconfig                |   1 +
 configs/digsy_mtc_RAMBOOT_defconfig                |   3 +
 configs/digsy_mtc_defconfig                        |   3 +
 configs/digsy_mtc_rev5_RAMBOOT_defconfig           |   3 +
 configs/digsy_mtc_rev5_defconfig                   |   3 +
 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/efi-x86_defconfig                          |   1 +
 configs/ethernut5_defconfig                        |   1 +
 configs/evb-ast2500_defconfig                      |  12 +-
 configs/evb-rk3399_defconfig                       |   5 +-
 configs/firefly-rk3399_defconfig                   |   1 -
 configs/fo300_defconfig                            |   3 +
 configs/galileo_defconfig                          |   1 +
 configs/gdppc440etx_defconfig                      |   1 +
 configs/glacier_defconfig                          |   2 +
 configs/glacier_ramboot_defconfig                  |   2 +
 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                        |   2 +
 configs/hrcon_defconfig                            |   2 +
 configs/hrcon_dh_defconfig                         |   2 +
 configs/huawei_hg556a_ram_defconfig                |  67 +++---
 configs/ib62x0_defconfig                           |   3 +
 configs/icon_defconfig                             |   2 +
 configs/iconnect_defconfig                         |   2 +
 configs/ids8313_defconfig                          |   3 +
 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                            |   2 +
 configs/io64_defconfig                             |   2 +
 configs/iocon_defconfig                            |   1 +
 configs/ipek01_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/katmai_defconfig                           |   3 +
 configs/kilauea_defconfig                          |   2 +
 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/ls1012ardb_qspi_SECURE_BOOT_defconfig      |   1 +
 configs/ls1021aqds_nor_SECURE_BOOT_defconfig       |   1 +
 configs/ls1021atwr_nor_SECURE_BOOT_defconfig       |   1 +
 .../ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig    |   1 +
 configs/ls1043ardb_SECURE_BOOT_defconfig           |   1 +
 configs/ls1043ardb_nand_SECURE_BOOT_defconfig      |   1 +
 configs/ls1043ardb_sdcard_SECURE_BOOT_defconfig    |   1 +
 configs/ls1046aqds_SECURE_BOOT_defconfig           |   1 +
 configs/ls1046ardb_qspi_SECURE_BOOT_defconfig      |   1 +
 configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig    |   1 +
 configs/ls2080aqds_SECURE_BOOT_defconfig           |   2 +
 configs/ls2080aqds_defconfig                       |   1 +
 configs/ls2080aqds_nand_defconfig                  |   1 +
 configs/ls2080aqds_qspi_defconfig                  |   1 +
 configs/ls2080ardb_SECURE_BOOT_defconfig           |   2 +
 configs/ls2080ardb_defconfig                       |   1 +
 configs/ls2080ardb_nand_defconfig                  |   1 +
 configs/lschlv2_defconfig                          |   1 +
 configs/lsxhl_defconfig                            |   1 +
 configs/luan_defconfig                             |   2 +
 configs/lwmon5_defconfig                           |   2 +
 configs/m28evk_defconfig                           |   1 +
 configs/m53evk_defconfig                           |   2 +-
 configs/makalu_defconfig                           |   2 +
 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               |   2 +
 configs/minnowmax_defconfig                        |   1 +
 configs/motionpro_defconfig                        |   4 +
 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/omap3_logic_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                   |   2 +
 configs/pcm030_defconfig                           |   2 +
 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-ppce500_defconfig                     |   1 +
 configs/qemu-x86_64_defconfig                      |   2 +
 configs/qemu-x86_defconfig                         |   2 +
 configs/qemu-x86_efi_payload32_defconfig           |   2 +
 configs/qemu-x86_efi_payload64_defconfig           |   2 +
 configs/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                          |   2 +
 configs/rainier_ramboot_defconfig                  |   2 +
 configs/redwood_defconfig                          |   2 +
 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                          |   2 +
 configs/sequoia_ramboot_defconfig                  |   2 +
 configs/sfr_nb4-ser_ram_defconfig                  |  67 +++---
 configs/sh7763rdp_defconfig                        |   1 +
 configs/sheevaplug_defconfig                       |   3 +
 configs/socfpga_vining_fpga_defconfig              |   1 +
 configs/som-db5800-som-6867_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                         |   2 +
 configs/t3corp_defconfig                           |   3 +
 configs/tbs2910_defconfig                          |   2 +-
 configs/theadorable-x86-dfi-bt700_defconfig        |   1 +
 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                             |   3 +
 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                           |   2 +
 configs/wandboard_defconfig                        |   1 +
 configs/work_92105_defconfig                       |   2 +
 configs/wtk_defconfig                              |   2 +
 configs/x600_defconfig                             |   1 +
 configs/xilinx-ppc405-generic_defconfig            |   2 +
 configs/xilinx-ppc440-generic_defconfig            |   2 +
 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                      |   3 +
 configs/xpedite517x_defconfig                      |   4 +
 configs/xpedite520x_defconfig                      |   2 +
 configs/xpedite537x_defconfig                      |   3 +
 configs/xpedite550x_defconfig                      |   1 +
 configs/yellowstone_defconfig                      |   2 +
 configs/yosemite_defconfig                         |   2 +
 configs/yucca_defconfig                            |   2 +
 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                          |   3 -
 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                           |   2 -
 include/configs/ac14xx.h                           |   4 -
 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                             |   4 -
 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                        |   3 -
 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/m28evk.h                           |   1 -
 include/configs/makalu.h                           |   6 -
 include/configs/malta.h                            |   1 -
 include/configs/maxbcm.h                           |   1 -
 include/configs/mcx.h                              |   1 -
 include/configs/mecp5123.h                         |   4 -
 include/configs/meson-gxbb-common.h                |   2 -
 include/configs/microblaze-generic.h               |   3 -
 include/configs/motionpro.h                        |   7 -
 include/configs/mpc5121ads.h                       |   9 +-
 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/o2dnt-common.h                     |   1 -
 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                           |   2 -
 include/configs/pcm051.h                           |   1 -
 include/configs/pcm052.h                           |   1 -
 include/configs/pcm058.h                           |   3 -
 include/configs/pdm360ng.h                         |   3 -
 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 -------
 875 files changed, 1474 insertions(+), 3142 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.rc2.291.g57267f2277-goog
#1 lore raw

PATCH 1/47 configs: Re-sync

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

---

 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/omap3_logic_defconfig                    |  1 -
 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 +-
 96 files changed, 227 insertions(+), 307 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 7d92c13940..664327eb1a 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 9abe61760e..42de7b2ffc 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 79bb9057bf..2f5f4b2c5f 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 33b53160a7..9a26fa42c4 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 78c478f420..2a99bb7e77 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/omap3_logic_defconfig +0 -1
index 561bdfbceb..0d69f95950 100644
@@ -5,7 +5,6 @@ CONFIG_OMAP34XX=y
 CONFIG_TARGET_OMAP3_LOGIC=y
 CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_DEFAULT_DEVICE_TREE="logicpd-torpedo-37xx-devkit"
-CONFIG_FIT=y
 CONFIG_SYS_EXTRA_OPTIONS="NAND"
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
configs/opos6uldev_defconfig +1 -1
index 4f8f659321..cfc5fb48b6 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 c40684a81d..cd8283c75f 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 b30e16508f..b84be99bcd 100644
@@ -121,6 +121,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
@@ -174,8 +176,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.rc2.291.g57267f2277-goog
#2 lore raw

PATCH 2/47 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.

---

 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 2ca0102b57..3c4f0165b1 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 7646bb6842..b4c3d6b311 100644
@@ -385,7 +385,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.rc2.291.g57267f2277-goog
#3 lore raw

PATCH 2/47 Kconfig: Drop CONFIG_CMD_DS4510_INFO

Quoted 6 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.

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/20170515/85b92a95/attachment.sig>
#4 lore raw

PATCH 2/47 Kconfig: Drop CONFIG_CMD_DS4510_INFO

In reply to Simon Glass

Hello Simon,

Am 15.05.2017 um 12:57 schrieb Simon Glass:

Quoted 6 lines

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.

Quoted 8 lines

---

  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(-)

bye,
Heiko

Quoted 102 lines
README +0 -1
index 2ca0102b57..3c4f0165b1 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 7646bb6842..b4c3d6b311 100644
@@ -385,7 +385,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 · 2 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
#5 lore raw

PATCH 3/47 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.

---

 README                       |  1 -
 drivers/misc/ds4510.c        | 10 ----------
 scripts/config_whitelist.txt |  1 -
 3 files changed, 12 deletions(-)
README +0 -1
index 3c4f0165b1..965fc9c7eb 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 b4c3d6b311..5e3cd98d44 100644
@@ -385,7 +385,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.rc2.291.g57267f2277-goog
#6 lore raw

PATCH 3/47 Kconfig: Drop CONFIG_CMD_DS4510_MEM

Quoted 6 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.

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/20170515/55478d88/attachment.sig>
#7 lore raw

PATCH 3/47 Kconfig: Drop CONFIG_CMD_DS4510_MEM

In reply to Simon Glass

Hello Simon,

Am 15.05.2017 um 12:57 schrieb Simon Glass:

Quoted 5 lines

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.

Quoted 7 lines

---

  README                       |  1 -
  drivers/misc/ds4510.c        | 10 ----------
  scripts/config_whitelist.txt |  1 -
  3 files changed, 12 deletions(-)

bye,
Heiko

Quoted 101 lines
README +0 -1
index 3c4f0165b1..965fc9c7eb 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 b4c3d6b311..5e3cd98d44 100644
@@ -385,7 +385,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 · 2 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
#8 lore raw

PATCH 4/47 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.

---

 README                       | 1 -
 drivers/misc/ds4510.c        | 6 ------
 scripts/config_whitelist.txt | 1 -
 3 files changed, 8 deletions(-)
README +0 -1
index 965fc9c7eb..c3f4824f64 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 5e3cd98d44..17f241720a 100644
@@ -385,7 +385,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.rc2.291.g57267f2277-goog
#9 lore raw

PATCH 4/47 Kconfig: Drop CONFIG_CMD_DS4510_RST

Quoted 6 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.

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/20170515/c5d43290/attachment.sig>
#10 lore raw

PATCH 4/47 Kconfig: Drop CONFIG_CMD_DS4510_RST

In reply to Simon Glass

Hello Simon,

Am 15.05.2017 um 12:57 schrieb Simon Glass:

Quoted 5 lines

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.

Quoted 7 lines

---

  README                       | 1 -
  drivers/misc/ds4510.c        | 6 ------
  scripts/config_whitelist.txt | 1 -
  3 files changed, 8 deletions(-)

bye,
Heiko

Quoted 63 lines
README +0 -1
index 965fc9c7eb..c3f4824f64 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 5e3cd98d44..17f241720a 100644
@@ -385,7 +385,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 · 2 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
#11 lore raw

PATCH 5/47 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.

---

 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 17f241720a..3332fe3cac 100644
@@ -384,7 +384,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.rc2.291.g57267f2277-goog
#12 lore raw

PATCH 5/47 Kconfig: Drop CONFIG_CMD_DS4510

Quoted 8 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.

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/20170515/53c3edd6/attachment.sig>
#13 lore raw

PATCH 5/47 Kconfig: Drop CONFIG_CMD_DS4510

In reply to Simon Glass

Hello Simon,

Am 15.05.2017 um 12:57 schrieb Simon Glass:

Quoted 10 lines

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.

---

Quoted 7 lines
  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%)

bye,
Heiko

Quoted 167 lines
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 17f241720a..3332fe3cac 100644
@@ -384,7 +384,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 · 2 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
#14 lore raw

PATCH 6/47 Convert CONFIG_DS4510 to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_DS4510

---

 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 c3f4824f64..ace492edde 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 3332fe3cac..85ab8f8933 100644
@@ -683,7 +683,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.rc2.291.g57267f2277-goog
#15 lore raw

PATCH 6/47 Convert CONFIG_DS4510 to Kconfig

Quoted 4 lines · Simon Glass

This converts the following to Kconfig:

   CONFIG_DS4510
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/20170515/94ba9523/attachment.sig>
#16 lore raw

PATCH 6/47 Convert CONFIG_DS4510 to Kconfig

In reply to Simon Glass

Hello Simon,

Am 15.05.2017 um 12:57 schrieb Simon Glass:

Quoted 6 lines

This converts the following to Kconfig:

    CONFIG_DS4510

---

Quoted 8 lines
  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(-)

bye,
Heiko

Quoted 93 lines
README +0 -1
index c3f4824f64..ace492edde 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 3332fe3cac..85ab8f8933 100644
@@ -683,7 +683,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 · 2 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
#17 lore raw

PATCH 7/47 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.

---

 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 ace492edde..0e6ed53736 100644
@@ -2391,12 +2391,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 85ab8f8933..e39fa2520e 100644
@@ -4232,7 +4232,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.rc2.291.g57267f2277-goog
#18 lore raw

PATCH 7/47 Kconfig: Drop CONFIG_SYS_I2C_DTT_ADDR

Quoted 7 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.

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/20170515/e1a212fd/attachment.sig>
#19 lore raw

PATCH 7/47 Kconfig: Drop CONFIG_SYS_I2C_DTT_ADDR

In reply to Simon Glass

Hello Simon,

Am 15.05.2017 um 12:57 schrieb Simon Glass:

Quoted 9 lines

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.

---

Quoted 8 lines
  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(-)

bye,
Heiko

Quoted 99 lines
README +0 -6
index ace492edde..0e6ed53736 100644
@@ -2391,12 +2391,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 85ab8f8933..e39fa2520e 100644
@@ -4232,7 +4232,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 · 2 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
#20 lore raw

PATCH 8/47 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.

---

 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 691642023d..25e42362ce 100644
@@ -86,7 +86,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 e39fa2520e..aa72af3934 100644
@@ -2372,7 +2372,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
@@ -2605,7 +2604,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.rc2.291.g57267f2277-goog
#21 lore raw

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

Quoted 8 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.

---

Quoted 14 lines
 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

Anatolij, this is used only by a board you maintain, do you want to update the framework here or should we drop the board in question as well? 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/20170515/1bfe745f/attachment.sig>
#22 lore raw

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

On Mon, 15 May 2017 12:32:49 -0400
Tom Rini trini at konsulko.com wrote:
...

Quoted 3 lines

Anatolij, this is used only by a board you maintain, do you want to update the framework here or should we drop the board in question as well? Thanks!

We should drop this board, together with other mpc5xxx boards and mpc5xxx arch support, I think.

--
Anatolij

#23 lore raw

PATCH 9/47 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.

---

 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        |   3 -
 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, 28 insertions(+), 1738 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 0e6ed53736..0380ce2027 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
@@ -2386,11 +2385,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 25e42362ce..fa4e61a31d 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-y += pcmcia/
 obj-y += dfu/
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 c60743acd0..d004c645b4 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 +0 -3
index 136db0dd26..d1f4bbc626 100644
@@ -33,7 +33,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_DTT
 #define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_IDE
 #define CONFIG_CMD_IMMAP
@@ -286,8 +285,6 @@
 /*
  * Temperature sensor
  */
-#define CONFIG_DTT_LM75		1
-#define CONFIG_DTT_SENSORS	{ 0x49 }
 
 /*
  * Environment settings
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 40b48f70ab..c64198181f 100644
@@ -62,7 +62,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 f5b03caf83..a5f84c7bb9 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
  */
@@ -222,7 +214,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 e662e65204..53fb0005ad 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
@@ -373,8 +366,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
@@ -84,14 +84,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
  */
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 2793a9bfb9..195503445f 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 */
@@ -339,7 +337,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 cd7f61e1c1..3a81988c52 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 aa72af3934..ecd76042c5 100644
@@ -384,7 +384,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
@@ -684,20 +683,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
@@ -3476,12 +3461,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
@@ -6142,7 +6121,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.rc2.291.g57267f2277-goog
#24 lore raw

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

Quoted 70 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.

---

 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        |   3 -
 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, 28 insertions(+), 1738 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
Quoted 8 lines
 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

So, this touches a lot of boards that have active maintainer, lets ping them now and see if anyone wants to step up and start converting some of these drivers over. I'm not nak'ing this patch but raising awareness that some stuff people depend on needs to be updated.

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/20170515/7a41ebfd/attachment.sig>
#25 lore raw

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

Hi Tom,

Quoted 81 lines · Tom Rini
Quoted 70 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.

---

 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        |   3 -
 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, 28 insertions(+), 1738 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
Quoted 8 lines
 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
Quoted 4 lines

So, this touches a lot of boards that have active maintainer, lets ping them now and see if anyone wants to step up and start converting some of these drivers over. I'm not nak'ing this patch but raising awareness that some stuff people depend on needs to be updated.

Sounds good. Sorry for skipping the cc - I really need to make time to fix up patman unicode soon.

Regards,
Simon

#26 lore raw

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

In reply to Simon Glass

Hello Simon,

Am 15.05.2017 um 12:57 schrieb Simon Glass:

Quoted 64 lines

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.

---

  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        |   3 -
  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, 28 insertions(+), 1738 deletions(-)
Quoted 14 lines

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

bye,
Heiko

Quoted 2,500 lines
README +0 -6
index 0e6ed53736..0380ce2027 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
@@ -2386,11 +2385,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
deleted file mode 100644
index dd427a3d0b..0000000000
@@ -1,120 +0,0 @@
-/*
- * (C) Copyright 2001
- * Erik Theisen, Wave 7 Optics, etheisen at mindspring.com
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#include <common.h>
-#include <config.h>
-#include <command.h>
-
-#include <dtt.h>
-#include <i2c.h>
-#include <tmu.h>
-#include <linux/bug.h>
-
-#if defined CONFIG_DTT_SENSORS
-static unsigned long sensor_initialized;
-
-static void _initialize_dtt(void)
-{
-	int i;
-	unsigned char sensors[] = CONFIG_DTT_SENSORS;
-
-	for (i = 0; i < sizeof(sensors); i++) {
-		if ((sensor_initialized & (1 << i)) == 0) {
-			if (dtt_init_one(sensors[i]) != 0) {
-				printf("DTT%d: Failed init!\n", i);
-				continue;
-			}
-			sensor_initialized |= (1 << i);
-		}
-	}
-}
-
-void dtt_init(void)
-{
-	int old_bus;
-
-	/* switch to correct I2C bus */
-	old_bus = I2C_GET_BUS();
-	I2C_SET_BUS(CONFIG_SYS_DTT_BUS_NUM);
-
-	_initialize_dtt();
-
-	/* switch back to original I2C bus */
-	I2C_SET_BUS(old_bus);
-}
-#endif
-
-int dtt_i2c(void)
-{
-#if defined CONFIG_DTT_SENSORS
-	int i;
-	unsigned char sensors[] = CONFIG_DTT_SENSORS;
-	int old_bus;
-
-	/* Force a compilation error, if there are more then 32 sensors */
-	BUILD_BUG_ON(sizeof(sensors) > 32);
-	/* switch to correct I2C bus */
-#ifdef CONFIG_SYS_I2C
-	old_bus = i2c_get_bus_num();
-	i2c_set_bus_num(CONFIG_SYS_DTT_BUS_NUM);
-#else
-	old_bus = I2C_GET_BUS();
-	I2C_SET_BUS(CONFIG_SYS_DTT_BUS_NUM);
-#endif
-
-	_initialize_dtt();
-
-	/*
-	 * Loop through sensors, read
-	 * temperature, and output it.
-	 */
-	for (i = 0; i < sizeof(sensors); i++)
-		printf("DTT%d: %i C\n", i + 1, dtt_get_temp(sensors[i]));
-
-	/* switch back to original I2C bus */
-#ifdef CONFIG_SYS_I2C
-	i2c_set_bus_num(old_bus);
-#else
-	I2C_SET_BUS(old_bus);
-#endif
-#endif
-
-	return 0;
-}
-
-int dtt_tmu(void)
-{
-#if defined CONFIG_TMU_CMD_DTT
-	int cur_temp;
-
-	/* Sense and return latest thermal info */
-	if (tmu_monitor(&cur_temp) == TMU_STATUS_INIT) {
-		puts("TMU is in unknown state, temperature is invalid\n");
-		return -1;
-	}
-	printf("Current temperature: %u degrees Celsius\n", cur_temp);
-#endif
-	return 0;
-}
-
-int do_dtt(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
-{
-	int err = 0;
-
-	err |= dtt_i2c();
-	err |= dtt_tmu();
-
-	return err;
-}	/* do_dtt() */
-
-/***************************************************/
-
-U_BOOT_CMD(
-	  dtt,	1,	1,	do_dtt,
-	  "Read temperature from Digital Thermometer and Thermostat",
-	  ""
-);
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 25e42362ce..fa4e61a31d 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-y += pcmcia/
  obj-y += dfu/
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
deleted file mode 100644
index 99e942b499..0000000000
@@ -1,164 +0,0 @@
-/*
- * (C) Copyright 2003
- * Murray Jensen, CSIRO-MIT, Murray.Jensen at csiro.au
- *
- * based on dtt/lm75.c which is ...
- *
- * (C) Copyright 2001
- * Bill Hunter,  Wave 7 Optics, williamhunter at mediaone.net
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-/*
- * Analog Devices's ADM1021
- * "Low Cost Microprocessor System Temperature Monitor"
- */
-
-#include <common.h>
-
-#include <i2c.h>
-#include <dtt.h>
-
-#define DTT_READ_LOC_VALUE	0x00
-#define DTT_READ_REM_VALUE	0x01
-#define DTT_READ_STATUS		0x02
-#define DTT_READ_CONFIG		0x03
-#define DTT_READ_CONVRATE	0x04
-#define DTT_READ_LOC_HIGHLIM	0x05
-#define DTT_READ_LOC_LOWLIM	0x06
-#define DTT_READ_REM_HIGHLIM	0x07
-#define DTT_READ_REM_LOWLIM	0x08
-#define DTT_READ_DEVID		0xfe
-
-#define DTT_WRITE_CONFIG	0x09
-#define DTT_WRITE_CONVRATE	0x0a
-#define DTT_WRITE_LOC_HIGHLIM	0x0b
-#define DTT_WRITE_LOC_LOWLIM	0x0c
-#define DTT_WRITE_REM_HIGHLIM	0x0d
-#define DTT_WRITE_REM_LOWLIM	0x0e
-#define DTT_WRITE_ONESHOT	0x0f
-
-#define DTT_STATUS_BUSY		0x80	/* 1=ADC Converting */
-#define DTT_STATUS_LHIGH	0x40	/* 1=Local High Temp Limit Tripped */
-#define DTT_STATUS_LLOW		0x20	/* 1=Local Low Temp Limit Tripped */
-#define DTT_STATUS_RHIGH	0x10	/* 1=Remote High Temp Limit Tripped */
-#define DTT_STATUS_RLOW		0x08	/* 1=Remote Low Temp Limit Tripped */
-#define DTT_STATUS_OPEN		0x04	/* 1=Remote Sensor Open-Circuit */
-
-#define DTT_CONFIG_ALERT_MASKED	0x80	/* 0=ALERT Enabled, 1=ALERT Masked */
-#define DTT_CONFIG_STANDBY	0x40	/* 0=Run, 1=Standby */
-
-#define DTT_ADM1021_DEVID	0x41
-
-typedef
-	struct {
-		uint i2c_addr:7;	/* 7bit i2c chip address */
-		uint conv_rate:3;	/* conversion rate */
-		uint enable_alert:1;	/* enable alert output pin */
-		uint enable_local:1;	/* enable internal temp sensor */
-		uint max_local:8;	/* internal temp maximum */
-		uint min_local:8;	/* internal temp minimum */
-		uint enable_remote:1;	/* enable remote temp sensor */
-		uint max_remote:8;	/* remote temp maximum */
-		uint min_remote:8;	/* remote temp minimum */
-	}
-dtt_cfg_t;
-
-dtt_cfg_t dttcfg[] = CONFIG_SYS_DTT_ADM1021;
-
-int
-dtt_read (int sensor, int reg)
-{
-	dtt_cfg_t *dcp = &dttcfg[sensor >> 1];
-	uchar data;
-
-	if (i2c_read(dcp->i2c_addr, reg, 1, &data, 1) != 0)
-		return -1;
-
-	return (int)data;
-} /* dtt_read() */
-
-int
-dtt_write (int sensor, int reg, int val)
-{
-	dtt_cfg_t *dcp = &dttcfg[sensor >> 1];
-	uchar data;
-
-	data = (uchar)(val & 0xff);
-
-	if (i2c_write(dcp->i2c_addr, reg, 1, &data, 1) != 0)
-		return 1;
-
-	return 0;
-} /* dtt_write() */
-
-int
-dtt_init_one(int sensor)
-{
-	dtt_cfg_t *dcp = &dttcfg[sensor >> 1];
-	int reg, val;
-
-	if (((sensor & 1) == 0 ? dcp->enable_local : dcp->enable_remote) == 0)
-		return 1;	/* sensor is disabled (or rather ignored) */
-
-	/*
-	 * Setup High Limit register
-	 */
-	if ((sensor & 1) == 0) {
-		reg = DTT_WRITE_LOC_HIGHLIM;
-		val = dcp->max_local;
-	}
-	else {
-		reg = DTT_WRITE_REM_HIGHLIM;
-		val = dcp->max_remote;
-	}
-	if (dtt_write (sensor, reg, val) != 0)
-		return 1;
-
-	/*
-	 * Setup Low Limit register
-	 */
-	if ((sensor & 1) == 0) {
-		reg = DTT_WRITE_LOC_LOWLIM;
-		val = dcp->min_local;
-	}
-	else {
-		reg = DTT_WRITE_REM_LOWLIM;
-		val = dcp->min_remote;
-	}
-	if (dtt_write (sensor, reg, val) != 0)
-		return 1;
-
-	/* shouldn't hurt if the rest gets done twice */
-
-	/*
-	 * Setup Conversion Rate register
-	 */
-	if (dtt_write (sensor, DTT_WRITE_CONVRATE, dcp->conv_rate) != 0)
-		return 1;
-
-	/*
-	 * Setup configuraton register
-	 */
-	val = 0;				/* running */
-	if (dcp->enable_alert == 0)
-		val |= DTT_CONFIG_ALERT_MASKED;	/* mask ALERT pin */
-	if (dtt_write (sensor, DTT_WRITE_CONFIG, val) != 0)
-		return 1;
-
-	return 0;
-} /* dtt_init_one() */
-
-int
-dtt_get_temp (int sensor)
-{
-	signed char val;
-
-	if ((sensor & 1) == 0)
-		val = dtt_read(sensor, DTT_READ_LOC_VALUE);
-	else
-		val = dtt_read(sensor, DTT_READ_REM_VALUE);
-
-	return (int) val;
-} /* dtt_get_temp() */
drivers/hwmon/adt7460.c deleted +0 -73
deleted file mode 100644
index 9b2c5b69ce..0000000000
@@ -1,73 +0,0 @@
-/*
- * (C) Copyright 2008
- * Ricado Ribalda-Universidad Autonoma de Madrid, ricardo.ribalda at gmail.com
- * This work has been supported by: QTechnology  http://qtec.com/
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#include <common.h>
-#include <i2c.h>
-#include <dtt.h>
-
-#define ADT7460_ADDRESS		0x2c
-#define ADT7460_INVALID		128
-#define ADT7460_CONFIG		0x40
-#define ADT7460_REM1_TEMP	0x25
-#define ADT7460_LOCAL_TEMP	0x26
-#define ADT7460_REM2_TEMP	0x27
-
-int dtt_read(int sensor, int reg)
-{
-	u8 dir = reg;
-	u8 data;
-
-	if (i2c_read(ADT7460_ADDRESS, dir, 1, &data, 1) == -1)
-		return -1;
-	if (data == ADT7460_INVALID)
-		return -1;
-
-	return data;
-}
-
-int dtt_write(int sensor, int reg, int val)
-{
-	u8 dir = reg;
-	u8 data = val;
-
-	if (i2c_write(ADT7460_ADDRESS, dir, 1, &data, 1) == -1)
-		return -1;
-
-	return 0;
-}
-
-int dtt_init_one(int sensor)
-{
-	printf("ADT7460 at I2C address 0x%2x\n", ADT7460_ADDRESS);
-
-	if (dtt_write(0, ADT7460_CONFIG, 1) == -1) {
-		puts("Error initialiting ADT7460\n");
-		return -1;
-	}
-
-	return 0;
-}
-
-int dtt_get_temp(int sensor)
-{
-	int aux;
-	u8 table[] =
-	    { ADT7460_REM1_TEMP, ADT7460_LOCAL_TEMP, ADT7460_REM2_TEMP };
-
-	if (sensor > 2) {
-		puts("DTT sensor does not exist\n");
-		return -1;
-	}
-
-	aux = dtt_read(0, table[sensor]);
-	if (aux == -1) {
-		puts("DTT temperature read failed\n");
-		return -1;
-	}
-
-	return aux;
-}
drivers/hwmon/ds1621.c deleted +0 -155
deleted file mode 100644
index 66947a664e..0000000000
@@ -1,155 +0,0 @@
-/*
- * (C) Copyright 2001
- * Erik Theisen,  Wave 7 Optics, etheisen at mindspring.com.
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-/*
- * Dallas Semiconductor's DS1621/1631 Digital Thermometer and Thermostat.
- */
-
-#include <common.h>
-#include <i2c.h>
-#include <dtt.h>
-
-/*
- * Device code
- */
-#define DTT_I2C_DEV_CODE 	0x48	/* Dallas Semi's DS1621 */
-#define DTT_READ_TEMP		0xAA
-#define DTT_READ_COUNTER	0xA8
-#define DTT_READ_SLOPE		0xA9
-#define DTT_WRITE_START_CONV	0xEE
-#define DTT_WRITE_STOP_CONV	0x22
-#define DTT_TEMP_HIGH		0xA1
-#define DTT_TEMP_LOW		0xA2
-#define DTT_CONFIG		0xAC
-
-/*
- * Config register bits
- */
-#define DTT_CONFIG_1SHOT	0x01
-#define DTT_CONFIG_POLARITY	0x02
-#define DTT_CONFIG_R0		0x04	/* ds1631 only */
-#define DTT_CONFIG_R1		0x08	/* ds1631 only */
-#define DTT_CONFIG_NVB		0x10
-#define DTT_CONFIG_TLF		0x20
-#define DTT_CONFIG_THF		0x40
-#define DTT_CONFIG_DONE		0x80
-
-
-int dtt_read(int sensor, int reg)
-{
-	int dlen;
-	uchar data[2];
-
-	/* Calculate sensor address and command */
-	sensor = DTT_I2C_DEV_CODE + (sensor & 0x07); /* Calculate addr of ds1621*/
-
-	/* Prepare to handle 2 byte result */
-	switch(reg) {
-	case DTT_READ_TEMP:
-	case DTT_TEMP_HIGH:
-	case DTT_TEMP_LOW:
-		dlen = 2;
-		break;
-	default:
-		dlen = 1;
-	}
-
-	/* Now try to read the register */
-	if (i2c_read(sensor, reg, 1, data, dlen) != 0)
-		return 1;
-
-	/* Handle 2 byte result */
-	if (dlen == 2)
-		return (short)((data[0] << 8) | data[1]);
-
-	return (int)data[0];
-}
-
-
-int dtt_write(int sensor, int reg, int val)
-{
-	int dlen;
-	uchar data[2];
-
-	/* Calculate sensor address and register */
-	sensor = DTT_I2C_DEV_CODE + (sensor & 0x07);
-
-	/* Handle various data sizes. */
-	switch(reg) {
-	case DTT_READ_TEMP:
-	case DTT_TEMP_HIGH:
-	case DTT_TEMP_LOW:
-		dlen = 2;
-		data[0] = (char)((val >> 8) & 0xff);	/* MSB first */
-		data[1] = (char)(val & 0xff);
-		break;
-	case DTT_WRITE_START_CONV:
-	case DTT_WRITE_STOP_CONV:
-		dlen = 0;
-		data[0] = (char)0;
-		data[1] = (char)0;
-		break;
-	default:
-		dlen = 1;
-		data[0] = (char)(val & 0xff);
-	}
-
-	/* Write value to device */
-	if (i2c_write(sensor, reg, 1, data, dlen) != 0)
-		return 1;
-
-	/* Poll NV memory busy bit in case write was to register stored in EEPROM */
-	while(i2c_reg_read(sensor, DTT_CONFIG) & DTT_CONFIG_NVB)
-		;
-
-	return 0;
-}
-
-
-int dtt_init_one(int sensor)
-{
-	int val;
-
-	/* Setup High Temp */
-	val = ((CONFIG_SYS_DTT_MAX_TEMP * 2) << 7) & 0xff80;
-	if (dtt_write(sensor, DTT_TEMP_HIGH, val) != 0)
-		return 1;
-
-	/* Setup Low Temp - hysteresis */
-	val = (((CONFIG_SYS_DTT_MAX_TEMP - CONFIG_SYS_DTT_HYSTERESIS) * 2) << 7) & 0xff80;
-	if (dtt_write(sensor, DTT_TEMP_LOW, val) != 0)
-		return 1;
-
-	/*
-	 * Setup configuraton register
-	 *
-	 * Clear THF & TLF, Reserved = 1, Polarity = Active Low, One Shot = YES
-	 *
-	 * We run in polled mode, since there isn't any way to know if this
-	 * lousy device is ready to provide temperature readings on power up.
-	 */
-	val = 0x9;
-	if (dtt_write(sensor, DTT_CONFIG, val) != 0)
-		return 1;
-
-	return 0;
-}
-
-int dtt_get_temp(int sensor)
-{
-	int i;
-
-	/* Start a conversion, may take up to 1 second. */
-	dtt_write(sensor, DTT_WRITE_START_CONV, 0);
-	for (i = 0; i <= 10; i++) {
-		udelay(100000);
-		if (dtt_read(sensor, DTT_CONFIG) & DTT_CONFIG_DONE)
-			break;
-	}
-
-	return (dtt_read(sensor, DTT_READ_TEMP) / 256);
-}
drivers/hwmon/ds1722.c deleted +0 -137
deleted file mode 100644
index c46958846c..0000000000
@@ -1,137 +0,0 @@
-#include <common.h>
-#include <asm/ic/ssi.h>
-#include <ds1722.h>
-
-static void ds1722_select(int dev)
-{
-	ssi_set_interface(4096, 0, 0, 0);
-	ssi_chip_select(0);
-	udelay(1);
-	ssi_chip_select(dev);
-	udelay(1);
-}
-
-
-u8 ds1722_read(int dev, int addr)
-{
-	u8 res;
-
-	ds1722_select(dev);
-
-	ssi_tx_byte(addr);
-	res = ssi_rx_byte();
-
-	ssi_chip_select(0);
-
-	return res;
-}
-
-void ds1722_write(int dev, int addr, u8 data)
-{
-	ds1722_select(dev);
-
-	ssi_tx_byte(0x80|addr);
-	ssi_tx_byte(data);
-
-	ssi_chip_select(0);
-}
-
-
-u16 ds1722_temp(int dev, int resolution)
-{
-	static int useconds[] = {
-		75000, 150000, 300000, 600000, 1200000
-	};
-	char temp;
-	u16 res;
-
-
-	/* set up the desired resulotion ... */
-	ds1722_write(dev, 0, 0xe0 | (resolution << 1));
-
-	/* wait while the chip measures the tremperature */
-	udelay(useconds[resolution]);
-
-	res = (temp = ds1722_read(dev, 2)) << 8;
-
-	if (temp < 0) {
-		temp = (16 - (ds1722_read(dev, 1) >> 4)) & 0x0f;
-	} else {
-		temp = (ds1722_read(dev, 1) >> 4);
-	}
-
-	switch (temp) {
-	case 0:
-		/* .0000 */
-		break;
-	case 1:
-		/* .0625 */
-		res |=1;
-		break;
-	case 2:
-		/* .1250 */
-		res |=1;
-		break;
-	case 3:
-		/* .1875 */
-		res |=2;
-		break;
-	case 4:
-		/* .2500 */
-		res |=3;
-		break;
-	case 5:
-		/* .3125 */
-		res |=3;
-		break;
-	case 6:
-		/* .3750 */
-		res |=4;
-		break;
-	case 7:
-		/* .4375 */
-		res |=4;
-		break;
-	case 8:
-		/* .5000 */
-		res |=5;
-		break;
-	case 9:
-		/* .5625 */
-		res |=6;
-		break;
-	case 10:
-		/* .6250 */
-		res |=6;
-		break;
-	case 11:
-		/* .6875 */
-		res |=7;
-		break;
-	case 12:
-		/* .7500 */
-		res |=8;
-		break;
-	case 13:
-		/* .8125 */
-		res |=8;
-		break;
-	case 14:
-		/* .8750 */
-		res |=9;
-		break;
-	case 15:
-		/* .9375 */
-		res |=9;
-		break;
-	}
-	return res;
-
-}
-
-int ds1722_probe(int dev)
-{
-	u16 temp = ds1722_temp(dev, DS1722_RESOLUTION_12BIT);
-	printf("%d.%d deg C\n\n", (char)(temp >> 8), temp & 0xff);
-	return 0;
-}
drivers/hwmon/ds1775.c deleted +0 -126
deleted file mode 100644
index 4c0c0b82a0..0000000000
@@ -1,126 +0,0 @@
-/*
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-/*
- * Dallas Semiconductor's DS1775 Digital Thermometer and Thermostat
- */
-
-#include <common.h>
-
-#include <i2c.h>
-#include <dtt.h>
-
-#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
-#define DTT_TEMP_OS		0x3
-
-int dtt_read(int sensor, int reg)
-{
-	int dlen;
-	uchar data[2];
-
-	/*
-	 * Calculate sensor address and command
-	 */
-	sensor = DTT_I2C_DEV_CODE + (sensor & 0x07); /* Calculate addr of ds1775 */
-
-	/*
-	 * Prepare to handle 2 byte result
-	 */
-	if ((reg == DTT_READ_TEMP) ||
-	    (reg == DTT_TEMP_OS) || (reg == DTT_TEMP_HYST))
-		dlen = 2;
-	else
-		dlen = 1;
-
-	/*
-	 * Now try to read the register
-	 */
-	if (i2c_read(sensor, reg, 1, data, dlen) != 0)
-		return 1;
-
-	/*
-	 * Handle 2 byte result
-	 */
-	if (dlen == 2)
-		return ((int)((short)data[1] + (((short)data[0]) << 8)));
-
-	return (int) data[0];
-}
-
-
-int dtt_write(int sensor, int reg, int val)
-{
-	int dlen;
-	uchar data[2];
-
-	/*
-	 * Calculate sensor address and register
-	 */
-	sensor = DTT_I2C_DEV_CODE + (sensor & 0x07);
-
-	/*
-	 * Handle various data sizes
-	 */
-	if ((reg == DTT_READ_TEMP) ||
-	    (reg == DTT_TEMP_OS) || (reg == DTT_TEMP_HYST)) {
-		dlen = 2;
-		data[0] = (char)((val >> 8) & 0xff); /* MSB first */
-		data[1] = (char)(val & 0xff);
-	} else {
-		dlen = 1;
-		data[0] = (char)(val & 0xff);
-	}
-
-	/*
-	 * Write value to device
-	 */
-	if (i2c_write(sensor, reg, 1, data, dlen) != 0)
-		return 1;
-
-	return 0;
-}
-
-
-int dtt_init_one(int sensor)
-{
-	int val;
-
-	/*
-	 * Setup High Temp
-	 */
-	val = ((CONFIG_SYS_DTT_MAX_TEMP * 2) << 7) & 0xff80;
-	if (dtt_write(sensor, DTT_TEMP_OS, val) != 0)
-		return 1;
-	udelay(50000);			/* Max 50ms */
-
-	/*
-	 * Setup Low Temp - hysteresis
-	 */
-	val = (((CONFIG_SYS_DTT_MAX_TEMP - CONFIG_SYS_DTT_HYSTERESIS) * 2) << 7) & 0xff80;
-	if (dtt_write(sensor, DTT_TEMP_HYST, val) != 0)
-		return 1;
-	udelay(50000);			/* Max 50ms */
-
-	/*
-	 * Setup configuraton register
-	 *
-	 * Fault Tolerance limits 4, Thermometer resolution bits is 9,
-	 * Polarity = Active Low,continuous conversion mode, Thermostat
-	 * mode is interrupt mode
-	 */
-	val = 0xa;
-	if (dtt_write(sensor, DTT_CONFIG, val) != 0)
-		return 1;
-	udelay(50000);			/* Max 50ms */
-
-	return 0;
-}
-
-int dtt_get_temp(int sensor)
-{
-	return (dtt_read(sensor, DTT_READ_TEMP) / 256);
-}
drivers/hwmon/ds620.c deleted +0 -65
deleted file mode 100644
index 1ecc3da799..0000000000
@@ -1,65 +0,0 @@
-/*
- * DS620 DTT support
- *
- * (C) Copyright 2014 3ADEV <http://www.3adev.com>
- * Written-by: Albert ARIBAUD <[email protected]>
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-/*
- * Dallas Semiconductor's DS1621/1631 Digital Thermometer and Thermostat.
- */
-
-#include <common.h>
-#include <i2c.h>
-#include <dtt.h>
-
-/*
- * Device code
- */
-#define DTT_I2C_DEV_CODE	0x48
-#define DTT_START_CONVERT	0x51
-#define DTT_TEMP		0xAA
-#define DTT_CONFIG		0xAC
-
-/*
- * Config register MSB bits
- */
-#define DTT_CONFIG_1SHOT	0x01
-#define DTT_CONFIG_AUTOC	0x02
-#define DTT_CONFIG_R0		0x04 /* always 1 */
-#define DTT_CONFIG_R1		0x08 /* always 1 */
-#define DTT_CONFIG_TLF	0x10
-#define DTT_CONFIG_THF	0x20
-#define DTT_CONFIG_NVB	0x40
-#define DTT_CONFIG_DONE	0x80
-
-#define CHIP(sensor) (DTT_I2C_DEV_CODE + (sensor & 0x07))
-
-int dtt_init_one(int sensor)
-{
-	uint8_t config = DTT_CONFIG_1SHOT
-			| DTT_CONFIG_R0
-			| DTT_CONFIG_R1;
-	return i2c_write(CHIP(sensor), DTT_CONFIG, 1, &config, 1);
-}
-
-int dtt_get_temp(int sensor)
-{
-	uint8_t status;
-	uint8_t temp[2];
-
-	/* Start a conversion, may take up to 1 second. */
-	i2c_write(CHIP(sensor), DTT_START_CONVERT, 1, NULL, 0);
-	do {
-		if (i2c_read(CHIP(sensor), DTT_CONFIG, 1, &status, 1))
-			/* bail out if I2C error */
-			status |= DTT_CONFIG_DONE;
-	} while (!(status & DTT_CONFIG_DONE));
-	if (i2c_read(CHIP(sensor), DTT_TEMP, 1, temp, 2))
-		/* bail out if I2C error */
-		return -274; /* below absolute zero == error */
-
-	return ((int16_t)(temp[1] | (temp[0] << 8))) >> 7;
-}
drivers/hwmon/lm63.c deleted +0 -160
deleted file mode 100644
index 053c785fc5..0000000000
@@ -1,160 +0,0 @@
-/*
- * (C) Copyright 2007-2008
- * Dirk Eibach,  Guntermann & Drunck GmbH, eibach at gdsys.de
- * based on lm75.c by Bill Hunter
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-/*
- * National LM63/LM64 Temperature Sensor
- * Main difference: LM 64 has -16 Kelvin temperature offset
- */
-
-#include <common.h>
-#include <i2c.h>
-#include <dtt.h>
-
-#define DTT_I2C_LM63_ADDR	0x4C	/* National LM63 device */
-
-#define DTT_READ_TEMP_RMT_MSB	0x01
-#define DTT_CONFIG		0x03
-#define DTT_READ_TEMP_RMT_LSB	0x10
-#define DTT_TACHLIM_LSB		0x48
-#define DTT_TACHLIM_MSB		0x49
-#define DTT_FAN_CONFIG		0x4A
-#define DTT_PWM_FREQ		0x4D
-#define DTT_PWM_LOOKUP_BASE	0x50
-
-struct pwm_lookup_entry {
-	u8 temp;
-	u8 pwm;
-};
-
-/*
- * Device code
- */
-
-int dtt_read(int sensor, int reg)
-{
-	int dlen;
-	uchar data[2];
-
-	/*
-	 * Calculate sensor address and register.
-	 */
-	if (!sensor)
-		sensor = DTT_I2C_LM63_ADDR;	/* legacy config */
-
-	dlen = 1;
-
-	/*
-	 * Now try to read the register.
-	 */
-	if (i2c_read(sensor, reg, 1, data, dlen) != 0)
-		return -1;
-
-	return (int)data[0];
-}				/* dtt_read() */
-
-int dtt_write(int sensor, int reg, int val)
-{
-	int dlen;
-	uchar data[2];
-
-	/*
-	 * Calculate sensor address and register.
-	 */
-	if (!sensor)
-		sensor = DTT_I2C_LM63_ADDR;	/* legacy config */
-
-	dlen = 1;
-	data[0] = (char)(val & 0xff);
-
-	/*
-	 * Write value to register.
-	 */
-	if (i2c_write(sensor, reg, 1, data, dlen) != 0)
-		return 1;
-
-	return 0;
-}				/* dtt_write() */
-
-static int is_lm64(int sensor)
-{
-	return sensor && (sensor != DTT_I2C_LM63_ADDR);
-}
-
-int dtt_init_one(int sensor)
-{
-	int i;
-	int val;
-
-	struct pwm_lookup_entry pwm_lookup[] = CONFIG_DTT_PWM_LOOKUPTABLE;
-
-	/*
-	 * Set PWM Frequency to 2.5% resolution
-	 */
-	val = 20;
-	if (dtt_write(sensor, DTT_PWM_FREQ, val) != 0)
-		return 1;
-
-	/*
-	 * Set Tachometer Limit
-	 */
-	val = CONFIG_DTT_TACH_LIMIT;
-	if (dtt_write(sensor, DTT_TACHLIM_LSB, val & 0xff) != 0)
-		return 1;
-	if (dtt_write(sensor, DTT_TACHLIM_MSB, (val >> 8) & 0xff) != 0)
-		return 1;
-
-	/*
-	 * Make sure PWM Lookup-Table is writeable
-	 */
-	if (dtt_write(sensor, DTT_FAN_CONFIG, 0x20) != 0)
-		return 1;
-
-	/*
-	 * Setup PWM Lookup-Table
-	 */
-	for (i = 0; i < ARRAY_SIZE(pwm_lookup); i++) {
-		int address = DTT_PWM_LOOKUP_BASE + 2 * i;
-		val = pwm_lookup[i].temp;
-		if (is_lm64(sensor))
-			val -= 16;
-		if (dtt_write(sensor, address, val) != 0)
-			return 1;
-		val = dtt_read(sensor, address);
-		val = pwm_lookup[i].pwm;
-		if (dtt_write(sensor, address + 1, val) != 0)
-			return 1;
-	}
-
-	/*
-	 * Enable PWM Lookup-Table, PWM Clock 360 kHz, Tachometer Mode 2
-	 */
-	val = 0x02;
-	if (dtt_write(sensor, DTT_FAN_CONFIG, val) != 0)
-		return 1;
-
-	/*
-	 * Enable Tach input
-	 */
-	val = dtt_read(sensor, DTT_CONFIG) | 0x04;
-	if (dtt_write(sensor, DTT_CONFIG, val) != 0)
-		return 1;
-
-	return 0;
-}
-
-int dtt_get_temp(int sensor)
-{
-	s16 temp = (dtt_read(sensor, DTT_READ_TEMP_RMT_MSB) << 8)
-	    | (dtt_read(sensor, DTT_READ_TEMP_RMT_LSB));
-
-	if (is_lm64(sensor))
-		temp += 16 << 8;
-
-	/* Ignore LSB for now, U-Boot only prints natural numbers */
-	return temp >> 8;
-}
drivers/hwmon/lm73.c deleted +0 -146
deleted file mode 100644
index c15c7514d8..0000000000
@@ -1,146 +0,0 @@
-/*
- * (C) Copyright 2007-2008
- * Larry Johnson, lrj at acm.org
- *
- * based on dtt/lm75.c which is ...
- *
- * (C) Copyright 2001
- * Bill Hunter,  Wave 7 Optics, williamhunter at mediaone.net
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-/*
- * National Semiconductor LM73 Temperature Sensor
- */
-
-#include <common.h>
-#include <i2c.h>
-#include <dtt.h>
-
-/*
- * Device code
- */
-#define DTT_I2C_DEV_CODE 0x48	/* National Semi's LM73 device */
-#define DTT_READ_TEMP		0x0
-#define DTT_CONFIG		0x1
-#define DTT_TEMP_HIGH		0x2
-#define DTT_TEMP_LOW		0x3
-#define DTT_CONTROL		0x4
-#define DTT_ID			0x7
-
-int dtt_read(int const sensor, int const reg)
-{
-	int dlen;
-	uint8_t data[2];
-
-	/*
-	 * Validate 'reg' param and get register size.
-	 */
-	switch (reg) {
-	case DTT_CONFIG:
-	case DTT_CONTROL:
-		dlen = 1;
-		break;
-	case DTT_READ_TEMP:
-	case DTT_TEMP_HIGH:
-	case DTT_TEMP_LOW:
-	case DTT_ID:
-		dlen = 2;
-		break;
-	default:
-		return -1;
-	}
-	/*
-	 * Try to read the register at the calculated sensor address.
-	 */
-	if (0 !=
-	    i2c_read(DTT_I2C_DEV_CODE + (sensor & 0x07), reg, 1, data, dlen))
-		return -1;
-	/*
-	 * Handle 2 byte result.
-	 */
-	if (2 == dlen)
-		return (int)((unsigned)data[0] << 8 | (unsigned)data[1]);
-
-	return (int)data[0];
-} /* dtt_read() */
-
-int dtt_write(int const sensor, int const reg, int const val)
-{
-	int dlen;
-	uint8_t data[2];
-
-	/*
-	 * Validate 'reg' param and handle register size
-	 */
-	switch (reg) {
-	case DTT_CONFIG:
-	case DTT_CONTROL:
-		dlen = 1;
-		data[0] = (uint8_t) val;
-		break;
-	case DTT_TEMP_HIGH:
-	case DTT_TEMP_LOW:
-		dlen = 2;
-		data[0] = (uint8_t) (val >> 8);	/* MSB first */
-		data[1] = (uint8_t) val;
-		break;
-	default:
-		return -1;
-	}
-	/*
-	 * Write value to register at the calculated sensor address.
-	 */
-	return 0 != i2c_write(DTT_I2C_DEV_CODE + (sensor & 0x07), reg, 1, data,
-			      dlen);
-} /* dtt_write() */
-
-int dtt_init_one(int const sensor)
-{
-	int val;
-
-	/*
-	 * Validate the Identification register
-	 */
-	if (0x0190 != dtt_read(sensor, DTT_ID))
-		return -1;
-	/*
-	 * Setup THIGH (upper-limit) and TLOW (lower-limit) registers
-	 */
-	val = CONFIG_SYS_DTT_MAX_TEMP << 7;
-	if (dtt_write(sensor, DTT_TEMP_HIGH, val))
-		return -1;
-
-	val = CONFIG_SYS_DTT_MIN_TEMP << 7;
-	if (dtt_write(sensor, DTT_TEMP_LOW, val))
-		return -1;
-	/*
-	 * Setup configuraton register
-	 */
-	/* config = alert active low, disabled, and reset */
-	val = 0x64;
-	if (dtt_write(sensor, DTT_CONFIG, val))
-		return -1;
-	/*
-	 * Setup control/status register
-	 */
-	/* control = temp resolution 0.25C */
-	val = 0x00;
-	if (dtt_write(sensor, DTT_CONTROL, val))
-		return -1;
-
-	dtt_read(sensor, DTT_CONTROL);	/* clear temperature flags */
-	return 0;
-} /* dtt_init_one() */
-
-int dtt_get_temp(int const sensor)
-{
-	int const ret = dtt_read(sensor, DTT_READ_TEMP);
-
-	if (ret < 0) {
-		printf("DTT temperature read failed.\n");
-		return 0;
-	}
-	return (int)((int16_t) ret + 0x0040) >> 7;
-} /* dtt_get_temp() */
drivers/hwmon/lm75.c deleted +0 -139
deleted file mode 100644
index aafa4757b1..0000000000
@@ -1,139 +0,0 @@
-/*
- * (C) Copyright 2001
- * Bill Hunter,  Wave 7 Optics, williamhunter at mediaone.net
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-/*
- * On Semiconductor's LM75 Temperature Sensor
- */
-
-#include <common.h>
-#include <i2c.h>
-#include <dtt.h>
-
-/*
- * Device code
- */
-#define DTT_I2C_DEV_CODE 0x48			/* ON Semi's LM75 device */
-#define DTT_READ_TEMP		0x0
-#define DTT_CONFIG		0x1
-#define DTT_TEMP_HYST		0x2
-#define DTT_TEMP_SET		0x3
-
-int dtt_read(int sensor, int reg)
-{
-	int dlen;
-	uchar data[2];
-
-#ifdef CONFIG_DTT_AD7414
-	/*
-	 * On AD7414 the first value upon bootup is not read correctly.
-	 * This is most likely because of the 800ms update time of the
-	 * temp register in normal update mode. To get current values
-	 * each time we issue the "dtt" command including upon powerup
-	 * we switch into one-short mode.
-	 *
-	 * Issue one-shot mode command
-	 */
-	dtt_write(sensor, DTT_CONFIG, 0x64);
-#endif
-
-	/* Validate 'reg' param */
-	if((reg < 0) || (reg > 3))
-		return -1;
-
-	/* Calculate sensor address and register. */
-	sensor = DTT_I2C_DEV_CODE + (sensor & 0x07);
-
-	/* Prepare to handle 2 byte result. */
-	if ((reg == DTT_READ_TEMP) ||
-		(reg == DTT_TEMP_HYST) ||
-		(reg == DTT_TEMP_SET))
-			dlen = 2;
-	else
-		dlen = 1;
-
-	/* Now try to read the register. */
-	if (i2c_read(sensor, reg, 1, data, dlen) != 0)
-		return -1;
-
-	/* Handle 2 byte result. */
-	if (dlen == 2)
-		return ((int)((short)data[1] + (((short)data[0]) << 8)));
-
-	return (int)data[0];
-} /* dtt_read() */
-
-
-int dtt_write(int sensor, int reg, int val)
-{
-	int dlen;
-	uchar data[2];
-
-	/* Validate 'reg' param */
-	if ((reg < 0) || (reg > 3))
-		return 1;
-
-	/* Calculate sensor address and register. */
-	sensor = DTT_I2C_DEV_CODE + (sensor & 0x07);
-
-	/* Handle 2 byte values. */
-	if ((reg == DTT_READ_TEMP) ||
-		(reg == DTT_TEMP_HYST) ||
-		(reg == DTT_TEMP_SET)) {
-			dlen = 2;
-		data[0] = (char)((val >> 8) & 0xff);	/* MSB first */
-		data[1] = (char)(val & 0xff);
-	} else {
-		dlen = 1;
-		data[0] = (char)(val & 0xff);
-	}
-
-	/* Write value to register. */
-	if (i2c_write(sensor, reg, 1, data, dlen) != 0)
-		return 1;
-
-	return 0;
-} /* dtt_write() */
-
-
-int dtt_init_one(int sensor)
-{
-	int val;
-
-	/* Setup TSET ( trip point ) register */
-	val = ((CONFIG_SYS_DTT_MAX_TEMP * 2) << 7) & 0xff80; /* trip */
-	if (dtt_write(sensor, DTT_TEMP_SET, val) != 0)
-		return 1;
-
-	/* Setup THYST ( untrip point ) register - Hysteresis */
-	val = (((CONFIG_SYS_DTT_MAX_TEMP - CONFIG_SYS_DTT_HYSTERESIS) * 2) << 7) & 0xff80;
-	if (dtt_write(sensor, DTT_TEMP_HYST, val) != 0)
-		return 1;
-
-	/* Setup configuraton register */
-#ifdef CONFIG_DTT_AD7414
-	/* config = alert active low and disabled */
-	val = 0x60;
-#else
-	/* config = 6 sample integration, int mode, active low, and enable */
-	val = 0x18;
-#endif
-	if (dtt_write(sensor, DTT_CONFIG, val) != 0)
-		return 1;
-
-	return 0;
-} /* dtt_init_one() */
-
-int dtt_get_temp(int sensor)
-{
-	int const ret = dtt_read(sensor, DTT_READ_TEMP);
-
-	if (ret < 0) {
-		printf("DTT temperature read failed.\n");
-		return 0;
-	}
-	return (int)((int16_t) ret / 256);
-} /* dtt_get_temp() */
drivers/hwmon/lm81.c deleted +0 -111
deleted file mode 100644
index bcc8d3293b..0000000000
@@ -1,111 +0,0 @@
-/*
- * (C) Copyright 2006
- * Heiko Schocher, DENX Software Enginnering <[email protected]>
- *
- * based on dtt/lm75.c which is ...
- *
- * (C) Copyright 2001
- * Bill Hunter,  Wave 7 Optics, williamhunter at mediaone.net
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-/*
- * On Semiconductor's LM81 Temperature Sensor
- */
-
-#include <common.h>
-#include <i2c.h>
-#include <dtt.h>
-
-/*
- * Device code
- */
-#define DTT_I2C_DEV_CODE 0x2c			/* ON Semi's LM81 device */
-#define DTT_READ_TEMP		0x27
-#define DTT_CONFIG_TEMP		0x4b
-#define DTT_TEMP_MAX		0x39
-#define DTT_TEMP_HYST		0x3a
-#define DTT_CONFIG		0x40
-
-int dtt_read(int sensor, int reg)
-{
-    int dlen = 1;
-    uchar data[2];
-
-    /*
-     * Calculate sensor address and register.
-     */
-    sensor = DTT_I2C_DEV_CODE + (sensor & 0x03); /* calculate address of lm81 */
-
-    /*
-     * Now try to read the register.
-     */
-    if (i2c_read(sensor, reg, 1, data, dlen) != 0)
-	return -1;
-
-    return (int)data[0];
-} /* dtt_read() */
-
-
-int dtt_write(int sensor, int reg, int val)
-{
-    uchar data;
-
-    /*
-     * Calculate sensor address and register.
-     */
-    sensor = DTT_I2C_DEV_CODE + (sensor & 0x03); /* calculate address of lm81 */
-
-    data = (char)(val & 0xff);
-
-    /*
-     * Write value to register.
-     */
-    if (i2c_write(sensor, reg, 1, &data, 1) != 0)
-	return 1;
-
-    return 0;
-} /* dtt_write() */
-
-#define DTT_MANU	0x3e
-#define DTT_REV		0x3f
-#define DTT_CONFIG	0x40
-#define DTT_ADR		0x48
-
-int dtt_init_one(int sensor)
-{
-	int	man;
-	int	adr;
-	int	rev;
-
-	if (dtt_write (sensor, DTT_CONFIG, 0x01) < 0)
-		return 1;
-	/* The LM81 needs 400ms to get the correct values ... */
-	udelay (400000);
-	man = dtt_read (sensor, DTT_MANU);
-	if (man != 0x01)
-		return 1;
-	adr = dtt_read (sensor, DTT_ADR);
-	if (adr < 0)
-		return 1;
-	rev = dtt_read (sensor, DTT_REV);
-	if (rev < 0)
-		return 1;
-
-	debug ("DTT:   Found LM81@%x Rev: %d\n", adr, rev);
-	return 0;
-} /* dtt_init_one() */
-
-
-#define TEMP_FROM_REG(temp) \
-   ((temp)<256?((((temp)&0x1fe) >> 1) * 10)	 + ((temp) & 1) * 5:  \
-	       ((((temp)&0x1fe) >> 1) -255) * 10 - ((temp) & 1) * 5)  \
-
-int dtt_get_temp(int sensor)
-{
-	int val = dtt_read (sensor, DTT_READ_TEMP);
-	int tmpcnf = dtt_read (sensor, DTT_CONFIG_TEMP);
-
-	return (TEMP_FROM_REG((val << 1) + ((tmpcnf & 0x80) >> 7))) / 10;
-} /* dtt_get_temp() */
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 c60743acd0..d004c645b4 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 +0 -3
index 136db0dd26..d1f4bbc626 100644
@@ -33,7 +33,6 @@
  /*
   * Command line configuration.
   */
-#define CONFIG_CMD_DTT
  #define CONFIG_CMD_EEPROM
  #define CONFIG_CMD_IDE
  #define CONFIG_CMD_IMMAP
@@ -286,8 +285,6 @@
  /*
   * Temperature sensor
   */
-#define CONFIG_DTT_LM75		1
-#define CONFIG_DTT_SENSORS	{ 0x49 }
 
  /*
   * Environment settings
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 40b48f70ab..c64198181f 100644
@@ -62,7 +62,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 f5b03caf83..a5f84c7bb9 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
   */
@@ -222,7 +214,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 e662e65204..53fb0005ad 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
@@ -373,8 +366,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
@@ -84,14 +84,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
   */
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 2793a9bfb9..195503445f 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 */
@@ -339,7 +337,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
deleted file mode 100644
index 173159dc62..0000000000
@@ -1,47 +0,0 @@
-/*
- * (C) Copyright 2001
- * Erik Theisen,  Wave 7 Optics, etheisen at mindspring.com.
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-/*
- * Digital Thermometers and Thermostats.
- */
-#ifndef _DTT_H_
-#define _DTT_H_
-
-#if defined(CONFIG_DTT_ADM1021)	|| \
-	defined(CONFIG_DTT_ADT7460)	|| \
-	defined(CONFIG_DTT_DS1621)	|| \
-	defined(CONFIG_DTT_DS1775)	|| \
-	defined(CONFIG_DTT_DS620)	|| \
-	defined(CONFIG_DTT_LM63)	|| \
-	defined(CONFIG_DTT_LM73)	|| \
-	defined(CONFIG_DTT_LM75)	|| \
-	defined(CONFIG_DTT_LM81)
-
-#define CONFIG_DTT				/* We have a DTT */
-
-#ifndef CONFIG_DTT_ADM1021
-#define DTT_COMMERCIAL_MAX_TEMP	70		/* 0 - +70 C */
-#define DTT_INDUSTRIAL_MAX_TEMP	85		/* -40 - +85 C */
-#define DTT_AUTOMOTIVE_MAX_TEMP	105		/* -40 - +105 C */
-
-#ifndef CONFIG_SYS_DTT_MAX_TEMP
-#define CONFIG_SYS_DTT_MAX_TEMP DTT_COMMERCIAL_MAX_TEMP
-#endif
-
-#ifndef CONFIG_SYS_DTT_HYSTERESIS
-#define CONFIG_SYS_DTT_HYSTERESIS	5		/* 5 C */
-#endif
-#endif /* CONFIG_DTT_ADM1021 */
-
-extern void dtt_init(void);
-extern int dtt_init_one(int);
-extern int dtt_read(int sensor, int reg);
-extern int dtt_write(int sensor, int reg, int val);
-extern int dtt_get_temp(int sensor);
-#endif
-
-#endif /* _DTT_H_ */
include/i2c.h +0 -3
index cd7f61e1c1..3a81988c52 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 aa72af3934..ecd76042c5 100644
@@ -384,7 +384,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
@@ -684,20 +683,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
@@ -3476,12 +3461,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
@@ -6142,7 +6121,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 · 2 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
#27 lore raw

PATCH 10/47 Kconfig: Drop CONFIG_SYS_I2C_DS1621_ADDR

In reply to Simon Glass

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

---

 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 ecd76042c5..be3d68979c 100644
@@ -4203,7 +4203,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.rc2.291.g57267f2277-goog
#28 lore raw

PATCH 10/47 Kconfig: Drop CONFIG_SYS_I2C_DS1621_ADDR

Hello Simon,

Am 15.05.2017 um 12:57 schrieb Simon Glass:

Quoted 9 lines

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

---

  include/configs/xpedite517x.h | 12 ------------
  include/configs/xpedite537x.h | 11 -----------
  scripts/config_whitelist.txt  |  1 -
  3 files changed, 24 deletions(-)

bye,
Heiko

Quoted 73 lines
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 ecd76042c5..be3d68979c 100644
@@ -4203,7 +4203,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 · 2 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
#29 lore raw

PATCH 11/47 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.

---

 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 be3d68979c..66b6d1eace 100644
@@ -4203,7 +4203,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.rc2.291.g57267f2277-goog
#30 lore raw

PATCH 11/47 Kconfig: Drop CONFIG_SYS_I2C_DS4510_ADDR

Quoted 3 lines · Simon Glass

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

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/20170515/7be79928/attachment.sig>
#31 lore raw

PATCH 11/47 Kconfig: Drop CONFIG_SYS_I2C_DS4510_ADDR

In reply to Simon Glass

Hello Simon,

Am 15.05.2017 um 12:57 schrieb Simon Glass:

Quoted 10 lines

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

---

  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(-)

bye,
Heiko

Quoted 67 lines
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 be3d68979c..66b6d1eace 100644
@@ -4203,7 +4203,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 · 2 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
#32 lore raw

PATCH 12/47 Convert CONFIG_CMD_ECCTEST to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_ECCTEST

---

 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 66b6d1eace..a5b9febcab 100644
@@ -384,7 +384,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.rc2.291.g57267f2277-goog
#33 lore raw

PATCH 13/47 Convert CONFIG_CMD_EECONFIG to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_EECONFIG

---

 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 92eded6cda..112b084d08 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 a5b9febcab..ad299bedb2 100644
@@ -384,7 +384,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.rc2.291.g57267f2277-goog
#34 lore raw

PATCH 14/47 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

---

 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/MiniFAP_defconfig                          |  1 +
 configs/O2D300_defconfig                           |  1 +
 configs/O2DNT2_RAMBOOT_defconfig                   |  1 +
 configs/O2DNT2_defconfig                           |  1 +
 configs/O2D_defconfig                              |  1 +
 configs/O2I_defconfig                              |  1 +
 configs/O2MNT_O2M110_defconfig                     |  1 +
 configs/O2MNT_O2M112_defconfig                     |  1 +
 configs/O2MNT_O2M113_defconfig                     |  1 +
 configs/O2MNT_defconfig                            |  1 +
 configs/O3DNT_defconfig                            |  1 +
 configs/PATI_defconfig                             |  1 +
 configs/PIP405_defconfig                           |  1 +
 configs/PLU405_defconfig                           |  1 +
 configs/PMC405DE_defconfig                         |  1 +
 configs/PMC440_defconfig                           |  1 +
 configs/TQM5200S_HIGHBOOT_defconfig                |  1 +
 configs/TQM5200S_defconfig                         |  1 +
 configs/TQM5200_B_HIGHBOOT_defconfig               |  1 +
 configs/TQM5200_B_defconfig                        |  1 +
 configs/TQM5200_STK100_defconfig                   |  1 +
 configs/TQM5200_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/a4m072_defconfig                           |  1 +
 configs/ac14xx_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/aria_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/cam5200_defconfig                          |  1 +
 configs/cam5200_niosflash_defconfig                |  1 +
 configs/canyonlands_defconfig                      |  1 +
 configs/charon_defconfig                           |  1 +
 configs/cl-som-am57x_defconfig                     |  2 +
 configs/cm_fx6_defconfig                           |  2 +
 configs/cm_t335_defconfig                          |  2 +
 configs/cm_t3517_defconfig                         |  2 +
 configs/cm_t35_defconfig                           |  2 +
 configs/cm_t43_defconfig                           |  2 +
 configs/cm_t54_defconfig                           |  2 +
 .../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/digsy_mtc_RAMBOOT_defconfig                |  1 +
 configs/digsy_mtc_defconfig                        |  1 +
 configs/digsy_mtc_rev5_RAMBOOT_defconfig           |  1 +
 configs/digsy_mtc_rev5_defconfig                   |  1 +
 configs/eco5pk_defconfig                           |  1 +
 configs/fo300_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/m28evk_defconfig                           |  1 +
 configs/makalu_defconfig                           |  1 +
 configs/mecp5123_defconfig                         |  1 +
 configs/mgcoge3ne_defconfig                        |  1 +
 configs/mgcoge3un_defconfig                        |  1 +
 configs/mgcoge_defconfig                           |  1 +
 configs/motionpro_defconfig                        |  1 +
 configs/mpc5121ads_defconfig                       |  1 +
 configs/mpc5121ads_rev2_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/pcm030_LOWBOOT_defconfig                   |  1 +
 configs/pcm030_defconfig                           |  1 +
 configs/pcm051_rev1_defconfig                      |  1 +
 configs/pcm051_rev3_defconfig                      |  1 +
 configs/pcm052_defconfig                           |  1 +
 configs/pdm360ng_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/TQM5200.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/a4m072.h                           |  1 -
 include/configs/ac14xx.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/aria.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/digsy_mtc.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/m28evk.h                           |  1 -
 include/configs/mecp5123.h                         |  1 -
 include/configs/motionpro.h                        |  1 -
 include/configs/mpc5121ads.h                       |  1 -
 include/configs/neo.h                              |  1 -
 include/configs/novena.h                           |  1 -
 include/configs/o2dnt-common.h                     |  1 -
 include/configs/ot1200.h                           |  1 -
 include/configs/p1_p2_rdb_pc.h                     |  1 -
 include/configs/p1_twr.h                           |  1 -
 include/configs/pcm030.h                           |  1 -
 include/configs/pcm051.h                           |  1 -
 include/configs/pcm052.h                           |  1 -
 include/configs/pdm360ng.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 --
 273 files changed, 259 insertions(+), 119 deletions(-)
README +0 -2
index 0380ce2027..d3ab943eac 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 b2d6e80716..bac8c2ff94 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 0a0e4a2c1c..eca4528236 100644
@@ -267,10 +267,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/MiniFAP_defconfig +1 -0
index 7d719f81f5..ba2e06918f 100644
@@ -9,6 +9,7 @@ CONFIG_BOOTDELAY=5
 CONFIG_SYS_CONSOLE_IS_IN_ENV=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/O2D300_defconfig +1 -0
index 38101f05df..4890eb7ff4 100644
@@ -4,6 +4,7 @@ CONFIG_TARGET_O2D300=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/O2DNT2_RAMBOOT_defconfig +1 -0
index 83006e5582..6b63ca82ab 100644
@@ -8,6 +8,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="Autobooting in %d seconds, press password to stop\n"
 CONFIG_AUTOBOOT_STOP_STR="++++++++++"
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/O2DNT2_defconfig +1 -0
index 4202d85203..b0f7c3a12c 100644
@@ -7,6 +7,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="Autobooting in %d seconds, press password to stop\n"
 CONFIG_AUTOBOOT_STOP_STR="++++++++++"
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/O2D_defconfig +1 -0
index b84a1c8839..fb56252d9c 100644
@@ -4,6 +4,7 @@ CONFIG_TARGET_O2D=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/O2I_defconfig +1 -0
index efcc769ff4..4576257c3b 100644
@@ -4,6 +4,7 @@ CONFIG_TARGET_O2I=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/O2MNT_O2M110_defconfig +1 -0
index abdc53df21..84a4676c7c 100644
@@ -5,6 +5,7 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_EXTRA_OPTIONS="IFM_SENSOR_TYPE=\"O2M110\""
 CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/O2MNT_O2M112_defconfig +1 -0
index 06089fe3cf..249c903918 100644
@@ -5,6 +5,7 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_EXTRA_OPTIONS="IFM_SENSOR_TYPE=\"O2M112\""
 CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/O2MNT_O2M113_defconfig +1 -0
index 1ea3f3a09b..299949b894 100644
@@ -5,6 +5,7 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_EXTRA_OPTIONS="IFM_SENSOR_TYPE=\"O2M113\""
 CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/O2MNT_defconfig +1 -0
index 0209085605..e7dee8201b 100644
@@ -4,6 +4,7 @@ CONFIG_TARGET_O2MNT=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/O3DNT_defconfig +1 -0
index 5ce4140859..a12a47414f 100644
@@ -4,6 +4,7 @@ CONFIG_TARGET_O3DNT=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=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/TQM5200S_HIGHBOOT_defconfig +1 -0
index d0cd50a63c..9779a25bc0 100644
@@ -6,6 +6,7 @@ CONFIG_SYS_EXTRA_OPTIONS="TQM5200_B,TQM5200S,SYS_TEXT_BASE=0xFFF00000"
 CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
configs/TQM5200S_defconfig +1 -0
index 5324a9a11c..f751111cf5 100644
@@ -6,6 +6,7 @@ CONFIG_SYS_EXTRA_OPTIONS="TQM5200_B,TQM5200S"
 CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
configs/TQM5200_B_HIGHBOOT_defconfig +1 -0
index 2f933e6cab..b08a4034f7 100644
@@ -9,6 +9,7 @@ CONFIG_BOOTDELAY=5
 CONFIG_SYS_CONSOLE_IS_IN_ENV=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/TQM5200_B_defconfig +1 -0
index f204484f59..8052f573da 100644
@@ -9,6 +9,7 @@ CONFIG_BOOTDELAY=5
 CONFIG_SYS_CONSOLE_IS_IN_ENV=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/TQM5200_STK100_defconfig +1 -0
index db9bb8a30d..b2027023d0 100644
@@ -9,6 +9,7 @@ CONFIG_BOOTDELAY=5
 CONFIG_SYS_CONSOLE_IS_IN_ENV=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/TQM5200_defconfig +1 -0
index eec60f1be4..1d133001ed 100644
@@ -8,6 +8,7 @@ CONFIG_BOOTDELAY=5
 CONFIG_SYS_CONSOLE_IS_IN_ENV=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/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/a4m072_defconfig +1 -0
index ce5edcbf01..53a470513c 100644
@@ -7,6 +7,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="autoboot in %d seconds\n"
 CONFIG_AUTOBOOT_DELAY_STR="asdfg"
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
configs/ac14xx_defconfig +1 -0
index e3b7793e04..02232a1452 100644
@@ -5,6 +5,7 @@ CONFIG_FIT=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_PROMPT="ac14xx> "
 CONFIG_CMD_ASKENV=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/aria_defconfig +1 -0
index 963661ab2d..2e4c5a02d6 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_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 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/cam5200_defconfig +1 -0
index 92985ab3d6..8f4f47d266 100644
@@ -6,6 +6,7 @@ CONFIG_SYS_EXTRA_OPTIONS="CAM5200,TQM5200S,TQM5200_B"
 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/cam5200_niosflash_defconfig +1 -0
index 32bc58ee9b..e3b19f1771 100644
@@ -6,6 +6,7 @@ CONFIG_SYS_EXTRA_OPTIONS="CAM5200,TQM5200S,TQM5200_B,CAM5200_NIOSFLASH"
 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/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/charon_defconfig +1 -0
index ec22a6368f..e6c57235ce 100644
@@ -8,6 +8,7 @@ CONFIG_BOOTDELAY=5
 CONFIG_SYS_CONSOLE_IS_IN_ENV=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/cl-som-am57x_defconfig +2 -0
index ed419a34d1..0703ffc8b7 100644
@@ -9,6 +9,8 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
+CONFIG_CMD_EEPROM_LAYOUT=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
configs/cm_fx6_defconfig +2 -0
index 9a26fa42c4..48e0bf6797 100644
@@ -23,6 +23,8 @@ 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_EEPROM_LAYOUT=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FLASH is not set
configs/cm_t335_defconfig +2 -0
index dd84e81f65..2dc9b4999f 100644
@@ -23,6 +23,8 @@ 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_EEPROM_LAYOUT=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PART=y
configs/cm_t3517_defconfig +2 -0
index c1cb2c0421..29ea81d584 100644
@@ -10,6 +10,8 @@ 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_EEPROM_LAYOUT=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
configs/cm_t35_defconfig +2 -0
index b9a79408a2..23812d1c04 100644
@@ -12,6 +12,8 @@ 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_EEPROM_LAYOUT=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
configs/cm_t43_defconfig +2 -0
index c3b84cc796..de92423679 100644
@@ -26,6 +26,8 @@ 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_EEPROM_LAYOUT=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPT=y
 CONFIG_CMD_MMC=y
configs/cm_t54_defconfig +2 -0
index d7fd995f7a..1566da9a7e 100644
@@ -15,6 +15,8 @@ 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_EEPROM_LAYOUT=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 54ace36a99..a91c1c7254 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/digsy_mtc_RAMBOOT_defconfig +1 -0
index 0d11eec75a..f48752b1a0 100644
@@ -12,6 +12,7 @@ CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
 CONFIG_AUTOBOOT_DELAY_STR="d"
 CONFIG_AUTOBOOT_STOP_STR=" "
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
configs/digsy_mtc_defconfig +1 -0
index dc17ab4406..4f4bbde45a 100644
@@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="autoboot in %d seconds\n"
 CONFIG_AUTOBOOT_DELAY_STR=" "
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
configs/digsy_mtc_rev5_RAMBOOT_defconfig +1 -0
index 4ab11c755b..10e3727de2 100644
@@ -12,6 +12,7 @@ CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
 CONFIG_AUTOBOOT_DELAY_STR="d"
 CONFIG_AUTOBOOT_STOP_STR=" "
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
configs/digsy_mtc_rev5_defconfig +1 -0
index 1f3f3c8bb6..d0423b478f 100644
@@ -12,6 +12,7 @@ CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
 CONFIG_AUTOBOOT_DELAY_STR="d"
 CONFIG_AUTOBOOT_STOP_STR=" "
+CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
configs/eco5pk_defconfig +1 -0
index 2f3d814163..f46052c1f9 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/fo300_defconfig +1 -0
index b4f334a436..ef40a1cccf 100644
@@ -11,6 +11,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=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/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 0f115066db..d0dcf5ee8d 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 429a81f6b7..e8b8b48d47 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/m28evk_defconfig +1 -0
index 6acbd77d5f..7f61649a08 100644
@@ -18,6 +18,7 @@ CONFIG_HUSH_PARSER=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/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/mecp5123_defconfig +1 -0
index ebf5415464..fea736fcd3 100644
@@ -6,6 +6,7 @@ CONFIG_BOOTDELAY=5
 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/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/motionpro_defconfig +1 -0
index 91384a6259..93830281a8 100644
@@ -8,6 +8,7 @@ CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="Autobooting in %d seconds, press \"<Esc><Esc>\" to stop\n"
 CONFIG_AUTOBOOT_STOP_STR="\x1b\x1b"
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/mpc5121ads_defconfig +1 -0
index c0af8127b5..2bb7b76a09 100644
@@ -6,6 +6,7 @@ CONFIG_BOOTDELAY=5
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
configs/mpc5121ads_rev2_defconfig +1 -0
index ad46e02e94..87d3fb7cd1 100644
@@ -7,6 +7,7 @@ CONFIG_BOOTDELAY=5
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
configs/mt_ventoux_defconfig +1 -0
index 08e400cc4e..3d467960f1 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 5e41e02a02..547201af5c 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 2d04fb5979..1f08353d36 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 6c730fc7d8..2783578fe5 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 4b3c851842..f6884dde96 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/pcm030_LOWBOOT_defconfig +1 -0
index d19908ca8f..5f03c45e4a 100644
@@ -4,6 +4,7 @@ CONFIG_TARGET_PCM030=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0xFF000000"
 CONFIG_BOOTDELAY=3
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/pcm030_defconfig +1 -0
index ef5c85888c..8fed52ea39 100644
@@ -4,6 +4,7 @@ CONFIG_TARGET_PCM030=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=3
 CONFIG_SYS_PROMPT="uboot> "
+CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=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/pdm360ng_defconfig +1 -0
index f45a90caf9..e199778536 100644
@@ -10,6 +10,7 @@ CONFIG_SILENT_CONSOLE=y
 # CONFIG_CONSOLE_MUX is not set
 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/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 ba7b68b317..258abf0ee0 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 27b29fb94e..5129b57663 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 4896c6b459..dade2be6fc 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 d5927b383b..8dcbb5248f 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 e0c8a7176e..04dc390ae4 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 abfdbc9276..f8c19e1027 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 6f333e75ef..6f2a45a81d 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 9097932581..5f112a520a 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 95b42208e9..a101ebf07a 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 4da829d838..c87a73e818 100644
@@ -780,7 +780,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 3b55404cda..0d6543a329 100644
@@ -790,7 +790,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 b2810b65f9..432f3c7752 100644
@@ -661,7 +661,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/TQM5200.h +0 -1
index 13f4ef67e1..10b6536d4a 100644
@@ -144,7 +144,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_JFFS2
 #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/a4m072.h +0 -1
index 79099518e7..92f01eb84b 100644
@@ -81,7 +81,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_IDE
 
 #if defined(CONFIG_PCI)
include/configs/ac14xx.h +0 -1
index ee015bb83d..13e7209777 100644
@@ -384,7 +384,6 @@
 #define CONFIG_LOADS_ECHO		1
 #define CONFIG_SYS_LOADS_BAUD_CHANGE	1
 
-#define CONFIG_CMD_EEPROM
 #undef CONFIG_CMD_FUSE
 #undef CONFIG_CMD_IDE
 #define CONFIG_CMD_JFFS2
include/configs/am335x_evm.h +0 -1
index 51c3d493c8..58856128a9 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/aria.h +0 -1
index 94f6605d46..e211bafc00 100644
@@ -392,7 +392,6 @@
 #define CONFIG_LOADS_ECHO		1
 #define CONFIG_SYS_LOADS_BAUD_CHANGE	1
 
-#define CONFIG_CMD_EEPROM
 #undef CONFIG_CMD_FUSE
 #undef CONFIG_CMD_IDE
 #define CONFIG_CMD_JFFS2
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 dfdad6c3d0..2ed6713ab2 100644
@@ -317,14 +317,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 e12dc020ff..de20b29f75 100644
@@ -269,14 +269,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 477aa07bd8..993ce9bf53 100644
@@ -69,16 +69,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 b52f300af9..162d61e777 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/digsy_mtc.h +0 -1
index 2b56945dd9..0def09d0f9 100644
@@ -85,7 +85,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_IDE
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_PCI
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 8d7e54305d..07522b5c11 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 911192da7a..6be5f6abfc 100644
@@ -382,7 +382,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 #define CONFIG_CMD_SDRAM
include/configs/m28evk.h +0 -1
index f6fa599e6b..77b4f17db4 100644
@@ -16,7 +16,6 @@
 /* U-Boot Commands */
 #define CONFIG_FAT_WRITE
 
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_NAND_TRIMFFS
 
include/configs/mecp5123.h +0 -1
index 1a9cb675df..b05f1041fd 100644
@@ -288,7 +288,6 @@
 #define CONFIG_SYS_LOADS_BAUD_CHANGE	/* allow baudrate change	*/
 
 #define CONFIG_CMD_REGINFO
-#define CONFIG_CMD_EEPROM
 #undef CONFIG_CMD_FUSE
 #undef CONFIG_CMD_IDE
 #define CONFIG_CMD_JFFS2
include/configs/motionpro.h +0 -1
index d1f4bbc626..e3b467a6c5 100644
@@ -33,7 +33,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_IDE
 #define CONFIG_CMD_IMMAP
 #define CONFIG_CMD_JFFS2
include/configs/mpc5121ads.h +0 -1
index dafb724e3f..77a79ed905 100644
@@ -396,7 +396,6 @@
 #define CONFIG_LOADS_ECHO	1	/* echo on for serial download */
 #define CONFIG_SYS_LOADS_BAUD_CHANGE	1	/* allow baudrate change */
 
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_IDE
 #define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_REGINFO
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 df0efbca92..057c5e4c43 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/o2dnt-common.h +0 -1
index e2881a7177..635c588d84 100644
@@ -68,7 +68,6 @@
 /*
  * Supported commands
  */
-#define CONFIG_CMD_EEPROM
 #ifdef CONFIG_PCI
 #define CONFIG_CMD_PCI
 #endif
include/configs/ot1200.h +0 -1
index b4d2b0a871..cc1fdcfe51 100644
@@ -93,7 +93,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 d995d0448c..68899e0f35 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 dad0616517..cb7c63dbfd 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/pcm030.h +0 -1
index 6d8a2338a2..04047cfaef 100644
@@ -49,7 +49,6 @@ Serial console configuration
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_PCI
 
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/pdm360ng.h +0 -1
index 501611dde7..bdd38d133f 100644
@@ -367,7 +367,6 @@
 #define CONFIG_LOADS_ECHO	1	/* echo on for serial download */
 #define CONFIG_SYS_LOADS_BAUD_CHANGE	1	/* allow baudrate change */
 
-#define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_REGINFO
 
 #undef CONFIG_CMD_FUSE
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 0bdf52eb68..e86d4f3a92 100644
@@ -77,7 +77,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 53fb0005ad..f393c3fa01 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 9741ca5fc9..0eb6c92220 100644
@@ -77,7 +77,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 9db6fee6e7..9ee79ecefd 100644
@@ -77,7 +77,6 @@
 /*
  * Commands
  */
-#define CONFIG_CMD_EEPROM
 
 /*
  * Only Premium/Platinum have ethernet support right now
@@ -255,8 +254,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 195503445f..205b2ea66a 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/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 ad299bedb2..a3a90095d0 100644
@@ -384,8 +384,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
@@ -745,7 +743,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.rc2.291.g57267f2277-goog
#35 lore raw

PATCH 14/47 Convert CONFIG_CMD_EEPROM et al to Kconfig

Quoted 6 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_EEPROM
CONFIG_CMD_EEPROM_LAYOUT
CONFIG_EEPROM_LAYOUT_HELP_STRING

[snip]

Quoted 1 line
 273 files changed, 259 insertions(+), 119 deletions(-)

I feel there needs to be a bit more poking on places to imply CMD_EEPROM. 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/20170515/d9d4cdba/attachment.sig>
#36 lore raw

PATCH 14/47 Convert CONFIG_CMD_EEPROM et al to Kconfig

Hi Tom,

Quoted 7 lines · Tom Rini
Quoted 5 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_EEPROM
CONFIG_CMD_EEPROM_LAYOUT
CONFIG_EEPROM_LAYOUT_HELP_STRING

Quoted 6 lines
Quoted 1 line

[snip]

Quoted 1 line
 273 files changed, 259 insertions(+), 119 deletions(-)

I feel there needs to be a bit more poking on places to imply CMD_EEPROM. Thanks!

I did try pretty hard on this. Part of the problem is that some boards that have a shared include file do not have a shared Kconfig option.

Regards,
Simon

#37 lore raw

PATCH 14/47 Convert CONFIG_CMD_EEPROM et al to Kconfig

Quoted 11 lines · Simon Glass

Hi Tom,

Quoted 8 lines · Tom Rini
Quoted 6 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_EEPROM
CONFIG_CMD_EEPROM_LAYOUT
CONFIG_EEPROM_LAYOUT_HELP_STRING

Quoted 8 lines
Quoted 5 lines

[snip]

Quoted 1 line
 273 files changed, 259 insertions(+), 119 deletions(-)

I feel there needs to be a bit more poking on places to imply CMD_EEPROM. Thanks!

I did try pretty hard on this. Part of the problem is that some boards that have a shared include file do not have a shared Kconfig option.

I guess we can cycle back here later, this is OK for now, 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/20170515/479de4fd/attachment.sig>
#38 lore raw

PATCH 15/47 Convert CONFIG_CMD_ENTERRCM to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_ENTERRCM

---

 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 a3a90095d0..d68f3b1553 100644
@@ -384,7 +384,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.rc2.291.g57267f2277-goog
#39 lore raw

PATCH 16/47 Convert CONFIG_CMD_ENV to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_ENV

---

 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 5f5882dc8e..111242d9a6 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 d1d4bf0156..112966f7c1 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 642572fc95..f8e1f16d9c 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 398b3aa343..45c99ff42d 100644
@@ -127,7 +127,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 6e52e56222..0c2fa5ba48 100644
@@ -107,7 +107,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 d68f3b1553..1eaf182ad9 100644
@@ -384,7 +384,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.rc2.291.g57267f2277-goog
#40 lore raw

PATCH 16/47 Convert CONFIG_CMD_ENV to Kconfig

Quoted 4 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_ENV

We need to re-word this because CONFIG_CMD_ENV isn't actually used anywhere.

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/20170515/2a21920c/attachment.sig>
#41 lore raw

PATCH 17/47 Convert CONFIG_CMD_ENV_CALLBACK to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_ENV_CALLBACK

---

 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 d3ab943eac..776f7b232f 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 b84be99bcd..d86d9d2693 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 1eaf182ad9..2640e76885 100644
@@ -384,7 +384,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.rc2.291.g57267f2277-goog
#42 lore raw

PATCH 18/47 Convert CONFIG_CMD_ENV_FLAGS to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_ENV_FLAGS

---

 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 776f7b232f..d863984188 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 d86d9d2693..e8e035528a 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 6b6bbbd5c0..7644f09411 100644
@@ -445,7 +445,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 2640e76885..c91715ba9e 100644
@@ -384,7 +384,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.rc2.291.g57267f2277-goog
#43 lore raw

PATCH 19/47 Convert CONFIG_CMD_ERRATA to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_ERRATA

---

 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..ca44e0a399 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 if MPC85xx
+	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..a7a31471c6 100644
@@ -8,6 +8,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_BOARD_EARLY_INIT_F=y
 # CONFIG_CMD_BOOTM is not set
+# CONFIG_CMD_ERRATA is not set
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
configs/controlcenterd_TRAILBLAZER_defconfig +1 -0
index aee0f3af71..e12bbd8c46 100644
@@ -8,6 +8,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_BOARD_EARLY_INIT_F=y
 # CONFIG_CMD_BOOTM is not set
+# CONFIG_CMD_ERRATA is not set
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_EEPROM=y
 # CONFIG_CMD_FLASH is not set
include/configs/B4860QDS.h +0 -1
index f8c19e1027..2d1e080df8 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 6f2a45a81d..1b342b6d14 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 5f112a520a..3f51625f9b 100644
@@ -521,7 +521,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 e6aca11e50..ef3fd090ba 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 a101ebf07a..3e1378b866 100644
@@ -726,7 +726,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 db66c309e7..85c050c8e4 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 c3e3fae44f..a8cdfe1ea8 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 c87a73e818..7e4f097927 100644
@@ -780,7 +780,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 0d6543a329..8bb6eb57f6 100644
@@ -790,7 +790,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 432f3c7752..ad1d299154 100644
@@ -661,7 +661,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 5577408015..d21a09c1a7 100644
@@ -774,7 +774,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 a32ddeed1d..27693e19b9 100644
@@ -745,7 +745,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 90ce554035..2ebfbb5b76 100644
@@ -691,7 +691,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 cc1f79940c..8b2a232405 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 d004c645b4..6feb9894f9 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 162d61e777..9196c86a91 100644
@@ -344,7 +344,6 @@
 
 #ifndef CONFIG_TRAILBLAZER
 
-#define CONFIG_CMD_ERRATA
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
include/configs/corenet_ds.h +0 -1
index f42ba795ea..85c51ed58b 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 904da1a8ac..500987c36e 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 c91715ba9e..e981b45ee6 100644
@@ -384,7 +384,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.rc2.291.g57267f2277-goog
#44 lore raw

PATCH 19/47 Convert CONFIG_CMD_ERRATA to Kconfig

Quoted 2 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_ERRATA

[snip]

arch/powerpc/cpu/mpc85xx/Kconfig menu "mpc85xx CPU" · line 10

Quoted 4 lines
arch/powerpc/cpu/mpc85xx/Kconfig +4 -0
+config CMD_ERRATA
+	bool "Enable the 'errata' command"
+	depends on MPC85xx
+	default y if MPC85xx

This can just be default y

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/20170515/86ef8e5b/attachment.sig>