Skip to content

Migrate some I2C symbols to Kconfig

Tom Rini u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13kp_imx53: Switch to using a local namespace for ID EEPROMboard/k+p/kp_imx53/kp_id_rev.c include/configs/kp_imx53.h+6 -62 replies
2/13davinci: Drop CONFIG_MAC_ADDR_IN_EEPROMarch/arm/mach-davinci/include/mach/davinci_misc.h arch/arm/mach-davinci/misc.c board/davinci/da8xxevm/Kconfig +2 more+3 -1040 replies
3/13arm: shc: Change CONFIG_SYS_I2C_EEPROM_ADDR to EEPROM_ADDRboard/bosch/shc/board.c include/configs/am335x_shc.h+3 -31 reply
4/13keymile: Use CONFIG_SYS_IVM_EEPROM_ADRboard/keymile/common/ivm.c include/configs/kmcent2.h+3 -41 reply
5/13siemens: Move CONFIG_SYS_I2C_EEPROM_ADDR usage out of CONFIG namespaceboard/siemens/common/board.c board/siemens/draco/board.c include/configs/draco.h+10 -93 replies
6/13Convert CONFIG_ID_EEPROM to Kconfigarch/arm/cpu/armv8/fsl-layerscape/Kconfig arch/powerpc/cpu/mpc85xx/Kconfig common/Kconfig +92 more+75 -310 replies
7/13i2c: S3C24X0: Finish Kconfig migrationconfigs/arndale_defconfig configs/odroid-xu3_defconfig configs/peach-pi_defconfig +8 more+11 -122 replies
8/13cl-som-imx7: Enable CMD_EEPROMconfigs/cl-som-imx7_defconfig+1 -00 replies
9/13eeprom: Drop CONFIG_ENV_EEPROM_IS_ON_I2C usagecmd/eeprom.c env/Kconfig include/configs/am335x_evm.h +10 more+4 -200 replies
10/13Convert CONFIG_SYS_I2C_EEPROM_ADDR et al to Kconfigboard/compulab/common/eeprom.c cmd/Kconfig cmd/eeprom.c +313 more+616 -3050 replies
11/13Convert CONFIG_SYS_I2C_SOFT et al to Kconfigboard/sunxi/board.c configs/Colombus_defconfig configs/UTOO_P66_defconfig +14 more+45 -152 replies
12/13Convert CONFIG_SYS_I2C_MVTWSI to Kconfigarch/arm/mach-kirkwood/include/mach/config.h configs/A10-OLinuXino-Lime_defconfig configs/A10s-OLinuXino-M_defconfig +108 more+101 -100 replies
13/13i2c: Remove unused additional legacy soft i2c bus supportREADME drivers/i2c/soft_i2c.c+0 -910 replies

Reviews trailers per patch

5 of 13 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchHeiko SchocherLukasz MajewskiAnatolij GustschinAleksandar GerasimovskiLokesh VutlaMinkyu KangJaehoon Chung
SeriesA-b R-b
1/13A-b
2/13
3/13R-b
4/13R-b
5/13R-b R-b
6/13
7/13R-b R-b
8/13
9/13
10/13
11/13
12/13
13/13

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 7 reviewers.

Read the v1 thread

Cover letter [PATCH 00/13] Migrate some I2C symbols to Kconfig

This series is largely size neutral. Aside from specific commits calling out adding functionality, removing the unused differentiation between CONFIG_SYS_DEF_EEPROM_ADDR and CONFIG_SYS_I2C_EEPROM_ADDR means that in some cases we now have a default eeprom address available. We also now always ask about CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS so we test for a non-zero value there. This reduces the code size in a few places as we remove if (something) { udelay(0); } calls. There's also a few places where the values didn't change, but now the optimizer optimized things better. Oh, and on UTOO_P66 we end up adding the legacy software I2C driver to SPL. I can't see how this was working as intended before now.

I'm intending this to go in once I open -next, pending feedback.