]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: BMIPS: Utilize cfe_die() for invalid DTB
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 15 Jul 2022 21:37:47 +0000 (14:37 -0700)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sun, 17 Jul 2022 12:53:07 +0000 (14:53 +0200)
commitd6ac1ac0c20289d448ee02e58aafec0d3600dd4c
tree3a6f12619841de68fecb04984d07044412860047
parentae5fb6c7dc9f6c7825585e12ce3fab23d818061a
MIPS: BMIPS: Utilize cfe_die() for invalid DTB

If we were not specified a correct DTB, we will not be able to print
anything useful with panic() which requires a working console of some
sort. Utilize cfe_die() to callback into the CFE default UART and print
some useful diagnostics.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/Kconfig
arch/mips/bmips/setup.c