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

Scott Wood scottwood at freescale.com
Thu May 24 17:45:09 CEST 2007


Stefan Roese wrote:
> 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 have a Linux patch from Nick Spence for nand on the 831x, but it needs 
a lot of cleanup before I can submit it, which I haven't had a chance to 
do yet.  It currently uses a rather ugly hack to get around the lack of 
transparent ECC support (as did the u-boot patch before I reworked it).

> 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.

Agreed, though when writing the u-boot patch I looked at the kernel 
source, and it appears to have already diverged quite a bit.  When I get 
a chance to look at the 831x NAND Linux patch, I'll most likely 
implement similar transparent ECC support there.

-Scott




More information about the U-Boot mailing list