some answers are needed
1 comment:
Patch Set #1, Line 14121: .eraseblocks = { { 256 * 1024, 1 } },
Alternatively to handle pages in spi_block_erase_emulation(), […]
what do you mean by declaring { 256, 1 } ? I tried it and it tries to erase only first 256 bytes, also tried .eraseblocks { 256, 1024 } and it doesn't work, cause eraseblocks.count is not used in .block_erase() function in no shape or form, so the only way to compute eraseblocks.count is to divide total_size(256KiB)/blocklen(256) = 1024. So, your comment needs more elaboration, or I will leave it as it is.
To view, visit change 34496. To unsubscribe, or for help writing mail filters, visit settings.