On Friday 01 February 2008, Stefan Roese wrote: > > So the SMC byte ordering is selected and it should match the version used > > in U-Boot. In Linux the swapping is done in nand_ecc.c. > > Seems that I was incorrect here. Tests showed that writing from Linux and > then reading back from U-Boot results in ECC errors. My comment above is > bogus, since nand_calculate_ecc() from nand_ecc.c is not used with HW-ECC > generation enabled.
And after another coffee I noticed that the current Linux implementation is correct. The U-Boot implementation needs to get fixed. Brown paper bag time for me. Best regards, Stefan _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev