• Boris Brezillon's avatar
    mtd: nand: export default read/write oob functions · 9d02fc2a
    Boris Brezillon authored
    Export the default read/write oob functions (for the standard and syndrome
    scheme), so that drivers can use them for their raw implementation and
    implement their own functions for the normal oob operation.
    
    This is required if your ECC engine is capable of fixing some of the OOB
    data. In this case you have to overload the ->read_oob() and ->write_oob(),
    but if you don't specify the ->read/write_oob_raw() functions they are
    assigned to the ->read/write_oob() implementation, which is not what you
    want.
    Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
    9d02fc2a
nand_base.c 118 KB