]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
MIPS: generic: Support booting with built-in or appended DTB
authorPaul Cercueil <paul@crapouillou.net>
Sun, 6 Sep 2020 19:29:28 +0000 (21:29 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 18 Sep 2020 14:32:19 +0000 (16:32 +0200)
commit323690d23be14fa4b7be8bd2961810df6fe42138
treef7b61f7495b314fc546e52f6c2e92fd98a844026
parent13a0ea28e8c698cc0d600fdeed8da3e4d478b97e
MIPS: generic: Support booting with built-in or appended DTB

The plat_get_fdt() checked that the kernel was booted using UHI before
reading the 'fw_passed_dtb' variable. However, this variable is also set
when the DT has been appended, or when it has been built into the kernel.

Support these usecases by removing the UHI check.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/generic/init.c