Attention is currently required from: Matti Finder, Peter Marheine.
4 comments:
Patchset:
Thank you so much for testing!
I used the dummy programmer with dummy:emulate=MX25L6436 which can then be handled as a "SFDP-capable chip"
This is great, I didn't realise that dummyflasher can handle SFDP chips, but yes indeed! I will write a test for this (not right now, but later in a separate commit)
File sfdp.c:
if (sfdp_fill_flash(flash->chip, tbuf, len) == 0) {
ret = 1;
}
Maybe this should return error straight away
I said that, but I forgot about freeing the memory :\ and now remembered.
Added two more comments (sorry), but that should be the last, everything else is done in this patch.
File sfdp.c:
Patch Set #6, Line 457: return 0;
We still need to free the buffers, so I think this should be
```
ret = 0;
goto cleanup_hdrs;
```
Patch Set #6, Line 482: return 1;
I think let's keep the previous line (`return ret`), since `goto cleanup_hdrs` is called a few times in the existing code.
To view, visit change 84934. To unsubscribe, or for help writing mail filters, visit settings.