mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: mmu: make ARM_MMU_PERMISSIONS depend on MMU
@ 2026-03-26  9:06 Ahmad Fatoum
  2026-04-13  8:13 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages 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] 2+ messages in thread

* Re: [PATCH] ARM: mmu: make ARM_MMU_PERMISSIONS depend on MMU
  2026-03-26  9:06 [PATCH] ARM: mmu: make ARM_MMU_PERMISSIONS depend on MMU Ahmad Fatoum
@ 2026-04-13  8:13 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2026-04-13  8:13 UTC (permalink / raw)
  To: barebox, Ahmad Fatoum


On Thu, 26 Mar 2026 10:06:48 +0100, Ahmad Fatoum wrote:
> Without a MMU, CONFIG_ARM_MMU_PERMISSIONS is a no-op, so reflect the
> dependency in the Kconfig. No functional change.
> 
> 

Applied, thanks!

[1/1] ARM: mmu: make ARM_MMU_PERMISSIONS depend on MMU
      https://git.pengutronix.de/cgit/barebox/commit/?id=3a4813c48d51 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-04-13  8:13 UTC | newest]

Thread overview: 2+ messages (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
2026-04-13  8:13 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox