summaryrefslogtreecommitdiff
path: root/recipes/linux/gumstix-kernel-2.6.21/arch-config.patch
blob: 19a83101d87bf52af35d42956b354df7b1fa5cb5 (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
56
57
58
59
60
61
62
Index: linux-2.6.21gum/arch/arm/mach-pxa/Kconfig
===================================================================
--- linux-2.6.21gum.orig/arch/arm/mach-pxa/Kconfig
+++ linux-2.6.21gum/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
@@ -116,6 +120,34 @@ config MACH_TOSA
 	bool "Enable Sharp SL-6000x (Tosa) Support"
 	depends on 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. (Almost nobody has one of these)
+
+config ARCH_GUMSTIX_F
+	bool "Gumstix-F"
+	select PXA25x
+	help
+		The updated Gumstix basix and connex boards with 60-pin connector, and
+		waysmall systems using these boards, including ws-200ax and ws-400ax.
+
+config ARCH_GUMSTIX_VERDEX
+	bool "Gumstix Verdex"
+	select PXA27x
+	help
+		The Gumstix verdex boards with 24, 60, and 120-pin connectors, and
+		computer systems using these boards.
+
+endchoice
+
 config PXA25x
 	bool
 	help
Index: linux-2.6.21gum/arch/arm/mach-pxa/Makefile
===================================================================
--- linux-2.6.21gum.orig/arch/arm/mach-pxa/Makefile
+++ linux-2.6.21gum/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_LOGICPD_PXA270) += lpd270.o
 obj-$(CONFIG_MACH_MAINSTONE) += mainstone.o