diff options
author | Heiko Stuebner <heiko@sntech.de> | 2014-02-25 01:50:44 +0100 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2014-04-14 19:11:49 +0200 |
commit | 3c27f314c676ee31eafd423ce2c640ed129cd5e0 (patch) | |
tree | aad459937e1ef77ec5195f3f983926ac1bb031af /arch/arm/mach-s3c24xx/mach-jive.c | |
parent | clk: samsung: add clock controller driver for s3c2412 (diff) | |
download | linux-3c27f314c676ee31eafd423ce2c640ed129cd5e0.tar.xz linux-3c27f314c676ee31eafd423ce2c640ed129cd5e0.zip |
ARM: S3C24XX: convert s3c2412 to common clock framework
Convert all machines using these cpus to use the ccf clock driver
instead of the legacy Samsung clock implementation.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c24xx/mach-jive.c')
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-jive.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c24xx/mach-jive.c b/arch/arm/mach-s3c24xx/mach-jive.c index 5faa7239e7d6..e81ea82c55f9 100644 --- a/arch/arm/mach-s3c24xx/mach-jive.c +++ b/arch/arm/mach-s3c24xx/mach-jive.c @@ -507,11 +507,16 @@ static struct syscore_ops jive_pm_syscore_ops = { static void __init jive_map_io(void) { s3c24xx_init_io(jive_iodesc, ARRAY_SIZE(jive_iodesc)); - s3c24xx_init_clocks(12000000); s3c24xx_init_uarts(jive_uartcfgs, ARRAY_SIZE(jive_uartcfgs)); samsung_set_timer_source(SAMSUNG_PWM3, SAMSUNG_PWM4); } +static void __init jive_init_time(void) +{ + s3c2412_init_clocks(12000000); + samsung_timer_init(); +} + static void jive_power_off(void) { printk(KERN_INFO "powering system down...\n"); @@ -665,6 +670,6 @@ MACHINE_START(JIVE, "JIVE") .init_irq = s3c2412_init_irq, .map_io = jive_map_io, .init_machine = jive_machine_init, - .init_time = samsung_timer_init, + .init_time = jive_init_time, .restart = s3c2412_restart, MACHINE_END |