diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2013-01-21 18:39:09 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-01-21 20:05:23 -0500 |
commit | acf2d41d8595829eb0ac7bf6891f4875a78d4d6e (patch) | |
tree | 80fe2af25c1c378a252538f29086634a3ca6aa8a /arch/arm | |
parent | 5aa93c0ab86f6553a573276b17c7518c611c84a2 (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/Kconfig | 3 | ||||
-rw-r--r-- | arch/arm/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c2440/Kconfig | 29 | ||||
-rw-r--r-- | arch/arm/mach-s3c2440/Makefile | 13 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/Kconfig | 26 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/Makefile | 2 | ||||
-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" | |||
1094 | source "arch/arm/plat-spear/Kconfig" | 1094 | source "arch/arm/plat-spear/Kconfig" |
1095 | 1095 | ||
1096 | source "arch/arm/mach-s3c24xx/Kconfig" | 1096 | source "arch/arm/mach-s3c24xx/Kconfig" |
1097 | if ARCH_S3C24XX | ||
1098 | source "arch/arm/mach-s3c2440/Kconfig" | ||
1099 | endif | ||
1100 | 1097 | ||
1101 | if ARCH_S3C64XX | 1098 | if ARCH_S3C64XX |
1102 | source "arch/arm/mach-s3c64xx/Kconfig" | 1099 | source "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 | |||
173 | machine-$(CONFIG_ARCH_PXA) += pxa | 173 | machine-$(CONFIG_ARCH_PXA) += pxa |
174 | machine-$(CONFIG_ARCH_REALVIEW) += realview | 174 | machine-$(CONFIG_ARCH_REALVIEW) += realview |
175 | machine-$(CONFIG_ARCH_RPC) += rpc | 175 | machine-$(CONFIG_ARCH_RPC) += rpc |
176 | machine-$(CONFIG_ARCH_S3C24XX) += s3c24xx s3c2440 | 176 | machine-$(CONFIG_ARCH_S3C24XX) += s3c24xx |
177 | machine-$(CONFIG_ARCH_S3C64XX) += s3c64xx | 177 | machine-$(CONFIG_ARCH_S3C64XX) += s3c64xx |
178 | machine-$(CONFIG_ARCH_S5P64X0) += s5p64x0 | 178 | machine-$(CONFIG_ARCH_S5P64X0) += s5p64x0 |
179 | machine-$(CONFIG_ARCH_S5PC100) += s5pc100 | 179 | machine-$(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 | |||
5 | config S3C2440_XTAL_12000000 | ||
6 | bool | ||
7 | help | ||
8 | Indicate that the build needs to support 12MHz system | ||
9 | crystal. | ||
10 | |||
11 | config S3C2440_XTAL_16934400 | ||
12 | bool | ||
13 | help | ||
14 | Indicate that the build needs to support 16.9344MHz system | ||
15 | crystal. | ||
16 | |||
17 | config 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 | |||
24 | config 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 | |||
7 | obj-y := | ||
8 | obj-m := | ||
9 | obj-n := | ||
10 | obj- := | ||
11 | |||
12 | obj-$(CONFIG_S3C2440_PLL_12000000) += s3c2440-pll-12000000.o | ||
13 | obj-$(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 | ||
403 | config S3C2440_XTAL_12000000 | ||
404 | bool | ||
405 | help | ||
406 | Indicate that the build needs to support 12MHz system | ||
407 | crystal. | ||
408 | |||
409 | config S3C2440_XTAL_16934400 | ||
410 | bool | ||
411 | help | ||
412 | Indicate that the build needs to support 16.9344MHz system | ||
413 | crystal. | ||
414 | |||
415 | config 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 | |||
422 | config 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 | |||
403 | comment "S3C2440 Boards" | 429 | comment "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 | |||
36 | obj-$(CONFIG_CPU_S3C244X) += s3c244x.o irq-s3c244x.o clock-s3c244x.o | 36 | obj-$(CONFIG_CPU_S3C244X) += s3c244x.o irq-s3c244x.o clock-s3c244x.o |
37 | obj-$(CONFIG_S3C2440_CPUFREQ) += cpufreq-s3c2440.o | 37 | obj-$(CONFIG_S3C2440_CPUFREQ) += cpufreq-s3c2440.o |
38 | obj-$(CONFIG_S3C2440_DMA) += dma-s3c2440.o | 38 | obj-$(CONFIG_S3C2440_DMA) += dma-s3c2440.o |
39 | obj-$(CONFIG_S3C2440_PLL_12000000) += pll-s3c2440-12000000.o | ||
40 | obj-$(CONFIG_S3C2440_PLL_16934400) += pll-s3c2440-16934400.o | ||
39 | 41 | ||
40 | obj-$(CONFIG_CPU_S3C2443) += s3c2443.o irq-s3c2443.o clock-s3c2443.o | 42 | obj-$(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 | |||
87 | arch_initcall(s3c2440_pll_12mhz); | 85 | arch_initcall(s3c2440_pll_12mhz); |
88 | 86 | ||
89 | static struct subsys_interface s3c2442_plls12_interface = { | 87 | static 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 | |||
101 | arch_initcall(s3c2442_pll_12mhz); | 98 | arch_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 | |||
115 | arch_initcall(s3c2440_pll_16934400); | 113 | arch_initcall(s3c2440_pll_16934400); |
116 | 114 | ||
117 | static struct subsys_interface s3c2442_plls169344_interface = { | 115 | static 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 | |||
128 | arch_initcall(s3c2442_pll_16934400); | 125 | arch_initcall(s3c2442_pll_16934400); |