ARM: S3C24XX: convert s3c2410 to common clock framework
Convert the machines using the s3c2410 to use the new driver based on the common clock framework instead of the legacy Samsung clock driver. As with the s3c244x, machines using the clkout output will need a fixup from someone with the hardware. 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>
This commit is contained in:

committed by
Kukjin Kim

parent
a28d618e2e
commit
07ee5e7c3e
@@ -161,11 +161,16 @@ static struct platform_device *amlm5900_devices[] __initdata = {
|
||||
static void __init amlm5900_map_io(void)
|
||||
{
|
||||
s3c24xx_init_io(amlm5900_iodesc, ARRAY_SIZE(amlm5900_iodesc));
|
||||
s3c24xx_init_clocks(0);
|
||||
s3c24xx_init_uarts(amlm5900_uartcfgs, ARRAY_SIZE(amlm5900_uartcfgs));
|
||||
samsung_set_timer_source(SAMSUNG_PWM3, SAMSUNG_PWM4);
|
||||
}
|
||||
|
||||
static void __init amlm5900_init_time(void)
|
||||
{
|
||||
s3c2410_init_clocks(12000000);
|
||||
samsung_timer_init();
|
||||
}
|
||||
|
||||
#ifdef CONFIG_FB_S3C2410
|
||||
static struct s3c2410fb_display __initdata amlm5900_lcd_info = {
|
||||
.width = 160,
|
||||
@@ -241,6 +246,6 @@ MACHINE_START(AML_M5900, "AML_M5900")
|
||||
.map_io = amlm5900_map_io,
|
||||
.init_irq = s3c2410_init_irq,
|
||||
.init_machine = amlm5900_init,
|
||||
.init_time = samsung_timer_init,
|
||||
.init_time = amlm5900_init_time,
|
||||
.restart = s3c2410_restart,
|
||||
MACHINE_END
|
||||
|
Reference in New Issue
Block a user