summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/imx-common/dma.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2013-04-09 21:06:09 +0000
committerStefano Babic <sbabic@denx.de>2013-04-22 10:26:13 +0200
commit99193e30b469030db241d126861f7b6c3929c787 (patch)
tree84518ed7491753d1a48013d183c24825396c574b /arch/arm/include/asm/imx-common/dma.h
parent8870e4599689a879051f945c97551309d23ff176 (diff)
downloadu-boot-imx-99193e30b469030db241d126861f7b6c3929c787.zip
u-boot-imx-99193e30b469030db241d126861f7b6c3929c787.tar.gz
u-boot-imx-99193e30b469030db241d126861f7b6c3929c787.tar.bz2
dma: Add i.MX6 support to drivers/dma/apbh_dma.c
This will be used by the i.MX6 NAND support. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Stefano Babic <sbabic@denx.de> Cc: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'arch/arm/include/asm/imx-common/dma.h')
-rw-r--r--arch/arm/include/asm/imx-common/dma.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/include/asm/imx-common/dma.h b/arch/arm/include/asm/imx-common/dma.h
index 1ac8696..cb74528 100644
--- a/arch/arm/include/asm/imx-common/dma.h
+++ b/arch/arm/include/asm/imx-common/dma.h
@@ -72,6 +72,18 @@ enum {
MXS_DMA_CHANNEL_AHB_APBH_RESERVED1,
MXS_MAX_DMA_CHANNELS,
};
+#elif defined(CONFIG_MX6)
+enum {
+ MXS_DMA_CHANNEL_AHB_APBH_GPMI0 = 0,
+ MXS_DMA_CHANNEL_AHB_APBH_GPMI1,
+ MXS_DMA_CHANNEL_AHB_APBH_GPMI2,
+ MXS_DMA_CHANNEL_AHB_APBH_GPMI3,
+ MXS_DMA_CHANNEL_AHB_APBH_GPMI4,
+ MXS_DMA_CHANNEL_AHB_APBH_GPMI5,
+ MXS_DMA_CHANNEL_AHB_APBH_GPMI6,
+ MXS_DMA_CHANNEL_AHB_APBH_GPMI7,
+ MXS_MAX_DMA_CHANNELS,
+};
#endif
/*