mirror of https://github.com/thesofproject/sof.git
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:
parent
a652aad6e1
commit
02222f41a5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue