dma: add missing symbols for Zephyr builds

When building with Zephyr for unsupported architectures several DMA
symbols are missing. Add them to the respective platform header.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
Guennadi Liakhovetski 2020-11-19 15:49:13 +01:00 committed by Liam Girdwood
parent a652aad6e1
commit 02222f41a5
1 changed files with 6 additions and 0 deletions

View File

@ -16,6 +16,12 @@
#define DMA_DEV_PCM 0
#define DMA_DEV_WAV 1
#define PLATFORM_NUM_DMACS 1
#define PLATFORM_MAX_DMA_CHAN 1
#define dma_chan_irq(dma, chan) 0
#define dma_chan_irq_name(dma, chan) "chan0-irq"
#endif /* __PLATFORM_LIB_DMA_H__ */
#else