xref: /OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-sunxi/dma.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * (C) Copyright 2015 Roy Spliet <rspliet@ultimaker.com>
3*4882a593Smuzhiyun  *
4*4882a593Smuzhiyun  * SPDX-License-Identifier:	GPL-2.0+
5*4882a593Smuzhiyun  */
6*4882a593Smuzhiyun 
7*4882a593Smuzhiyun #ifndef _SUNXI_DMA_H
8*4882a593Smuzhiyun #define _SUNXI_DMA_H
9*4882a593Smuzhiyun 
10*4882a593Smuzhiyun #if defined(CONFIG_MACH_SUN4I) || defined(CONFIG_MACH_SUN5I) || defined(CONFIG_MACH_SUN7I)
11*4882a593Smuzhiyun #include <asm/arch/dma_sun4i.h>
12*4882a593Smuzhiyun #else
13*4882a593Smuzhiyun #error "DMA definition not available for this architecture"
14*4882a593Smuzhiyun #endif
15*4882a593Smuzhiyun 
16*4882a593Smuzhiyun #endif /* _SUNXI_DMA_H */
17