]> git.sur5r.net Git - u-boot/commitdiff
i2c: Added Kconfig support for CONFIG_SYS_I2C_ZYNQ
authorVipul Kumar <vipul.kumar@xilinx.com>
Fri, 16 Feb 2018 13:37:17 +0000 (19:07 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 1 Mar 2018 07:03:00 +0000 (08:03 +0100)
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>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/i2c/Kconfig

index 9d43690503d1e100d29bc54aafef8782a6aba288..1c8b8f7b3e1f77dd652e745920846eda95c38c79 100644 (file)
@@ -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
+       help
+         Support for Xilinx I2C controller.
+
 config SYS_I2C_IHS
         bool "gdsys IHS I2C driver"
         depends on DM_I2C