[PATCH] ARM: mmu: make ARM_MMU_PERMISSIONS depend on MMU
Ahmad Fatoum
a.fatoum at pengutronix.de
Thu Mar 26 02:06:48 PDT 2026
Without a MMU, CONFIG_ARM_MMU_PERMISSIONS is a no-op, so reflect the
dependency in the Kconfig. No functional change.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
arch/arm/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 17f01c884efa..c735a0dbfd5b 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -418,7 +418,7 @@ config ARM_UNWIND
config ARM_MMU_PERMISSIONS
bool "Map with extended RO/X permissions"
- depends on !EFI_RUNTIME
+ depends on MMU && !EFI_RUNTIME
default y
help
Enable this option to map readonly sections as readonly, executable
--
2.47.3
More information about the barebox
mailing list