st 14. 10. 2020 v 15:55 odesÃlatel Michal Simek <[email protected]> napsal: > > 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 >
Applied. M -- Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs

