Skip to content

xilinx: board: Add support for board eeproms

Michal Simek u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dm: core: Add support for getting node from aliasesdrivers/core/ofnode.c include/dm/ofnode.h test/dm/ofnode.c+66 -01 reply
2/3xilinx: board: Read the whole eeprom not just offsetboard/xilinx/common/board.c board/xilinx/common/board.h board/xilinx/versal/board.c +1 more+212 -10 replies
3/3xilinx: board: Add support for additional card detectionboard/xilinx/common/board.c+61 -240 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchSimon Glass
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] xilinx: board: Add support for board eeproms

Hi,

Based on discussion with Rob we should be using nvmem alias to pointing to eeprom which stores information about device. ZynqMP boards are using format which is based on offset. The code is reading it and setup environment variables based on it. They can be used within scripts to automate different behavior for specific boards.

Thanks,
Michal

Michal Simek (3):
dm: core: Add support for getting node from aliases
xilinx: board: Read the whole eeprom not just offset
xilinx: board: Add support for additional card detection

 board/xilinx/common/board.c  | 242 ++++++++++++++++++++++++++++++++++-
 board/xilinx/common/board.h  |   2 +
 board/xilinx/versal/board.c  |   3 +
 board/xilinx/zynqmp/zynqmp.c |   3 +
 drivers/core/ofnode.c        |  22 ++++
 include/dm/ofnode.h          |  22 ++++
 test/dm/ofnode.c             |  22 ++++
 7 files changed, 315 insertions(+), 1 deletion(-)
Signature · 1 line
2.28.0