All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anton Gerasimov <tossel@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 0/1] Pass board revision and serial number to the
Date: Wed, 20 Feb 2019 13:09:12 +0100	[thread overview]
Message-ID: <cover.1550664195.git.tossel@gmail.com> (raw)

Raspberry Pi proprietary bootloader adds this information to the device
tree to finally land in /proc/cpuinfo.

It is then used by some userspace tools. In particular `gpio` tool from
WiringPi suite would use the wrong register mapping when this
information is missing from /proc/cpuinfo.

Anton Gerasimov (1):
  board: raspberrypi: add serial and revision to the device tree

 board/raspberrypi/rpi/rpi.c | 35 +++++++++++++++++++++++++++++++++--
 1 file changed, 33 insertions(+), 2 deletions(-)

-- 
2.19.1

             reply	other threads:[~2019-02-20 12:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-20 12:09 Anton Gerasimov [this message]
2019-02-20 12:09 ` [U-Boot] [PATCH v2 1/1] board: raspberrypi: add serial and revision to the device tree Anton Gerasimov
2019-02-20 12:39   ` Alexander Graf
2019-02-20 16:59   ` Stephen Warren
2019-02-20 17:04     ` Alexander Graf
2019-02-20 17:15       ` Stephen Warren
2019-02-20 18:26         ` Anton Gerasimov

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.1550664195.git.tossel@gmail.com \
    --to=tossel@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.