aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorHubert Feurstein <hubert.feurstein@contec.at>2009-10-07 03:41:01 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-10-07 08:15:15 -0400
commit7232344d49b88e8787f1842936867cd224da47e5 (patch)
treecad30c421ba4e9ed91f8eb9fcb15aba1392b79b8 /arch
parent14636005fff800d4131dfe89927207a564efcc17 (diff)
ARM: 5751/1: ep93xx/micro9: Add Micro9-Slim
Add Contec Micro9-Slim support Cc: Ryan Mallon <ryan@bluewatersys.com> Requires: 5750/1 Signed-off-by: Hubert Feurstein <hubert.feurstein@contec.at> Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-ep93xx/Kconfig8
-rw-r--r--arch/arm/mach-ep93xx/micro9.c16
2 files changed, 23 insertions, 1 deletions
diff --git a/arch/arm/mach-ep93xx/Kconfig b/arch/arm/mach-ep93xx/Kconfig
index 4ad0380ff806..9167c3d2a5ed 100644
--- a/arch/arm/mach-ep93xx/Kconfig
+++ b/arch/arm/mach-ep93xx/Kconfig
@@ -153,6 +153,14 @@ config MACH_MICRO9L
153 Say 'Y' here if you want your kernel to support the 153 Say 'Y' here if you want your kernel to support the
154 Contec Micro9-Lite board. 154 Contec Micro9-Lite board.
155 155
156config MACH_MICRO9S
157 bool "Support Contec Micro9-Slim"
158 depends on EP93XX_SDCE3_ASYNC_PHYS_OFFSET
159 select MACH_MICRO9
160 help
161 Say 'Y' here if you want your kernel to support the
162 Contec Micro9-Slim board.
163
156config MACH_TS72XX 164config MACH_TS72XX
157 bool "Support Technologic Systems TS-72xx SBC" 165 bool "Support Technologic Systems TS-72xx SBC"
158 depends on EP93XX_SDCE3_SYNC_PHYS_OFFSET 166 depends on EP93XX_SDCE3_SYNC_PHYS_OFFSET
diff --git a/arch/arm/mach-ep93xx/micro9.c b/arch/arm/mach-ep93xx/micro9.c
index 49fbee5adde2..d83b80478b09 100644
--- a/arch/arm/mach-ep93xx/micro9.c
+++ b/arch/arm/mach-ep93xx/micro9.c
@@ -28,6 +28,7 @@
28 * Micro9-High has up to 64MB of 32-bit flash on CS1 28 * Micro9-High has up to 64MB of 32-bit flash on CS1
29 * Micro9-Mid has up to 64MB of either 32-bit or 16-bit flash on CS1 29 * Micro9-Mid has up to 64MB of either 32-bit or 16-bit flash on CS1
30 * Micro9-Lite uses a seperate MTD map driver for flash support 30 * Micro9-Lite uses a seperate MTD map driver for flash support
31 * Micro9-Slim has up to 64MB of either 32-bit or 16-bit flash on CS1
31 *************************************************************************/ 32 *************************************************************************/
32static struct physmap_flash_data micro9_flash_data; 33static struct physmap_flash_data micro9_flash_data;
33 34
@@ -70,7 +71,7 @@ static void __init micro9_register_flash(void)
70{ 71{
71 if (machine_is_micro9()) 72 if (machine_is_micro9())
72 __micro9_register_flash(4); 73 __micro9_register_flash(4);
73 else if (machine_is_micro9m()) 74 else if (machine_is_micro9m() || machine_is_micro9s())
74 __micro9_register_flash(micro9_detect_bootwidth()); 75 __micro9_register_flash(micro9_detect_bootwidth());
75} 76}
76 77
@@ -129,3 +130,16 @@ MACHINE_START(MICRO9L, "Contec Micro9-Lite")
129 .init_machine = micro9_init_machine, 130 .init_machine = micro9_init_machine,
130MACHINE_END 131MACHINE_END
131#endif 132#endif
133
134#ifdef CONFIG_MACH_MICRO9S
135MACHINE_START(MICRO9S, "Contec Micro9-Slim")
136 /* Maintainer: Hubert Feurstein <hubert.feurstein@contec.at> */
137 .phys_io = EP93XX_APB_PHYS_BASE,
138 .io_pg_offst = ((EP93XX_APB_VIRT_BASE) >> 18) & 0xfffc,
139 .boot_params = EP93XX_SDCE3_PHYS_BASE_ASYNC + 0x100,
140 .map_io = ep93xx_map_io,
141 .init_irq = ep93xx_init_irq,
142 .timer = &ep93xx_timer,
143 .init_machine = micro9_init_machine,
144MACHINE_END
145#endif