summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2019-01-22 15:55:46 +0100
committerMichal Simek <michal.simek@xilinx.com>2019-02-14 14:31:10 +0100
commit027b1134b20b253b71de306738ed8d2d3f8ddc21 (patch)
treebecb9ff0c73fb99623eb9e7ba42d8c7ecf8eb9c9 /drivers/misc
parentf88185bcc3102ae747371dd0d3930938c2d8e9df (diff)
xilinx: common: Remove !DM_i2C code for reading mac from eeprom
All platforms are converted to DM_I2C that's why there is no reason to keep this code here. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 704c8dd195..d6e677fba8 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -245,6 +245,7 @@ config SPL_I2C_EEPROM
config ZYNQ_GEM_I2C_MAC_OFFSET
hex "Set the I2C MAC offset"
default 0x0
+ depends on DM_I2C
help
Set the MAC offset for i2C.