Rizwan Qureshi has uploaded a new patch set (#2). ( https://review.coreboot.org/19468 )
Change subject: intel/common/block/i2c: Add common block for I2C ......................................................................
intel/common/block/i2c/: [WIP] Add common block for I2C
Add I2C common block for use in Intel SoCs.
copy the contents of src/soc/intel/common/lpss_i2c.c and add some useful functions. Use this as a common library for initializing I2C controllers early and also for initialization in ramstage.
split the code for early init and ramstage and put it in pre-ram.c ramstage.c respectively.
This IP code also contains some functions that have to be implemented by SoC.
Change-Id: I4d91a04c22e181e3a995112cce6d5f0324130b81 Signed-off-by: Rizwan Qureshi rizwan.qureshi@intel.com --- A src/soc/intel/common/block/i2c/Kconfig A src/soc/intel/common/block/i2c/Makefile.inc A src/soc/intel/common/block/i2c/lpss_i2c.c A src/soc/intel/common/block/i2c/lpss_i2c.h A src/soc/intel/common/block/i2c/pre-ram.c A src/soc/intel/common/block/i2c/ramstage.c A src/soc/intel/common/block/include/intelblocks/lpss_i2c.h 7 files changed, 1,147 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/68/19468/2