Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Roy Spliet | 6a99b33 | 2015-05-26 17:00:40 +0200 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2015 Roy Spliet <rspliet@ultimaker.com> |
Roy Spliet | 6a99b33 | 2015-05-26 17:00:40 +0200 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef _SUNXI_DMA_H |
| 7 | #define _SUNXI_DMA_H |
| 8 | |
| 9 | #if defined(CONFIG_MACH_SUN4I) || defined(CONFIG_MACH_SUN5I) || defined(CONFIG_MACH_SUN7I) |
| 10 | #include <asm/arch/dma_sun4i.h> |
| 11 | #else |
| 12 | #error "DMA definition not available for this architecture" |
| 13 | #endif |
| 14 | |
| 15 | #endif /* _SUNXI_DMA_H */ |