linux/arch/mips/fw
Florian Fainelli c059ee9d77 MIPS: CFE: Add cfe_die()
Add a cfe_die() implementation which is useful when the kernel does an
early panic and no console is registered. This allows us to print
useful diagnostics such as an invalid DTB having been
configured/selected.

Since the BMIPS_GENERIC kernel can be built with support for multiple
processors, we need to do a runtime determination of the type of CPU
that we are executing on to perform the appropriate XKS01 disabling.

Since cfe_init() + cfe_die() could be conceivably called at very early
stages of the kernel boot, before cpu_probe(), we do not rely on the
structure(s) populated by cpu_probe().

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2022-07-17 14:52:47 +02:00
..
arc MIPS: fix typos in comments 2022-05-04 22:22:59 +02:00
cfe MIPS: CFE: Add cfe_die() 2022-07-17 14:52:47 +02:00
lib MIPS: do not compile generic functions for CONFIG_CAVIUM_OCTEON_SOC 2020-03-25 16:07:13 +01:00
sni MIPS: Remove empty prom_free_prom_memory functions 2021-01-07 17:11:33 +01:00