Re: [RFC PATCH 1/9] mtd: nand: retrieve ECC requirements from HynixREAD ID byte 4

From: boris brezillon
Date: Wed Jan 29 2014 - 05:49:22 EST


Hello Brian,

On 23/01/2014 02:49, Brian Norris wrote:
+ Huang

Hi Boris,

On Wed, Jan 08, 2014 at 03:21:56PM +0100, Boris BREZILLON wrote:
The Hynix nand flashes store their ECC requirements in byte 4 of its id
(returned on READ ID command).

Signed-off-by: Boris BREZILLON <b.brezillon@xxxxxxxxxxx>
I haven't verified yet (perhaps Huang can confirm?), but this may be
similar to a patch Huang submitted recently. In his case, we found that
this table is actually quite unreliable and is likely hard to maintain.

You mean these bytes are not reliable within the whole Hynix LP (Large Page)
NAND product line ?


Why do you need this ECC information, for my reference?

Because the NAND flash available on the cubietruck board does not support the
ONFI standard, and I thought this could be a option to retrieve the ECC strength
requirements.

Anyway, I added a new helper function to retrieve ecc informations from device
tree (I'll post it in the 2nd version of this series). We'll see if this approach is
accepted...


Brian

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/