]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Print DT machine model in setup_machine_fdt()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 27 Apr 2017 12:33:05 +0000 (14:33 +0200)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 28 Apr 2017 16:09:41 +0000 (17:09 +0100)
commit3abe27363cce27b5007a71d6d455fd796476dbc7
treeebe59a6d5380a81c3d8175c1550662444b71cfe2
parent8e6bba718dbd1007c88ec359f6a415d438c373d8
arm64: Print DT machine model in setup_machine_fdt()

On arm32, the machine model specified in the device tree is printed
during boot-up, courtesy of of_flat_dt_match_machine().

On arm64, of_flat_dt_match_machine() is not called, and the machine
model information is not available from the kernel log.

Print the machine model to make it easier to derive the machine model
from an arbitrary kernel boot log.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/setup.c