diff options
Diffstat (limited to 'arch/arm/mach-s3c24xx/mach-rx3715.c')
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-rx3715.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/arch/arm/mach-s3c24xx/mach-rx3715.c b/arch/arm/mach-s3c24xx/mach-rx3715.c index f20418a2fb1b..3bc6231d0a1f 100644 --- a/arch/arm/mach-s3c24xx/mach-rx3715.c +++ b/arch/arm/mach-s3c24xx/mach-rx3715.c | |||
@@ -49,6 +49,7 @@ | |||
49 | #include <plat/devs.h> | 49 | #include <plat/devs.h> |
50 | #include <plat/pm.h> | 50 | #include <plat/pm.h> |
51 | #include <plat/regs-serial.h> | 51 | #include <plat/regs-serial.h> |
52 | #include <plat/samsung-time.h> | ||
52 | 53 | ||
53 | #include "common.h" | 54 | #include "common.h" |
54 | #include "h1940.h" | 55 | #include "h1940.h" |
@@ -179,6 +180,7 @@ static void __init rx3715_map_io(void) | |||
179 | s3c24xx_init_io(rx3715_iodesc, ARRAY_SIZE(rx3715_iodesc)); | 180 | s3c24xx_init_io(rx3715_iodesc, ARRAY_SIZE(rx3715_iodesc)); |
180 | s3c24xx_init_clocks(16934000); | 181 | s3c24xx_init_clocks(16934000); |
181 | s3c24xx_init_uarts(rx3715_uartcfgs, ARRAY_SIZE(rx3715_uartcfgs)); | 182 | s3c24xx_init_uarts(rx3715_uartcfgs, ARRAY_SIZE(rx3715_uartcfgs)); |
183 | samsung_set_timer_source(SAMSUNG_PWM3, SAMSUNG_PWM4); | ||
182 | } | 184 | } |
183 | 185 | ||
184 | /* H1940 and RX3715 need to reserve this for suspend */ | 186 | /* H1940 and RX3715 need to reserve this for suspend */ |
@@ -188,11 +190,6 @@ static void __init rx3715_reserve(void) | |||
188 | memblock_reserve(0x30081000, 0x1000); | 190 | memblock_reserve(0x30081000, 0x1000); |
189 | } | 191 | } |
190 | 192 | ||
191 | static void __init rx3715_init_irq(void) | ||
192 | { | ||
193 | s3c24xx_init_irq(); | ||
194 | } | ||
195 | |||
196 | static void __init rx3715_init_machine(void) | 193 | static void __init rx3715_init_machine(void) |
197 | { | 194 | { |
198 | #ifdef CONFIG_PM_H1940 | 195 | #ifdef CONFIG_PM_H1940 |
@@ -210,8 +207,8 @@ MACHINE_START(RX3715, "IPAQ-RX3715") | |||
210 | .atag_offset = 0x100, | 207 | .atag_offset = 0x100, |
211 | .map_io = rx3715_map_io, | 208 | .map_io = rx3715_map_io, |
212 | .reserve = rx3715_reserve, | 209 | .reserve = rx3715_reserve, |
213 | .init_irq = rx3715_init_irq, | 210 | .init_irq = s3c2440_init_irq, |
214 | .init_machine = rx3715_init_machine, | 211 | .init_machine = rx3715_init_machine, |
215 | .init_time = s3c24xx_timer_init, | 212 | .init_time = samsung_timer_init, |
216 | .restart = s3c244x_restart, | 213 | .restart = s3c244x_restart, |
217 | MACHINE_END | 214 | MACHINE_END |