Daniel Campello
3426d5788c
flashrom: lspcon-i2c-spi: add reload method
...
Re-read the flag and version flash regions after an update to get the
new device status.
2021-04-14 12:09:11 -06:00
Daniel Campello
9f77608ef7
trivial: flashrom: verify write to flag region
...
Disable verification on sub-block-size write was not needed after all.
2021-04-14 06:51:51 +01:00
Daniel Campello
4483f609f1
flashrom: lspcon-i2c-spi: add write_firmware
...
Added firmware flash logic.
2021-04-08 18:12:16 -06:00
Daniel Campello
314b94b41f
flashrom: lspcon-i2c-spi: read active_partion and version
...
Reads the active_partition and firmware version from active_partition
2021-04-08 18:12:16 -06:00
Daniel Campello
fe073a304d
flashrom: add lspcon-i2c-spi programmer support
...
Created lspcon-i2c-spi flashrom device that uses udev to detect i2c
devices that can be updated with the lspcon-i2c-spi flashrom programmer.
This change implements the logic from crrev.com/c/2792124 adapted to the
upstream flashrom plugin.
2021-04-08 18:12:16 -06:00