aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap1')
-rw-r--r--arch/arm/mach-omap1/devices.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/arch/arm/mach-omap1/devices.c b/arch/arm/mach-omap1/devices.c
index c00d602a259..aa0725608fb 100644
--- a/arch/arm/mach-omap1/devices.c
+++ b/arch/arm/mach-omap1/devices.c
@@ -193,42 +193,7 @@ static inline void omap_init_spi100k(void)
193 193
194/*-------------------------------------------------------------------------*/ 194/*-------------------------------------------------------------------------*/
195 195
196#if defined(CONFIG_OMAP_STI)
197
198#define OMAP1_STI_BASE 0xfffea000
199#define OMAP1_STI_CHANNEL_BASE (OMAP1_STI_BASE + 0x400)
200
201static struct resource sti_resources[] = {
202 {
203 .start = OMAP1_STI_BASE,
204 .end = OMAP1_STI_BASE + SZ_1K - 1,
205 .flags = IORESOURCE_MEM,
206 },
207 {
208 .start = OMAP1_STI_CHANNEL_BASE,
209 .end = OMAP1_STI_CHANNEL_BASE + SZ_1K - 1,
210 .flags = IORESOURCE_MEM,
211 },
212 {
213 .start = INT_1610_STI,
214 .flags = IORESOURCE_IRQ,
215 }
216};
217
218static struct platform_device sti_device = {
219 .name = "sti",
220 .id = -1,
221 .num_resources = ARRAY_SIZE(sti_resources),
222 .resource = sti_resources,
223};
224
225static inline void omap_init_sti(void)
226{
227 platform_device_register(&sti_device);
228}
229#else
230static inline void omap_init_sti(void) {} 196static inline void omap_init_sti(void) {}
231#endif
232 197
233/*-------------------------------------------------------------------------*/ 198/*-------------------------------------------------------------------------*/
234 199