ARM: mmp: append CONFIG_MACH_MMP2_DT
authorHaojian Zhuang <haojian.zhuang@gmail.com>
Tue, 10 Apr 2012 07:12:45 +0000 (15:12 +0800)
committerHaojian Zhuang <haojian.zhuang@gmail.com>
Sat, 5 May 2012 08:34:30 +0000 (16:34 +0800)
Append CONFIG_MACH_MMP2_DT.

CONFIG_MACH_MMP_DT is used to ARMv5 DT support. CONFIG_MACH_MMP2_DT
is used to ARMv7 DT support. These two machine support can't be
selected at the same time.

Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-mmp/Kconfig

index 5a90b9a..ede7216 100644 (file)
@@ -2,16 +2,6 @@ if ARCH_MMP
 
 menu "Marvell PXA168/910/MMP2 Implmentations"
 
-config MACH_MMP_DT
-       bool "Support MMP2 platforms from device tree"
-       select CPU_PXA168
-       select CPU_PXA910
-       select USE_OF
-       help
-         Include support for Marvell MMP2 based platforms using
-         the device tree. Needn't select any other machine while
-         MACH_MMP_DT is enabled.
-
 config MACH_ASPENITE
        bool "Marvell's PXA168 Aspenite Development Board"
        select CPU_PXA168
@@ -94,6 +84,25 @@ config MACH_GPLUGD
          Say 'Y' here if you want to support the Marvell PXA168-based
          GuruPlug Display (gplugD) Board
 
+config MACH_MMP_DT
+       bool "Support MMP (ARMv5) platforms from device tree"
+       select CPU_PXA168
+       select CPU_PXA910
+       select USE_OF
+       help
+         Include support for Marvell MMP2 based platforms using
+         the device tree. Needn't select any other machine while
+         MACH_MMP_DT is enabled.
+
+config MACH_MMP2_DT
+       bool "Support MMP2 (ARMv7) platforms from device tree"
+       depends on !CPU_MOHAWK
+       select CPU_MMP2
+       select USE_OF
+       help
+         Include support for Marvell MMP2 based platforms using
+         the device tree.
+
 endmenu
 
 config CPU_PXA168