Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 828dec15 authored by Boris Brezillon's avatar Boris Brezillon
Browse files

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: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
parent cc6822fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment