1# Copyright (c) 2021 Intel Corporation 2# 3# SPDX-License-Identifier: Apache-2.0 4 5menuconfig MM_DRV 6 bool "Memory Management drivers [EXPERIMENTAL]" 7 select EXPERIMENTAL 8 select KERNEL_VM_SUPPORT 9 help 10 Include Memory Management drivers in system config 11 12if MM_DRV 13 14config MM_DRV_PAGE_SIZE 15 hex "Memory Page Size" 16 default 0x1000 17 help 18 Size of memory pages. 19 20config MM_DRV_INTEL_ADSP_TLB_REMAP_UNUSED_RAM 21 bool "Power off unused RAM" 22 help 23 Allows TLB driver to remap unused RAM - unused 24 being defined as memory ranging from linker script 25 defined "unused_l2_sram_start_marke" to end of RAM. 26 Note that unused memory will be powered off by 27 default. Disable this option if dynamically 28 managing memory, such as by usinga heap allocator. 29 30config MM_DRV_INTEL_ADSP_MTL_TLB 31 bool "Intel Audio DSP TLB Driver for Meteor Lake" 32 default y 33 depends on DT_HAS_INTEL_ADSP_MTL_TLB_ENABLED 34 imply SYS_MEM_BLOCKS 35 help 36 Driver for the translation lookup buffer on 37 Intel Audio DSP hardware (Meteor Lake). 38 39config MM_DRV_INTEL_ADSP_TLB 40 bool "Intel Audio DSP TLB Driver" 41 default y 42 depends on DT_HAS_INTEL_ADSP_TLB_ENABLED 43 help 44 Driver for the translation lookup buffer on 45 Intel Audio DSP hardware. 46 47config MM_DRV_INTEL_VIRTUAL_REGION_COUNT 48 int "Maximum number of regions defined in virtual memory" 49 depends on MM_DRV_INTEL_ADSP_MTL_TLB 50 default 1 51 help 52 This options defines a table size keeping all virtual memory region 53 54config EXTERNAL_ADDRESS_TRANSLATION 55 bool "Support for external address translation modules" 56 depends on !MMU 57 help 58 This config is intended to support an external address 59 translation module if required for an SoC. Uses the 60 sys_mm_drv_page_phys_get() function from the system_mm API. 61 62if EXTERNAL_ADDRESS_TRANSLATION 63 64config MM_TI_RAT 65 bool "Texas Instruments RAT module" 66 depends on EXTERNAL_ADDRESS_TRANSLATION 67 help 68 Enables Region based address translation support 69 functions specific to TI SoCs. 70 71endif # EXTERNAL_ADDRESS_TRANSLATION 72 73endif # MM_DRV 74