[PATCH] [MTD] MXC NAND driver fixes (v3)
Vladimir Barinov
vbarinov at embeddedalley.com
Thu Apr 30 07:42:41 EDT 2009
Holger Schurig wrote:
>> 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.
>
This thread is about minor fixes for MXC NAND driver :)
> 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.
>
>
You have pointed to the way how to resolve the mx21 h/w bug via platform
data.
> 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.
>
It's up to you to see if it work using .hw_ecc = 0. I have no mx21
hardware at all.
Regards,
Vladimir
More information about the linux-mtd
mailing list