aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-kirkwood
diff options
context:
space:
mode:
authorSimon Guinot <sguinot@lacie.com>2010-02-09 15:20:55 -0500
committerNicolas Pitre <nico@fluxnic.net>2010-02-09 20:54:49 -0500
commitca9cea939932a0a64fee9d83b3c631431359446f (patch)
treeca95a52c338b8b7628178aae3fff7d78a35ffa94 /arch/arm/mach-kirkwood
parent7a15726cb4aca67150b93a5ce5413efe6e87c95d (diff)
[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')
-rw-r--r--arch/arm/mach-kirkwood/Kconfig6
-rw-r--r--arch/arm/mach-kirkwood/Makefile1
-rw-r--r--arch/arm/mach-kirkwood/netspace_v2-setup.c14
3 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/mach-kirkwood/Kconfig b/arch/arm/mach-kirkwood/Kconfig
index 4ac6f463eb03..edc9aeb6e6b2 100644
--- a/arch/arm/mach-kirkwood/Kconfig
+++ b/arch/arm/mach-kirkwood/Kconfig
@@ -69,6 +69,12 @@ config MACH_NETSPACE_V2
69 Say 'Y' here if you want your kernel to support the 69 Say 'Y' here if you want your kernel to support the
70 LaCie Network Space v2 NAS. 70 LaCie Network Space v2 NAS.
71 71
72config MACH_INETSPACE_V2
73 bool "LaCie Internet Space v2 NAS Board"
74 help
75 Say 'Y' here if you want your kernel to support the
76 LaCie Internet Space v2 NAS.
77
72endmenu 78endmenu
73 79
74endif 80endif
diff --git a/arch/arm/mach-kirkwood/Makefile b/arch/arm/mach-kirkwood/Makefile
index df91d0789f18..55b4ccf3729b 100644
--- a/arch/arm/mach-kirkwood/Makefile
+++ b/arch/arm/mach-kirkwood/Makefile
@@ -9,5 +9,6 @@ obj-$(CONFIG_MACH_TS219) += ts219-setup.o tsx1x-common.o
9obj-$(CONFIG_MACH_TS41X) += ts41x-setup.o tsx1x-common.o 9obj-$(CONFIG_MACH_TS41X) += ts41x-setup.o tsx1x-common.o
10obj-$(CONFIG_MACH_OPENRD) += openrd-setup.o 10obj-$(CONFIG_MACH_OPENRD) += openrd-setup.o
11obj-$(CONFIG_MACH_NETSPACE_V2) += netspace_v2-setup.o 11obj-$(CONFIG_MACH_NETSPACE_V2) += netspace_v2-setup.o
12obj-$(CONFIG_MACH_INETSPACE_V2) += netspace_v2-setup.o
12 13
13obj-$(CONFIG_CPU_IDLE) += cpuidle.o 14obj-$(CONFIG_CPU_IDLE) += cpuidle.o
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)
314 pr_err("netspace_v2: failed to configure power-off GPIO\n"); 314 pr_err("netspace_v2: failed to configure power-off GPIO\n");
315} 315}
316 316
317#ifdef CONFIG_MACH_NETSPACE_V2
317MACHINE_START(NETSPACE_V2, "LaCie Network Space v2") 318MACHINE_START(NETSPACE_V2, "LaCie Network Space v2")
318 .phys_io = KIRKWOOD_REGS_PHYS_BASE, 319 .phys_io = KIRKWOOD_REGS_PHYS_BASE,
319 .io_pg_offst = ((KIRKWOOD_REGS_VIRT_BASE) >> 18) & 0xfffc, 320 .io_pg_offst = ((KIRKWOOD_REGS_VIRT_BASE) >> 18) & 0xfffc,
@@ -323,3 +324,16 @@ MACHINE_START(NETSPACE_V2, "LaCie Network Space v2")
323 .init_irq = kirkwood_init_irq, 324 .init_irq = kirkwood_init_irq,
324 .timer = &netspace_v2_timer, 325 .timer = &netspace_v2_timer,
325MACHINE_END 326MACHINE_END
327#endif
328
329#ifdef CONFIG_MACH_INETSPACE_V2
330MACHINE_START(INETSPACE_V2, "LaCie Internet Space v2")
331 .phys_io = KIRKWOOD_REGS_PHYS_BASE,
332 .io_pg_offst = ((KIRKWOOD_REGS_VIRT_BASE) >> 18) & 0xfffc,
333 .boot_params = 0x00000100,
334 .init_machine = netspace_v2_init,
335 .map_io = kirkwood_map_io,
336 .init_irq = kirkwood_init_irq,
337 .timer = &netspace_v2_timer,
338MACHINE_END
339#endif