aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-kirkwood/sheevaplug-setup.c
diff options
context:
space:
mode:
authorJohn Holland <john.holland@cellent-fs.de>2010-02-19 17:10:58 -0500
committerNicolas Pitre <nico@fluxnic.net>2010-02-23 16:44:00 -0500
commitd8ecb3490050b33bf46ce77c7f239e0fc51a6835 (patch)
treef6235c4e7e486937189b0a0b961ac4203b2c6e49 /arch/arm/mach-kirkwood/sheevaplug-setup.c
parent0fa11802e0dcbd4e211a9310500bf52d701b9c1b (diff)
[ARM] eSATA SheevaPlug basic board support
Allow basic eSATA SheevaPlug board configuration and build. Signed-off-by: John Holland <john.holland@cellent-fs.de> Signed-off-by: Nicolas Pitre <nico@marvell.com> --
Diffstat (limited to 'arch/arm/mach-kirkwood/sheevaplug-setup.c')
-rw-r--r--arch/arm/mach-kirkwood/sheevaplug-setup.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-kirkwood/sheevaplug-setup.c b/arch/arm/mach-kirkwood/sheevaplug-setup.c
index c7319eeac8bb..629ce84ae433 100644
--- a/arch/arm/mach-kirkwood/sheevaplug-setup.c
+++ b/arch/arm/mach-kirkwood/sheevaplug-setup.c
@@ -96,6 +96,7 @@ static void __init sheevaplug_init(void)
96 platform_device_register(&sheevaplug_leds); 96 platform_device_register(&sheevaplug_leds);
97} 97}
98 98
99#ifdef CONFIG_MACH_SHEEVAPLUG
99MACHINE_START(SHEEVAPLUG, "Marvell SheevaPlug Reference Board") 100MACHINE_START(SHEEVAPLUG, "Marvell SheevaPlug Reference Board")
100 /* Maintainer: shadi Ammouri <shadi@marvell.com> */ 101 /* Maintainer: shadi Ammouri <shadi@marvell.com> */
101 .phys_io = KIRKWOOD_REGS_PHYS_BASE, 102 .phys_io = KIRKWOOD_REGS_PHYS_BASE,
@@ -106,3 +107,16 @@ MACHINE_START(SHEEVAPLUG, "Marvell SheevaPlug Reference Board")
106 .init_irq = kirkwood_init_irq, 107 .init_irq = kirkwood_init_irq,
107 .timer = &kirkwood_timer, 108 .timer = &kirkwood_timer,
108MACHINE_END 109MACHINE_END
110#endif
111
112#ifdef CONFIG_MACH_ESATA_SHEEVAPLUG
113MACHINE_START(ESATA_SHEEVAPLUG, "Marvell eSATA SheevaPlug Reference Board")
114 .phys_io = KIRKWOOD_REGS_PHYS_BASE,
115 .io_pg_offst = ((KIRKWOOD_REGS_VIRT_BASE) >> 18) & 0xfffc,
116 .boot_params = 0x00000100,
117 .init_machine = sheevaplug_init,
118 .map_io = kirkwood_map_io,
119 .init_irq = kirkwood_init_irq,
120 .timer = &kirkwood_timer,
121MACHINE_END
122#endif