I did function tests with read/write/erase, no systematic flash performance tests or similar.
I had a Pi connected to the SPI flash chip, that contained FPGA configuration data (that were already on the chip). I read the data, erased, read that as well, confirmed that both images made sense in a hex editor and that the FPGA did no longer configure. I wrote back the original image and the FPGA worked as it did before. No errors during flashrom verify. (Possible flaw in that test: Only a small portion of the address space was filled with non-zero data.)
Sorry about the comments in the .c file, I am not sure about these (they were copied from AT26DF041).
Patch set 3:Code-Review +1
To view, visit change 25047. To unsubscribe, or for help writing mail filters, visit settings.