xilinx: Move zynq_board_read_rom_ethaddr to shared location
authorMichal Simek <michal.simek@xilinx.com>
Mon, 21 Jan 2019 14:25:02 +0000 (15:25 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 14 Feb 2019 13:31:09 +0000 (14:31 +0100)
commit9755e3db8b1223699954146dfb171df75ec89ab3
tree6f52a7923e6f89c1e60a92fa4f908630f91a81d5
parentad78d2641f03b08c7d7f18d5fe1c5acd19b828ec
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>
board/opalkelly/zynq/board.c
board/xilinx/common/board.c [new file with mode: 0644]
board/xilinx/zynq/Makefile
board/xilinx/zynq/board.c
board/xilinx/zynqmp/Makefile
board/xilinx/zynqmp/zynqmp.c
include/configs/syzygy_hub.h