[U-Boot] OMAP3 broken NAND hardware ECC generation

Scott Wood scottwood at freescale.com
Mon Nov 10 19:33:25 CET 2008


Dirk Behme wrote:
> I'm not sure, but it seems to me, that omap_enable_hwecc() is never 
> called. An printf() in this function is not shown.
> 
> Maybe call of nand_scan_tail(mtd); in omap_nand_switch_ecc() resets 
> anything? Or any other idea?

You never cleared out nand->ecc.write_page (and others), so 
nand_scan_tail() saw that they were non-NULL and assumed you were 
overriding them, and you got the soft-ECC versions of those, but the 
hard-ECC calculate method.

-Scott


More information about the U-Boot mailing list