diff options
author | Lee Jones <lee.jones@linaro.org> | 2013-08-22 17:58:29 +0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-09-26 13:08:15 +0400 |
commit | 1bef5c6722b8e4444c7a1bf5c464d8e464ed7fa8 (patch) | |
tree | bef8792378b348c1377db992b1df69ab489641c0 /arch/arm/mach-ux500/board-mop500.c | |
parent | a6fdf37e2a8fd16873d9772ba10f7ab8737aca4f (diff) | |
download | linux-1bef5c6722b8e4444c7a1bf5c464d8e464ed7fa8.tar.xz |
ARM: ux500: Rip out SSP/SPI registration when not booting with Device Tree
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 | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index 1c0fd8316f9a..6cad4123d6fc 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c @@ -18,7 +18,6 @@ #include <linux/amba/bus.h> #include <linux/amba/pl022.h> #include <linux/amba/serial.h> -#include <linux/spi/spi.h> #include <linux/mfd/abx500/ab8500.h> #include <linux/regulator/ab8500.h> #include <linux/regulator/fixed.h> @@ -79,11 +78,6 @@ struct pl022_ssp_controller ssp0_plat = { .num_chipselect = 5, }; -static void __init mop500_spi_init(struct device *parent) -{ - db8500_add_ssp0(parent, &ssp0_plat); -} - #ifdef CONFIG_STE_DMA40 static struct stedma40_chan_cfg uart0_dma_cfg_rx = { .mode = STEDMA40_MODE_LOGICAL, @@ -162,7 +156,6 @@ static void __init mop500_init_machine(void) mop500_pinmaps_init(); parent = u8500_init_devices(); - mop500_spi_init(parent); mop500_uart_init(parent); /* This board has full regulator constraints */ @@ -179,7 +172,6 @@ static void __init snowball_init_machine(void) snowball_pinmaps_init(); parent = u8500_init_devices(); - mop500_spi_init(parent); mop500_uart_init(parent); /* This board has full regulator constraints */ @@ -195,7 +187,6 @@ static void __init hrefv60_init_machine(void) hrefv60_pinmaps_init(); parent = u8500_init_devices(); - mop500_spi_init(parent); mop500_uart_init(parent); /* This board has full regulator constraints */ |