u-boot/arch/powerpc
Christophe Leroy b20db903c8 powerpc: mpc83xx: Don't activate MMU when not necessary
At startup, some RAM is needed (for instance for stack) before
DRAM is initialised.

One way to offer such RAM, used by mpc83xx, is to lock some entries
in the cache. To do that, MMU needs to be activated.

On mpc83xx having a QUICC Engine an alternative is to user some
part of from the Multi User RAM, like done on mpc8xx for instance.
For that, the MMU is not needed.

Activating the MMU is problematic because exception vectors are not
setup yet so in case of ISI or DSI that CPU will crash and reboot.

At the time being, MMU is activated regardless.

Only activate it when locking cache entries to provide initial RAM.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
2023-04-06 14:50:03 +02:00
..
cpu powerpc: mpc83xx: Don't activate MMU when not necessary 2023-04-06 14:50:03 +02:00
dts watchdog: mpc8xxx: Make it generic 2023-04-06 14:47:47 +02:00
include/asm powerpc: mpc83xx: Fix soc.h 2023-04-06 14:50:03 +02:00
lib Correct SPL uses of LMB 2023-02-10 07:41:39 -05:00
config.mk Convert CONFIG_STANDALONE_LOAD_ADDR to Kconfig 2022-12-22 10:31:48 -05:00
Kconfig watchdog: mpc8xx: Rename it mpc8xxx 2023-04-05 19:46:18 +02:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00