• Roger Quadros's avatar
    mtd: nand: omap: Revert to using software ECC by default · 7d5929c1
    Roger Quadros authored
    For v3.12 and prior, 1-bit Hamming code ECC via software was the
    default choice. Commit c66d0391 in v3.13 changed the behaviour
    to use 1-bit Hamming code via Hardware using a different ECC layout
    i.e. (ROM code layout) than what is used by software ECC.
    
    This ECC layout change causes NAND filesystems created in v3.12
    and prior to be unusable in v3.13 and later. So revert back to
    using software ECC by default if an ECC scheme is not explicitely
    specified.
    
    This defect can be observed on the following boards during legacy boot
    
    -omap3beagle
    -omap3touchbook
    -overo
    -am3517crane
    -devkit8000
    -ldp
    -3430sdp
    Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
    Tested-by: default avatarGrazvydas Ignotas <notasas@gmail.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    7d5929c1
board-flash.c 6.05 KB