• B
    mtd: nand: sunxi: prefer 1k ECC blocks when applicable · 872164e4
    Boris Brezillon 提交于
    Switching to 1k ECC blocks when possible provides better resistance against
    concentrated bitflips. Say you have those two configurations:
    
    1/ 16bits/512bytes
    2/ 32bits/1024bytes
    
    Both of them require the same amount of ECC bytes (only true for this
    specific engine), but the second config allows you to correct the case
    where most of your bitflips are concentrated in a single 512bytes portion.
    
    This fact makes the 1k ECC block size more advantageous than the 512bytes
    one.
    Signed-off-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
    872164e4
sunxi_nand.c 57.9 KB