[U-Boot] [PATCH v3 00/12] i2c: Remove old I2C support
Simon Glass
sjg at chromium.org
Sat May 13 03:09:48 UTC 2017
We have about 6600 CONFIG options to convert to Kconfig at the time of
writing and our target is to complete work by the end of the year. We have
no hope of doing this unless we adopt a somewhat more agressive approach
to dropping old boards and options.
There are a very large number of deprecated or very old options. It does
not make sense to convert these to Kconfig just to carry the debt for
another few years. We should remove these options.
Rather than completely dropping boards, one idea is to remove the parts
of their support which have not been migrated. This was done with some
Samsung boards recently, and it provided the maintainers with enough time
to come in and make the changes.
CONFIG_I2C_SOFT and CONFIG_I2C_HARD are very old. This series removes
them. Boards which rely on these options for I2C support lose some of
their functionality. To regain it they would need to be migrated to driver
model.
Changes in v3:
- Update commit message so that it is unique in the series
- Fix up #ifdef in cmd/eeprom.c
- Drop changes to include/config headers
- Rebase to master
Changes in v2:
- Add new patch to adjust omap boards to not need CONFIG_I2C_HARD
- Drop changes to omap board.c files
- Rebase to master
Simon Glass (12):
i2c: Drop use of CONFIG_I2C_HARD
i2c: powerpc: Remove use of CONFIG_HARD_I2C
i2c: cm5200: Drop use of CONFIG_I2C_HARD
i2c: pdm360ng: Drop use of CONFIG_I2C_HARD
i2c: keymile: Drop use of CONFIG_I2C_HARD
i2c: mxc_i2c: Drop use of CONFIG_I2C_HARD
i2c: omap: Modify code to work without CONFIG_I2C_HARD
i2c: Finish dropping use of CONFIG_I2C_HARD
i2c: README: Drop CONFIG_SYS_I2C_INIT_MPC5XXX
i2c: Drop CONFIG_SYS_I2C_BOARD_LATE_INIT
Drop CONFIG_I2CFAST
Drop use of CONFIG_I2C_SOFT
README | 64 +--
arch/arm/include/asm/arch-armada100/config.h | 12 -
arch/powerpc/cpu/mpc512x/Makefile | 1 -
arch/powerpc/cpu/mpc512x/i2c.c | 386 --------------
arch/powerpc/cpu/mpc5xxx/Makefile | 1 -
arch/powerpc/cpu/mpc5xxx/i2c.c | 456 -----------------
arch/powerpc/cpu/mpc8260/Makefile | 2 +-
arch/powerpc/cpu/mpc8260/commproc.c | 4 -
arch/powerpc/cpu/mpc8260/i2c.c | 741 ---------------------------
arch/powerpc/cpu/mpc8xx/Makefile | 1 -
arch/powerpc/cpu/mpc8xx/i2c.c | 672 ------------------------
board/alphaproject/ap_sh4a_4a/ap_sh4a_4a.c | 12 +-
board/cm5200/cm5200.c | 36 +-
board/cm5200/cmd_cm5200.c | 32 +-
board/davedenx/aria/aria.c | 3 -
board/esd/mecp5123/mecp5123.c | 12 +-
board/freescale/m52277evb/README | 1 -
board/freescale/m53017evb/README | 1 -
board/freescale/m5373evb/README | 1 -
board/freescale/m54455evb/README | 1 -
board/freescale/m547xevb/README | 1 -
board/freescale/mpc5121ads/mpc5121ads.c | 21 -
board/ifm/ac14xx/ac14xx.c | 53 +-
board/keymile/km82xx/km82xx.c | 5 -
board/keymile/km_arm/km_arm.c | 4 -
board/pdm360ng/pdm360ng.c | 30 --
board/renesas/r0p7734/r0p7734.c | 12 +-
board/ti/am335x/board.c | 3 +-
board/ti/am43xx/board.c | 3 +-
board/tqc/tqm5200/tqm5200.c | 18 +-
cmd/eeprom.c | 2 -
common/board_f.c | 4 +-
common/board_r.c | 17 -
common/stdio.c | 5 +-
configs/MiniFAP_defconfig | 2 -
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/TQM5200S_HIGHBOOT_defconfig | 2 -
configs/TQM5200S_defconfig | 2 -
configs/TQM5200_B_HIGHBOOT_defconfig | 2 -
configs/TQM5200_B_defconfig | 2 -
configs/TQM5200_STK100_defconfig | 2 -
configs/TQM5200_defconfig | 2 -
configs/a4m072_defconfig | 1 -
configs/ac14xx_defconfig | 1 -
configs/ap_sh4a_4a_defconfig | 1 -
configs/apx4devkit_defconfig | 2 -
configs/aria_defconfig | 1 -
configs/aspenite_defconfig | 1 -
configs/cam5200_defconfig | 2 -
configs/cam5200_niosflash_defconfig | 2 -
configs/charon_defconfig | 1 -
configs/cm5200_defconfig | 1 -
configs/digsy_mtc_RAMBOOT_defconfig | 2 -
configs/digsy_mtc_defconfig | 2 -
configs/digsy_mtc_rev5_RAMBOOT_defconfig | 2 -
configs/digsy_mtc_rev5_defconfig | 2 -
configs/fo300_defconfig | 2 -
configs/gplugd_defconfig | 1 -
configs/ipek01_defconfig | 2 -
configs/m28evk_defconfig | 1 -
configs/mecp5123_defconfig | 2 -
configs/motionpro_defconfig | 2 -
configs/mpc5121ads_defconfig | 2 -
configs/mpc5121ads_rev2_defconfig | 2 -
configs/pcm030_LOWBOOT_defconfig | 2 -
configs/pcm030_defconfig | 2 -
configs/pdm360ng_defconfig | 2 -
configs/r0p7734_defconfig | 1 -
configs/v38b_defconfig | 2 -
drivers/i2c/fsl_i2c.c | 9 -
drivers/i2c/fti2c010.c | 9 -
drivers/i2c/mxc_i2c.c | 4 -
include/common.h | 10 +
include/configs/M54418TWR.h | 1 -
include/configs/TQM5200.h | 64 +--
include/configs/a4m072.h | 20 -
include/configs/ac14xx.h | 18 -
include/configs/ap_sh4a_4a.h | 14 -
include/configs/apx4devkit.h | 6 -
include/configs/aria.h | 21 -
include/configs/axs10x.h | 2 +-
include/configs/cm5200.h | 12 +-
include/configs/digsy_mtc.h | 31 --
include/configs/ids8313.h | 1 -
include/configs/ipek01.h | 23 -
include/configs/jupiter.h | 19 -
include/configs/m28evk.h | 6 -
include/configs/manroland/mpc5200-common.h | 176 +++++++
include/configs/mecp5123.h | 18 +-
include/configs/motionpro.h | 22 -
include/configs/mpc5121ads.h | 18 -
include/configs/mxs.h | 10 -
include/configs/o2dnt-common.h | 22 -
include/configs/pcm030.h | 31 +-
include/configs/pdm360ng.h | 30 --
include/configs/r0p7734.h | 14 -
include/configs/s32v234evb.h | 10 -
include/configs/v38b.h | 21 -
include/i2c.h | 3 -
scripts/config_whitelist.txt | 3 -
109 files changed, 220 insertions(+), 3113 deletions(-)
delete mode 100644 arch/powerpc/cpu/mpc512x/i2c.c
delete mode 100644 arch/powerpc/cpu/mpc5xxx/i2c.c
delete mode 100644 arch/powerpc/cpu/mpc8260/i2c.c
delete mode 100644 arch/powerpc/cpu/mpc8xx/i2c.c
create mode 100644 include/configs/manroland/mpc5200-common.h
--
2.13.0.rc2.291.g57267f2277-goog
More information about the U-Boot
mailing list