diff options
author | Arnd Bergmann <arnd@arndb.de> | 2011-10-01 16:03:49 -0400 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2011-10-08 09:03:02 -0400 |
commit | 59efd93f64c516dcf959c2c5c53bde6bc48f5f38 (patch) | |
tree | eb019a6c232d87a108ff64327173bb798dc57064 /arch/arm/mach-pxa/Kconfig | |
parent | ca7d156e30766d7ad3d92a31a672c72c29a19825 (diff) |
ARM: pxa: pxa95x is incompatible with earlier pxa
We cannot support ARMv5 and ARMv7 based boards in a single kernel,
so introduce a new option in mach-pxa to select between the two.
The PJ4 (ARMv7) based boards are now only visible when
CONFIG_ARCH_PXA_V7 is set, the other boards are only visible
when it's not set.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/Kconfig')
-rw-r--r-- | arch/arm/mach-pxa/Kconfig | 31 |
1 files changed, 22 insertions, 9 deletions
diff --git a/arch/arm/mach-pxa/Kconfig b/arch/arm/mach-pxa/Kconfig index cd19309fd3b8..bb310d0c4b2b 100644 --- a/arch/arm/mach-pxa/Kconfig +++ b/arch/arm/mach-pxa/Kconfig | |||
@@ -2,6 +2,27 @@ if ARCH_PXA | |||
2 | 2 | ||
3 | menu "Intel PXA2xx/PXA3xx Implementations" | 3 | menu "Intel PXA2xx/PXA3xx Implementations" |
4 | 4 | ||
5 | config ARCH_PXA_V7 | ||
6 | bool "ARMv7 (PXA95x) based systems" | ||
7 | |||
8 | if ARCH_PXA_V7 | ||
9 | comment "Marvell Dev Platforms (sorted by hardware release time)" | ||
10 | config MACH_TAVOREVB3 | ||
11 | bool "PXA95x Development Platform (aka TavorEVB III)" | ||
12 | select CPU_PXA955 | ||
13 | |||
14 | config MACH_SAARB | ||
15 | bool "PXA955 Handheld Platform (aka SAARB)" | ||
16 | select CPU_PXA955 | ||
17 | endif | ||
18 | |||
19 | config PXA_V7_MACH_AUTO | ||
20 | def_bool y | ||
21 | depends on ARCH_PXA_V7 | ||
22 | depends on !MACH_SAARB | ||
23 | select MACH_TAVOREVB3 | ||
24 | |||
25 | if !ARCH_PXA_V7 | ||
5 | comment "Intel/Marvell Dev Platforms (sorted by hardware release time)" | 26 | comment "Intel/Marvell Dev Platforms (sorted by hardware release time)" |
6 | 27 | ||
7 | config ARCH_LUBBOCK | 28 | config ARCH_LUBBOCK |
@@ -41,19 +62,11 @@ config MACH_TAVOREVB | |||
41 | select PXA3xx | 62 | select PXA3xx |
42 | select CPU_PXA930 | 63 | select CPU_PXA930 |
43 | 64 | ||
44 | config MACH_TAVOREVB3 | ||
45 | bool "PXA95x Development Platform (aka TavorEVB III)" | ||
46 | select CPU_PXA950 | ||
47 | |||
48 | config MACH_SAAR | 65 | config MACH_SAAR |
49 | bool "PXA930 Handheld Platform (aka SAAR)" | 66 | bool "PXA930 Handheld Platform (aka SAAR)" |
50 | select PXA3xx | 67 | select PXA3xx |
51 | select CPU_PXA930 | 68 | select CPU_PXA930 |
52 | 69 | ||
53 | config MACH_SAARB | ||
54 | bool "PXA955 Handheld Platform (aka SAARB)" | ||
55 | select CPU_PXA955 | ||
56 | |||
57 | comment "Third Party Dev Platforms (sorted by vendor name)" | 70 | comment "Third Party Dev Platforms (sorted by vendor name)" |
58 | 71 | ||
59 | config ARCH_PXA_IDP | 72 | config ARCH_PXA_IDP |
@@ -598,7 +611,7 @@ config MACH_ZIPIT2 | |||
598 | bool "Zipit Z2 Handheld" | 611 | bool "Zipit Z2 Handheld" |
599 | select PXA27x | 612 | select PXA27x |
600 | select HAVE_PWM | 613 | select HAVE_PWM |
601 | 614 | endif | |
602 | endmenu | 615 | endmenu |
603 | 616 | ||
604 | config PXA25x | 617 | config PXA25x |