Thread (20 messages) 20 messages, 5 authors, 2010-02-27
STALE5953d

[PATCH] mx31pdk: Add NAND support

From: Alberto Panizzo <hidden>
Date: 2010-02-25 11:12:13

Hi Fabio,

On mer, 2010-02-24 at 16:58 -0800, Fabio Estevam wrote:
quoted hunk ↗ jump to hunk
Add NAND support to MX31PDK board.

Signed-off-by: Fabio Estevam <redacted>
---
 arch/arm/mach-mx3/mach-mx31_3ds.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-mx3/mach-mx31_3ds.c b/arch/arm/mach-mx3/mach-mx31_3ds.c
index b88c18a..2d78754 100644
--- a/arch/arm/mach-mx3/mach-mx31_3ds.c
+++ b/arch/arm/mach-mx3/mach-mx31_3ds.c
@@ -34,6 +34,7 @@
 #include <mach/board-mx31pdk.h>
 #include <mach/imx-uart.h>
 #include <mach/iomux-mx3.h>
+#include <mach/mxc_nand.h>
 #include "devices.h"
 
 /*!
@@ -80,6 +81,11 @@ static struct resource smsc911x_resources[] = {
 	},
 };
 
+static struct mxc_nand_platform_data mx31pdk_nand_board_info = {
+	.width = 1,
+	.hw_ecc = 1,
+};
+
Are you sure that this works? Don't you see a lot of Bad blocks reports
in boot messages?


-- 
Alberto!

        Be Persistent!
                - Greg Kroah-Hartman (FOSDEM 2010)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help