aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1/devices.c
diff options
context:
space:
mode:
authorChristoph Egger <siccegge@cs.fau.de>2010-07-05 09:31:54 -0400
committerTony Lindgren <tony@atomide.com>2010-07-05 09:31:54 -0400
commitab6f7751905e5cf713d081dbb3b97b8f6909ab34 (patch)
treecdd361fa5b1ee831374052ddd068edfbc46f0b5c /arch/arm/mach-omap1/devices.c
parent4705c1ca8b7c7cca23d7e534c830e5d6ac914535 (diff)
Removing dead OMAP_DSP
OMAP_DSP doesn't exist in Kconfig, therefore removing all references for it from the source code. Signed-off-by: Christoph Egger <siccegge@cs.fau.de> [tony@atomide.com: updated to apply on top of already queued patches] Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap1/devices.c')
-rw-r--r--arch/arm/mach-omap1/devices.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/arch/arm/mach-omap1/devices.c b/arch/arm/mach-omap1/devices.c
index 379100c17639..c00d602a2599 100644
--- a/arch/arm/mach-omap1/devices.c
+++ b/arch/arm/mach-omap1/devices.c
@@ -63,44 +63,7 @@ static void omap_init_rtc(void)
63static inline void omap_init_rtc(void) {} 63static inline void omap_init_rtc(void) {}
64#endif 64#endif
65 65
66#if defined(CONFIG_OMAP_DSP) || defined(CONFIG_OMAP_DSP_MODULE)
67
68#if defined(CONFIG_ARCH_OMAP15XX)
69# define OMAP1_MBOX_SIZE 0x23
70# define INT_DSP_MAILBOX1 INT_1510_DSP_MAILBOX1
71#elif defined(CONFIG_ARCH_OMAP16XX)
72# define OMAP1_MBOX_SIZE 0x2f
73# define INT_DSP_MAILBOX1 INT_1610_DSP_MAILBOX1
74#endif
75
76#define OMAP1_MBOX_BASE OMAP16XX_MAILBOX_BASE
77
78static struct resource mbox_resources[] = {
79 {
80 .start = OMAP1_MBOX_BASE,
81 .end = OMAP1_MBOX_BASE + OMAP1_MBOX_SIZE,
82 .flags = IORESOURCE_MEM,
83 },
84 {
85 .start = INT_DSP_MAILBOX1,
86 .flags = IORESOURCE_IRQ,
87 },
88};
89
90static struct platform_device mbox_device = {
91 .name = "omap1-mailbox",
92 .id = -1,
93 .num_resources = ARRAY_SIZE(mbox_resources),
94 .resource = mbox_resources,
95};
96
97static inline void omap_init_mbox(void)
98{
99 platform_device_register(&mbox_device);
100}
101#else
102static inline void omap_init_mbox(void) { } 66static inline void omap_init_mbox(void) { }
103#endif
104 67
105/*-------------------------------------------------------------------------*/ 68/*-------------------------------------------------------------------------*/
106 69