
26 Feb
2018
26 Feb
'18
11:14 a.m.
On 16.2.2018 14:37, Vipul Kumar wrote:
This patch added Kconfig support for CONFIG_SYS_I2C_ZYNQ.
Signed-off-by: Vipul Kumar vipulk@xilinx.com Signed-off-by: Siva Durga Prasad Paladugu sivadur@xilinx.com
drivers/i2c/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig index 7dbec77..62d134c 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_ZYNQ
- bool "Xilinx I2C driver"
- depends on ARCH_ZYNQMP || ARCH_ZYNQ || ZYNQ_I2C0 || ZYNQ_I2C1
This can't depend on non existing symbol but I have fixed it myself and applied.
M
- help
Support for Xilinx I2C controller.
config SYS_I2C_IHS bool "gdsys IHS I2C driver" depends on DM_I2C