xilinx: board: Read the whole eeprom not just offset
authorMichal Simek <michal.simek@xilinx.com>
Mon, 3 Aug 2020 11:01:45 +0000 (13:01 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 27 Oct 2020 07:13:32 +0000 (08:13 +0100)
commitd61728c8e87e4a318497a4b0873e8b656aa30a08
tree0813c9b9153352e61189ee8c423cd7f7520de1fe
parent305d31885f2f35db486594d051d9aa3a4ed201c5
xilinx: board: Read the whole eeprom not just offset

Starts to use new way how eeproms should be referenced.
Reference is done via nvmem alias nodes. When this new way is specified
code itself read the eeprom and decode xilinx legacy format and fill struct
xilinx_board_description. Then based on information present there board_*
variables are setup.
If variables are saved and content can't be changed information is just
shown on console.

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