diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2015-01-13 12:44:35 +0900 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-01-29 17:09:48 -0700 |
commit | b6036bcd2ac27b3497ec16a63456eb4ed2b23e9f (patch) | |
tree | d0618be149004d8b33e72710bfa259e4d2959aeb /drivers/i2c | |
parent | 2af13d6b6265a6700c4f65597410b769895024bf (diff) | |
download | u-boot-b6036bcd2ac27b3497ec16a63456eb4ed2b23e9f.tar.gz u-boot-b6036bcd2ac27b3497ec16a63456eb4ed2b23e9f.tar.bz2 u-boot-b6036bcd2ac27b3497ec16a63456eb4ed2b23e9f.zip |
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>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig index e69de29bb2..96715d0eed 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. |