I suspect that we're not handling some lockdown correctly. Could you do
a short check for us?
Insert directly before ichspi.c line 1068:
ichspi_lock = 1;


changed to:

   spi_controller = SPI_CONTROLLER_VIA;
   ichspi_lock = 1;
   ich_init_opcodes();

   return 0;
}
 
 
Then please recompile and run again in verbose mode. I don't expect
success, but I think we have a good chance to learn more.


attaching  output:
ubuntu@ubuntu:~/flashrom$ sudo ./flashrom -p internal:laptop=force_I_want_a_brick -V > flashrom2.txt
delay loop is unreliable, trying to continue ========================================================================
WARNING! You seem to be running flashrom on a laptop.
Laptops, notebooks and netbooks are difficult to support and we recommend
to use the vendor flashing utility. The embedded controller (EC) in these
machines often interacts badly with flashing.
See http://www.flashrom.org/Laptops for details.

If flash is shared with the EC, erase is guaranteed to brick your laptop
and write may brick your laptop.
Read and probe may irritate your EC and cause fan failure, backlight
failure and sudden poweroff.
You have been warned.
========================================================================
Proceeding anyway because user specified laptop=force_I_want_a_brick
Mapping VT8237S MMIO registers at 0xfed02000, unaligned size 0x70.
ubuntu@ubuntu:~/flashrom$

Regards
Paweł