aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2443
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-12-18 09:52:04 -0500
committerBen Dooks <ben-linux@fluff.org>2008-12-18 09:52:04 -0500
commit7f2754378f3522a42daafdbb9d2385f341008454 (patch)
tree7a6223f270cdf53067a70c2e86b2190d3577c23d /arch/arm/mach-s3c2443
parentc6ad115876763e4f15055982ecb9579cb7abab5f (diff)
parenta9c5d23ac724a3b908833cafbbbd49abe4741b86 (diff)
Merge branch 'next-s3c64xx' into next-merged
Diffstat (limited to 'arch/arm/mach-s3c2443')
-rw-r--r--arch/arm/mach-s3c2443/clock.c17
1 files changed, 3 insertions, 14 deletions
diff --git a/arch/arm/mach-s3c2443/clock.c b/arch/arm/mach-s3c2443/clock.c
index 1df8429242b8..fdd4ec335a77 100644
--- a/arch/arm/mach-s3c2443/clock.c
+++ b/arch/arm/mach-s3c2443/clock.c
@@ -147,12 +147,6 @@ static unsigned long s3c2443_roundrate_clksrc256(struct clk *clk,
147 147
148/* clock selections */ 148/* clock selections */
149 149
150/* CPU EXTCLK input */
151static struct clk clk_ext = {
152 .name = "ext",
153 .id = -1,
154};
155
156static struct clk clk_mpllref = { 150static struct clk clk_mpllref = {
157 .name = "mpllref", 151 .name = "mpllref",
158 .parent = &clk_xtal, 152 .parent = &clk_xtal,
@@ -167,14 +161,6 @@ static struct clk clk_mpll = {
167}; 161};
168#endif 162#endif
169 163
170static struct clk clk_epllref;
171
172static struct clk clk_epll = {
173 .name = "epll",
174 .parent = &clk_epllref,
175 .id = -1,
176};
177
178static struct clk clk_i2s_ext = { 164static struct clk clk_i2s_ext = {
179 .name = "i2s-ext", 165 .name = "i2s-ext",
180 .id = -1, 166 .id = -1,
@@ -1072,6 +1058,7 @@ void __init s3c2443_init_clocks(int xtal)
1072 } 1058 }
1073 1059
1074 clk_epll.rate = s3c2443_get_epll(epllcon, xtal); 1060 clk_epll.rate = s3c2443_get_epll(epllcon, xtal);
1061 clk_epll.parent = &clk_epllref;
1075 clk_usb_bus.parent = &clk_usb_bus_host; 1062 clk_usb_bus.parent = &clk_usb_bus_host;
1076 1063
1077 /* ensure usb bus clock is within correct rate of 48MHz */ 1064 /* ensure usb bus clock is within correct rate of 48MHz */
@@ -1120,4 +1107,6 @@ void __init s3c2443_init_clocks(int xtal)
1120 1107
1121 (clkp->enable)(clkp, 0); 1108 (clkp->enable)(clkp, 0);
1122 } 1109 }
1110
1111 s3c_pwmclk_init();
1123} 1112}