
This is the first attempt of multi-adapter multi-bus I2C subsystem rework for U-Boot.
This batch deals with fsl_i2c and soft_i2c drivers. All (hopefully :) relevant parts are changed -- config files for all boards affected, lib_xxx, board/* etc.
Please see illustrative section of MPC8548CDS.h config file for an example for 2 soft_i2c, 2 fsl_i2c, 1 sm502_i2c adapters and 7 busses some of them connected via I2C multiplexers.
All comments, suggestions etc. are very welcome.
I'm going to move _ALL_ I2C drivers to drivers/i2c and rework all the configs and other relevant stuff in next batches. Then I will do another run to completely remove CONFIG_NEW_I2C and get rid of CONFIG_HARD_I2C.
The patches are in next 8 emails.
Signed-off-by: Sergey Kubushyn ksi@koi8.net
--- ****************************************************************** * KSI@home KOI8 Net < > The impossible we do immediately. * * Las Vegas NV, USA < > Miracles require 24-hour notice. * ******************************************************************