Skip to content

Commit 07b432a

Browse files
imx93_a55: include: cleanup: Remove unused definitions
With the transition to the native Zephyr drivers and the timer domain, some definitions from the headers found in the src/platform/imx93_a55/include hierarchy are no longer needed. As such, this commit removes them. Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
1 parent ceb87c5 commit 07b432a

File tree

2 files changed

+1
-19
lines changed

2 files changed

+1
-19
lines changed

src/platform/imx93_a55/include/platform/lib/dma.h

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,7 @@
88
#ifndef __PLATFORM_LIB_DMA_H__
99
#define __PLATFORM_LIB_DMA_H__
1010

11-
/* i.MX93 uses dummy DMA and EDMA */
12-
#define PLATFORM_NUM_DMACS 2
13-
14-
#define DMA_ID_EDMA2 0
15-
#define DMA_ID_HOST 1
16-
17-
/* TODO: this is already defined with EDMA2_CHAN_MAX */
18-
#define PLATFORM_MAX_DMA_CHAN 64
19-
20-
/* TODO: required by Zephyr DMA domain to work */
21-
#define dma_chan_irq_name(dma, chan) dma_irq_name(dma)
22-
#define dma_chan_irq(dma, chan) ((int *)(dma)->plat_data.drv_plat_data)[chan]
11+
/* TODO: remove me whenever possible */
2312

2413
#endif /* __PLATFORM_LIB_DMA_H__ */
2514

src/platform/imx93_a55/include/platform/lib/memory.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,6 @@
5151
/* SOF uses A side of the WAKEUPMIX MU */
5252
#define MU_BASE 0x42430000
5353

54-
/* SOF uses EDMA2 (a.k.a EDMA4 in the TRM) */
55-
#define EDMA2_BASE 0x42010000
56-
#define EDMA2_CHAN_SIZE 0x8000
57-
58-
/* WM8962 is connected to SAI3 */
59-
#define SAI3_BASE 0x42660000
60-
6154
static inline void *platform_shared_get(void *ptr, int bytes)
6255
{
6356
return ptr;

0 commit comments

Comments
 (0)