I've been looking at updating the EC for the IT8587 and IT8987 SuperIO controllers from userspace. I see that there are it87spi and ite85spi modules in flashrom, but as I understand it they are using the ITE chip to write the system firmware over SPI (e.g. the 4MiB BIOS) rather than the 128KiB internal e-flash. Whilst I now have a datasheet, I don't want to implement code that someone else has already done. If anyone knows any pointers to any code or documentation I'd be very grateful. Thanks.
Richard