9b203d3a8958f9900c300137ef45a86e71d24031
[openwrt/svn-archive/archive.git] / target / linux / pxa / patches-2.6.21 / 003-arch-config.patch
1 Index: linux-2.6.21.7/arch/arm/mach-pxa/Kconfig
2 ===================================================================
3 --- linux-2.6.21.7.orig/arch/arm/mach-pxa/Kconfig
4 +++ linux-2.6.21.7/arch/arm/mach-pxa/Kconfig
5 @@ -5,6 +5,10 @@ menu "Intel PXA2xx Implementations"
6 choice
7 prompt "Select target board"
8
9 +config ARCH_GUMSTIX
10 + bool "Gumstix Platform"
11 + depends on ARCH_PXA
12 +
13 config ARCH_LUBBOCK
14 bool "Intel DBPXA250 Development Platform"
15 select PXA25x
16 @@ -116,6 +120,34 @@ config MACH_TOSA
17 bool "Enable Sharp SL-6000x (Tosa) Support"
18 depends on PXA_SHARPSL_25x
19
20 +choice
21 + depends on ARCH_GUMSTIX
22 + prompt "Gumstix Platform Version"
23 + default ARCH_GUMSTIX_F
24 +
25 +config ARCH_GUMSTIX_ORIG
26 + bool "Original Gumstix"
27 + select PXA25x
28 + help
29 + The original gumstix platform, including the gs-200x and gs-400x and the waysmall
30 + systems using these boards. (Almost nobody has one of these)
31 +
32 +config ARCH_GUMSTIX_F
33 + bool "Gumstix-F"
34 + select PXA25x
35 + help
36 + The updated Gumstix basix and connex boards with 60-pin connector, and
37 + waysmall systems using these boards, including ws-200ax and ws-400ax.
38 +
39 +config ARCH_GUMSTIX_VERDEX
40 + bool "Gumstix Verdex"
41 + select PXA27x
42 + help
43 + The Gumstix verdex boards with 24, 60, and 120-pin connectors, and
44 + computer systems using these boards.
45 +
46 +endchoice
47 +
48 config PXA25x
49 bool
50 help
51 Index: linux-2.6.21.7/arch/arm/mach-pxa/Makefile
52 ===================================================================
53 --- linux-2.6.21.7.orig/arch/arm/mach-pxa/Makefile
54 +++ linux-2.6.21.7/arch/arm/mach-pxa/Makefile
55 @@ -8,6 +8,7 @@ obj-$(CONFIG_PXA25x) += pxa25x.o
56 obj-$(CONFIG_PXA27x) += pxa27x.o
57
58 # Specific board support
59 +obj-$(CONFIG_ARCH_GUMSTIX) += gumstix.o
60 obj-$(CONFIG_ARCH_LUBBOCK) += lubbock.o
61 obj-$(CONFIG_MACH_LOGICPD_PXA270) += lpd270.o
62 obj-$(CONFIG_MACH_MAINSTONE) += mainstone.o