diff options
| author | Masahiro Yamada <[email protected]> | 2017-03-23 05:07:01 +0900 |
|---|---|---|
| committer | Boris Brezillon <[email protected]> | 2017-03-24 09:47:43 +0100 |
| commit | c120e75e0e7deff88119376298342df139b9b17c (patch) | |
| tree | 2124abb2038c31bec3857dadc616e333c1985707 /tools/perf/scripts/python | |
| parent | 9fe4b66efb77fec71a9c11de58e5e51c5c826190 (diff) | |
mtd: nand: use read_oob() instead of cmdfunc() for bad block check
The nand_default_block_markbad() and scan_block_fast() use high
level APIs to get access to the BBM.
On the other hand, nand_block_bad (the default implementation of
->block_bad) calls the lower level ->cmdfunc hook. This prevents
drivers from using ->ecc.read_oob() even if optimized read operation
is implemented. Besides, some NAND controllers may protect the BBM
with ECC.
Signed-off-by: Masahiro Yamada <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions