mxs: dma: Fix APBH DMA driver for MX23
authorMarek Vasut <marex@denx.de>
Tue, 22 Jan 2013 15:01:00 +0000 (15:01 +0000)
committerStefano Babic <sbabic@denx.de>
Mon, 28 Jan 2013 10:43:00 +0000 (11:43 +0100)
commit0e5c05efb4c6ff91c556eff347d023463a96503b
tree732923bb0414ac6a59f09cce729bb9f6371744d4
parent323692196825bb22a170c26190f5436452ecadfb
mxs: dma: Fix APBH DMA driver for MX23

The MX23 has less channels for the APBH DMA, sligtly different register
layout and some bits in those registers are placed differently. Reflect
this in the driver. This patch fixes MMC/DMA issue on MX23.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/include/asm/arch-mxs/regs-apbh.h
drivers/dma/apbh_dma.c