From 0ee0269848f08b5c2d4d036f212e2acd9221d287 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Thu, 11 Aug 2022 22:23:25 -0500 Subject: [PATCH] drivers: mm: Update Kconfig * Utilize DT_HAS__ENABLED for devicetree based drivers Signed-off-by: Kumar Gala --- drivers/mm/Kconfig | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/mm/Kconfig b/drivers/mm/Kconfig index 749f0d69b8b..77560248745 100644 --- a/drivers/mm/Kconfig +++ b/drivers/mm/Kconfig @@ -17,11 +17,10 @@ config MM_DRV_PAGE_SIZE help Size of memory pages. -DT_COMPAT_MM_INTEL_ADSP_TLB := intel,adsp-tlb - config MM_DRV_INTEL_ADSP_MTL_TLB bool "Intel Audio DSP TLB Driver for Meteor Lake" - depends on SOC_SERIES_INTEL_ACE1X + default y + depends on DT_HAS_INTEL_ADSP_MTL_TLB_ENABLED imply SYS_MEM_BLOCKS help Driver for the translation lookup buffer on @@ -29,8 +28,8 @@ config MM_DRV_INTEL_ADSP_MTL_TLB config MM_DRV_INTEL_ADSP_TLB bool "Intel Audio DSP TLB Driver" - default $(dt_compat_enabled,$(DT_COMPAT_MM_INTEL_ADSP_TLB)) - depends on INTEL_ADSP_CAVS + default y + depends on DT_HAS_INTEL_ADSP_TLB_ENABLED help Driver for the translation lookup buffer on Intel Audio DSP hardware.