diff options
author | Stefan Roese <sr@denx.de> | 2013-04-09 21:06:09 +0000 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2013-05-21 13:28:16 +0800 |
commit | 30e7edf6bd70bf8e48239eecca19bbca37b65843 (patch) | |
tree | 83781875c42633873dfda494851a12269f2c606e /drivers | |
parent | 3062ce11351209a8c8e859ef19d78a03e1266820 (diff) | |
download | u-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.c | 2 |
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 |