Skip to content

Remove individual I2C commands and cleanup

Peter Tyser u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7cm5200: Make function test command names more uniqueboard/cm5200/cmd_cm5200.c+9 -90 replies
2/7i2c: Create common default i2c_[set|get]_bus_speed() functionscommon/cmd_i2c.c cpu/arm920t/at91rm9200/i2c.c cpu/mpc512x/i2c.c +3 more+18 -651 reply
2/7i2c: Create common default i2c_[set|get]_bus_speed() functions+0 -01 reply
3/7i2c: Remove deprecated individual i2c commandsREADME common/cmd_i2c.c doc/feature-removal-schedule.txt +23 more+0 -980 replies
4/7i2c: Update references to individual i2c commandsREADME board/esd/tasreg/tasreg.c common/cmd_i2c.c +11 more+42 -780 replies
5/7cmd_i2c: Clean up i2c command argument parsingcommon/cmd_i2c.c+28 -240 replies
6/7cmd_i2c: Clean up trivial helper functionscommon/cmd_i2c.c+4 -210 replies
7/7cmd_i2c: Fix i2c help command output when CONFIG_I2C_MUXcommon/cmd_i2c.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/7] Remove individual I2C commands and cleanup

This patch series removes the "individual" I2C commands (and the CONFIG_I2C_CMD_TREE define) and migrates all boards to the newer "tree style" I2C commands.

A small amount of cleanup was performed before and after removing the individual commands.

Peter Tyser (7):
cm5200: Make function test command names more unique
cmd_i2c: Create common default i2c_[set|get]_bus_speed() functions
cmd_i2c: Remove deprecated individual i2c commands
cmd_i2c: Update references to individual i2c commands
cmd_i2c: Clean up i2c command argument parsing
cmd_i2c: Clean up trivial helper functions
cmd_i2c: Fix i2c help command output when CONFIG_I2C_MUX

 README                           |   20 +----
 board/cm5200/cmd_cm5200.c        |   18 ++--
 board/esd/tasreg/tasreg.c        |    4 +-
 common/cmd_i2c.c                 |  176 +++++++++++++-------------------------
 cpu/arm920t/at91rm9200/i2c.c     |   10 --
 cpu/mpc512x/i2c.c                |   14 ---
 cpu/mpc8260/i2c.c                |   13 ---
 cpu/ppc4xx/i2c.c                 |   14 ---
 doc/README.ebony                 |   20 ++--
 doc/README.m52277evb             |    8 +--
 doc/README.m5373evb              |    8 +--
 doc/README.m54455evb             |    8 +--
 doc/README.m5475evb              |    8 +--
 doc/README.ppc440                |    4 +-
 doc/README.xpedite1k             |    6 +-
 doc/feature-removal-schedule.txt |   12 ---
 drivers/i2c/soft_i2c.c           |   14 ---
 drivers/i2c/tsi108_i2c.c         |    2 +-
 include/configs/DU405.h          |    1 -
 include/configs/DU440.h          |    1 -
 include/configs/MPC8313ERDB.h    |    1 -
 include/configs/MPC8349EMDS.h    |    1 -
 include/configs/MPC8349ITX.h     |    1 -
 include/configs/MPC8360ERDK.h    |    1 -
 include/configs/MPC8536DS.h      |    1 -
 include/configs/MPC8568MDS.h     |    1 -
 include/configs/MPC8569MDS.h     |    1 -
 include/configs/MPC8572DS.h      |    1 -
 include/configs/MVBLM7.h         |    1 -
 include/configs/PMC440.h         |    1 -
 include/configs/SIMPC8313.h      |    1 -
 include/configs/XPEDITE5200.h    |    1 -
 include/configs/XPEDITE5370.h    |    1 -
 include/configs/ads5121.h        |    1 -
 include/configs/at91rm9200ek.h   |    1 -
 include/configs/bubinga.h        |    2 +-
 include/configs/katmai.h         |    1 -
 include/configs/keymile-common.h |    1 -
 include/configs/kmeter1.h        |    1 -
 include/configs/korat.h          |    1 -
 include/configs/sacsng.h         |    6 +-
 include/configs/sbc8349.h        |    1 -
 include/configs/socrates.h       |    1 -
 include/configs/taihu.h          |    2 +-
 44 files changed, 99 insertions(+), 293 deletions(-)