Attention is currently required from: Felix Singer, WereCatf.
Patch set 2:Code-Review +1
5 comments:
Commit Message:
Patch Set #2, Line 10: https://datasheet.lcsc.com/szlcsc/1908281813_PUYA-P25Q21H-SSH-IT_C414061.pdf
While we're at it, I'd greatly appreciate if you could add support for the P25Q11H and P25Q06H as well, as they only differ in size (`total_size` and `block_erasers` need adjustment). Also, they should be marked as `TEST_UNTESTED` for now.
File flashchips.c:
Patch Set #2, Line 13158: }, {
Missing entries for the full chip erase commands:
}, {
.eraseblocks = { {256 * 1024, 1} },
.block_erase = spi_block_erase_60,
}, {
.eraseblocks = { {256 * 1024, 1} },
.block_erase = spi_block_erase_c7,
},
These two entries should be the last, below the other entries.
.eraseblocks = { {256, 1024} },
.block_erase = spi_block_erase_81
Block eraser entries should be sorted in ascending block size (the pair of numbers is `{ block size, number of blocks }`). So, this one should be the first, above the other entries.
I expect this change to slow down erasing/rewriting. If the performance impact is unacceptable (e.g. full erase time goes from several seconds to some minutes), please let me know.
Patch Set #2, Line 13163: spi_prettyprint_status_register_plain
spi_prettyprint_status_register_bp4_srwd
Patch Set #2, Line 13164: spi_disable_blockprotect
spi_disable_blockprotect_bp4_srwd
To view, visit change 58134. To unsubscribe, or for help writing mail filters, visit settings.