diff options
author | Romain Naour <romain.naour@openwide.fr> | 2013-01-09 21:47:04 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-03-05 06:16:38 -0500 |
commit | 7f78b6eb5f51731fd7d6e272b5adc1d030f0791f (patch) | |
tree | efb624c83c58059865fc8fa51b15bbdd341c2e6a /arch/arm/mach-s3c24xx/mach-rx1950.c | |
parent | c1fcd403ced3ad0d63418cc1120e1562283b16ce (diff) |
ARM: S3C24XX: Add samsung-time support for s3c24xx
Signed-off-by: Naour Romain <romain.naour@openwide.fr>
Reviewed-by: Tomasz Figa <tomasz.figa@gmail.com>
[heiko@sntech.de: tested on a s3c2416 based machine]
Reviewed-and-Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c24xx/mach-rx1950.c')
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-rx1950.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c24xx/mach-rx1950.c b/arch/arm/mach-s3c24xx/mach-rx1950.c index 1f9ba2ae5288..799af43b4e6a 100644 --- a/arch/arm/mach-s3c24xx/mach-rx1950.c +++ b/arch/arm/mach-s3c24xx/mach-rx1950.c | |||
@@ -58,6 +58,7 @@ | |||
58 | #include <plat/pm.h> | 58 | #include <plat/pm.h> |
59 | #include <plat/regs-iic.h> | 59 | #include <plat/regs-iic.h> |
60 | #include <plat/regs-serial.h> | 60 | #include <plat/regs-serial.h> |
61 | #include <plat/samsung-time.h> | ||
61 | 62 | ||
62 | #include "common.h" | 63 | #include "common.h" |
63 | #include "h1940.h" | 64 | #include "h1940.h" |
@@ -741,6 +742,7 @@ static void __init rx1950_map_io(void) | |||
741 | s3c24xx_init_io(rx1950_iodesc, ARRAY_SIZE(rx1950_iodesc)); | 742 | s3c24xx_init_io(rx1950_iodesc, ARRAY_SIZE(rx1950_iodesc)); |
742 | s3c24xx_init_clocks(16934000); | 743 | s3c24xx_init_clocks(16934000); |
743 | s3c24xx_init_uarts(rx1950_uartcfgs, ARRAY_SIZE(rx1950_uartcfgs)); | 744 | s3c24xx_init_uarts(rx1950_uartcfgs, ARRAY_SIZE(rx1950_uartcfgs)); |
745 | samsung_set_timer_source(SAMSUNG_PWM3, SAMSUNG_PWM4); | ||
744 | 746 | ||
745 | /* setup PM */ | 747 | /* setup PM */ |
746 | 748 | ||
@@ -813,6 +815,6 @@ MACHINE_START(RX1950, "HP iPAQ RX1950") | |||
813 | .reserve = rx1950_reserve, | 815 | .reserve = rx1950_reserve, |
814 | .init_irq = s3c24xx_init_irq, | 816 | .init_irq = s3c24xx_init_irq, |
815 | .init_machine = rx1950_init_machine, | 817 | .init_machine = rx1950_init_machine, |
816 | .init_time = s3c24xx_timer_init, | 818 | .init_time = samsung_timer_init, |
817 | .restart = s3c244x_restart, | 819 | .restart = s3c244x_restart, |
818 | MACHINE_END | 820 | MACHINE_END |