]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
mach-snapdragon: enable MMU_PGPROT by default
authorNeil Armstrong <neil.armstrong@linaro.org>
Thu, 6 Nov 2025 11:01:48 +0000 (12:01 +0100)
committerCasey Connolly <casey.connolly@linaro.org>
Wed, 14 Jan 2026 15:25:09 +0000 (16:25 +0100)
Let's enable proper MMU page table protection to properly
protect write-protected and non-executable sections.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Link: https://patch.msgid.link/20251106-topic-snapdragron-en-pgprot-v1-1-d2b9e802230b@linaro.org
Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
arch/arm/Kconfig

index 0485fe78e10bddf76b09dca1a5a31049b623c1f9..d5d650e0cb5c2deb9c46d3fbdbd48ced5959e582 100644 (file)
@@ -1144,6 +1144,7 @@ config ARCH_SNAPDRAGON
        select SYSRESET
        select SYSRESET_PSCI
        select ANDROID_BOOT_IMAGE_IGNORE_BLOB_ADDR
+       select MMU_PGPROT
        imply OF_UPSTREAM
        imply CMD_DM
        imply DM_USB_GADGET