summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2019-01-21 17:25:02 +0300
committerMichal Simek <michal.simek@xilinx.com>2019-02-14 16:31:09 +0300
commit9755e3db8b1223699954146dfb171df75ec89ab3 (patch)
tree6f52a7923e6f89c1e60a92fa4f908630f91a81d5 /include/configs
parentad78d2641f03b08c7d7f18d5fe1c5acd19b828ec (diff)
downloadu-boot-9755e3db8b1223699954146dfb171df75ec89ab3.tar.xz
xilinx: Move zynq_board_read_rom_ethaddr to shared location
Zynq and ZynqMP are sharing similar code and there is no reason to do code duplication. Move zynq_board_read_rom_ethaddr() to common file for easier conversion to DM. Use ZynqMP version that's why also add CONFIG_ZYNQ_EEPROM_BUS to Syzygy which is only one Zynq board which is using this feature. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/syzygy_hub.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/syzygy_hub.h b/include/configs/syzygy_hub.h
index 88ee772848..75036977d4 100644
--- a/include/configs/syzygy_hub.h
+++ b/include/configs/syzygy_hub.h
@@ -12,6 +12,7 @@
#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
#define CONFIG_ZYNQ_GEM_EEPROM_ADDR 0x57
+#define CONFIG_ZYNQ_EEPROM_BUS 0
#define CONFIG_EXTRA_ENV_SETTINGS \
"fit_image=fit.itb\0" \