summaryrefslogtreecommitdiff
path: root/drivers/i2c/Kconfig
diff options
context:
space:
mode:
authorVipul Kumar <vipul.kumar@xilinx.com>2018-02-16 19:07:19 +0530
committerMichal Simek <michal.simek@xilinx.com>2018-03-01 08:03:01 +0100
commite7affad190fcebcb2c93eed97ae4a74d947cb14d (patch)
treed917ac43dc6e5fba7818bb80e402e0d0d9ebd510 /drivers/i2c/Kconfig
parentfc3a6f1c53460ef383d9c51785db37a951965f9c (diff)
i2c: Added Kconfig support for CONFIG_SYS_I2C_ZYNQ_SLAVE
This patch added Kconfig support for CONFIG_SYS_I2C_ZYNQ_SLAVE and set it default to 0. 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>
Diffstat (limited to 'drivers/i2c/Kconfig')
-rw-r--r--drivers/i2c/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig
index 1c8b8f7b3e..6200f1c1e1 100644
--- a/drivers/i2c/Kconfig
+++ b/drivers/i2c/Kconfig
@@ -274,6 +274,13 @@ config SYS_I2C_ZYNQ
help
Support for Xilinx I2C controller.
+config SYS_I2C_ZYNQ_SLAVE
+ hex "Set slave addr"
+ depends on SYS_I2C_ZYNQ
+ default 0
+ help
+ Set CONFIG_SYS_I2C_ZYNQ_SLAVE for slave addr.
+
config SYS_I2C_IHS
bool "gdsys IHS I2C driver"
depends on DM_I2C