]> git.ipfire.org Git - thirdparty/u-boot.git/commit
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>
Tue, 12 Feb 2019 08:43:00 +0000 (09:43 +0100)
commit58b43e51990b05afb3f8ece0508b6db5eaeaf307
treec9568cbd6c5aaf1cdbb15a85b14c217104826a5d
parent716d940c7399c1e16099dc2344c7405741738434
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.

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