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:
parent
fab8d25fd3
commit
0ee0269848
1 changed files with 4 additions and 5 deletions
|
@ -17,11 +17,10 @@ config MM_DRV_PAGE_SIZE
|
||||||
help
|
help
|
||||||
Size of memory pages.
|
Size of memory pages.
|
||||||
|
|
||||||
DT_COMPAT_MM_INTEL_ADSP_TLB := intel,adsp-tlb
|
|
||||||
|
|
||||||
config MM_DRV_INTEL_ADSP_MTL_TLB
|
config MM_DRV_INTEL_ADSP_MTL_TLB
|
||||||
bool "Intel Audio DSP TLB Driver for Meteor Lake"
|
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
|
imply SYS_MEM_BLOCKS
|
||||||
help
|
help
|
||||||
Driver for the translation lookup buffer on
|
Driver for the translation lookup buffer on
|
||||||
|
@ -29,8 +28,8 @@ config MM_DRV_INTEL_ADSP_MTL_TLB
|
||||||
|
|
||||||
config MM_DRV_INTEL_ADSP_TLB
|
config MM_DRV_INTEL_ADSP_TLB
|
||||||
bool "Intel Audio DSP TLB Driver"
|
bool "Intel Audio DSP TLB Driver"
|
||||||
default $(dt_compat_enabled,$(DT_COMPAT_MM_INTEL_ADSP_TLB))
|
default y
|
||||||
depends on INTEL_ADSP_CAVS
|
depends on DT_HAS_INTEL_ADSP_TLB_ENABLED
|
||||||
help
|
help
|
||||||
Driver for the translation lookup buffer on
|
Driver for the translation lookup buffer on
|
||||||
Intel Audio DSP hardware.
|
Intel Audio DSP hardware.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue