summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorVipul Kumar <vipul.kumar@xilinx.com>2018-02-16 19:07:21 +0530
committerMichal Simek <michal.simek@xilinx.com>2018-03-01 08:03:01 +0100
commit5c32de202b622c6ffca541fe3b7153bd8e9f626c (patch)
treee6bf91d326c978df81a971a65008362b1aac79c9 /drivers
parentce3c9a59afd0591a105a316335d7015d8d902367 (diff)
i2c: Added Kconfig support for CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET
This patch added Kconfig support for CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET and enabled it in respective defconfig. 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')
-rw-r--r--drivers/misc/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index f1c15cb9fa..d774569cbc 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -214,6 +214,12 @@ config SPL_I2C_EEPROM
This option is an SPL-variant of the I2C_EEPROM option.
See the help of I2C_EEPROM for details.
+config ZYNQ_GEM_I2C_MAC_OFFSET
+ hex "Set the I2C MAC offset"
+ default 0x0
+ help
+ Set the MAC offset for i2C.
+
if I2C_EEPROM
config SYS_I2C_EEPROM_ADDR