
10 Nov
2008
10 Nov
'08
7:33 p.m.
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