commit | 828dec153044805506cc2b8e39cb3f62d5f76a12 | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@free-electrons.com> | Fri Mar 04 18:09:21 2016 +0100 |
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | Tue Apr 19 22:05:46 2016 +0200 |
tree | 0513fc769d8357aea014e107da57cfc23877e11a | |
parent | cc6822fb756b5080ca127fef1a89f35558bd2610 [diff] |
mtd: nand: sunxi: make OOB retrieval optional sunxi_nfc_hw_ecc_read_chunk() always retrieves the ECC and protected free bytes, no matter if the user really asked for it or not. This can take a non negligible amount of time, especially on NAND chips exposing large OOB areas (> 1KB). Make it optional. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>