Dear Enric Balletbo Serra, On Mon, 2 Dec 2013 16:39:09 +0100, Enric Balletbo Serra wrote: > Thanks for the explanations to all. > > Although the new ECC schema breaks the compatibility between the board > files and new DT based kernel, I think we should use BCH8 scheme. > Sorry, because I had not realized that this was configurable in > u-boot, so I think, if Thomas is also agree, the better fix in that > case is change CONFIG_NAND_OMAP_ECCSCHEME to > OMAP_ECC_BCH8_CODE_HW_DETECTION_SW in u-boot. If this works we can > discard this patch. I theoretically don't have anything against that, but if I do this change in U-Boot, and then use U-Boot to reflash to NAND the SPL and U-Boot itself, will the OMAP ROM code still be able to read the SPL from NAND ? I'm not sure which ECC scheme does the OMAP ROM code support, and how it detects (or not) which ECC scheme to use to read the SPL. Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html