]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[ARM] Kirkwood: add LaCie Internet Space v2 support
authorSimon Guinot <sguinot@lacie.com>
Tue, 9 Feb 2010 20:20:55 +0000 (21:20 +0100)
committerNicolas Pitre <nico@fluxnic.net>
Wed, 10 Feb 2010 01:54:49 +0000 (20:54 -0500)
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>
arch/arm/mach-kirkwood/Kconfig
arch/arm/mach-kirkwood/Makefile
arch/arm/mach-kirkwood/netspace_v2-setup.c

index 4ac6f463eb0373e1446b9d780ca88ac68798c3c8..edc9aeb6e6b2f6aec705de18445bf2064c8b902f 100644 (file)
@@ -69,6 +69,12 @@ config MACH_NETSPACE_V2
          Say 'Y' here if you want your kernel to support the
          LaCie Network Space v2 NAS.
 
+config MACH_INETSPACE_V2
+       bool "LaCie Internet Space v2 NAS Board"
+       help
+         Say 'Y' here if you want your kernel to support the
+         LaCie Internet Space v2 NAS.
+
 endmenu
 
 endif
index df91d0789f182ad2df710c747bd0ab28c7134851..55b4ccf3729ba080d2d164a3f75e48bdc75ec4b5 100644 (file)
@@ -9,5 +9,6 @@ obj-$(CONFIG_MACH_TS219)                += ts219-setup.o tsx1x-common.o
 obj-$(CONFIG_MACH_TS41X)               += ts41x-setup.o tsx1x-common.o
 obj-$(CONFIG_MACH_OPENRD)              += openrd-setup.o
 obj-$(CONFIG_MACH_NETSPACE_V2)         += netspace_v2-setup.o
+obj-$(CONFIG_MACH_INETSPACE_V2)                += netspace_v2-setup.o
 
 obj-$(CONFIG_CPU_IDLE)                 += cpuidle.o
index 9a064065bebe912cbcc059238e9d660478dd4ed0..4c1f4744fe62b90b92f748ec1748adf79d6a9583 100644 (file)
@@ -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