drivers: mm: Use dt_compat_enabled for Intel ADSP TLB driver default
Enables the Intel TLB driver by default when the MM driver class is enabled (CONFIG_MM_DRV=y) and a compatible devicetree node ("intel,adsp-tlb") is enabled. Signed-off-by: Maureen Helm <maureen.helm@intel.com>
This commit is contained in:
parent
18453017ae
commit
5769dffc01
2 changed files with 3 additions and 1 deletions
|
@ -17,8 +17,11 @@ config MM_DRV_PAGE_SIZE
|
|||
help
|
||||
Size of memory pages.
|
||||
|
||||
DT_COMPAT_MM_INTEL_ADSP_TLB := intel,adsp-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 SOC_FAMILY_INTEL_ADSP
|
||||
help
|
||||
Driver for the translation lookup buffer on
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue