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>
This commit is contained in:
Masahiro Yamada authored and Simon Glass committed 2015-01-29 17:09:48 -07:00
1 parent 2af13d6b62
commit b6036bcd2a
1 file changed
+6
+6
View File
@@ -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.