ARM: SAMSUNG: move pm part for common s5p into plat-samsung
authorKukjin Kim <kgene.kim@samsung.com>
Mon, 16 Apr 2012 04:57:38 +0000 (21:57 -0700)
committerKukjin Kim <kgene.kim@samsung.com>
Sat, 12 May 2012 22:01:34 +0000 (07:01 +0900)
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-s5p/Kconfig
arch/arm/plat-s5p/Makefile
arch/arm/plat-samsung/Kconfig
arch/arm/plat-samsung/Makefile
arch/arm/plat-samsung/s5p-irq-pm.c [moved from arch/arm/plat-s5p/irq-pm.c with 98% similarity]
arch/arm/plat-samsung/s5p-pm.c [moved from arch/arm/plat-s5p/pm.c with 95% similarity]
arch/arm/plat-samsung/s5p-sleep.S [moved from arch/arm/plat-s5p/sleep.S with 98% similarity]

index efff0a30da4a3eb8c5d1d701867bfbdc4b6e4117..8e45c8b15d1b4722cee9350a4f7155f2268b1a8a 100644 (file)
@@ -33,18 +33,6 @@ config S5P_DEV_UART
        def_bool y
        depends on (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210)
 
-config S5P_PM
-       bool
-       help
-         Common code for power management support on S5P and newer SoCs
-         Note: Do not select this for S5P6440 and S5P6450.
-
-config S5P_SLEEP
-       bool
-       help
-         Internal config node to apply common S5P sleep management code.
-         Can be selected by S5P and newer SoCs with similar sleep procedure.
-
 config S5P_DEV_FIMC0
        bool
        help
index 8701c3c36d6a0f8d53d9cf4749d1986a0dfa1d63..c81106f5d7c1019696a533c52963ab17057151a5 100644 (file)
@@ -12,8 +12,6 @@ obj-                          :=
 
 # Core files
 
-obj-$(CONFIG_S5P_PM)           += pm.o irq-pm.o
-obj-$(CONFIG_S5P_SLEEP)                += sleep.o
 obj-$(CONFIG_S5P_HRT)          += s5p-time.o
 
 # devices
index e09dd4f9dc3138f1bb0d0f95f0fe2b9789d6e0da..218462361e313829ffb88e9edd2e17ff9cd685c9 100644 (file)
@@ -371,6 +371,18 @@ config SAMSUNG_WAKEMASK
          and above. This code allows a set of interrupt to wakeup-mask
          mappings. See <plat/wakeup-mask.h>
 
+config S5P_PM
+       bool
+       help
+         Common code for power management support on S5P and newer SoCs
+         Note: Do not select this for S5P6440 and S5P6450.
+
+config S5P_SLEEP
+       bool
+       help
+         Internal config node to apply common S5P sleep management code.
+         Can be selected by S5P and newer SoCs with similar sleep procedure.
+
 comment "Power Domain"
 
 config SAMSUNG_PD
index 5b650094628fd0ac11a0cde9266b13daf70e0007..caa6f9af1f3d5e0757d838b88ad3a8a1a1c00b02 100644 (file)
@@ -51,6 +51,9 @@ obj-$(CONFIG_SAMSUNG_PM_CHECK)        += pm-check.o
 
 obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o
 
+obj-$(CONFIG_S5P_PM)           += s5p-pm.o s5p-irq-pm.o
+obj-$(CONFIG_S5P_SLEEP)                += s5p-sleep.o
+
 # PD support
 
 obj-$(CONFIG_SAMSUNG_PD)       += pd.o
similarity index 98%
rename from arch/arm/plat-s5p/irq-pm.c
rename to arch/arm/plat-samsung/s5p-irq-pm.c
index d1bfecae6c9ff4b869ababa4dfa70dcc416c20a8..7c1e3b7072fc37ff66f0968d533f819e7611e3bd 100644 (file)
@@ -1,5 +1,4 @@
-/* linux/arch/arm/plat-s5p/irq-pm.c
- *
+/*
  * Copyright (c) 2010 Samsung Electronics Co., Ltd.
  *             http://www.samsung.com
  *
similarity index 95%
rename from arch/arm/plat-s5p/pm.c
rename to arch/arm/plat-samsung/s5p-pm.c
index d15dc47b0e3db50c2c87535aca5f5ff153e4c6b0..0747468f093659acbf98c33d06323e055a77567c 100644 (file)
@@ -1,5 +1,4 @@
-/* linux/arch/arm/plat-s5p/pm.c
- *
+/*
  * Copyright (c) 2010 Samsung Electronics Co., Ltd.
  *             http://www.samsung.com
  *
similarity index 98%
rename from arch/arm/plat-s5p/sleep.S
rename to arch/arm/plat-samsung/s5p-sleep.S
index 006bd01eda0231e1d41d3832b6287f54a699bc98..bdf6dadf87906f2e6933abcb1443740dd53785e4 100644 (file)
@@ -1,5 +1,4 @@
-/* linux/arch/arm/plat-s5p/sleep.S
- *
+/*
  * Copyright (c) 2011 Samsung Electronics Co., Ltd.
  *             http://www.samsung.com
  *