xilinx: Change logic around zynq_board_read_rom_ethaddr()
authorMichal Simek <michal.simek@xilinx.com>
Mon, 3 Aug 2020 10:59:28 +0000 (12:59 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 20 Aug 2020 07:49:20 +0000 (09:49 +0200)
commit9fea3b18d65d412c386319360d641c9c47122ec2
treed0e5aa1c50c729644f518c83a7a20d188a9f3e18
parent62b96262b6dad1000b1ed2fec8664c2757585061
xilinx: Change logic around zynq_board_read_rom_ethaddr()

There is no reason to build private function when
CONFIG_ZYNQ_GEM_I2C_MAC_OFFSET is not defined. There is already weak
function which handles default case properly.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/common/board.c