]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
ARM: bcm2835: Set Serial number and Revision
authorNoralf Trønnes <noralf@tronnes.org>
Wed, 3 Jun 2015 10:26:13 +0000 (12:26 +0200)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Fri, 9 Mar 2018 15:20:50 +0000 (12:20 -0300)
commit0bfc7dda27effe33233164c8d61f77f49217e5e0
treea7ac32f9c4922bc87fbae80b7fd49903bab5ce00
parentb5bcc0b34113e61fc386e322fde5aff0ec46760e
ARM: bcm2835: Set Serial number and Revision

The VideoCore bootloader passes in Serial number and
Revision number through Device Tree. Make these available to
userspace through /proc/cpuinfo.

Mainline status:

There is a commit in linux-next that standardize passing the serial
number through Device Tree (string: /serial-number):
ARM: 8355/1: arch: Show the serial number from devicetree in cpuinfo

There was an attempt to do the same with the revision number, but it
didn't get in:
[PATCH v2 1/2] arm: devtree: Set system_rev from DT revision

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
arch/arm/mach-bcm/board_bcm2835.c