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
47endif # MM_DRV
48