public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/3] xilinx: board: Add support for board eeproms
@ 2020-10-14 13:55 Michal Simek
  2020-10-14 13:55 ` [PATCH 1/3] dm: core: Add support for getting node from aliases Michal Simek
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Michal Simek @ 2020-10-14 13:55 UTC (permalink / raw)
  To: u-boot

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(-)

-- 
2.28.0

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-10-27  7:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-14 13:55 [PATCH 0/3] xilinx: board: Add support for board eeproms Michal Simek
2020-10-14 13:55 ` [PATCH 1/3] dm: core: Add support for getting node from aliases Michal Simek
2020-10-15 15:05   ` Simon Glass
2020-10-14 13:55 ` [PATCH 2/3] xilinx: board: Read the whole eeprom not just offset Michal Simek
2020-10-14 13:55 ` [PATCH 3/3] xilinx: board: Add support for additional card detection Michal Simek
2020-10-27  7:22 ` [PATCH 0/3] xilinx: board: Add support for board eeproms Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox