diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2017-06-20 17:17:45 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-06-23 10:38:07 -0400 |
commit | 4e118ce6d8e6f8b2d61f632ec0898886d15fa71c (patch) | |
tree | bf68ed14da91a326ffa6289eb073bc47ff764cfe /lib/aes.c | |
parent | b51ced8e2aec9cc4f5a600b09d09f1b54be19d04 (diff) |
mtd: OneNAND: Fix onenand_block_markbad
commit dfe64e2c89731a3f9950d7acd8681b68df2bae03
Author: Sergey Lapin <slapin@ossfans.org>
Date: Mon Jan 14 03:46:50 2013 +0000
mtd: resync with Linux-3.7.1
modified onenand_block_markbad to call mtd_block_markbad,
but as _block_markbad function pointer used by mtd_block_markbad
to do actual job is by default pointing back to
onenand_block_markbad there is no way this function ever
finishes its job.
Fix it by changing function body according current (4.12-rc6)
linux implementation.
Tested on IGEPv2 board with Muxed OneNAND(DDP) 512MB containing
several unerasable blocks this function marked bad.
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Diffstat (limited to 'lib/aes.c')
0 files changed, 0 insertions, 0 deletions