diff options
author | Pavel Machek <pavel@ucw.cz> | 2017-04-21 12:51:07 +0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-06-01 10:09:24 +0200 |
commit | 086567f12e1188c57e061a53825a5eff5a7923a0 (patch) | |
tree | 1430eed25ed4cda67cd6bbb73d94b8c4b0c96270 /drivers/ata | |
parent | 838ff7b333263abc9e7e026bb225ed66511f450f (diff) | |
download | op-kernel-dev-086567f12e1188c57e061a53825a5eff5a7923a0.zip op-kernel-dev-086567f12e1188c57e061a53825a5eff5a7923a0.tar.gz |
mtd: nand: Optimize checking of erased buffers
If we see ~0UL in flash, there's no need for hweight, and no need to
check number of bitflips. So this should be net win.
Signed-off-by: Pavel Machek <pavel@denx.de>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/ata')
0 files changed, 0 insertions, 0 deletions