zephyr/drivers/mm/CMakeLists.txt
Anas Nashif 3ccafb1af3 intel_adsp: meteorlake: add memory driver
Add TLB driver specific for Meteorlake.

Add missing kconfig resource and fix include path
add hpsram power up and ref counter

Use memblock to track physical page usage in mtl tlb driver. The
applications that will be using the tlb memory driver should not
track the physical page mapping to virtual address space:
 - adds an option to use the phys argument value of 0 to tell the
   driver to autonomously assign physical pages upon map request
 - makes the tlb driver use memblock to track mapped physical pages

Co-authored-by: Rafal Redzimski <rafal.f.redzimski@intel.com>
Co-authored-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
Co-authored-by: Marcin Szkudlinski <marcin.szkudlinski@intel.com>
Co-authored-by: Michal Wasko <michal.wasko@intel.com>
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2022-07-06 15:11:07 -04:00

17 lines
326 B
CMake

# SPDX-License-Identifier: Apache-2.0
zephyr_library()
zephyr_include_directories(${ZEPHYR_BASE}/drivers)
zephyr_library_sources(mm_drv_common.c)
zephyr_library_sources_ifdef(
CONFIG_MM_DRV_INTEL_ADSP_TLB
mm_drv_intel_adsp_tlb.c
)
zephyr_sources_ifdef(
CONFIG_MM_DRV_INTEL_ADSP_MTL_TLB
mm_drv_intel_adsp_mtl_tlb.c
)