diff options
Diffstat (limited to 'arch/arm/plat-s3c24xx/common-smdk.c')
-rw-r--r-- | arch/arm/plat-s3c24xx/common-smdk.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c24xx/common-smdk.c b/arch/arm/plat-s3c24xx/common-smdk.c index 908efa7d745f..7ed19b23ce56 100644 --- a/arch/arm/plat-s3c24xx/common-smdk.c +++ b/arch/arm/plat-s3c24xx/common-smdk.c | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <linux/list.h> | 18 | #include <linux/list.h> |
19 | #include <linux/timer.h> | 19 | #include <linux/timer.h> |
20 | #include <linux/init.h> | 20 | #include <linux/init.h> |
21 | #include <linux/sysdev.h> | ||
21 | #include <linux/platform_device.h> | 22 | #include <linux/platform_device.h> |
22 | 23 | ||
23 | #include <linux/mtd/mtd.h> | 24 | #include <linux/mtd/mtd.h> |
@@ -29,6 +30,7 @@ | |||
29 | #include <asm/mach/map.h> | 30 | #include <asm/mach/map.h> |
30 | #include <asm/mach/irq.h> | 31 | #include <asm/mach/irq.h> |
31 | 32 | ||
33 | #include <asm/mach-types.h> | ||
32 | #include <asm/hardware.h> | 34 | #include <asm/hardware.h> |
33 | #include <asm/io.h> | 35 | #include <asm/io.h> |
34 | #include <asm/irq.h> | 36 | #include <asm/irq.h> |
@@ -192,6 +194,9 @@ void __init smdk_machine_init(void) | |||
192 | s3c2410_gpio_setpin(S3C2410_GPF6, 1); | 194 | s3c2410_gpio_setpin(S3C2410_GPF6, 1); |
193 | s3c2410_gpio_setpin(S3C2410_GPF7, 1); | 195 | s3c2410_gpio_setpin(S3C2410_GPF7, 1); |
194 | 196 | ||
197 | if (machine_is_smdk2443()) | ||
198 | smdk_nand_info.twrph0 = 50; | ||
199 | |||
195 | s3c_device_nand.dev.platform_data = &smdk_nand_info; | 200 | s3c_device_nand.dev.platform_data = &smdk_nand_info; |
196 | 201 | ||
197 | platform_add_devices(smdk_devs, ARRAY_SIZE(smdk_devs)); | 202 | platform_add_devices(smdk_devs, ARRAY_SIZE(smdk_devs)); |