[PATCH V5 2/2] mtd: nand: Calculate better default ecc layout

Troy Kisky troy.kisky at boundarydevices.com
Thu Jul 16 21:19:08 EDT 2009


Troy Kisky wrote:
> Have nand_base calculate a good ecc layout
> default. A benefit of this is allowing
> a software ecc other than 3 bytes long. For example,
> 4 bit software ecc correction.
> 
> This patch should be safe because it adds new
> routines to be used. As board maintainers verify
> that the new routines work for them, they should
> send in a patch changing
> 
>    nand_scan -> nand_scan_finish
>    nand_scan_tail -> nand_scan_finish_tail
> 
> This patch will also add all oob bytes that
> are not reserved for ecc or bad block markers
> to the end of the free list. I don't think this
> can cause problems, but I would like an authority
> to say, "Yes, it's safe."
> 
I have a few checkpatch issues to deal with if this
approach is approved.

Sorry, it slipped my mind.

Troy




More information about the linux-mtd mailing list