~ubuntu-branches/ubuntu/trusty/linux-armadaxp/trusty

« back to all changes in this revision

Viewing changes to arch/arm/mach-omap2/board-zoom.c

  • Committer: Package Import Robot
  • Author(s): Michael Casadevall, Bryan Wu, Dann Frazier, Michael Casadeall
  • Date: 2012-03-10 15:00:54 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120310150054-flugb39zon8vvgwe
Tags: 3.2.0-1600.1
[ Bryan Wu ]
* UBUNTU: import debian/debian.env and debian.armadaxp

[ Dann Frazier ]
* ARM: Armada XP: remove trailing '/' in dirnames in mvRules.mk

[ Michael Casadeall ]
* tools: add some tools for Marvell Armada XP processor
* kernel: timer tick hacking from Marvell
* kernel: Sheeva Errata: add delay on Sheeva when powering down
* net: add Marvell NFP netfilter
* net: socket and skb modifications made by Marvell
* miscdevice: add minor IDs for some Marvell Armada drivers
* fs: introduce memory pool for splice()
* video: EDID detection updates from Marvell Armada XP patchset
* video: backlight: add Marvell Dove LCD backlight driver
* video: display: add THS8200 display driver
* video: framebuffer: add Marvell Dove and Armada XP processor onchip LCD controller driver
* usbtest: add Interrupt transfer testing by Marvell Armada XP code
* usb: ehci: add support for Marvell EHCI controler
* tty/serial: 8250: add support for Marvell Armada XP processor and DeviceTree work
* rtc: add support for Marvell Armada XP onchip RTC controller
* net: pppoe: add Marvell ethernet NFP hook in PPPoE networking driver
* mtd: nand: add support for Marvell Armada XP Nand Flash Controller
* mtd: maps: add Marvell Armada XP specific map driver
* mmc: add support for Marvell Armada XP MMC/SD host controller
* i2c: add support for Marvell Armada XP onchip i2c bus controller
* hwmon: add Kconfig option for Armada XP onchip thermal sensor driver
* dmaengine: add Net DMA support for splice and update Marvell XOR DMA engine driver
* ata: add support for Marvell Armada XP SATA controller and update some quirks
* ARM: add Marvell Armada XP machine to mach-types
* ARM: oprofile: add support for Marvell PJ4B core
* ARM: mm: more ARMv6 switches for Marvell Armada XP
* ARM: remove static declaration to allow compilation
* ARM: alignment access fault trick
* ARM: mm: skip some fault fixing when run on NONE SMP ARMv6 mode during early abort event
* ARM: mm: add Marvell Sheeva CPU Architecture for PJ4B
* ARM: introduce optimized copy operation for Marvell Armada XP
* ARM: SAUCE: hardware breakpoint trick for Marvell Armada XP
* ARM: big endian and little endian tricks for Marvell Armada XP
* ARM: SAUCE: Add Marvell Armada XP build rules to arch/arm/kernel/Makefile
* ARM: vfp: add special handling for Marvell Armada XP
* ARM: add support for Marvell U-Boot
* ARM: add mv_controller_num for ARM PCI drivers
* ARM: add support for local PMUs, general SMP tweaks and cache flushing
* ARM: add Marvell device identifies in glue-proc.h
* ARM: add IPC driver support for Marvell platforms
* ARM: add DMA mapping for Marvell platforms
* ARM: add Sheeva errata and PJ4B code for booting
* ARM: update Kconfig and Makefile to include Marvell Armada XP platforms
* ARM: Armada XP: import LSP from Marvell for Armada XP 3.2 kernel enablement

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#include <asm/mach-types.h>
22
22
#include <asm/mach/arch.h>
23
23
 
24
 
#include <plat/common.h>
 
24
#include "common.h"
25
25
#include <plat/board.h>
26
26
#include <plat/usb.h>
27
27
 
34
34
 
35
35
#define ZOOM3_EHCI_RESET_GPIO           64
36
36
 
37
 
static void __init omap_zoom_init_early(void)
38
 
{
39
 
        omap2_init_common_infrastructure();
40
 
        if (machine_is_omap_zoom2())
41
 
                omap2_init_common_devices(mt46h32m32lf6_sdrc_params,
42
 
                                          mt46h32m32lf6_sdrc_params);
43
 
        else if (machine_is_omap_zoom3())
44
 
                omap2_init_common_devices(h8mbx00u0mer0em_sdrc_params,
45
 
                                          h8mbx00u0mer0em_sdrc_params);
46
 
}
47
 
 
48
37
#ifdef CONFIG_OMAP_MUX
49
38
static struct omap_board_mux board_mux[] __initdata = {
50
39
        /* WLAN IRQ - GPIO 162 */
129
118
                                                ZOOM_NAND_CS, NAND_BUSWIDTH_16);
130
119
        zoom_debugboard_init();
131
120
        zoom_peripherals_init();
 
121
 
 
122
        if (machine_is_omap_zoom2())
 
123
                omap_sdrc_init(mt46h32m32lf6_sdrc_params,
 
124
                                          mt46h32m32lf6_sdrc_params);
 
125
        else if (machine_is_omap_zoom3())
 
126
                omap_sdrc_init(h8mbx00u0mer0em_sdrc_params,
 
127
                                          h8mbx00u0mer0em_sdrc_params);
 
128
 
132
129
        zoom_display_init();
133
130
}
134
131
 
135
132
MACHINE_START(OMAP_ZOOM2, "OMAP Zoom2 board")
136
 
        .boot_params    = 0x80000100,
 
133
        .atag_offset    = 0x100,
137
134
        .reserve        = omap_reserve,
138
135
        .map_io         = omap3_map_io,
139
 
        .init_early     = omap_zoom_init_early,
140
 
        .init_irq       = omap_init_irq,
 
136
        .init_early     = omap3430_init_early,
 
137
        .init_irq       = omap3_init_irq,
141
138
        .init_machine   = omap_zoom_init,
142
 
        .timer          = &omap_timer,
 
139
        .timer          = &omap3_timer,
 
140
        .restart        = omap_prcm_restart,
143
141
MACHINE_END
144
142
 
145
143
MACHINE_START(OMAP_ZOOM3, "OMAP Zoom3 board")
146
 
        .boot_params    = 0x80000100,
 
144
        .atag_offset    = 0x100,
147
145
        .reserve        = omap_reserve,
148
146
        .map_io         = omap3_map_io,
149
 
        .init_early     = omap_zoom_init_early,
150
 
        .init_irq       = omap_init_irq,
 
147
        .init_early     = omap3630_init_early,
 
148
        .init_irq       = omap3_init_irq,
151
149
        .init_machine   = omap_zoom_init,
152
 
        .timer          = &omap_timer,
 
150
        .timer          = &omap3_timer,
 
151
        .restart        = omap_prcm_restart,
153
152
MACHINE_END