aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-mx3/Kconfig1
-rw-r--r--arch/arm/mach-mx3/mach-mx35_3ds.c8
2 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-mx3/Kconfig b/arch/arm/mach-mx3/Kconfig
index 85beece802aa..2ae10885635a 100644
--- a/arch/arm/mach-mx3/Kconfig
+++ b/arch/arm/mach-mx3/Kconfig
@@ -140,6 +140,7 @@ config MACH_MX35_3DS
140 bool "Support MX35PDK platform" 140 bool "Support MX35PDK platform"
141 select ARCH_MX35 141 select ARCH_MX35
142 select IMX_HAVE_PLATFORM_IMX_UART 142 select IMX_HAVE_PLATFORM_IMX_UART
143 select IMX_HAVE_PLATFORM_MXC_NAND
143 default n 144 default n
144 help 145 help
145 Include support for MX35PDK platform. This includes specific 146 Include support for MX35PDK platform. This includes specific
diff --git a/arch/arm/mach-mx3/mach-mx35_3ds.c b/arch/arm/mach-mx3/mach-mx35_3ds.c
index 73149b8fe92c..b3629e735606 100644
--- a/arch/arm/mach-mx3/mach-mx35_3ds.c
+++ b/arch/arm/mach-mx3/mach-mx35_3ds.c
@@ -66,6 +66,12 @@ static struct platform_device mx35pdk_flash = {
66 .num_resources = 1, 66 .num_resources = 1,
67}; 67};
68 68
69static const struct mxc_nand_platform_data mx35pdk_nand_board_info __initconst = {
70 .width = 1,
71 .hw_ecc = 1,
72 .flash_bbt = 1,
73};
74
69static struct platform_device *devices[] __initdata = { 75static struct platform_device *devices[] __initdata = {
70 &mxc_fec_device, 76 &mxc_fec_device,
71 &mx35pdk_flash, 77 &mx35pdk_flash,
@@ -119,6 +125,8 @@ static void __init mxc_board_init(void)
119 imx35_add_imx_uart0(&uart_pdata); 125 imx35_add_imx_uart0(&uart_pdata);
120 126
121 mxc_register_device(&mxc_otg_udc_device, &usb_pdata); 127 mxc_register_device(&mxc_otg_udc_device, &usb_pdata);
128
129 imx35_add_mxc_nand(&mx35pdk_nand_board_info);
122} 130}
123 131
124static void __init mx35pdk_timer_init(void) 132static void __init mx35pdk_timer_init(void)