summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-sunxi/dma.h
diff options
context:
space:
mode:
authorRoy Spliet <r.spliet@ultimaker.com>2015-05-26 15:00:40 (GMT)
committerHans de Goede <hdegoede@redhat.com>2015-05-29 11:46:36 (GMT)
commita19e735d3cbf8fb50a69e911d107635be858c84f (patch)
tree715bae2c02b4b766c884c97e321c9874b4ccc44a /arch/arm/include/asm/arch-sunxi/dma.h
parent1f6f61fe4c7c9637e2c8b2960a08f106fbe01134 (diff)
downloadu-boot-fsl-qoriq-a19e735d3cbf8fb50a69e911d107635be858c84f.tar.xz
sunxi: Add DMA definitions
Signed-off-by: Roy Spliet <r.spliet@ultimaker.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'arch/arm/include/asm/arch-sunxi/dma.h')
-rw-r--r--arch/arm/include/asm/arch-sunxi/dma.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/dma.h b/arch/arm/include/asm/arch-sunxi/dma.h
new file mode 100644
index 0000000..e54a2ba
--- /dev/null
+++ b/arch/arm/include/asm/arch-sunxi/dma.h
@@ -0,0 +1,16 @@
+/*
+ * (C) Copyright 2015 Roy Spliet <rspliet@ultimaker.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef _SUNXI_DMA_H
+#define _SUNXI_DMA_H
+
+#if defined(CONFIG_MACH_SUN4I) || defined(CONFIG_MACH_SUN5I) || defined(CONFIG_MACH_SUN7I)
+#include <asm/arch/dma_sun4i.h>
+#else
+#error "DMA definition not available for this architecture"
+#endif
+
+#endif /* _SUNXI_DMA_H */