summaryrefslogtreecommitdiff
path: root/drivers/i2c/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-12-10 08:55:47 -0700
committerSimon Glass <sjg@chromium.org>2014-12-11 13:18:42 -0700
commitc6202d857ebce5d6c8f0ec1d8d30352195546280 (patch)
tree85a76af015d57390f13871e0250c5a0446dcfa86 /drivers/i2c/Makefile
parent59345b1f0f9941d32b45d0e27401355b34106357 (diff)
downloadu-boot-imx-c6202d857ebce5d6c8f0ec1d8d30352195546280.zip
u-boot-imx-c6202d857ebce5d6c8f0ec1d8d30352195546280.tar.gz
u-boot-imx-c6202d857ebce5d6c8f0ec1d8d30352195546280.tar.bz2
dm: i2c: Add a uclass for I2C
The uclass implements the same operations as the current I2C framework but makes some changes to make it fit driver model better: - Remove the chip address from API calls - Remove the address length from API calls - Remove concept of 'current' I2C bus - Drop all existing init functions Acked-by: Heiko Schocher <hs@denx.de> Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Simon Glass <sjg@chromium.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 dae3d71..063e097 100644
--- a/drivers/i2c/Makefile
+++ b/drivers/i2c/Makefile
@@ -4,6 +4,7 @@
#
# SPDX-License-Identifier: GPL-2.0+
#
+obj-$(CONFIG_DM_I2C) += i2c-uclass.o
obj-$(CONFIG_SYS_I2C_ADI) += adi_i2c.o
obj-$(CONFIG_I2C_MV) += mv_i2c.o