diff options
author | Mario Six <mario.six@gdsys.cc> | 2018-01-15 11:08:11 +0100 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2018-02-06 07:01:06 +0100 |
commit | 92164216a7383907a38212fd3ca95dc7546ce49f (patch) | |
tree | 75cbabdcf2b39edc8441a393962c7f629d0c2500 /drivers/i2c/Kconfig | |
parent | 64ef094bc5b6dee4d9d44f4efd5f594a5979c08d (diff) |
i2c: ihs_i2c: Make DM compatible
Make the ihs_i2c driver DM-compatible; for legacy boards, the old functions are
retained within #ifdefs.
No board uses the new DM driver yet; this patch only lays the foundation for
future support.
Signed-off-by: Mario Six <mario.six@gdsys.cc>
Diffstat (limited to 'drivers/i2c/Kconfig')
-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 17d21bbc42..7dbec775df 100644 --- a/drivers/i2c/Kconfig +++ b/drivers/i2c/Kconfig @@ -268,6 +268,12 @@ config SYS_I2C_BUS_MAX help Define the maximum number of available I2C buses. +config SYS_I2C_IHS + bool "gdsys IHS I2C driver" + depends on DM_I2C + help + Support for gdsys IHS I2C driver on FPGA bus. + source "drivers/i2c/muxes/Kconfig" endmenu |