diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2015-05-06 17:23:56 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-05-08 12:42:35 +0300 |
commit | 3f599875e5202986b350618a617527ab441bf206 (patch) | |
tree | 1f1fa09654defae4a3c42d6d010bdecf7d7427bc /arch/arm/include/asm/system_info.h | |
parent | 13dd92bb4599b5655cafe1f2c0365396a096b94a (diff) | |
download | linux-3f599875e5202986b350618a617527ab441bf206.tar.xz |
ARM: 8355/1: arch: Show the serial number from devicetree in cpuinfo
This grabs the serial number shown in cpuinfo from the serial-number device-tree
property in priority. When booting with ATAGs (and without device-tree), the
provided number is still shown instead.
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/system_info.h')
-rw-r--r-- | arch/arm/include/asm/system_info.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/system_info.h b/arch/arm/include/asm/system_info.h index 720ea0320a6d..3860cbd401ec 100644 --- a/arch/arm/include/asm/system_info.h +++ b/arch/arm/include/asm/system_info.h @@ -17,6 +17,7 @@ /* information about the system we're running on */ extern unsigned int system_rev; +extern const char *system_serial; extern unsigned int system_serial_low; extern unsigned int system_serial_high; extern unsigned int mem_fclk_21285; |