summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2013-04-09 21:06:09 +0000
committerJason Liu <r64343@freescale.com>2013-05-21 13:28:16 +0800
commit30e7edf6bd70bf8e48239eecca19bbca37b65843 (patch)
tree83781875c42633873dfda494851a12269f2c606e /drivers
parent3062ce11351209a8c8e859ef19d78a03e1266820 (diff)
downloadu-boot-imx-30e7edf6bd70bf8e48239eecca19bbca37b65843.zip
u-boot-imx-30e7edf6bd70bf8e48239eecca19bbca37b65843.tar.gz
u-boot-imx-30e7edf6bd70bf8e48239eecca19bbca37b65843.tar.bz2
ENGR00263305-12 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 'drivers')
-rw-r--r--drivers/dma/apbh_dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/apbh_dma.c b/drivers/dma/apbh_dma.c
index eb46bcf..510cb28 100644
--- a/drivers/dma/apbh_dma.c
+++ b/drivers/dma/apbh_dma.c
@@ -227,7 +227,7 @@ static int mxs_dma_reset(int channel)
#if defined(CONFIG_MX23)
uint32_t setreg = (uint32_t)(&apbh_regs->hw_apbh_ctrl0_set);
uint32_t offset = APBH_CTRL0_RESET_CHANNEL_OFFSET;
-#elif defined(CONFIG_MX28)
+#elif (defined(CONFIG_MX28) || defined(CONFIG_MX6))
uint32_t setreg = (uint32_t)(&apbh_regs->hw_apbh_channel_ctrl_set);
uint32_t offset = APBH_CHANNEL_CTRL_RESET_CHANNEL_OFFSET;
#endif