]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: mxc: imx-sdma device gets 16K iosize than 4K
authorShawn Guo <shawn.guo@linaro.org>
Wed, 22 Jun 2011 14:41:26 +0000 (22:41 +0800)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 27 Jun 2011 09:49:55 +0000 (11:49 +0200)
The sdma on all imx soc gets 16K IO space not 4K.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/plat-mxc/devices/platform-imx-dma.c

index 4e7fbc240703ce7594089c5fab88d209aaaf4f0b..1c737db3da2b9380a78ef0785dc569f075f95ac4 100644 (file)
@@ -62,7 +62,7 @@ static struct platform_device __init __maybe_unused *imx_add_imx_sdma(
        struct resource res[] = {
                {
                        .start = data->iobase,
-                       .end = data->iobase + SZ_4K - 1,
+                       .end = data->iobase + SZ_16K - 1,
                        .flags = IORESOURCE_MEM,
                }, {
                        .start = data->irq,