From e0a93d7f39918b331ea714b125b2938db06db145 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 12 Nov 2009 11:30:26 +0100 Subject: [PATCH] --- yaml --- r: 172469 b: refs/heads/master c: 4f43c2ed21d5902f29c41aeb22728193a8617192 h: refs/heads/master i: 172467: 35e7deb4475fb5bd321ba6d56e1e1ad3568ac606 v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-mx3/pcm043.c | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 06be1ee262d6..f23798852c42 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f6f1bc64f0408814a835c09424269aabe39b5d38 +refs/heads/master: 4f43c2ed21d5902f29c41aeb22728193a8617192 diff --git a/trunk/arch/arm/mach-mx3/pcm043.c b/trunk/arch/arm/mach-mx3/pcm043.c index e18a224671fa..e3aa829be586 100644 --- a/trunk/arch/arm/mach-mx3/pcm043.c +++ b/trunk/arch/arm/mach-mx3/pcm043.c @@ -43,6 +43,7 @@ #include #include #include +#include #include "devices.h" @@ -206,6 +207,11 @@ static struct pad_desc pcm043_pads[] = { MX35_PAD_ATA_CS0__GPIO2_6, }; +static struct mxc_nand_platform_data pcm037_nand_board_info = { + .width = 1, + .hw_ecc = 1, +}; + /* * Board specific initialization. */ @@ -216,6 +222,7 @@ static void __init mxc_board_init(void) platform_add_devices(devices, ARRAY_SIZE(devices)); mxc_register_device(&mxc_uart_device0, &uart_pdata); + mxc_register_device(&mxc_nand_device, &pcm037_nand_board_info); mxc_register_device(&mxc_uart_device1, &uart_pdata);