diff options
author | Simon Guinot <sguinot@lacie.com> | 2010-02-09 21:20:55 +0100 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2010-02-10 02:54:49 +0100 |
commit | ca9cea939932a0a64fee9d83b3c631431359446f (patch) | |
tree | ca95a52c338b8b7628178aae3fff7d78a35ffa94 /arch/arm/mach-kirkwood/netspace_v2-setup.c | |
parent | [ARM] Orion5x: enable SATA LED blinking for d2net (diff) | |
download | linux-ca9cea939932a0a64fee9d83b3c631431359446f.tar.xz linux-ca9cea939932a0a64fee9d83b3c631431359446f.zip |
[ARM] Kirkwood: add LaCie Internet Space v2 support
The Internet and Network Space v2 boards are very close. The only
difference is that there is no USB type B plug wired on the Internet
Space v2.
Signed-off-by: Simon Guinot <sguinot@lacie.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Diffstat (limited to 'arch/arm/mach-kirkwood/netspace_v2-setup.c')
-rw-r--r-- | arch/arm/mach-kirkwood/netspace_v2-setup.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-kirkwood/netspace_v2-setup.c b/arch/arm/mach-kirkwood/netspace_v2-setup.c index 9a064065bebe..4c1f4744fe62 100644 --- a/arch/arm/mach-kirkwood/netspace_v2-setup.c +++ b/arch/arm/mach-kirkwood/netspace_v2-setup.c @@ -314,6 +314,7 @@ static void __init netspace_v2_init(void) pr_err("netspace_v2: failed to configure power-off GPIO\n"); } +#ifdef CONFIG_MACH_NETSPACE_V2 MACHINE_START(NETSPACE_V2, "LaCie Network Space v2") .phys_io = KIRKWOOD_REGS_PHYS_BASE, .io_pg_offst = ((KIRKWOOD_REGS_VIRT_BASE) >> 18) & 0xfffc, @@ -323,3 +324,16 @@ MACHINE_START(NETSPACE_V2, "LaCie Network Space v2") .init_irq = kirkwood_init_irq, .timer = &netspace_v2_timer, MACHINE_END +#endif + +#ifdef CONFIG_MACH_INETSPACE_V2 +MACHINE_START(INETSPACE_V2, "LaCie Internet Space v2") + .phys_io = KIRKWOOD_REGS_PHYS_BASE, + .io_pg_offst = ((KIRKWOOD_REGS_VIRT_BASE) >> 18) & 0xfffc, + .boot_params = 0x00000100, + .init_machine = netspace_v2_init, + .map_io = kirkwood_map_io, + .init_irq = kirkwood_init_irq, + .timer = &netspace_v2_timer, +MACHINE_END +#endif |