From: Guennadi Liakhovetski Date: Wed, 19 May 2010 18:34:39 +0000 (+0000) Subject: sh: Add SDHI DMA support to migor X-Git-Tag: v2.6.35-rc1~414^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=65a1b0347a329422e939e14daae6dad9a29e9cf2;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git sh: Add SDHI DMA support to migor Signed-off-by: Guennadi Liakhovetski Signed-off-by: Paul Mundt --- diff --git a/arch/sh/boards/mach-migor/setup.c b/arch/sh/boards/mach-migor/setup.c index 7da0fc9..87185de 100644 --- a/arch/sh/boards/mach-migor/setup.c +++ b/arch/sh/boards/mach-migor/setup.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -402,10 +403,18 @@ static struct resource sdhi_cn9_resources[] = { }, }; +static struct sh_mobile_sdhi_info sh7724_sdhi_data = { + .dma_slave_tx = SHDMA_SLAVE_SDHI0_TX, + .dma_slave_rx = SHDMA_SLAVE_SDHI0_RX, +}; + static struct platform_device sdhi_cn9_device = { .name = "sh_mobile_sdhi", .num_resources = ARRAY_SIZE(sdhi_cn9_resources), .resource = sdhi_cn9_resources, + .dev = { + .platform_data = &sh7724_sdhi_data, + }, .archdata = { .hwblk_id = HWBLK_SDHI, },