diff options
Diffstat (limited to 'arch/arm/mach-s3c2440/mach-at2440evb.c')
-rw-r--r-- | arch/arm/mach-s3c2440/mach-at2440evb.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/arm/mach-s3c2440/mach-at2440evb.c b/arch/arm/mach-s3c2440/mach-at2440evb.c index dfc7010935da..aa69290e04c6 100644 --- a/arch/arm/mach-s3c2440/mach-at2440evb.c +++ b/arch/arm/mach-s3c2440/mach-at2440evb.c | |||
@@ -96,7 +96,7 @@ static struct s3c2410_uartcfg at2440evb_uartcfgs[] __initdata = { | |||
96 | 96 | ||
97 | /* NAND Flash on AT2440EVB board */ | 97 | /* NAND Flash on AT2440EVB board */ |
98 | 98 | ||
99 | static struct mtd_partition at2440evb_default_nand_part[] = { | 99 | static struct mtd_partition __initdata at2440evb_default_nand_part[] = { |
100 | [0] = { | 100 | [0] = { |
101 | .name = "Boot Agent", | 101 | .name = "Boot Agent", |
102 | .size = SZ_256K, | 102 | .size = SZ_256K, |
@@ -114,7 +114,7 @@ static struct mtd_partition at2440evb_default_nand_part[] = { | |||
114 | }, | 114 | }, |
115 | }; | 115 | }; |
116 | 116 | ||
117 | static struct s3c2410_nand_set at2440evb_nand_sets[] = { | 117 | static struct s3c2410_nand_set __initdata at2440evb_nand_sets[] = { |
118 | [0] = { | 118 | [0] = { |
119 | .name = "nand", | 119 | .name = "nand", |
120 | .nr_chips = 1, | 120 | .nr_chips = 1, |
@@ -123,7 +123,7 @@ static struct s3c2410_nand_set at2440evb_nand_sets[] = { | |||
123 | }, | 123 | }, |
124 | }; | 124 | }; |
125 | 125 | ||
126 | static struct s3c2410_platform_nand at2440evb_nand_info = { | 126 | static struct s3c2410_platform_nand __initdata at2440evb_nand_info = { |
127 | .tacls = 25, | 127 | .tacls = 25, |
128 | .twrph0 = 55, | 128 | .twrph0 = 55, |
129 | .twrph1 = 40, | 129 | .twrph1 = 40, |
@@ -216,8 +216,6 @@ static struct platform_device *at2440evb_devices[] __initdata = { | |||
216 | 216 | ||
217 | static void __init at2440evb_map_io(void) | 217 | static void __init at2440evb_map_io(void) |
218 | { | 218 | { |
219 | s3c_device_nand.dev.platform_data = &at2440evb_nand_info; | ||
220 | s3c_device_sdi.name = "s3c2440-sdi"; | ||
221 | s3c_device_sdi.dev.platform_data = &at2440evb_mci_pdata; | 219 | s3c_device_sdi.dev.platform_data = &at2440evb_mci_pdata; |
222 | 220 | ||
223 | s3c24xx_init_io(at2440evb_iodesc, ARRAY_SIZE(at2440evb_iodesc)); | 221 | s3c24xx_init_io(at2440evb_iodesc, ARRAY_SIZE(at2440evb_iodesc)); |
@@ -228,6 +226,7 @@ static void __init at2440evb_map_io(void) | |||
228 | static void __init at2440evb_init(void) | 226 | static void __init at2440evb_init(void) |
229 | { | 227 | { |
230 | s3c24xx_fb_set_platdata(&at2440evb_fb_info); | 228 | s3c24xx_fb_set_platdata(&at2440evb_fb_info); |
229 | s3c_nand_set_platdata(&at2440evb_nand_info); | ||
231 | s3c_i2c0_set_platdata(NULL); | 230 | s3c_i2c0_set_platdata(NULL); |
232 | 231 | ||
233 | platform_add_devices(at2440evb_devices, ARRAY_SIZE(at2440evb_devices)); | 232 | platform_add_devices(at2440evb_devices, ARRAY_SIZE(at2440evb_devices)); |