[PATCH] mach-mmp: only show Development boards supported by CPU
Philip Rakity
prakity at marvell.com
Mon Dec 20 11:15:01 EST 2010
Do not show boards that are not supported by the selected CPU.
Makes configuration obvious since only usaable options are shown
Signed-off-by: Philip Rakity <prakity at marvell.com>
---
arch/arm/mach-mmp/Kconfig | 36 +++++++++++++++++-------------------
1 files changed, 17 insertions(+), 19 deletions(-)
diff --git a/arch/arm/mach-mmp/Kconfig b/arch/arm/mach-mmp/Kconfig
index 95e7c4a..13d1d44 100644
--- a/arch/arm/mach-mmp/Kconfig
+++ b/arch/arm/mach-mmp/Kconfig
@@ -1,46 +1,52 @@
if ARCH_MMP
=20
-menu "Marvell PXA168/910/MMP2 Implmentations"
+menu "Marvell Development Boards"
=20
config MACH_ASPENITE
bool "Marvell's PXA168 Aspenite Development Board"
- select CPU_PXA168
+ depends on CPU_PXA168
help
Say 'Y' here if you want to support the Marvell PXA168-based
Aspenite Development Board.
=20
config MACH_ZYLONITE2
bool "Marvell's PXA168 Zylonite2 Development Board"
- select CPU_PXA168
+ depends on CPU_PXA168
help
Say 'Y' here if you want to support the Marvell PXA168-based
Zylonite2 Development Board.
=20
config MACH_AVENGERS_LITE
bool "Marvell's PXA168 Avengers Lite Development Board"
- select CPU_PXA168
+ depends on CPU_PXA168
help
Say 'Y' here if you want to support the Marvell PXA168-based
Avengers Lite Development Board.
=20
+config MACH_TETON_BGA
+ bool "Marvell's PXA168 Teton BGA Development Board"
+ depends on CPU_PXA168
+ help
+ Say 'Y' here if you want to support the Marvell PXA168-based
+ Teton BGA Development Board.
+
config MACH_TAVOREVB
bool "Marvell's PXA910 TavorEVB Development Board"
- select CPU_PXA910
+ depends on CPU_PXA910
help
Say 'Y' here if you want to support the Marvell PXA910-based
TavorEVB Development Board.
=20
config MACH_TTC_DKB
- bool "Marvell's PXA910 TavorEVB Development Board"
- select CPU_PXA910
+ bool "Marvell's PXA910 TavorTTC_DKB Development Board"
+ depends on CPU_PXA910
help
Say 'Y' here if you want to support the Marvell PXA910-based
TTC_DKB Development Board.
=20
config MACH_BROWNSTONE
bool "Marvell's Brownstone Development Platform"
- depends on !CPU_MOHAWK
- select CPU_MMP2
+ depends on CPU_MMP2
help
Say 'Y' here if you want to support the Marvell MMP2-based
Brown Development Platform.
@@ -50,7 +56,7 @@ config MACH_BROWNSTONE
=20
config MACH_FLINT
bool "Marvell's Flint Development Platform"
- select CPU_MMP2
+ depends on CPU_MMP2
help
Say 'Y' here if you want to support the Marvell MMP2-based
Flint Development Platform.
@@ -60,21 +66,13 @@ config MACH_FLINT
=20
config MACH_MARVELL_JASPER
bool "Marvell's Jasper Development Platform"
- select CPU_MMP2
+ depends on CPU_MMP2
help
Say 'Y' here if you want to support the Marvell MMP2-base
Jasper Development Platform.
MMP2-based board can't be co-existed with PXA168-based &
PXA910-based development board. Since MMP2 is compatible to
ARMv6 architecture.
-
-config MACH_TETON_BGA
- bool "Marvell's PXA168 Teton BGA Development Board"
- select CPU_PXA168
- help
- Say 'Y' here if you want to support the Marvell PXA168-based
- Teton BGA Development Board.
-
endmenu
=20
config CPU_PXA168
--=20
1.6.0.4
--_002_1665D0663D314BA091FB4A8714B12A27marvellcom_
Content-Type: application/octet-stream;
name="0017-mach-mmp-only-show-Development-boards-supported-by.patch"
Content-Description: 0017-mach-mmp-only-show-Development-boards-supported-by.patch
Content-Disposition: attachment;
filename="0017-mach-mmp-only-show-Development-boards-supported-by.patch";
size=3364; creation-date="Tue, 21 Dec 2010 23:10:29 GMT";
modification-date="Tue, 21 Dec 2010 23:10:29 GMT"
Content-Transfer-Encoding: base64
RnJvbSAxOTBiZGFkMmUzYWZmMGMxMzkwMTZkMDMyMDdiMjc2N2FiZjc4Y2QwIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBQaGlsaXAgUmFraXR5IDxwcmFraXR5QG1hcnZlbGwuY29tPgpE
YXRlOiBNb24sIDIwIERlYyAyMDEwIDA4OjE1OjAxIC0wODAwClN1YmplY3Q6IFtQQVRDSF0gbW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ZG1lbnUKIAogY29uZmlnIENQVV9QWEExNjgKLS0gCjEuNi4wLjQK
Cg==
--_002_1665D0663D314BA091FB4A8714B12A27marvellcom_--
More information about the linux-arm-kernel
mailing list