[PATCH] common: Make MMU_PGPROT depend on !SANDBOX
Tom Rini
trini at konsulko.com
Fri Sep 26 17:31:30 CEST 2025
While MMU_PGPROT is currently only functional for arm64 it can be
extended for other real platforms as well. It does not however make
sense for sandbox to enable and create dummy functions for. Make this
depend on !SANDBOX.
Signed-off-by: Tom Rini <trini at konsulko.com>
---
common/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/Kconfig b/common/Kconfig
index 1c340710a33d..30bf225362ee 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -938,6 +938,7 @@ config STACKPROTECTOR
config MMU_PGPROT
bool "Enable RO, RW and RX mappings"
+ depends on !SANDBOX
help
U-Boot maps all pages as RWX. If selected pages will
be marked as RO(.rodata), RX(.text), RW(.data) right after
--
2.43.0
More information about the U-Boot
mailing list