summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-09-26 09:31:30 -0600
committerTom Rini <[email protected]>2025-10-08 16:12:56 -0600
commit0cdca862cb68a7f896e2095f5a248d3bc780bd29 (patch)
tree5af8f7bfddc2a0e528d93ce8a1f531a4de708d60
parentf03601e3699b016d97c51208902e8401c5950923 (diff)
common: Make MMU_PGPROT depend on !SANDBOX
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. Reviewed-by: Peng Fan <[email protected]> Signed-off-by: Tom Rini <[email protected]>
-rw-r--r--common/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 1c340710a33..30bf225362e 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