Re: [U-Boot] OMAP3 broken NAND hardware ECC generation

2008-11-10 Thread Scott Wood
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 oth

[U-Boot] OMAP3 broken NAND hardware ECC generation

2008-11-09 Thread Dirk Behme
Dear Scott and Nishanth, we have broken OMAP3 NAND hardware ECC generation while our clean up of OMAP3 NAND code. I did some debugging. Do you like to have a look to http://git.denx.de/?p=u-boot/u-boot-arm.git;a=blob;f=drivers/mtd/nand/omap_gpmc.c;h=01b79593949fe828e4b1d3da2cf4b399c1b580ab;hb=r