u-boot/arch/powerpc/cpu/mpc83xx
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
..
arbiter mpc83xx: Migrate arbiter config to Kconfig 2019-05-21 07:52:33 +02:00
bats global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
elbc powerpc, mpc83xx: Remove CONFIG_ELBC_BRx_ORx 2023-03-06 17:05:40 -05:00
hid global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
hrcw powerpc: mpc832x: Fix reset word 2023-04-06 14:50:03 +02:00
initreg powerpc: remove support for kmtergr1 and MPC8309 2022-08-20 22:45:00 -04:00
lblaw global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
sysio global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
config.mk mpc83xx: Add support for -msingle-pic-base 2019-01-21 08:33:42 +01:00
cpu.c watchdog: mpc8xxx: Add support for mpc83xx 2023-04-06 14:50:03 +02:00
cpu_init.c mpc83xx: Remove CONFIG_SYS_GPIO{1/2}_PRELIM and related 2023-03-29 13:30:29 -04:00
ecc.c nxp: Migrate a number of DDR related symbols to Kconfig 2021-08-31 17:46:37 -04:00
fdt.c Remove CONFIG_HAS_ETH0 et al symbols 2022-03-18 12:48:17 -04:00
interrupts.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
Kconfig Convert CONFIG_NEVER_ASSERT_ODT_TO_CPU to Kconfig 2022-12-23 10:07:03 -05:00
law.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
Makefile Convert CONFIG_SPL_INIT_MINIMAL et al to Kconfig 2022-06-06 12:09:00 -04:00
pci.c pci: powerpc: Drop old code 2021-08-05 16:14:36 -04:00
pcie.c global: Move remaining CONFIG_SYS_PCI* to CFG_SYS_PCI* 2022-12-05 16:06:07 -05:00
qe_io.c powerpc, qe: add DTS support for parallel I/O ports 2020-09-17 06:09:53 +02:00
serdes.c Convert CONFIG_FSL_SERDES to Kconfig 2022-12-05 16:06:43 -05:00
spd_sdram.c global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
speed.c powerpc: remove support for kmtergr1 and MPC8309 2022-08-20 22:45:00 -04:00
spl_minimal.c global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
start.S powerpc: mpc83xx: Don't activate MMU when not necessary 2023-04-06 14:50:03 +02:00
traps.c common: remove bedbug debugger support 2022-01-18 08:31:02 -05:00
u-boot-spl.lds SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
u-boot.lds linker_lists: Rename sections to remove . prefix 2022-06-23 12:58:18 -04:00