summaryrefslogtreecommitdiff
path: root/drivers/i2c/Makefile
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2012-01-16 21:12:23 +0000
committerHeiko Schocher <hs@denx.de>2013-07-23 05:54:28 +0200
commit385c9ef5a7215b2b0c22836fee6c692dfc8559d7 (patch)
treea2b47fb6744ebeb9cc2ed470fd6033f1f7600696 /drivers/i2c/Makefile
parent50ffc3b64aa3c8113f0a9fc31ea96e596d60054a (diff)
downloadu-boot-imx-385c9ef5a7215b2b0c22836fee6c692dfc8559d7.zip
u-boot-imx-385c9ef5a7215b2b0c22836fee6c692dfc8559d7.tar.gz
u-boot-imx-385c9ef5a7215b2b0c22836fee6c692dfc8559d7.tar.bz2
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>
Diffstat (limited to 'drivers/i2c/Makefile')
-rw-r--r--drivers/i2c/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/Makefile b/drivers/i2c/Makefile
index 72e85a3..06b211d 100644
--- a/drivers/i2c/Makefile
+++ b/drivers/i2c/Makefile
@@ -46,6 +46,7 @@ COBJS-$(CONFIG_TSI108_I2C) += tsi108_i2c.o
COBJS-$(CONFIG_U8500_I2C) += u8500_i2c.o
COBJS-$(CONFIG_SH_I2C) += sh_i2c.o
COBJS-$(CONFIG_SH_SH7734_I2C) += sh_sh7734_i2c.o
+COBJS-$(CONFIG_SYS_I2C) += i2c_core.o
COBJS-$(CONFIG_ZYNQ_I2C) += zynq_i2c.o
COBJS := $(COBJS-y)