[PATCH] arch-arm: allow PXA168/PXA910/MMP2 SoC to be selected - no=

Philip Rakity prakity at marvell.com
Mon Dec 20 14:41:07 EST 2010


t same

The PXA168, PXA910, and MMP2 are not the same SOC.  The family
of embedded processors have slightly different internal blocks
for SD, I2C, etc.  Sometimes it is important to know which SOC
is being used due to differences in the silicon.  Sometimes it
is important to know evaluation boards should be selected based
on the SOC on the board.

Signed-off-by: Philip Rakity <prakity at marvell.com>
Signed-off-by: Mark. F. Brown <markb at marvell.com>
Tested-by: Philip Rakity <prakity at marvell.com>
---
 arch/arm/Kconfig |   40 ++++++++++++++++++++++++++++++----------
 1 files changed, 30 insertions(+), 10 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index efe07d4..b6edd4f 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -516,18 +516,28 @@ config ARCH_ORION5X
 	  Orion-1 (5181), Orion-VoIP (5181L), Orion-NAS (5182),
 	  Orion-2 (5281), Orion-1-90 (6183).
=20
-config ARCH_MMP
-	bool "Marvell PXA168/910/MMP2"
+config ARCH_PXA168
+	bool "Marvell PXA168"
+	select ARCH_MMP
+	select CPU_PXA168
+	help
+	  Support for Marvell PXA168 processor line.
+
+config ARCH_PXA910
+	bool "Marvell PXA910"
 	depends on MMU
-	select ARCH_REQUIRE_GPIOLIB
-	select CLKDEV_LOOKUP
-	select GENERIC_CLOCKEVENTS
-	select HAVE_SCHED_CLOCK
-	select TICK_ONESHOT
-	select PLAT_PXA
-	select SPARSE_IRQ
+	select ARCH_MMP
+	select CPU_PXA910
 	help
-	  Support for Marvell's PXA168/PXA910(MMP) and MMP2 processor line.
+	  Support for Marvell PXA910 processor line.
+
+config ARCH_MMP2
+	bool "Marvell MMP2"
+	depends on MMU
+	select ARCH_MMP
+	select CPU_MMP2
+	help
+	  Support for Marvell MMP2 processor line.
=20
 config ARCH_KS8695
 	bool "Micrel/Kendin KS8695"
@@ -948,6 +958,16 @@ source "arch/arm/mach-orion5x/Kconfig"
 source "arch/arm/mach-pxa/Kconfig"
 source "arch/arm/plat-pxa/Kconfig"
=20
+config ARCH_MMP
+	bool
+	select ARCH_REQUIRE_GPIOLIB
+	select CLKDEV_LOOKUP
+	select GENERIC_CLOCKEVENTS
+	select HAVE_SCHED_CLOCK
+	select TICK_ONESHOT
+	select PLAT_PXA
+	select SPARSE_IRQ
+
 source "arch/arm/mach-mmp/Kconfig"
=20
 source "arch/arm/mach-realview/Kconfig"
--=20
1.6.0.4

--_002_22DA8CC38CB24EEEAAD88599BD589CCEmarvellcom_
Content-Type: application/octet-stream;
	name="0015-arch-arm-allow-PXA168-PXA910-MMP2-SoC-to-be-selecte.patch"
Content-Description: 0015-arch-arm-allow-PXA168-PXA910-MMP2-SoC-to-be-selecte.patch
Content-Disposition: attachment;
	filename="0015-arch-arm-allow-PXA168-PXA910-MMP2-SoC-to-be-selecte.patch";
	size=2311; creation-date="Tue, 21 Dec 2010 23:09:58 GMT";
	modification-date="Tue, 21 Dec 2010 23:09:58 GMT"
Content-Transfer-Encoding: base64

RnJvbSAwOWE4N2UyY2JmMGU1OGUzYzg2NDQwNmZlMDljZWU4ZWMxMDI0ZjkxIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBQaGlsaXAgUmFraXR5IDxwcmFraXR5QG1hcnZlbGwuY29tPgpE
YXRlOiBNb24sIDIwIERlYyAyMDEwIDExOjQxOjA3IC0wODAwClN1YmplY3Q6IFtQQVRDSF0gYXJj
aC1hcm06IGFsbG93IFBYQTE2OC9QWEE5MTAvTU1QMiBTb0MgdG8gYmUgc2VsZWN0ZWQgLSBub3Qg
c2FtZQoKVGhlIFBYQTE2OCwgUFhBOTEwLCBhbmQgTU1QMiBhcmUgbm90IHRoZSBzYW1lIFNPQy4g
IFRoZSBmYW1pbHkKb2YgZW1iZWRkZWQgcHJvY2Vzc29ycyBoYXZlIHNsaWdodGx5IGRpZmZlcmVu
dCBpbnRlcm5hbCBibG9ja3MKZm9yIFNELC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