diff options
author | Roy Spliet <r.spliet@ultimaker.com> | 2015-05-26 17:00:40 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-05-29 13:46:36 +0200 |
commit | a19e735d3cbf8fb50a69e911d107635be858c84f (patch) | |
tree | 715bae2c02b4b766c884c97e321c9874b4ccc44a /arch/arm/include/asm/arch-sunxi/dma.h | |
parent | 1f6f61fe4c7c9637e2c8b2960a08f106fbe01134 (diff) | |
download | u-boot-a19e735d3cbf8fb50a69e911d107635be858c84f.tar.gz u-boot-a19e735d3cbf8fb50a69e911d107635be858c84f.tar.xz u-boot-a19e735d3cbf8fb50a69e911d107635be858c84f.zip |
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.h | 16 |
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 0000000000..e54a2ba5eb --- /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 */ |