public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@xilinx.com>
To: u-boot@lists.denx.de
Subject: [PATCH 0/3] xilinx: board: Add support for board eeproms
Date: Wed, 14 Oct 2020 15:55:47 +0200	[thread overview]
Message-ID: <cover.1602683746.git.michal.simek@xilinx.com> (raw)

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

             reply	other threads:[~2020-10-14 13:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-14 13:55 Michal Simek [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1602683746.git.michal.simek@xilinx.com \
    --to=michal.simek@xilinx.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox