aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2013-01-21 18:39:09 -0500
committerKukjin Kim <kgene.kim@samsung.com>2013-01-21 20:05:23 -0500
commitacf2d41d8595829eb0ac7bf6891f4875a78d4d6e (patch)
tree80fe2af25c1c378a252538f29086634a3ca6aa8a /arch/arm
parent5aa93c0ab86f6553a573276b17c7518c611c84a2 (diff)
ARM: S3C24XX: Move mach-s3c2440/ pll into mach-s3c24xx/
This patch moves mach-s3c2440/pll into mach-s3c24xx/ and removes arch/arm/mach-s3c2440/ directory in kernel. Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/Kconfig3
-rw-r--r--arch/arm/Makefile2
-rw-r--r--arch/arm/mach-s3c2440/Kconfig29
-rw-r--r--arch/arm/mach-s3c2440/Makefile13
-rw-r--r--arch/arm/mach-s3c24xx/Kconfig26
-rw-r--r--arch/arm/mach-s3c24xx/Makefile2
-rw-r--r--arch/arm/mach-s3c24xx/pll-s3c2440-12000000.c (renamed from arch/arm/mach-s3c2440/s3c2440-pll-12000000.c)5
-rw-r--r--arch/arm/mach-s3c24xx/pll-s3c2440-16934400.c (renamed from arch/arm/mach-s3c2440/s3c2440-pll-16934400.c)5
8 files changed, 31 insertions, 54 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 5d566bfedd06..f22c510cb34a 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1094,9 +1094,6 @@ source "arch/arm/mach-socfpga/Kconfig"
1094source "arch/arm/plat-spear/Kconfig" 1094source "arch/arm/plat-spear/Kconfig"
1095 1095
1096source "arch/arm/mach-s3c24xx/Kconfig" 1096source "arch/arm/mach-s3c24xx/Kconfig"
1097if ARCH_S3C24XX
1098source "arch/arm/mach-s3c2440/Kconfig"
1099endif
1100 1097
1101if ARCH_S3C64XX 1098if ARCH_S3C64XX
1102source "arch/arm/mach-s3c64xx/Kconfig" 1099source "arch/arm/mach-s3c64xx/Kconfig"
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 29e8faecc096..0935dac37f62 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -173,7 +173,7 @@ machine-$(CONFIG_ARCH_PRIMA2) += prima2
173machine-$(CONFIG_ARCH_PXA) += pxa 173machine-$(CONFIG_ARCH_PXA) += pxa
174machine-$(CONFIG_ARCH_REALVIEW) += realview 174machine-$(CONFIG_ARCH_REALVIEW) += realview
175machine-$(CONFIG_ARCH_RPC) += rpc 175machine-$(CONFIG_ARCH_RPC) += rpc
176machine-$(CONFIG_ARCH_S3C24XX) += s3c24xx s3c2440 176machine-$(CONFIG_ARCH_S3C24XX) += s3c24xx
177machine-$(CONFIG_ARCH_S3C64XX) += s3c64xx 177machine-$(CONFIG_ARCH_S3C64XX) += s3c64xx
178machine-$(CONFIG_ARCH_S5P64X0) += s5p64x0 178machine-$(CONFIG_ARCH_S5P64X0) += s5p64x0
179machine-$(CONFIG_ARCH_S5PC100) += s5pc100 179machine-$(CONFIG_ARCH_S5PC100) += s5pc100
diff --git a/arch/arm/mach-s3c2440/Kconfig b/arch/arm/mach-s3c2440/Kconfig
deleted file mode 100644
index ad06fa2eb9df..000000000000
--- a/arch/arm/mach-s3c2440/Kconfig
+++ /dev/null
@@ -1,29 +0,0 @@
1# Copyright 2007 Simtec Electronics
2#
3# Licensed under GPLv2
4
5config S3C2440_XTAL_12000000
6 bool
7 help
8 Indicate that the build needs to support 12MHz system
9 crystal.
10
11config S3C2440_XTAL_16934400
12 bool
13 help
14 Indicate that the build needs to support 16.9344MHz system
15 crystal.
16
17config S3C2440_PLL_12000000
18 bool
19 depends on S3C2440_CPUFREQ && S3C2440_XTAL_12000000
20 default y if CPU_FREQ_S3C24XX_PLL
21 help
22 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
23
24config S3C2440_PLL_16934400
25 bool
26 depends on S3C2440_CPUFREQ && S3C2440_XTAL_16934400
27 default y if CPU_FREQ_S3C24XX_PLL
28 help
29 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
diff --git a/arch/arm/mach-s3c2440/Makefile b/arch/arm/mach-s3c2440/Makefile
deleted file mode 100644
index d76e4b99e732..000000000000
--- a/arch/arm/mach-s3c2440/Makefile
+++ /dev/null
@@ -1,13 +0,0 @@
1# arch/arm/mach-s3c2440/Makefile
2#
3# Copyright 2007 Simtec Electronics
4#
5# Licensed under GPLv2
6
7obj-y :=
8obj-m :=
9obj-n :=
10obj- :=
11
12obj-$(CONFIG_S3C2440_PLL_12000000) += s3c2440-pll-12000000.o
13obj-$(CONFIG_S3C2440_PLL_16934400) += s3c2440-pll-16934400.o
diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig
index edf6549391b7..67df58bdc096 100644
--- a/arch/arm/mach-s3c24xx/Kconfig
+++ b/arch/arm/mach-s3c24xx/Kconfig
@@ -400,6 +400,32 @@ config S3C2440_DMA
400 help 400 help
401 Support for S3C2440 specific DMA code5A 401 Support for S3C2440 specific DMA code5A
402 402
403config S3C2440_XTAL_12000000
404 bool
405 help
406 Indicate that the build needs to support 12MHz system
407 crystal.
408
409config S3C2440_XTAL_16934400
410 bool
411 help
412 Indicate that the build needs to support 16.9344MHz system
413 crystal.
414
415config S3C2440_PLL_12000000
416 bool
417 depends on S3C2440_CPUFREQ && S3C2440_XTAL_12000000
418 default y if CPU_FREQ_S3C24XX_PLL
419 help
420 PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
421
422config S3C2440_PLL_16934400
423 bool
424 depends on S3C2440_CPUFREQ && S3C2440_XTAL_16934400
425 default y if CPU_FREQ_S3C24XX_PLL
426 help
427 PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
428
403comment "S3C2440 Boards" 429comment "S3C2440 Boards"
404 430
405# 431#
diff --git a/arch/arm/mach-s3c24xx/Makefile b/arch/arm/mach-s3c24xx/Makefile
index 6d4b9addc9c2..08b87cdb98b7 100644
--- a/arch/arm/mach-s3c24xx/Makefile
+++ b/arch/arm/mach-s3c24xx/Makefile
@@ -36,6 +36,8 @@ obj-$(CONFIG_CPU_S3C2442) += s3c2442.o
36obj-$(CONFIG_CPU_S3C244X) += s3c244x.o irq-s3c244x.o clock-s3c244x.o 36obj-$(CONFIG_CPU_S3C244X) += s3c244x.o irq-s3c244x.o clock-s3c244x.o
37obj-$(CONFIG_S3C2440_CPUFREQ) += cpufreq-s3c2440.o 37obj-$(CONFIG_S3C2440_CPUFREQ) += cpufreq-s3c2440.o
38obj-$(CONFIG_S3C2440_DMA) += dma-s3c2440.o 38obj-$(CONFIG_S3C2440_DMA) += dma-s3c2440.o
39obj-$(CONFIG_S3C2440_PLL_12000000) += pll-s3c2440-12000000.o
40obj-$(CONFIG_S3C2440_PLL_16934400) += pll-s3c2440-16934400.o
39 41
40obj-$(CONFIG_CPU_S3C2443) += s3c2443.o irq-s3c2443.o clock-s3c2443.o 42obj-$(CONFIG_CPU_S3C2443) += s3c2443.o irq-s3c2443.o clock-s3c2443.o
41 43
diff --git a/arch/arm/mach-s3c2440/s3c2440-pll-12000000.c b/arch/arm/mach-s3c24xx/pll-s3c2440-12000000.c
index 551fb433be87..673781758319 100644
--- a/arch/arm/mach-s3c2440/s3c2440-pll-12000000.c
+++ b/arch/arm/mach-s3c24xx/pll-s3c2440-12000000.c
@@ -1,5 +1,4 @@
1/* arch/arm/mach-s3c2440/s3c2440-pll-12000000.c 1/*
2 *
3 * Copyright (c) 2006-2007 Simtec Electronics 2 * Copyright (c) 2006-2007 Simtec Electronics
4 * http://armlinux.simtec.co.uk/ 3 * http://armlinux.simtec.co.uk/
5 * Ben Dooks <ben@simtec.co.uk> 4 * Ben Dooks <ben@simtec.co.uk>
@@ -83,7 +82,6 @@ static int __init s3c2440_pll_12mhz(void)
83 return subsys_interface_register(&s3c2440_plls12_interface); 82 return subsys_interface_register(&s3c2440_plls12_interface);
84 83
85} 84}
86
87arch_initcall(s3c2440_pll_12mhz); 85arch_initcall(s3c2440_pll_12mhz);
88 86
89static struct subsys_interface s3c2442_plls12_interface = { 87static struct subsys_interface s3c2442_plls12_interface = {
@@ -97,5 +95,4 @@ static int __init s3c2442_pll_12mhz(void)
97 return subsys_interface_register(&s3c2442_plls12_interface); 95 return subsys_interface_register(&s3c2442_plls12_interface);
98 96
99} 97}
100
101arch_initcall(s3c2442_pll_12mhz); 98arch_initcall(s3c2442_pll_12mhz);
diff --git a/arch/arm/mach-s3c2440/s3c2440-pll-16934400.c b/arch/arm/mach-s3c24xx/pll-s3c2440-16934400.c
index 3f15bcf64290..debfa106289b 100644
--- a/arch/arm/mach-s3c2440/s3c2440-pll-16934400.c
+++ b/arch/arm/mach-s3c24xx/pll-s3c2440-16934400.c
@@ -1,5 +1,4 @@
1/* arch/arm/mach-s3c2440/s3c2440-pll-16934400.c 1/*
2 *
3 * Copyright (c) 2006-2008 Simtec Electronics 2 * Copyright (c) 2006-2008 Simtec Electronics
4 * http://armlinux.simtec.co.uk/ 3 * http://armlinux.simtec.co.uk/
5 * Ben Dooks <ben@simtec.co.uk> 4 * Ben Dooks <ben@simtec.co.uk>
@@ -111,7 +110,6 @@ static int __init s3c2440_pll_16934400(void)
111{ 110{
112 return subsys_interface_register(&s3c2440_plls169344_interface); 111 return subsys_interface_register(&s3c2440_plls169344_interface);
113} 112}
114
115arch_initcall(s3c2440_pll_16934400); 113arch_initcall(s3c2440_pll_16934400);
116 114
117static struct subsys_interface s3c2442_plls169344_interface = { 115static struct subsys_interface s3c2442_plls169344_interface = {
@@ -124,5 +122,4 @@ static int __init s3c2442_pll_16934400(void)
124{ 122{
125 return subsys_interface_register(&s3c2442_plls169344_interface); 123 return subsys_interface_register(&s3c2442_plls169344_interface);
126} 124}
127
128arch_initcall(s3c2442_pll_16934400); 125arch_initcall(s3c2442_pll_16934400);