drivers: mm: Update Kconfig

* Utilize DT_HAS_<COMPAT>_ENABLED for devicetree based drivers

Signed-off-by: Kumar Gala <galak@kernel.org>
This commit is contained in:
Kumar Gala 2022-08-11 22:23:25 -05:00 committed by Kumar Gala
commit 0ee0269848

View file

@ -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.