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

View Change

To view, visit change 25047. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I0be930ff2258300508398e12fbe5abe10400fea2
Gerrit-Change-Number: 25047
Gerrit-PatchSet: 3
Gerrit-Owner: Julian von Mendel <git@jinvent.de>
Gerrit-Reviewer: Julian von Mendel <git@jinvent.de>
Gerrit-Reviewer: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-Comment-Date: Thu, 08 Mar 2018 21:54:35 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: Yes