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)
commit466ab2ea239bb85b9fd2613e3e3eb5f6c2811602
tree3a6f12619841de68fecb04984d07044412860047
parentc059ee9d77f866dbe74bd75a42eb46443a31a08b
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