]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: ux500: Stop passing Hash DMA channel config information though pdata
authorLee Jones <lee.jones@linaro.org>
Wed, 15 May 2013 09:51:37 +0000 (10:51 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 23 May 2013 19:14:11 +0000 (21:14 +0200)
DMA channel configuration information should be setup in the driver.
The Ux500 Hash 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 e3dafdd713c91a5c2b9460f682b35a65c0dabce0..9426b86213bbd9f142443ff1a03e6d9d16681125 100644 (file)
@@ -446,11 +446,7 @@ static struct cryp_platform_data u8500_cryp1_platform_data = {
 static struct stedma40_chan_cfg u8500_hash_dma_cfg_tx = {
                .dir = STEDMA40_MEM_TO_PERIPH,
                .dev_type = DB8500_DMA_DEV50_HAC1_TX,
-               .src_info.data_width = STEDMA40_WORD_WIDTH,
-               .dst_info.data_width = STEDMA40_WORD_WIDTH,
                .mode = STEDMA40_MODE_LOGICAL,
-               .src_info.psize = STEDMA40_PSIZE_LOG_16,
-               .dst_info.psize = STEDMA40_PSIZE_LOG_16,
 };
 
 static struct hash_platform_data u8500_hash1_platform_data = {