From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Thu, 24 May 2007 12:26:25 +0200 Subject: [U-Boot-Users] [PATCH 1/2] NAND: Add support for transparent hardware ECC. In-Reply-To: <20070516162713.GA6786@ld0162-tx32.am.freescale.net> References: <20070516162713.GA6786@ld0162-tx32.am.freescale.net> Message-ID: <200705241226.26158.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 =====================================================================