Running on the latest Debian package.
I checked https://www.flashrom.org/Supported_hardware
and looked @ git log a bit ... didn't find anything about testing this chip .... SO
root@black:/data/MTD_Images# time flashrom -p ch341a_spi -c GD25Q128C -w NB-PR2.img
flashrom v0.9.9-r1954 on Linux 4.9.0-4-amd64 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Calibrating delay loop... OK.
Found GigaDevice flash chip "GD25Q128C" (16384 kB, SPI) on ch341a_spi.
===
This flash part has status UNTESTED for operations: PROBE READ ERASE WRITE
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to flashrom@flashrom.org if any of the above operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and mention
which mainboard or programmer you tested in the subject line.
Thanks for your help!
Reading old flash chip contents... done.
Erasing and writing flash chip... Erase/write done.
Verifying flash... VERIFIED.
real 5m49.633s
user 0m17.820s
sys 0m38.380s
This chip is installed on a prototype wireless router.
It seems to work OK.
[ 0.537541] m25p80 spi0.0: gd25q128 (16384 Kbytes)