diff options
-rw-r--r-- | arch/arm/mach-s3c2410/Kconfig | 13 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/Makefile | 13 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/Kconfig | 7 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/Makefile | 1 | ||||
-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 | |||
7 | config 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 | |||
7 | obj-y := | ||
8 | obj-m := | ||
9 | obj-n := | ||
10 | obj- := | ||
11 | |||
12 | obj-$(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 | ||
137 | config 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 | |||
137 | config S3C24XX_SIMTEC_NOR | 144 | config 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 | |||
19 | obj-$(CONFIG_CPU_S3C2410) += s3c2410.o | 19 | obj-$(CONFIG_CPU_S3C2410) += s3c2410.o |
20 | obj-$(CONFIG_S3C2410_CPUFREQ) += cpufreq-s3c2410.o | 20 | obj-$(CONFIG_S3C2410_CPUFREQ) += cpufreq-s3c2410.o |
21 | obj-$(CONFIG_S3C2410_DMA) += dma-s3c2410.o | 21 | obj-$(CONFIG_S3C2410_DMA) += dma-s3c2410.o |
22 | obj-$(CONFIG_S3C2410_PLL) += pll-s3c2410.o | ||
22 | obj-$(CONFIG_S3C2410_PM) += pm-s3c2410.o sleep-s3c2410.o | 23 | obj-$(CONFIG_S3C2410_PM) += pm-s3c2410.o sleep-s3c2410.o |
23 | 24 | ||
24 | obj-$(CONFIG_CPU_S3C2412) += s3c2412.o irq-s3c2412.o clock-s3c2412.o | 25 | obj-$(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 | |||
86 | arch_initcall(s3c2410_pll_init); | 84 | arch_initcall(s3c2410_pll_init); |
87 | 85 | ||
88 | static struct subsys_interface s3c2410a_plls_interface = { | 86 | static 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 | |||
99 | arch_initcall(s3c2410a_pll_init); | 96 | arch_initcall(s3c2410a_pll_init); |