diff options
Diffstat (limited to 'arch/arm/mach-s3c24xx/mach-smdk2440.c')
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-smdk2440.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/arch/arm/mach-s3c24xx/mach-smdk2440.c b/arch/arm/mach-s3c24xx/mach-smdk2440.c index 08cc38c8a4ae..de2e5d39a847 100644 --- a/arch/arm/mach-s3c24xx/mach-smdk2440.c +++ b/arch/arm/mach-s3c24xx/mach-smdk2440.c | |||
@@ -38,15 +38,13 @@ | |||
38 | #include <mach/fb.h> | 38 | #include <mach/fb.h> |
39 | #include <linux/platform_data/i2c-s3c2410.h> | 39 | #include <linux/platform_data/i2c-s3c2410.h> |
40 | 40 | ||
41 | #include <plat/s3c2410.h> | ||
42 | #include <plat/s3c244x.h> | ||
43 | #include <plat/clock.h> | 41 | #include <plat/clock.h> |
44 | #include <plat/devs.h> | 42 | #include <plat/devs.h> |
45 | #include <plat/cpu.h> | 43 | #include <plat/cpu.h> |
46 | 44 | #include <plat/samsung-time.h> | |
47 | #include <plat/common-smdk.h> | ||
48 | 45 | ||
49 | #include "common.h" | 46 | #include "common.h" |
47 | #include "common-smdk.h" | ||
50 | 48 | ||
51 | static struct map_desc smdk2440_iodesc[] __initdata = { | 49 | static struct map_desc smdk2440_iodesc[] __initdata = { |
52 | /* ISA IO Space map (memory space selected by A24) */ | 50 | /* ISA IO Space map (memory space selected by A24) */ |
@@ -163,6 +161,7 @@ static void __init smdk2440_map_io(void) | |||
163 | s3c24xx_init_io(smdk2440_iodesc, ARRAY_SIZE(smdk2440_iodesc)); | 161 | s3c24xx_init_io(smdk2440_iodesc, ARRAY_SIZE(smdk2440_iodesc)); |
164 | s3c24xx_init_clocks(16934400); | 162 | s3c24xx_init_clocks(16934400); |
165 | s3c24xx_init_uarts(smdk2440_uartcfgs, ARRAY_SIZE(smdk2440_uartcfgs)); | 163 | s3c24xx_init_uarts(smdk2440_uartcfgs, ARRAY_SIZE(smdk2440_uartcfgs)); |
164 | samsung_set_timer_source(SAMSUNG_PWM3, SAMSUNG_PWM4); | ||
166 | } | 165 | } |
167 | 166 | ||
168 | static void __init smdk2440_machine_init(void) | 167 | static void __init smdk2440_machine_init(void) |
@@ -178,9 +177,9 @@ MACHINE_START(S3C2440, "SMDK2440") | |||
178 | /* Maintainer: Ben Dooks <ben-linux@fluff.org> */ | 177 | /* Maintainer: Ben Dooks <ben-linux@fluff.org> */ |
179 | .atag_offset = 0x100, | 178 | .atag_offset = 0x100, |
180 | 179 | ||
181 | .init_irq = s3c24xx_init_irq, | 180 | .init_irq = s3c2440_init_irq, |
182 | .map_io = smdk2440_map_io, | 181 | .map_io = smdk2440_map_io, |
183 | .init_machine = smdk2440_machine_init, | 182 | .init_machine = smdk2440_machine_init, |
184 | .init_time = s3c24xx_timer_init, | 183 | .init_time = samsung_timer_init, |
185 | .restart = s3c244x_restart, | 184 | .restart = s3c244x_restart, |
186 | MACHINE_END | 185 | MACHINE_END |