From: Shawn Guo Date: Wed, 22 Jun 2011 14:41:26 +0000 (+0800) Subject: ARM: mxc: imx-sdma device gets 16K iosize than 4K X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=420766a97a93279ef5ccc096aa55ef8e03000e08;p=~shefty%2Frdma-dev.git ARM: mxc: imx-sdma device gets 16K iosize than 4K The sdma on all imx soc gets 16K IO space not 4K. Signed-off-by: Shawn Guo Signed-off-by: Sascha Hauer --- diff --git a/arch/arm/plat-mxc/devices/platform-imx-dma.c b/arch/arm/plat-mxc/devices/platform-imx-dma.c index b130f60ca6b..222e439aa7f 100644 --- a/arch/arm/plat-mxc/devices/platform-imx-dma.c +++ b/arch/arm/plat-mxc/devices/platform-imx-dma.c @@ -57,7 +57,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,