/* * On MT8188, BIT(1) is not evaluated and on MT8186 BIT(0) is not evaluated: * We can simplify the driver by safely setting both bits regardless of the SoC.
*/ #define ADSP_ALTVECSEL_C0 (MT8188_ADSP_ALTVECSEL_C0 | \
MT8186_ADSP_ALTVECSEL_C0)
/* dsp bus */ #define ADSP_SRAM_POOL_CON 0x190 #define DSP_SRAM_POOL_PD_MASK 0xF00F /* [0:3] and [12:15] */ #define DSP_C0_EMI_MAP_ADDR 0xA00 /* ADSP Core0 To EMI Address Remap */ #define DSP_C0_DMAEMI_MAP_ADDR 0xA08 /* DMA0 To EMI Address Remap */
/* DSP memories */ #define MBOX_OFFSET 0x500000 /* DRAM */ #define MBOX_SIZE 0x1000 /* consistent with which in memory.h of sof fw */ #define DSP_DRAM_SIZE 0xA00000 /* 16M */
/*remap dram between AP and DSP view, 4KB aligned*/ #define SRAM_PHYS_BASE_FROM_DSP_VIEW 0x4E100000 /* MT8186 DSP view */ #define DRAM_PHYS_BASE_FROM_DSP_VIEW 0x60000000 /* MT8186 DSP view */ #define DRAM_REMAP_SHIFT 12 #define DRAM_REMAP_MASK 0xFFF
#define SIZE_SHARED_DRAM_DL 0x40000 /*Shared buffer for Downlink*/ #define SIZE_SHARED_DRAM_UL 0x40000 /*Shared buffer for Uplink*/ #define TOTAL_SIZE_SHARED_DRAM_FROM_TAIL (SIZE_SHARED_DRAM_DL + SIZE_SHARED_DRAM_UL)
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.