diff options
Diffstat (limited to 'arch/arm/mach-s3c24xx/mach-qt2410.c')
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-qt2410.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/mach-s3c24xx/mach-qt2410.c b/arch/arm/mach-s3c24xx/mach-qt2410.c index 56175f0941b1..f8feaeadb55a 100644 --- a/arch/arm/mach-s3c24xx/mach-qt2410.c +++ b/arch/arm/mach-s3c24xx/mach-qt2410.c | |||
@@ -55,13 +55,14 @@ | |||
55 | #include <linux/platform_data/usb-s3c2410_udc.h> | 55 | #include <linux/platform_data/usb-s3c2410_udc.h> |
56 | #include <linux/platform_data/i2c-s3c2410.h> | 56 | #include <linux/platform_data/i2c-s3c2410.h> |
57 | 57 | ||
58 | #include <plat/common-smdk.h> | ||
59 | #include <plat/gpio-cfg.h> | 58 | #include <plat/gpio-cfg.h> |
60 | #include <plat/devs.h> | 59 | #include <plat/devs.h> |
61 | #include <plat/cpu.h> | 60 | #include <plat/cpu.h> |
62 | #include <plat/pm.h> | 61 | #include <plat/pm.h> |
62 | #include <plat/samsung-time.h> | ||
63 | 63 | ||
64 | #include "common.h" | 64 | #include "common.h" |
65 | #include "common-smdk.h" | ||
65 | 66 | ||
66 | static struct map_desc qt2410_iodesc[] __initdata = { | 67 | static struct map_desc qt2410_iodesc[] __initdata = { |
67 | { 0xe0000000, __phys_to_pfn(S3C2410_CS3+0x01000000), SZ_1M, MT_DEVICE } | 68 | { 0xe0000000, __phys_to_pfn(S3C2410_CS3+0x01000000), SZ_1M, MT_DEVICE } |
@@ -304,6 +305,7 @@ static void __init qt2410_map_io(void) | |||
304 | s3c24xx_init_io(qt2410_iodesc, ARRAY_SIZE(qt2410_iodesc)); | 305 | s3c24xx_init_io(qt2410_iodesc, ARRAY_SIZE(qt2410_iodesc)); |
305 | s3c24xx_init_clocks(12*1000*1000); | 306 | s3c24xx_init_clocks(12*1000*1000); |
306 | s3c24xx_init_uarts(smdk2410_uartcfgs, ARRAY_SIZE(smdk2410_uartcfgs)); | 307 | s3c24xx_init_uarts(smdk2410_uartcfgs, ARRAY_SIZE(smdk2410_uartcfgs)); |
308 | samsung_set_timer_source(SAMSUNG_PWM3, SAMSUNG_PWM4); | ||
307 | } | 309 | } |
308 | 310 | ||
309 | static void __init qt2410_machine_init(void) | 311 | static void __init qt2410_machine_init(void) |
@@ -341,8 +343,8 @@ static void __init qt2410_machine_init(void) | |||
341 | MACHINE_START(QT2410, "QT2410") | 343 | MACHINE_START(QT2410, "QT2410") |
342 | .atag_offset = 0x100, | 344 | .atag_offset = 0x100, |
343 | .map_io = qt2410_map_io, | 345 | .map_io = qt2410_map_io, |
344 | .init_irq = s3c24xx_init_irq, | 346 | .init_irq = s3c2410_init_irq, |
345 | .init_machine = qt2410_machine_init, | 347 | .init_machine = qt2410_machine_init, |
346 | .init_time = s3c24xx_timer_init, | 348 | .init_time = samsung_timer_init, |
347 | .restart = s3c2410_restart, | 349 | .restart = s3c2410_restart, |
348 | MACHINE_END | 350 | MACHINE_END |