ARM: 8804/1: zImage: atags_to_fdt: add serial-number for ATAG_SERIAL
authorBen Dooks <ben-linux@fluff.org>
Fri, 12 Oct 2018 08:12:01 +0000 (09:12 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 8 Nov 2018 10:57:08 +0000 (10:57 +0000)
commit31d0b9f9982f8e3a489e83419461d35ab003160a
treec7d5993c2e8ba67f1eb97c30039fef824f5d1265
parent7f97686715a7a4413baabe47df28946e175f5a59
ARM: 8804/1: zImage: atags_to_fdt: add serial-number for ATAG_SERIAL

If the system passes an ATAG_SERIAL, convert that into a /serial-number
node so that the system serial number will be passed through the FDT and
be present under the kernel.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/boot/compressed/atags_to_fdt.c