4e118ce6 | 20-Jun-2017 |
Ladislav Michl <ladis@linux-mips.org> |
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
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>
show more ...
|
b51ced8e | 20-Jun-2017 |
Ladislav Michl <ladis@linux-mips.org> |
onenand_spl_simple: Add DDP OneNAND support
Current implementation is unable to access second half of DDP OneNAND flash (reads first half mirrored). Use block and bufferram address calculations from
onenand_spl_simple: Add DDP OneNAND support
Current implementation is unable to access second half of DDP OneNAND flash (reads first half mirrored). Use block and bufferram address calculations from onenand_base to fix this.
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
show more ...
|
52486927 | 12-Jul-2016 |
Ladislav Michl <ladis@linux-mips.org> |
mtd: OneNAND: initialize mtd->writebufsize to let UBI work
io_init checks this value and fails with "bad write buffer size 0 for 2048 min. I/O unit"
Signed-off-by: Ladislav Michl <ladis@linux-mips.
mtd: OneNAND: initialize mtd->writebufsize to let UBI work
io_init checks this value and fails with "bad write buffer size 0 for 2048 min. I/O unit"
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
show more ...
|