aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1/board-osk.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-11-01 23:58:25 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-11-01 23:58:25 -0400
commit81a3c10ce8a7fd5bf9a06bfc38bd417512911831 (patch)
tree12ceac10fae8c4b2dc17b362672a5db305a8d960 /arch/arm/mach-omap1/board-osk.c
parent6585dea1f99cc2265582ff2e4cc1727062136e92 (diff)
parentdf80442d1ee2902c2e39f90f18160f2e08d14c06 (diff)
Merge branch 'next/cleanup2' of git://git.linaro.org/people/arnd/arm-soc
* 'next/cleanup2' of git://git.linaro.org/people/arnd/arm-soc: (31 commits) ARM: OMAP: Warn if omap_ioremap is called before SoC detection ARM: OMAP: Move set_globals initialization to happen in init_early ARM: OMAP: Map SRAM later on with ioremap_exec() ARM: OMAP: Remove calls to SRAM allocations for framebuffer ARM: OMAP: Avoid cpu_is_omapxxxx usage until map_io is done ARM: OMAP1: Use generic map_io, init_early and init_irq arm/dts: OMAP3+: Add mpu, dsp and iva nodes arm/dts: OMAP4: Add a main ocp entry bound to l3-noc driver ARM: OMAP2+: l3-noc: Add support for device-tree ARM: OMAP2+: board-generic: Add i2c static init ARM: OMAP2+: board-generic: Add DT support to generic board arm/dts: Add support for OMAP3 Beagle board arm/dts: Add initial device tree support for OMAP3 SoC arm/dts: Add support for OMAP4 SDP board arm/dts: Add support for OMAP4 PandaBoard arm/dts: Add initial device tree support for OMAP4 SoC ARM: OMAP: omap_device: Add a method to build an omap_device from a DT node ARM: OMAP: omap_device: Add omap_device_[alloc|delete] for DT integration of: Add helpers to get one string in multiple strings property ARM: OMAP2+: devices: Remove all omap_device_pm_latency structures ... Fix up trivial header file conflicts in arch/arm/mach-omap2/board-generic.c
Diffstat (limited to 'arch/arm/mach-omap1/board-osk.c')
-rw-r--r--arch/arm/mach-omap1/board-osk.c16
1 files changed, 3 insertions, 13 deletions
diff --git a/arch/arm/mach-omap1/board-osk.c b/arch/arm/mach-omap1/board-osk.c
index e4dca1deebb4..c3859278d257 100644
--- a/arch/arm/mach-omap1/board-osk.c
+++ b/arch/arm/mach-omap1/board-osk.c
@@ -278,12 +278,6 @@ static void __init osk_init_cf(void)
278 irq_set_irq_type(gpio_to_irq(62), IRQ_TYPE_EDGE_FALLING); 278 irq_set_irq_type(gpio_to_irq(62), IRQ_TYPE_EDGE_FALLING);
279} 279}
280 280
281static void __init osk_init_irq(void)
282{
283 omap1_init_common_hw();
284 omap1_init_irq();
285}
286
287static struct omap_usb_config osk_usb_config __initdata = { 281static struct omap_usb_config osk_usb_config __initdata = {
288 /* has usb host connector (A) ... for development it can also 282 /* has usb host connector (A) ... for development it can also
289 * be used, with a NONSTANDARD gender-bending cable/dongle, as 283 * be used, with a NONSTANDARD gender-bending cable/dongle, as
@@ -575,17 +569,13 @@ static void __init osk_init(void)
575 osk_mistral_init(); 569 osk_mistral_init();
576} 570}
577 571
578static void __init osk_map_io(void)
579{
580 omap1_map_common_io();
581}
582
583MACHINE_START(OMAP_OSK, "TI-OSK") 572MACHINE_START(OMAP_OSK, "TI-OSK")
584 /* Maintainer: Dirk Behme <dirk.behme@de.bosch.com> */ 573 /* Maintainer: Dirk Behme <dirk.behme@de.bosch.com> */
585 .atag_offset = 0x100, 574 .atag_offset = 0x100,
586 .map_io = osk_map_io, 575 .map_io = omap16xx_map_io,
576 .init_early = omap1_init_early,
587 .reserve = omap_reserve, 577 .reserve = omap_reserve,
588 .init_irq = osk_init_irq, 578 .init_irq = omap1_init_irq,
589 .init_machine = osk_init, 579 .init_machine = osk_init,
590 .timer = &omap1_timer, 580 .timer = &omap1_timer,
591MACHINE_END 581MACHINE_END