diff options
author | Lee Jones <lee.jones@linaro.org> | 2013-08-21 15:19:18 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-09-26 11:07:19 +0200 |
commit | 3b91f30093286094e9ed8c5513c9bfcd97191111 (patch) | |
tree | d23ff45c642b62346c4cc6efd387c966fd8b70db /arch/arm/mach-ux500/devices-common.h | |
parent | 335d761416658838331b2a85f5cad120e45956e5 (diff) | |
download | op-kernel-dev-3b91f30093286094e9ed8c5513c9bfcd97191111.zip op-kernel-dev-3b91f30093286094e9ed8c5513c9bfcd97191111.tar.gz |
ARM: ux500: Deactivate Crypt 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/devices-common.h')
-rw-r--r-- | arch/arm/mach-ux500/devices-common.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/arch/arm/mach-ux500/devices-common.h b/arch/arm/mach-ux500/devices-common.h index 7eb1272..b32f179 100644 --- a/arch/arm/mach-ux500/devices-common.h +++ b/arch/arm/mach-ux500/devices-common.h @@ -13,7 +13,6 @@ #include <linux/sys_soc.h> #include <linux/amba/bus.h> #include <linux/platform_data/i2c-nomadik.h> -#include <linux/platform_data/crypto-ux500.h> struct spi_master_cntlr; @@ -65,31 +64,6 @@ dbx500_add_rtc(struct device *parent, resource_size_t base, int irq) 0, NULL, 0); } -struct cryp_platform_data; - -static inline struct platform_device * -dbx500_add_cryp1(struct device *parent, int id, resource_size_t base, int irq, - struct cryp_platform_data *pdata) -{ - struct resource res[] = { - DEFINE_RES_MEM(base, SZ_4K), - DEFINE_RES_IRQ(irq), - }; - - struct platform_device_info pdevinfo = { - .parent = parent, - .name = "cryp1", - .id = id, - .res = res, - .num_res = ARRAY_SIZE(res), - .data = pdata, - .size_data = sizeof(*pdata), - .dma_mask = DMA_BIT_MASK(32), - }; - - return platform_device_register_full(&pdevinfo); -} - struct hash_platform_data; static inline struct platform_device * |