]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit742b371526429218ff722db8ce231701d2db9edf
tree0813c9b9153352e61189ee8c423cd7f7520de1fe
parent25579d6ca270831d132393f51abb305852c578fc
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