• Roger Quadros's avatar
    ARM: OMAP2+: GPMC: Support Software ECC scheme via DT · a3e83f05
    Roger Quadros authored
    For v3.14 and prior, 1-bit Hamming code ECC via software was the
    default choice for some boards e.g. 3430sdp.
    Commit ac65caf5 in v3.15 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.14
    and prior to be unusable in v3.15 and later. So don't mark "sw" scheme
    as deperecated and support it.
    Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    a3e83f05
gpmc.c 49.2 KB