i2c: add CONFIG_DM_I2C to Kconfig
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 13 Jan 2015 03:44:35 +0000 (12:44 +0900)
committerSimon Glass <sjg@chromium.org>
Fri, 30 Jan 2015 00:09:48 +0000 (17:09 -0700)
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>
drivers/i2c/Kconfig

index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..96715d0eedb830a23bf68a2ba3b125d983b6fe43 100644 (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.