public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/1] Pass board revision and serial number to the
@ 2019-02-20 12:09 Anton Gerasimov
  2019-02-20 12:09 ` [U-Boot] [PATCH v2 1/1] board: raspberrypi: add serial and revision to the device tree Anton Gerasimov
  0 siblings, 1 reply; 7+ messages in thread
From: Anton Gerasimov @ 2019-02-20 12:09 UTC (permalink / raw)
  To: u-boot

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

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

end of thread, other threads:[~2019-02-20 18:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-20 12:09 [U-Boot] [PATCH v2 0/1] Pass board revision and serial number to the Anton Gerasimov
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

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