]> git.sur5r.net Git - u-boot/commit
i2c: add i2c_core and prepare for new multibus support
authorHeiko Schocher <hs@denx.de>
Mon, 16 Jan 2012 21:12:23 +0000 (21:12 +0000)
committerHeiko Schocher <hs@denx.de>
Tue, 23 Jul 2013 03:54:28 +0000 (05:54 +0200)
commit385c9ef5a7215b2b0c22836fee6c692dfc8559d7
treea2b47fb6744ebeb9cc2ed470fd6033f1f7600696
parent50ffc3b64aa3c8113f0a9fc31ea96e596d60054a
i2c: add i2c_core and prepare for new multibus support

This Patch introduce the new i2c_core file, which holds
the I2C core functions, for the rework of the multibus/
multiadapter support.
Also adds changes in i2c.h for the new I2C multibus/multiadapter
support. This new support can be activated with the
CONFIG_SYS_I2C define.

Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Simon Glass <sjg@chromium.org>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Stephen Warren <swarren@wwwdotorg.org>
drivers/i2c/Makefile
drivers/i2c/i2c_core.c [new file with mode: 0644]
include/asm-generic/global_data.h
include/i2c.h