commit | 1c1bdd6f866e08b2a34318ce089b678200e8de85 | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@free-electrons.com> | Wed Sep 02 15:05:52 2015 +0200 |
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | Tue Apr 19 22:05:39 2016 +0200 |
tree | bf0680c61b0aaa69f5aa296be3fd7f4f4caa886d | |
parent | 9d02fc2a5129449581c3108c260e96377cf35f7e [diff] |
mtd: nand: sunxi: implement ->read_oob()/->write_oob() Allwinner's ECC engine is capable of protecting a few bytes of the OOB area. Implement specific OOB functions to benefit from this capability. Also, when in raw mode, the randomizer is disabled, which means you'll only be able to retrieve randomized data, which is not really useful for most applications. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>