summaryrefslogtreecommitdiff
path: root/board/xilinx/zynqmp/Makefile
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/xilinx/zynqmp/Makefile
parentad78d2641f03b08c7d7f18d5fe1c5acd19b828ec (diff)
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/xilinx/zynqmp/Makefile')
-rw-r--r--board/xilinx/zynqmp/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/xilinx/zynqmp/Makefile b/board/xilinx/zynqmp/Makefile
index 960b81fc585..80f8ca7e1e4 100644
--- a/board/xilinx/zynqmp/Makefile
+++ b/board/xilinx/zynqmp/Makefile
@@ -4,6 +4,7 @@
# Michal Simek <michal.simek@xilinx.com>
obj-y := zynqmp.o
+obj-y += ../common/board.o
ifneq ($(CONFIG_XILINX_PS_INIT_FILE),"")
PS_INIT_FILE := $(shell cd $(srctree); readlink -f $(CONFIG_XILINX_PS_INIT_FILE))