summaryrefslogtreecommitdiff
path: root/board/opalkelly
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2019-01-21 15:25:02 +0100
committerMichal Simek <michal.simek@xilinx.com>2019-02-14 14:31:09 +0100
commit9755e3db8b1223699954146dfb171df75ec89ab3 (patch)
tree6f52a7923e6f89c1e60a92fa4f908630f91a81d5 /board/opalkelly
parentad78d2641f03b08c7d7f18d5fe1c5acd19b828ec (diff)
downloadu-boot-9755e3db8b1223699954146dfb171df75ec89ab3.tar.gz
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 'board/opalkelly')
-rw-r--r--board/opalkelly/zynq/board.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/opalkelly/zynq/board.c b/board/opalkelly/zynq/board.c
index a95c9d1eff..ee666185ec 100644
--- a/board/opalkelly/zynq/board.c
+++ b/board/opalkelly/zynq/board.c
@@ -1 +1,3 @@
+#include "../../xilinx/common/board.c"
+
#include "../../xilinx/zynq/board.c"