aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-09-18 09:50:59 -0400
committerLinus Walleij <linus.walleij@linaro.org>2013-09-26 05:08:07 -0400
commit4f01a04cdeefdc52e3c5379726c293e51bdd3f2b (patch)
treea4bbdfa74202b93ebcb14f8ccda5109df84a4e7b /arch/arm/mach-ux500
parentf1ff5b2549990b5de080b52e3313cbb30c218853 (diff)
ARM: ux500: Deactivate enablement of DMA40 during ATAG booting
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')
-rw-r--r--arch/arm/mach-ux500/board-mop500.h1
-rw-r--r--arch/arm/mach-ux500/cpu-db8500.c2
-rw-r--r--arch/arm/mach-ux500/devices-db8500.c37
-rw-r--r--arch/arm/mach-ux500/devices.h2
4 files changed, 0 insertions, 42 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.h b/arch/arm/mach-ux500/board-mop500.h
index 06eb894eafe9..3b35a73e239e 100644
--- a/arch/arm/mach-ux500/board-mop500.h
+++ b/arch/arm/mach-ux500/board-mop500.h
@@ -92,7 +92,6 @@ extern struct amba_pl011_data uart0_plat;
92extern struct amba_pl011_data uart1_plat; 92extern struct amba_pl011_data uart1_plat;
93extern struct amba_pl011_data uart2_plat; 93extern struct amba_pl011_data uart2_plat;
94extern struct pl022_ssp_controller ssp0_plat; 94extern struct pl022_ssp_controller ssp0_plat;
95extern struct stedma40_platform_data dma40_plat_data;
96 95
97void __init mop500_u8500uib_init(void); 96void __init mop500_u8500uib_init(void);
98void __init mop500_stuib_init(void); 97void __init mop500_stuib_init(void);
diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c
index a9221cc019d6..9c0c9a70715a 100644
--- a/arch/arm/mach-ux500/cpu-db8500.c
+++ b/arch/arm/mach-ux500/cpu-db8500.c
@@ -32,7 +32,6 @@
32#include "irqs.h" 32#include "irqs.h"
33 33
34#include "devices-db8500.h" 34#include "devices-db8500.h"
35#include "ste-dma40-db8500.h"
36#include "db8500-regs.h" 35#include "db8500-regs.h"
37#include "board-mop500.h" 36#include "board-mop500.h"
38#include "id.h" 37#include "id.h"
@@ -134,7 +133,6 @@ static struct platform_device db8500_pmu_device = {
134}; 133};
135 134
136static struct platform_device *platform_devs[] __initdata = { 135static struct platform_device *platform_devs[] __initdata = {
137 &u8500_dma40_device,
138 &db8500_pmu_device, 136 &db8500_pmu_device,
139}; 137};
140 138
diff --git a/arch/arm/mach-ux500/devices-db8500.c b/arch/arm/mach-ux500/devices-db8500.c
index 071b588d33b0..1b2fabaee3ce 100644
--- a/arch/arm/mach-ux500/devices-db8500.c
+++ b/arch/arm/mach-ux500/devices-db8500.c
@@ -11,7 +11,6 @@
11#include <linux/io.h> 11#include <linux/io.h>
12#include <linux/amba/bus.h> 12#include <linux/amba/bus.h>
13#include <linux/amba/pl022.h> 13#include <linux/amba/pl022.h>
14#include <linux/platform_data/dma-ste-dma40.h>
15#include <linux/mfd/dbx500-prcmu.h> 14#include <linux/mfd/dbx500-prcmu.h>
16 15
17#include "setup.h" 16#include "setup.h"
@@ -19,42 +18,6 @@
19 18
20#include "db8500-regs.h" 19#include "db8500-regs.h"
21#include "devices-db8500.h" 20#include "devices-db8500.h"
22#include "ste-dma40-db8500.h"
23
24static struct resource dma40_resources[] = {
25 [0] = {
26 .start = U8500_DMA_BASE,
27 .end = U8500_DMA_BASE + SZ_4K - 1,
28 .flags = IORESOURCE_MEM,
29 .name = "base",
30 },
31 [1] = {
32 .start = U8500_DMA_LCPA_BASE,
33 .end = U8500_DMA_LCPA_BASE + 2 * SZ_1K - 1,
34 .flags = IORESOURCE_MEM,
35 .name = "lcpa",
36 },
37 [2] = {
38 .start = IRQ_DB8500_DMA,
39 .end = IRQ_DB8500_DMA,
40 .flags = IORESOURCE_IRQ,
41 }
42};
43
44struct stedma40_platform_data dma40_plat_data = {
45 .disabled_channels = {-1},
46};
47
48struct platform_device u8500_dma40_device = {
49 .dev = {
50 .platform_data = &dma40_plat_data,
51 .coherent_dma_mask = DMA_BIT_MASK(32),
52 },
53 .name = "dma40",
54 .id = 0,
55 .num_resources = ARRAY_SIZE(dma40_resources),
56 .resource = dma40_resources
57};
58 21
59struct prcmu_pdata db8500_prcmu_pdata = { 22struct prcmu_pdata db8500_prcmu_pdata = {
60 .ab_platdata = &ab8500_platdata, 23 .ab_platdata = &ab8500_platdata,
diff --git a/arch/arm/mach-ux500/devices.h b/arch/arm/mach-ux500/devices.h
index da23c0596d9e..5bca7c605cd6 100644
--- a/arch/arm/mach-ux500/devices.h
+++ b/arch/arm/mach-ux500/devices.h
@@ -12,6 +12,4 @@ struct amba_device;
12 12
13extern struct amba_device ux500_pl031_device; 13extern struct amba_device ux500_pl031_device;
14 14
15extern struct platform_device u8500_dma40_device;
16
17#endif 15#endif