diff options
author | Lee Jones <lee.jones@linaro.org> | 2013-09-18 14:35:06 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-09-26 11:07:23 +0200 |
commit | 598ad492bff2742407c238355a67a79ca096287f (patch) | |
tree | 04f6b2082c6e15979ce545cc9c05798fdf8a1c9d /arch/arm/mach-ux500/board-mop500.c | |
parent | 3b91f30093286094e9ed8c5513c9bfcd97191111 (diff) | |
download | op-kernel-dev-598ad492bff2742407c238355a67a79ca096287f.zip op-kernel-dev-598ad492bff2742407c238355a67a79ca096287f.tar.gz |
ARM: ux500: Rip out Hash support when booting with ATAGs
It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500.c')
-rw-r--r-- | arch/arm/mach-ux500/board-mop500.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index c4fdb03..65b3dbb 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c @@ -182,17 +182,6 @@ static void mop500_prox_deactivate(struct device *dev) regulator_put(prox_regulator); } -static struct stedma40_chan_cfg u8500_hash_dma_cfg_tx = { - .dir = DMA_MEM_TO_DEV, - .dev_type = DB8500_DMA_DEV50_HAC1_TX, - .mode = STEDMA40_MODE_LOGICAL, -}; - -static struct hash_platform_data u8500_hash1_platform_data = { - .mem_to_engine = &u8500_hash_dma_cfg_tx, - .dma_filter = stedma40_filter, -}; - /* add any platform devices here - TODO */ static struct platform_device *mop500_platform_devs[] __initdata = { &mop500_gpio_keys_device, @@ -302,11 +291,6 @@ static void __init mop500_uart_init(struct device *parent) db8500_add_uart2(parent, &uart2_plat); } -static void __init u8500_cryp1_hash1_init(struct device *parent) -{ - db8500_add_hash1(parent, &u8500_hash1_platform_data); -} - static void __init mop500_init_machine(void) { struct device *parent = NULL; @@ -328,7 +312,6 @@ static void __init mop500_init_machine(void) mop500_sdi_init(parent); mop500_spi_init(parent); mop500_uart_init(parent); - u8500_cryp1_hash1_init(parent); /* This board has full regulator constraints */ regulator_has_full_constraints(); @@ -349,8 +332,6 @@ static void __init snowball_init_machine(void) mop500_spi_init(parent); mop500_uart_init(parent); - u8500_cryp1_hash1_init(parent); - /* This board has full regulator constraints */ regulator_has_full_constraints(); } |