drivers/mm: Remove redundant ifdef for MTL ADSP TBL implementation
An `ifdef CONFIG_SOC_SERIES_INTEL_ACE1X` currently always evaluates to true, as `drivers/mm/mm_drv_intel_adsp_mtl_tlb.c` is only built when `CONFIG_MM_DRV_INTEL_ADSP_MTL_TLB=y`, which depends on `CONFIG_SOC_SERIES_INTEL_ACE1X`. So remove the ifdef. Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
This commit is contained in:
parent
03a947850d
commit
67a6837efd
1 changed files with 1 additions and 4 deletions
|
@ -34,6 +34,7 @@
|
|||
|
||||
#include <soc.h>
|
||||
#include <adsp_memory.h>
|
||||
#include <ace_v1x-regs.h>
|
||||
|
||||
#include "mm_drv_common.h"
|
||||
|
||||
|
@ -50,10 +51,6 @@ DEVICE_MMIO_TOPLEVEL_STATIC(tlb_regs, DT_DRV_INST(0));
|
|||
#define TLB_EXEC_BIT BIT(DT_INST_PROP(0, exec_bit_idx))
|
||||
#define TLB_WRITE_BIT BIT(DT_INST_PROP(0, write_bit_idx))
|
||||
|
||||
#if defined(CONFIG_SOC_SERIES_INTEL_ACE1X)
|
||||
# include <ace_v1x-regs.h>
|
||||
#endif
|
||||
|
||||
#define TLB_ENTRY_NUM (1 << TLB_PADDR_SIZE)
|
||||
#define TLB_PADDR_MASK ((1 << TLB_PADDR_SIZE) - 1)
|
||||
#define TLB_ENABLE_BIT BIT(TLB_PADDR_SIZE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue