aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-s3c2410/Kconfig13
-rw-r--r--arch/arm/mach-s3c2410/Makefile13
-rw-r--r--arch/arm/mach-s3c24xx/Kconfig7
-rw-r--r--arch/arm/mach-s3c24xx/Makefile1
-rw-r--r--arch/arm/mach-s3c24xx/pll-s3c2410.c (renamed from arch/arm/mach-s3c2410/pll.c)5
5 files changed, 9 insertions, 30 deletions
diff --git a/arch/arm/mach-s3c2410/Kconfig b/arch/arm/mach-s3c2410/Kconfig
deleted file mode 100644
index 910b8d29f0f4..000000000000
--- a/arch/arm/mach-s3c2410/Kconfig
+++ /dev/null
@@ -1,13 +0,0 @@
1# Copyright 2007 Simtec Electronics
2#
3# Licensed under GPLv2
4
5# cpu frequency scaling support
6
7config S3C2410_PLLTABLE
8 bool
9 depends on S3C2410_CPUFREQ && CPU_FREQ_S3C24XX_PLL
10 default y
11 help
12 Select the PLL table for the S3C2410
13
diff --git a/arch/arm/mach-s3c2410/Makefile b/arch/arm/mach-s3c2410/Makefile
deleted file mode 100644
index 2a160a5a6113..000000000000
--- a/arch/arm/mach-s3c2410/Makefile
+++ /dev/null
@@ -1,13 +0,0 @@
1# arch/arm/mach-s3c2410/Makefile
2#
3# Copyright 2007 Simtec Electronics
4#
5# Licensed under GPLv2
6
7obj-y :=
8obj-m :=
9obj-n :=
10obj- :=
11
12obj-$(CONFIG_S3C2410_PLLTABLE) += pll.o
13
diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig
index 04921b91da0d..5cc740c07457 100644
--- a/arch/arm/mach-s3c24xx/Kconfig
+++ b/arch/arm/mach-s3c24xx/Kconfig
@@ -134,6 +134,13 @@ config S3C2410_CPUFREQ
134 help 134 help
135 CPU Frequency scaling support for S3C2410 135 CPU Frequency scaling support for S3C2410
136 136
137config S3C2410_PLL
138 bool
139 depends on S3C2410_CPUFREQ && CPU_FREQ_S3C24XX_PLL
140 default y
141 help
142 Select the PLL table for the S3C2410
143
137config S3C24XX_SIMTEC_NOR 144config S3C24XX_SIMTEC_NOR
138 bool 145 bool
139 help 146 help
diff --git a/arch/arm/mach-s3c24xx/Makefile b/arch/arm/mach-s3c24xx/Makefile
index 3c9fd511e3e9..ecace54fd1d5 100644
--- a/arch/arm/mach-s3c24xx/Makefile
+++ b/arch/arm/mach-s3c24xx/Makefile
@@ -19,6 +19,7 @@ obj-y += common.o
19obj-$(CONFIG_CPU_S3C2410) += s3c2410.o 19obj-$(CONFIG_CPU_S3C2410) += s3c2410.o
20obj-$(CONFIG_S3C2410_CPUFREQ) += cpufreq-s3c2410.o 20obj-$(CONFIG_S3C2410_CPUFREQ) += cpufreq-s3c2410.o
21obj-$(CONFIG_S3C2410_DMA) += dma-s3c2410.o 21obj-$(CONFIG_S3C2410_DMA) += dma-s3c2410.o
22obj-$(CONFIG_S3C2410_PLL) += pll-s3c2410.o
22obj-$(CONFIG_S3C2410_PM) += pm-s3c2410.o sleep-s3c2410.o 23obj-$(CONFIG_S3C2410_PM) += pm-s3c2410.o sleep-s3c2410.o
23 24
24obj-$(CONFIG_CPU_S3C2412) += s3c2412.o irq-s3c2412.o clock-s3c2412.o 25obj-$(CONFIG_CPU_S3C2412) += s3c2412.o irq-s3c2412.o clock-s3c2412.o
diff --git a/arch/arm/mach-s3c2410/pll.c b/arch/arm/mach-s3c24xx/pll-s3c2410.c
index e0b3b347da82..dcf3420a3271 100644
--- a/arch/arm/mach-s3c2410/pll.c
+++ b/arch/arm/mach-s3c24xx/pll-s3c2410.c
@@ -1,5 +1,4 @@
1/* arch/arm/mach-s3c2410/pll.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>
@@ -82,7 +81,6 @@ static int __init s3c2410_pll_init(void)
82 return subsys_interface_register(&s3c2410_plls_interface); 81 return subsys_interface_register(&s3c2410_plls_interface);
83 82
84} 83}
85
86arch_initcall(s3c2410_pll_init); 84arch_initcall(s3c2410_pll_init);
87 85
88static struct subsys_interface s3c2410a_plls_interface = { 86static struct subsys_interface s3c2410a_plls_interface = {
@@ -95,5 +93,4 @@ static int __init s3c2410a_pll_init(void)
95{ 93{
96 return subsys_interface_register(&s3c2410a_plls_interface); 94 return subsys_interface_register(&s3c2410a_plls_interface);
97} 95}
98
99arch_initcall(s3c2410a_pll_init); 96arch_initcall(s3c2410a_pll_init);