[PATCH] [MTD] MXC NAND driver fixes (v3)

Holger Schurig hs4233 at mail.mn-solutions.de
Thu Apr 30 07:09:54 EDT 2009


> Hello Holger,
>
> Could you explain how this message is related to this thread?
> This patch as well as linux-mtd mail list doesn't care about
> platform specific code that you can do in your custom mx21
> based board.

The thread is about a NAND flash driver for Linux MTD. And this 
driver will work with i.MX27 and i.MX21 SoCs. However, the 
i.MX21 has a specific error in it's silicon, where the hardware 
ECC cannot one-bit-errors IF they are in two consecutive NAND 
blocks.

If the NAND driver, that is supposed to be used for i.MX21, 
cannot handle this (e.g. using software ECC), then the NAND 
driver is buggy.


This has nothing to do with board-specific things, my question 
was just if the board setup code can keep ".ecc = 0". Or if that 
won't work, we have to fix the MXC NAND driver with some 
cpu_is_mx21() code paths.



More information about the linux-mtd mailing list