[PATCH 0/4] ARM: MMU: Some cleanup after recent changes
Sascha Hauer
s.hauer at pengutronix.de
Mon Feb 23 00:34:05 PST 2026
We now setup the MMU for barebox proper in the PBL already. This makes
some quirks we currently do in the PBL unnecessary. Remove them for
good. Also, make mmu_early_enable() safe to be called from board code
if necessary.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
Sascha Hauer (4):
mmu: add MAP_CACHED_RWX mapping type
ARM: MMU: drop forced pagewise mapping
ARM: pbl: MMU: drop unnecessary barebox mapping
ARM: pbl: MMU: Make it callable multiple times
arch/arm/cpu/mmu-common.c | 4 +---
arch/arm/cpu/mmu-common.h | 6 +-----
arch/arm/cpu/mmu_32.c | 27 ++++++++-------------------
arch/arm/cpu/mmu_64.c | 27 +++++++++------------------
arch/arm/cpu/uncompress.c | 2 +-
arch/arm/include/asm/mmu.h | 2 +-
arch/riscv/cpu/mmu.c | 6 +++---
arch/riscv/include/asm/mmu.h | 4 ----
include/mmu.h | 1 +
9 files changed, 25 insertions(+), 54 deletions(-)
---
base-commit: ffd4db2ea98ea1b8713382ca3d7a8ea7dadca4da
change-id: 20260223-arm-mmu-880be8cbf616
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list