]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
common: Make MMU_PGPROT depend on !SANDBOX
authorTom Rini <trini@konsulko.com>
Fri, 26 Sep 2025 15:31:30 +0000 (09:31 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 8 Oct 2025 22:12:56 +0000 (16:12 -0600)
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 <peng.fan@nxp.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
common/Kconfig

index 1c340710a33dd913a82c56e78048aa10081866bc..30bf225362eed350b25b31523639c360540853c3 100644 (file)
@@ -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