ARM: ux500: Stop passing Cryp DMA channel config information though pdata
authorLee Jones <lee.jones@linaro.org>
Wed, 15 May 2013 09:51:40 +0000 (10:51 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 23 May 2013 19:14:20 +0000 (21:14 +0200)
DMA channel configuration information should be setup in the driver.
The Ux500 Cryp driver now does this, so there's no need to send it
though here too.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/board-mop500.c

index 9426b86..f747c64 100644 (file)
@@ -426,20 +426,12 @@ static struct cryp_platform_data u8500_cryp1_platform_data = {
                .mem_to_engine = {
                                .dir = STEDMA40_MEM_TO_PERIPH,
                                .dev_type = DB8500_DMA_DEV48_CAC1,
-                               .src_info.data_width = STEDMA40_WORD_WIDTH,
-                               .dst_info.data_width = STEDMA40_WORD_WIDTH,
                                .mode = STEDMA40_MODE_LOGICAL,
-                               .src_info.psize = STEDMA40_PSIZE_LOG_4,
-                               .dst_info.psize = STEDMA40_PSIZE_LOG_4,
                },
                .engine_to_mem = {
                                .dir = STEDMA40_PERIPH_TO_MEM,
                                .dev_type = DB8500_DMA_DEV48_CAC1,
-                               .src_info.data_width = STEDMA40_WORD_WIDTH,
-                               .dst_info.data_width = STEDMA40_WORD_WIDTH,
                                .mode = STEDMA40_MODE_LOGICAL,
-                               .src_info.psize = STEDMA40_PSIZE_LOG_4,
-                               .dst_info.psize = STEDMA40_PSIZE_LOG_4,
                }
 };