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>
This commit is contained in:
committed by
Stefano Babic
parent
8870e45996
commit
99193e30b4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user