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-smdk2443.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-smdk2443.c')
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-smdk2443.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c24xx/mach-smdk2443.c b/arch/arm/mach-s3c24xx/mach-smdk2443.c index b3be4c4dc7bc..9435c3bef18a 100644 --- a/arch/arm/mach-s3c24xx/mach-smdk2443.c +++ b/arch/arm/mach-s3c24xx/mach-smdk2443.c | |||
@@ -41,6 +41,7 @@ | |||
41 | #include <plat/clock.h> | 41 | #include <plat/clock.h> |
42 | #include <plat/devs.h> | 42 | #include <plat/devs.h> |
43 | #include <plat/cpu.h> | 43 | #include <plat/cpu.h> |
44 | #include <plat/samsung-time.h> | ||
44 | 45 | ||
45 | #include "common.h" | 46 | #include "common.h" |
46 | #include "common-smdk.h" | 47 | #include "common-smdk.h" |
@@ -121,6 +122,7 @@ static void __init smdk2443_map_io(void) | |||
121 | s3c24xx_init_io(smdk2443_iodesc, ARRAY_SIZE(smdk2443_iodesc)); | 122 | s3c24xx_init_io(smdk2443_iodesc, ARRAY_SIZE(smdk2443_iodesc)); |
122 | s3c24xx_init_clocks(12000000); | 123 | s3c24xx_init_clocks(12000000); |
123 | s3c24xx_init_uarts(smdk2443_uartcfgs, ARRAY_SIZE(smdk2443_uartcfgs)); | 124 | s3c24xx_init_uarts(smdk2443_uartcfgs, ARRAY_SIZE(smdk2443_uartcfgs)); |
125 | samsung_set_timer_source(SAMSUNG_PWM3, SAMSUNG_PWM4); | ||
124 | } | 126 | } |
125 | 127 | ||
126 | static void __init smdk2443_machine_init(void) | 128 | static void __init smdk2443_machine_init(void) |
@@ -142,6 +144,6 @@ MACHINE_START(SMDK2443, "SMDK2443") | |||
142 | .init_irq = s3c2443_init_irq, | 144 | .init_irq = s3c2443_init_irq, |
143 | .map_io = smdk2443_map_io, | 145 | .map_io = smdk2443_map_io, |
144 | .init_machine = smdk2443_machine_init, | 146 | .init_machine = smdk2443_machine_init, |
145 | .init_time = s3c24xx_timer_init, | 147 | .init_time = samsung_timer_init, |
146 | .restart = s3c2443_restart, | 148 | .restart = s3c2443_restart, |
147 | MACHINE_END | 149 | MACHINE_END |