summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2015-01-13 12:44:35 +0900
committerSimon Glass <sjg@chromium.org>2015-01-29 17:09:48 -0700
commitb6036bcd2ac27b3497ec16a63456eb4ed2b23e9f (patch)
treed0618be149004d8b33e72710bfa259e4d2959aeb
parent2af13d6b6265a6700c4f65597410b769895024bf (diff)
downloadu-boot-imx-b6036bcd2ac27b3497ec16a63456eb4ed2b23e9f.zip
u-boot-imx-b6036bcd2ac27b3497ec16a63456eb4ed2b23e9f.tar.gz
u-boot-imx-b6036bcd2ac27b3497ec16a63456eb4ed2b23e9f.tar.bz2
i2c: add CONFIG_DM_I2C to Kconfig
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org> Acked-by: Heiko Schocher <hs@denx.de>
-rw-r--r--drivers/i2c/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig
index e69de29..96715d0 100644
--- a/drivers/i2c/Kconfig
+++ b/drivers/i2c/Kconfig
@@ -0,0 +1,6 @@
+config DM_I2C
+ bool "Enable Driver Model for I2C drivers"
+ depends on DM
+ help
+ If you want to use driver model for I2C drivers, say Y.
+ To use legacy I2C drivers, say N.