]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: S3C2416: move mach-s3c2416/* into mach-s3c24xx/
authorKukjin Kim <kgene.kim@samsung.com>
Mon, 6 Feb 2012 01:59:47 +0000 (10:59 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 2 Mar 2012 23:55:12 +0000 (08:55 +0900)
This patch moves S3C2416 stuff into mach-s3c24xx/ directory
so that we can merge the s3c24 series' directories to the
just one mach-s3c24xx/ directory.

Cc: Ben Dooks <ben-linux@fluff.org>
Tested-by: Heiko Stuebner <heiko@sntech.de>
[kgene.kim@samsung.com: removed compiling s3c2416 as per Heiko's suggestion]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/Makefile
arch/arm/mach-s3c2416/Kconfig
arch/arm/mach-s3c2416/Makefile
arch/arm/mach-s3c24xx/Kconfig
arch/arm/mach-s3c24xx/Makefile
arch/arm/mach-s3c24xx/clock-s3c2416.c [moved from arch/arm/mach-s3c2416/clock.c with 100% similarity]
arch/arm/mach-s3c24xx/irq-s3c2416.c [moved from arch/arm/mach-s3c2416/irq.c with 100% similarity]
arch/arm/mach-s3c24xx/mach-smdk2416.c [moved from arch/arm/mach-s3c2416/mach-smdk2416.c with 100% similarity]
arch/arm/mach-s3c24xx/pm-s3c2416.c [moved from arch/arm/mach-s3c2416/pm.c with 100% similarity]
arch/arm/mach-s3c24xx/s3c2416.c [moved from arch/arm/mach-s3c2416/s3c2416.c with 100% similarity]
arch/arm/mach-s3c24xx/setup-sdhci-gpio.c [moved from arch/arm/mach-s3c2416/setup-sdhci-gpio.c with 100% similarity]

index 59d9df40ca1024b62305e1a2f7ed8c0d0dd8c032..29f11649a96f0da6a413bd0a57c54e524b863a40 100644 (file)
@@ -175,7 +175,7 @@ machine-$(CONFIG_ARCH_PRIMA2)               := prima2
 machine-$(CONFIG_ARCH_PXA)             := pxa
 machine-$(CONFIG_ARCH_REALVIEW)                := realview
 machine-$(CONFIG_ARCH_RPC)             := rpc
-machine-$(CONFIG_ARCH_S3C24XX)         := s3c24xx s3c2412 s3c2416 s3c2440 s3c2443
+machine-$(CONFIG_ARCH_S3C24XX)         := s3c24xx s3c2412 s3c2440 s3c2443
 machine-$(CONFIG_ARCH_S3C64XX)         := s3c64xx
 machine-$(CONFIG_ARCH_S5P64X0)         := s5p64x0
 machine-$(CONFIG_ARCH_S5PC100)         := s5pc100
index 53d5c2bf54378260f0b5fe6adba5f75bc5dd7fa2..faaa289a486c34f7afcc6e0d66d03d5a544cd898 100644 (file)
@@ -7,54 +7,8 @@
 # note, this also supports the S3C2450 which is so similar it has the same
 # ID code as the S3C2416.
 
-config CPU_S3C2416
-       bool
-       depends on ARCH_S3C24XX
-       select CPU_ARM926T
-       select S3C2416_DMA if S3C2410_DMA
-       select CPU_LLSERIAL_S3C2440
-       select SAMSUNG_CLKSRC
-       select S3C2443_CLOCK
-       help
-         Support for the S3C2416 SoC from the S3C24XX line
-
 config S3C2416_DMA
        bool
        depends on CPU_S3C2416
        help
          Internal config node for S3C2416 DMA support
-
-config S3C2416_PM
-       bool
-       select S3C2412_PM_SLEEP
-       help
-         Internal config node to apply S3C2416 power management
-
-config S3C2416_SETUP_SDHCI
-       bool
-       select S3C2416_SETUP_SDHCI_GPIO
-       help
-         Internal helper functions for S3C2416 based SDHCI systems
-
-config S3C2416_SETUP_SDHCI_GPIO
-       bool
-       help
-         Common setup code for SDHCI gpio.
-
-menu "S3C2416 Machines"
-
-config MACH_SMDK2416
-       bool "SMDK2416"
-       select CPU_S3C2416
-       select MACH_SMDK
-       select S3C_DEV_FB
-       select S3C_DEV_HSMMC
-       select S3C_DEV_HSMMC1
-       select S3C_DEV_NAND
-       select S3C_DEV_USB_HOST
-       select S3C2416_SETUP_SDHCI
-       select S3C2416_PM if PM
-       help
-         Say Y here if you are using an SMDK2416
-
-endmenu
index ca0cd227f873a838d06cc0eec0adb853b6dfa548..3299f192c879e156dc9d60a67eb5c12e4f6f398c 100644 (file)
@@ -9,14 +9,4 @@ obj-m                          :=
 obj-n                          :=
 obj-                           :=
 
-obj-$(CONFIG_CPU_S3C2416)      += s3c2416.o clock.o
-obj-$(CONFIG_CPU_S3C2416)      += irq.o
-obj-$(CONFIG_S3C2416_PM)       += pm.o
 #obj-$(CONFIG_S3C2416_DMA)     += dma.o
-
-# Device setup
-obj-$(CONFIG_S3C2416_SETUP_SDHCI_GPIO) += setup-sdhci-gpio.o
-
-# Machine support
-
-obj-$(CONFIG_MACH_SMDK2416)    += mach-smdk2416.o
index 1c646ff07b92a85f779f9c81b452fe0e2f09a399..9dda29e82bbe596e7a0a3b8b9a0052264fb75e48 100644 (file)
@@ -35,6 +35,18 @@ config CPU_S3C2412
        help
          Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
 
+config CPU_S3C2416
+       bool "SAMSUNG S3C2416/S3C2450"
+       depends on ARCH_S3C24XX
+       select CPU_ARM926T
+       select CPU_LLSERIAL_S3C2440
+       select SAMSUNG_CLKSRC
+       select S3C2443_CLOCK
+       select S3C2416_DMA if S3C24XX_DMA
+       select S3C2416_PM if PM
+       help
+         Support for the S3C2416 SoC from the S3C24XX line
+
 if CPU_S3C2410
 
 config S3C2410_DMA
@@ -248,6 +260,41 @@ config MACH_VSTMS
 
 endif  # CPU_S3C2412
 
+if CPU_S3C2416
+
+config S3C2416_PM
+       bool
+       select S3C2412_PM_SLEEP
+       help
+         Internal config node to apply S3C2416 power management
+
+config S3C2416_SETUP_SDHCI
+       bool
+       select S3C2416_SETUP_SDHCI_GPIO
+       help
+         Internal helper functions for S3C2416 based SDHCI systems
+
+config S3C2416_SETUP_SDHCI_GPIO
+       bool
+       help
+         Common setup code for SDHCI gpio.
+
+comment "S3C2416 Boards"
+
+config MACH_SMDK2416
+       bool "SMDK2416"
+       select MACH_SMDK
+       select S3C_DEV_FB
+       select S3C_DEV_HSMMC
+       select S3C_DEV_HSMMC1
+       select S3C_DEV_NAND
+       select S3C_DEV_USB_HOST
+       select S3C2416_SETUP_SDHCI
+       help
+         Say Y here if you are using an SMDK2416
+
+endif  # CPU_S3C2416
+
 endmenu        # SAMSUNG S3C24XX SoCs Support
 
 endif  # ARCH_S3C24XX
index f5af4af41753ae52c4644a4469f4bd7be2ab4cf3..789aa5ca4e013e9dcc48a001c436db2b68aecaef 100644 (file)
@@ -23,6 +23,9 @@ obj-$(CONFIG_S3C2412_DMA)     += dma-s3c2412.o
 obj-$(CONFIG_S3C2412_PM)       += pm-s3c2412.o
 obj-$(CONFIG_S3C2412_PM_SLEEP) += sleep-s3c2412.o
 
+obj-$(CONFIG_CPU_S3C2416)      += s3c2416.o irq-s3c2416.o clock-s3c2416.o
+obj-$(CONFIG_S3C2416_PM)       += pm-s3c2416.o
+
 #
 # machine support
 # following is ordered alphabetically by option text.
@@ -45,6 +48,8 @@ obj-$(CONFIG_MACH_JIVE)                       += mach-jive.o
 obj-$(CONFIG_MACH_SMDK2413)            += mach-smdk2413.o
 obj-$(CONFIG_MACH_VSTMS)               += mach-vstms.o
 
+obj-$(CONFIG_MACH_SMDK2416)            += mach-smdk2416.o
+
 # common bits of machine support
 
 obj-$(CONFIG_SIMTEC_NOR)               += nor-simtec.o
@@ -52,3 +57,7 @@ obj-$(CONFIG_SIMTEC_NOR)              += nor-simtec.o
 # machine additions
 
 obj-$(CONFIG_MACH_BAST_IDE)            += bast-ide.o
+
+# device setup
+
+obj-$(CONFIG_S3C2416_SETUP_SDHCI_GPIO) += setup-sdhci-gpio.o