aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2010-01-25 00:24:04 -0500
committerBen Dooks <ben-linux@fluff.org>2010-01-26 19:50:11 -0500
commite96b234b7e9d24e50528287b881ca229b7f094b8 (patch)
treecb0ec48e8884b79cc1d01fa7a2ec0b23ec673906
parent159a3ddd6c0521b4ab81697b2cf06a903a854862 (diff)
ARM: S5P6440: Move CPU specific code in plat-s5p to machine directory
The s5p6440-clock.c and s5p6440-init.c code in the plat-s5p is specific to s5p6440 SoC based systems. So these files are being moved to the machine directory of s5p6440. And these files are renamed in the machine directory. Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
-rw-r--r--arch/arm/mach-s5p6440/Kconfig2
-rw-r--r--arch/arm/mach-s5p6440/Makefile2
-rw-r--r--arch/arm/mach-s5p6440/clock.c (renamed from arch/arm/plat-s5p/s5p6440-clock.c)2
-rw-r--r--arch/arm/mach-s5p6440/gpio.c (renamed from arch/arm/mach-s5p6440/s5p6440-gpio.c)2
-rw-r--r--arch/arm/mach-s5p6440/init.c (renamed from arch/arm/plat-s5p/s5p6440-init.c)4
-rw-r--r--arch/arm/plat-s5p/Kconfig16
-rw-r--r--arch/arm/plat-s5p/Makefile5
7 files changed, 6 insertions, 27 deletions
diff --git a/arch/arm/mach-s5p6440/Kconfig b/arch/arm/mach-s5p6440/Kconfig
index 3aa246244dcf..4c29ff8b07de 100644
--- a/arch/arm/mach-s5p6440/Kconfig
+++ b/arch/arm/mach-s5p6440/Kconfig
@@ -9,8 +9,6 @@ if ARCH_S5P6440
9 9
10config CPU_S5P6440 10config CPU_S5P6440
11 bool 11 bool
12 select CPU_S5P6440_INIT
13 select CPU_S5P6440_CLOCK
14 help 12 help
15 Enable S5P6440 CPU support 13 Enable S5P6440 CPU support
16 14
diff --git a/arch/arm/mach-s5p6440/Makefile b/arch/arm/mach-s5p6440/Makefile
index a79b13011edc..1ad894b1d3ab 100644
--- a/arch/arm/mach-s5p6440/Makefile
+++ b/arch/arm/mach-s5p6440/Makefile
@@ -12,7 +12,7 @@ obj- :=
12 12
13# Core support for S5P6440 system 13# Core support for S5P6440 system
14 14
15obj-$(CONFIG_CPU_S5P6440) += cpu.o s5p6440-gpio.o 15obj-$(CONFIG_CPU_S5P6440) += cpu.o init.o clock.o gpio.o
16 16
17# machine support 17# machine support
18 18
diff --git a/arch/arm/plat-s5p/s5p6440-clock.c b/arch/arm/mach-s5p6440/clock.c
index 2f412f8c1212..b2672e16e7aa 100644
--- a/arch/arm/plat-s5p/s5p6440-clock.c
+++ b/arch/arm/mach-s5p6440/clock.c
@@ -1,4 +1,4 @@
1/* linux/arch/arm/plat-s5p/s5p6440-clock.c 1/* linux/arch/arm/mach-s5p6440/clock.c
2 * 2 *
3 * Copyright (c) 2009 Samsung Electronics Co., Ltd. 3 * Copyright (c) 2009 Samsung Electronics Co., Ltd.
4 * http://www.samsung.com/ 4 * http://www.samsung.com/
diff --git a/arch/arm/mach-s5p6440/s5p6440-gpio.c b/arch/arm/mach-s5p6440/gpio.c
index 742264c29f2a..b0ea741177ad 100644
--- a/arch/arm/mach-s5p6440/s5p6440-gpio.c
+++ b/arch/arm/mach-s5p6440/gpio.c
@@ -1,4 +1,4 @@
1/* arch/arm/mach-s5p6440/s5p6440-gpio.c 1/* arch/arm/mach-s5p6440/gpio.c
2 * 2 *
3 * Copyright (c) 2009 Samsung Electronics Co., Ltd. 3 * Copyright (c) 2009 Samsung Electronics Co., Ltd.
4 * http://www.samsung.com/ 4 * http://www.samsung.com/
diff --git a/arch/arm/plat-s5p/s5p6440-init.c b/arch/arm/mach-s5p6440/init.c
index 90178256cc28..a1f3727e4021 100644
--- a/arch/arm/plat-s5p/s5p6440-init.c
+++ b/arch/arm/mach-s5p6440/init.c
@@ -1,8 +1,10 @@
1/* linux/arch/arm/plat-s5p/s5p6440-init.c 1/* linux/arch/arm/mach-s5p6440/init.c
2 * 2 *
3 * Copyright (c) 2009 Samsung Electronics Co., Ltd. 3 * Copyright (c) 2009 Samsung Electronics Co., Ltd.
4 * http://www.samsung.com/ 4 * http://www.samsung.com/
5 * 5 *
6 * S5P6440 - Init support
7 *
6 * This program is free software; you can redistribute it and/or modify 8 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as 9 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation. 10 * published by the Free Software Foundation.
diff --git a/arch/arm/plat-s5p/Kconfig b/arch/arm/plat-s5p/Kconfig
index e7c31e7060e5..fca6dade9fd9 100644
--- a/arch/arm/plat-s5p/Kconfig
+++ b/arch/arm/plat-s5p/Kconfig
@@ -24,19 +24,3 @@ config PLAT_S5P
24 select SAMSUNG_IRQ_UART 24 select SAMSUNG_IRQ_UART
25 help 25 help
26 Base platform code for Samsung's S5P series SoC. 26 Base platform code for Samsung's S5P series SoC.
27
28if (PLAT_S5P && ARCH_S5P6440)
29
30# Configuration options shared by all S5P64XX implementations
31
32config CPU_S5P6440_INIT
33 bool
34 help
35 Initialisation code for the S5P6440.
36
37config CPU_S5P6440_CLOCK
38 bool
39 help
40 Clock support code for the S5P6440.
41
42endif
diff --git a/arch/arm/plat-s5p/Makefile b/arch/arm/plat-s5p/Makefile
index 92b647450542..a7c54b332d27 100644
--- a/arch/arm/plat-s5p/Makefile
+++ b/arch/arm/plat-s5p/Makefile
@@ -17,8 +17,3 @@ obj-y += cpu.o
17obj-y += clock.o 17obj-y += clock.o
18obj-y += irq.o 18obj-y += irq.o
19obj-y += setup-i2c0.o 19obj-y += setup-i2c0.o
20
21# CPU support
22
23obj-$(CONFIG_CPU_S5P6440_INIT) += s5p6440-init.o
24obj-$(CONFIG_CPU_S5P6440_CLOCK) += s5p6440-clock.o