[U-Boot-Users] [PATCH 1/2] NAND: Add support for transparent hardware ECC.

Stefan Roese sr at denx.de
Thu May 24 12:26:25 CEST 2007


Hi Scott,

sorry for the late response.

On Wednesday 16 May 2007, Scott Wood wrote:
> Some NAND controllers (such as on the MPC831x chips) have hardware ECC,
> but can only do it during a transfer (i.e. we can't implement
> calculate_ecc()).  When NAND_ECC_TRANSPARENT is used, then ECC errors on
> reads are reported through correct_data() (with no arguments other than
> the mtd device), and on writes through waitfunc()'s return value.

I would like to know the status of this "tranparent" hardware ECC mechanism
in the Linux source. I assume that you want to integrate this support there
too, right? I couldn't find any reference to this in the current mtd/nand
implementations and/or any reference to the MPC831x.

I'm asking, since the U-Boot nand code is based on the Linux mtd codebase,
and we should try to keep features common between both source codes as
often as possible.

Thanks.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================




More information about the U-Boot mailing list