Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9118b226 authored by Liam Mark's avatar Liam Mark
Browse files

Kconfig: arm64: Update dependencies for CONFIG_FORCE_PAGES



Currently we don't support having both CONFIG_DEBUG_RODATA
and CONFIG_FORCE_PAGES enabled at the same time.
Update the dependencies for CONFIG_FORCE_PAGES to enforce
this.

If there is a need for read only support with
CONFIG_FORCE_PAGES enabled then enable
CONFIG_KERNEL_TEXT_RDONLY instead of CONFIG_DEBUG_RODATA.

Change-Id: I9ee1732ed0673edc7272d32469d08133fba9637f
Signed-off-by: default avatarLiam Mark <lmark@codeaurora.org>
parent 13fe987c
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -68,6 +68,7 @@ config DEBUG_SET_MODULE_RONX


config FORCE_PAGES
config FORCE_PAGES
        bool "Force lowmem to be mapped with 4K pages"
        bool "Force lowmem to be mapped with 4K pages"
        depends on !DEBUG_RODATA
        help
        help
          There are some advanced debug features that can only be done when
          There are some advanced debug features that can only be done when
          memory is mapped with pages instead of sections. Enable this option
          memory is mapped with pages instead of sections. Enable this option