diff options
Diffstat (limited to 'arch/arm/mach-mx3/pcm043.c')
-rw-r--r-- | arch/arm/mach-mx3/pcm043.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-mx3/pcm043.c b/arch/arm/mach-mx3/pcm043.c index e18a224671fa..e3aa829be586 100644 --- a/arch/arm/mach-mx3/pcm043.c +++ b/arch/arm/mach-mx3/pcm043.c | |||
@@ -43,6 +43,7 @@ | |||
43 | #include <mach/iomux-mx35.h> | 43 | #include <mach/iomux-mx35.h> |
44 | #include <mach/ipu.h> | 44 | #include <mach/ipu.h> |
45 | #include <mach/mx3fb.h> | 45 | #include <mach/mx3fb.h> |
46 | #include <mach/mxc_nand.h> | ||
46 | 47 | ||
47 | #include "devices.h" | 48 | #include "devices.h" |
48 | 49 | ||
@@ -206,6 +207,11 @@ static struct pad_desc pcm043_pads[] = { | |||
206 | MX35_PAD_ATA_CS0__GPIO2_6, | 207 | MX35_PAD_ATA_CS0__GPIO2_6, |
207 | }; | 208 | }; |
208 | 209 | ||
210 | static struct mxc_nand_platform_data pcm037_nand_board_info = { | ||
211 | .width = 1, | ||
212 | .hw_ecc = 1, | ||
213 | }; | ||
214 | |||
209 | /* | 215 | /* |
210 | * Board specific initialization. | 216 | * Board specific initialization. |
211 | */ | 217 | */ |
@@ -216,6 +222,7 @@ static void __init mxc_board_init(void) | |||
216 | platform_add_devices(devices, ARRAY_SIZE(devices)); | 222 | platform_add_devices(devices, ARRAY_SIZE(devices)); |
217 | 223 | ||
218 | mxc_register_device(&mxc_uart_device0, &uart_pdata); | 224 | mxc_register_device(&mxc_uart_device0, &uart_pdata); |
225 | mxc_register_device(&mxc_nand_device, &pcm037_nand_board_info); | ||
219 | 226 | ||
220 | mxc_register_device(&mxc_uart_device1, &uart_pdata); | 227 | mxc_register_device(&mxc_uart_device1, &uart_pdata); |
221 | 228 | ||