summaryrefslogtreecommitdiff
path: root/packages/linux/linux-gumstix-2.6.15/arch-config.patch
blob: 411a117953442ad6e4f7802de647600e41ad4164 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Index: linux-2.6.15gum/arch/arm/mach-pxa/Kconfig
===================================================================
--- linux-2.6.15gum.orig/arch/arm/mach-pxa/Kconfig
+++ linux-2.6.15gum/arch/arm/mach-pxa/Kconfig
@@ -5,6 +5,10 @@ menu "Intel PXA2xx Implementations"
 choice
 	prompt "Select target board"
 
+config ARCH_GUMSTIX
+        bool "Gumstix Platform"
+        depends on ARCH_PXA
+
 config ARCH_LUBBOCK
 	bool "Intel DBPXA250 Development Platform"
 	select PXA25x
@@ -94,6 +98,27 @@ config MACH_TOSA
 	bool "Enable Sharp SL-6000x (Tosa) Support"
 	depends PXA_SHARPSL_25x
 
+choice
+	depends on ARCH_GUMSTIX
+	prompt "Gumstix Platform Version"
+	default ARCH_GUMSTIX_F
+
+config ARCH_GUMSTIX_ORIG
+	bool "Original Gumstix"
+	select PXA25x
+	help
+		The original gumstix platform, including the gs-200x and gs-400x and the waysmall
+		systems using these boards.
+
+config ARCH_GUMSTIX_F
+	bool "Gumstix-F"
+	select PXA25x
+	help
+		The updated Gumstix boards with 60-pin connector, including gs-200f, gs-400f and the
+		waysmall systems using these boards, including ws-200ax and ws-400ax.
+
+endchoice
+
 config PXA25x
 	bool
 	help
Index: linux-2.6.15gum/arch/arm/mach-pxa/Makefile
===================================================================
--- linux-2.6.15gum.orig/arch/arm/mach-pxa/Makefile
+++ linux-2.6.15gum/arch/arm/mach-pxa/Makefile
@@ -8,6 +8,7 @@ obj-$(CONFIG_PXA25x) += pxa25x.o
 obj-$(CONFIG_PXA27x) += pxa27x.o
 
 # Specific board support
+obj-$(CONFIG_ARCH_GUMSTIX) += gumstix.o
 obj-$(CONFIG_ARCH_LUBBOCK) += lubbock.o
 obj-$(CONFIG_MACH_MAINSTONE) += mainstone.o
 obj-$(CONFIG_ARCH_PXA_IDP) += idp.o