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>
This commit is contained in:
parent
ca7d156e30
commit
59efd93f64
|
@ -2,6 +2,27 @@ if ARCH_PXA
|
||||||
|
|
||||||
menu "Intel PXA2xx/PXA3xx Implementations"
|
menu "Intel PXA2xx/PXA3xx Implementations"
|
||||||
|
|
||||||
|
config ARCH_PXA_V7
|
||||||
|
bool "ARMv7 (PXA95x) based systems"
|
||||||
|
|
||||||
|
if ARCH_PXA_V7
|
||||||
|
comment "Marvell Dev Platforms (sorted by hardware release time)"
|
||||||
|
config MACH_TAVOREVB3
|
||||||
|
bool "PXA95x Development Platform (aka TavorEVB III)"
|
||||||
|
select CPU_PXA955
|
||||||
|
|
||||||
|
config MACH_SAARB
|
||||||
|
bool "PXA955 Handheld Platform (aka SAARB)"
|
||||||
|
select CPU_PXA955
|
||||||
|
endif
|
||||||
|
|
||||||
|
config PXA_V7_MACH_AUTO
|
||||||
|
def_bool y
|
||||||
|
depends on ARCH_PXA_V7
|
||||||
|
depends on !MACH_SAARB
|
||||||
|
select MACH_TAVOREVB3
|
||||||
|
|
||||||
|
if !ARCH_PXA_V7
|
||||||
comment "Intel/Marvell Dev Platforms (sorted by hardware release time)"
|
comment "Intel/Marvell Dev Platforms (sorted by hardware release time)"
|
||||||
|
|
||||||
config ARCH_LUBBOCK
|
config ARCH_LUBBOCK
|
||||||
|
@ -41,19 +62,11 @@ config MACH_TAVOREVB
|
||||||
select PXA3xx
|
select PXA3xx
|
||||||
select CPU_PXA930
|
select CPU_PXA930
|
||||||
|
|
||||||
config MACH_TAVOREVB3
|
|
||||||
bool "PXA95x Development Platform (aka TavorEVB III)"
|
|
||||||
select CPU_PXA950
|
|
||||||
|
|
||||||
config MACH_SAAR
|
config MACH_SAAR
|
||||||
bool "PXA930 Handheld Platform (aka SAAR)"
|
bool "PXA930 Handheld Platform (aka SAAR)"
|
||||||
select PXA3xx
|
select PXA3xx
|
||||||
select CPU_PXA930
|
select CPU_PXA930
|
||||||
|
|
||||||
config MACH_SAARB
|
|
||||||
bool "PXA955 Handheld Platform (aka SAARB)"
|
|
||||||
select CPU_PXA955
|
|
||||||
|
|
||||||
comment "Third Party Dev Platforms (sorted by vendor name)"
|
comment "Third Party Dev Platforms (sorted by vendor name)"
|
||||||
|
|
||||||
config ARCH_PXA_IDP
|
config ARCH_PXA_IDP
|
||||||
|
@ -598,7 +611,7 @@ config MACH_ZIPIT2
|
||||||
bool "Zipit Z2 Handheld"
|
bool "Zipit Z2 Handheld"
|
||||||
select PXA27x
|
select PXA27x
|
||||||
select HAVE_PWM
|
select HAVE_PWM
|
||||||
|
endif
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
config PXA25x
|
config PXA25x
|
||||||
|
|
Loading…
Reference in New Issue