aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2012-04-24 21:06:49 -0400
committerKukjin Kim <kgene.kim@samsung.com>2012-04-24 21:06:49 -0400
commitd25a8f940c477dc8ed5893d7366a63dba53b0b19 (patch)
tree93bb1652aeb2984a2ddfd018f3d99c45743af0a6
parent66f75a5d028beaf67c931435fdc3e7823125730c (diff)
ARM: S3C24XX: Add forgotten clock lookup table to S3C2443
When the hsmmc clock lookup was changed to be lookup tables based, it seems the S3C2443 was forgotten. As subsequent patches will want to add more lookups to it, this patch adds the base table with the missing hsmmc lookup. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r--arch/arm/mach-s3c24xx/clock-s3c2443.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c24xx/clock-s3c2443.c b/arch/arm/mach-s3c24xx/clock-s3c2443.c
index efb3ac35956..bce1cd3a91d 100644
--- a/arch/arm/mach-s3c24xx/clock-s3c2443.c
+++ b/arch/arm/mach-s3c24xx/clock-s3c2443.c
@@ -179,6 +179,10 @@ static struct clk *clks[] __initdata = {
179 &clk_hsmmc, 179 &clk_hsmmc,
180}; 180};
181 181
182static struct clk_lookup s3c2443_clk_lookup[] = {
183 CLKDEV_INIT("s3c-sdhci.1", "mmc_busclk.2", &clk_hsmmc),
184};
185
182void __init s3c2443_init_clocks(int xtal) 186void __init s3c2443_init_clocks(int xtal)
183{ 187{
184 unsigned long epllcon = __raw_readl(S3C2443_EPLLCON); 188 unsigned long epllcon = __raw_readl(S3C2443_EPLLCON);
@@ -210,6 +214,7 @@ void __init s3c2443_init_clocks(int xtal)
210 214
211 s3c_register_clocks(init_clocks_off, ARRAY_SIZE(init_clocks_off)); 215 s3c_register_clocks(init_clocks_off, ARRAY_SIZE(init_clocks_off));
212 s3c_disable_clocks(init_clocks_off, ARRAY_SIZE(init_clocks_off)); 216 s3c_disable_clocks(init_clocks_off, ARRAY_SIZE(init_clocks_off));
217 clkdev_add_table(s3c2443_clk_lookup, ARRAY_SIZE(s3c2443_clk_lookup));
213 218
214 s3c_pwmclk_init(); 219 s3c_pwmclk_init();
215} 220}