* [PATCH] ARM: mmu: make ARM_MMU_PERMISSIONS depend on MMU
@ 2026-03-26 9:06 Ahmad Fatoum
0 siblings, 0 replies; only message in thread
From: Ahmad Fatoum @ 2026-03-26 9:06 UTC (permalink / raw)
To: barebox; +Cc: Ahmad Fatoum
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@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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-03-26 9:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-26 9:06 [PATCH] ARM: mmu: make ARM_MMU_PERMISSIONS depend on MMU Ahmad Fatoum
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox