1# 2# ARMv7 Memory Management Unit (MMU) configuration options 3# 4# Copyright (c) 2021 Weidmueller Interface GmbH & Co. KG 5# SPDX-License-Identifier: Apache-2.0 6# 7 8if CPU_HAS_MMU 9 10config ARM_AARCH32_MMU 11 bool "ARMv7 Cortex-A MMU Support" 12 default y if CPU_AARCH32_CORTEX_A 13 select MMU 14 select SRAM_REGION_PERMISSIONS 15 select THREAD_STACK_INFO 16 select ARCH_HAS_EXECUTABLE_PAGE_BIT 17 help 18 The current CPU has an ARMv7 Memory Management Unit. 19 20config ARM_MMU_NUM_L2_TABLES 21 depends on ARM_AARCH32_MMU 22 int "Number of L2 translation tables available to the MMU" 23 default 64 24 help 25 Number of level 2 translation tables. Each level 2 table 26 covers 1 MB of address space. 27 28config ARM_MMU_REGION_MIN_ALIGN_AND_SIZE 29 int 30 default 4096 31 help 32 Minimum size (and alignment) of an ARM MMU page. 33 This value should not be modified. 34 35endif # CPU_HAS_MMU 36