]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: S3C24XX: Merge s3c2442 and s3c2440 machines into mach-s3c2440
authorBen Dooks <ben-linux@fluff.org>
Tue, 26 Jan 2010 07:06:46 +0000 (16:06 +0900)
committerBen Dooks <ben-linux@fluff.org>
Mon, 1 Feb 2010 17:55:25 +0000 (17:55 +0000)
Move the pair of machines in arch/arm/mach-s3c2442 into the mach-s3c2440
directory as the S3C2440 and S3C2442 are very close.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-s3c2440/Kconfig
arch/arm/mach-s3c2440/Makefile
arch/arm/mach-s3c2440/include/mach/gta02.h [moved from arch/arm/mach-s3c2442/include/mach/gta02.h with 100% similarity]
arch/arm/mach-s3c2440/mach-gta02.c [moved from arch/arm/mach-s3c2442/mach-gta02.c with 100% similarity]
arch/arm/mach-s3c2442/Kconfig
arch/arm/mach-s3c2442/Makefile

index 80879358eb2f0c64023b4a58098cc59577f558fe..5486929dc3d0c589f0a37f5916045feae25d1b4f 100644 (file)
@@ -21,8 +21,7 @@ config S3C2440_DMA
        help
          Support for S3C2440 specific DMA code5A
 
-
-menu "S3C2440 Machines"
+menu "S3C2440 and S3C2442 Machines"
 
 config MACH_ANUBIS
        bool "Simtec Electronics ANUBIS"
@@ -37,6 +36,18 @@ config MACH_ANUBIS
          Say Y here if you are using the Simtec Electronics ANUBIS
          development system
 
+config MACH_NEO1973_GTA02
+       bool "Openmoko GTA02 / Freerunner phone"
+       select CPU_S3C2442
+       select MFD_PCF50633
+       select PCF50633_GPIO
+       select I2C
+       select POWER_SUPPLY
+       select MACH_NEO1973
+       select S3C2410_PWM
+       help
+          Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
+
 config MACH_OSIRIS
        bool "Simtec IM2440D20 (OSIRIS) module"
        select CPU_S3C2440
@@ -99,6 +110,11 @@ config SMDK2440_CPU2440
        select S3C2440_XTAL_16934400
        select CPU_S3C2440
 
+config SMDK2440_CPU2442
+       bool "SMDM2440 with S3C2442 CPU module"
+       depends on ARCH_S3C2440
+       select CPU_S3C2442
+
 config MACH_AT2440EVB
        bool "Avantech AT2440EVB development board"
        select CPU_S3C2440
index 5f32245318856ed51d808023e9398f1b5b4224a0..e51497ca12ea7019db86933beee48cd2597603b1 100644 (file)
@@ -23,6 +23,7 @@ obj-$(CONFIG_ARCH_S3C2440)    += mach-smdk2440.o
 obj-$(CONFIG_MACH_NEXCODER_2440) += mach-nexcoder.o
 obj-$(CONFIG_MACH_AT2440EVB) += mach-at2440evb.o
 obj-$(CONFIG_MACH_MINI2440) += mach-mini2440.o
+obj-$(CONFIG_MACH_NEO1973_GTA02) += mach-gta02.o
 
 # extra machine support
 
index 8d3811852fc7eab27c642292d8b1a82117199f94..4832cd6ccfbcbe7b342d934941ebd5f497540e76 100644 (file)
@@ -13,25 +13,3 @@ config CPU_S3C2442
        select CPU_LLSERIAL_S3C2440
        help
          Support for S3C2442 Samsung Mobile CPU based systems.
-
-
-menu "S3C2442 Machines"
-
-config SMDK2440_CPU2442
-       bool "SMDM2440 with S3C2442 CPU module"
-       depends on ARCH_S3C2440
-       select CPU_S3C2442
-
-config MACH_NEO1973_GTA02
-       bool "Openmoko GTA02 / Freerunner phone"
-       select CPU_S3C2442
-       select MFD_PCF50633
-       select PCF50633_GPIO
-       select I2C
-       select POWER_SUPPLY
-       select MACH_NEO1973
-       select S3C2410_PWM
-       help
-          Say Y here if you are using the Openmoko GTA02 / Freerunner GSM Phone
-
-endmenu
index 2a19113a57697b80533708fd144ef4882a6701e1..2a909c6c579879f76de07decbe2caaf8e0c684e0 100644 (file)
@@ -12,7 +12,5 @@ obj-                          :=
 obj-$(CONFIG_CPU_S3C2442)      += s3c2442.o
 obj-$(CONFIG_CPU_S3C2442)      += clock.o
 
-obj-$(CONFIG_MACH_NEO1973_GTA02) += mach-gta02.o
-
 # Machine support