mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-04 20:26:13 +02:00
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 <peng.fan@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
f03601e369
commit
0cdca862cb
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user