summaryrefslogtreecommitdiff
path: root/drivers/dma
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2015-12-22 17:04:22 +0800
committerStefano Babic <sbabic@denx.de>2016-01-24 12:09:16 +0100
commit1fc4f80495a494f8277987fa0f3976d1ffe81dc7 (patch)
tree3a877cccb37451342490875cd9f2347bd92f5473 /drivers/dma
parentc6d3d812fefabd0807fca485fef89e0c32ed4190 (diff)
downloadu-boot-imx-1fc4f80495a494f8277987fa0f3976d1ffe81dc7.zip
u-boot-imx-1fc4f80495a494f8277987fa0f3976d1ffe81dc7.tar.gz
u-boot-imx-1fc4f80495a494f8277987fa0f3976d1ffe81dc7.tar.bz2
imx: apbh_dma: Update APBH-DMA for MX7D
Update APBH-DMA driver and head files to support i.MX7D Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'drivers/dma')
-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 22defcd..a6dc935 100644
--- a/drivers/dma/apbh_dma.c
+++ b/drivers/dma/apbh_dma.c
@@ -215,7 +215,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) || defined(CONFIG_MX6))
+#elif (defined(CONFIG_MX28) || defined(CONFIG_MX6) || defined(CONFIG_MX7))
uint32_t setreg = (uint32_t)(&apbh_regs->hw_apbh_channel_ctrl_set);
uint32_t offset = APBH_CHANNEL_CTRL_RESET_CHANNEL_OFFSET;
#endif