[PATCH v2 0/2] MIPS: BMIPS: Improved early panic support
From: Florian Fainelli
Date: Fri Jul 15 2022 - 17:42:00 EST
Hi Thomas,
This patch series adds support for cfe_die() which can be used during
early platform initialization when we do not yet have a valid DTB to
infer an earlycon console from. This is useful while bringing up new
platforms/DTBs as well.
Thanks!
Changes in v2:
- ensure that we do not break multi-CPU builds by reading the CPU's PrID
to perform the appropriate XKS01 disabling before handing over to CFE
Florian Fainelli (2):
MIPS: CFE: Add cfe_die()
MIPS: BMIPS: Utilize cfe_die() for invalid DTB
arch/mips/Kconfig | 1 +
arch/mips/bmips/setup.c | 14 +++++-
arch/mips/fw/cfe/cfe_api.c | 68 +++++++++++++++++++++++++-
arch/mips/include/asm/fw/cfe/cfe_api.h | 2 +
4 files changed, 83 insertions(+), 2 deletions(-)
--
2.25.1