diff options
author | Bridge Wu <bridge.wu@marvell.com> | 2007-12-14 04:40:25 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-01-26 10:07:52 -0500 |
commit | 9a788c6b78802b4a378be3f0d4c2da30da811620 (patch) | |
tree | 4d0861fab8dbcbfe97b0be4e9918442e97469b2a /arch/arm/mach-pxa/generic.c | |
parent | 64eb036af42d3816364c4db49d93be3a4614389c (diff) |
[ARM] 4711/1: pxa: mmc: move DMA specific code to platform layer
This patch is to move pxamci DMA specific code to corresponding
platform layer because using DRCMRRXMMC/DRCMRTXMMC in pxamci.c makes
the driver code dedicated to platform which is not extensible.
It is applicable to all pxa platforms.
Signed-off-by: Bridge Wu <bridge.wu@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/generic.c')
-rw-r--r-- | arch/arm/mach-pxa/generic.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/generic.c b/arch/arm/mach-pxa/generic.c index 8bb70e70131e..a8d88704c8d4 100644 --- a/arch/arm/mach-pxa/generic.c +++ b/arch/arm/mach-pxa/generic.c | |||
@@ -259,6 +259,16 @@ static struct resource pxamci_resources[] = { | |||
259 | .end = IRQ_MMC, | 259 | .end = IRQ_MMC, |
260 | .flags = IORESOURCE_IRQ, | 260 | .flags = IORESOURCE_IRQ, |
261 | }, | 261 | }, |
262 | [2] = { | ||
263 | .start = 21, | ||
264 | .end = 21, | ||
265 | .flags = IORESOURCE_DMA, | ||
266 | }, | ||
267 | [3] = { | ||
268 | .start = 22, | ||
269 | .end = 22, | ||
270 | .flags = IORESOURCE_DMA, | ||
271 | }, | ||
262 | }; | 272 | }; |
263 | 273 | ||
264 | static u64 pxamci_dmamask = 0xffffffffUL; | 274 | static u64 pxamci_dmamask = 0xffffffffUL; |