[ARM] pxa: introduce CONFIG_MACH_ZYLONITE{300,320} for CPU_PXA* removing
authorEric Miao <eric.y.miao@gmail.com>
Mon, 9 Nov 2009 06:25:52 +0000 (14:25 +0800)
committerEric Miao <eric.y.miao@gmail.com>
Tue, 1 Dec 2009 01:02:56 +0000 (09:02 +0800)
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-pxa/Kconfig
arch/arm/mach-pxa/Makefile

index e62572dc2d713ca4b647b48b96f418278d279c5b..ca2bd593ca30126f706d06eaa5e2957593089d80 100644 (file)
@@ -46,12 +46,23 @@ config MACH_MAINSTONE
        select PXA_HAVE_BOARD_IRQS
 
 config MACH_ZYLONITE
-       bool "PXA3xx Development Platform (aka Zylonite)"
+       bool
        select PXA3xx
        select PXA_SSP
        select HAVE_PWM
        select PXA_HAVE_BOARD_IRQS
 
+config MACH_ZYLONITE300
+       bool "PXA3xx Development Platform (aka Zylonite) PXA300/310"
+       select CPU_PXA300
+       select CPU_PXA310
+       select MACH_ZYLONITE
+
+config MACH_ZYLONITE320
+       bool "PXA3xx Development Platform (aka Zylonite) PXA320"
+       select CPU_PXA320
+       select MACH_ZYLONITE
+
 config MACH_LITTLETON
        bool "PXA3xx Form Factor Platform (aka Littleton)"
        select PXA3xx
index cdaf88831c27d0b6660d18781569b08c2fc6a7ab..b5d29e60a3412b6f0abbbdfa8a584d2d4a53c69e 100644 (file)
@@ -29,11 +29,8 @@ obj-$(CONFIG_CPU_PXA930)     += pxa930.o
 # Intel/Marvell Dev Platforms
 obj-$(CONFIG_ARCH_LUBBOCK)     += lubbock.o
 obj-$(CONFIG_MACH_MAINSTONE)   += mainstone.o
-ifeq ($(CONFIG_MACH_ZYLONITE),y)
-  obj-y                                += zylonite.o
-  obj-$(CONFIG_CPU_PXA300)     += zylonite_pxa300.o
-  obj-$(CONFIG_CPU_PXA320)     += zylonite_pxa320.o
-endif
+obj-$(CONFIG_MACH_ZYLONITE300) += zylonite.o zylonite_pxa300.o
+obj-$(CONFIG_MACH_ZYLONITE320) += zylonite.o zylonite_pxa320.o
 obj-$(CONFIG_MACH_LITTLETON)   += littleton.o
 obj-$(CONFIG_MACH_TAVOREVB)    += tavorevb.o
 obj-$(CONFIG_MACH_SAAR)                += saar.o