modules/flashrom: update to v1.2 release

- Update flashrom module to v1.2.
- Drop Thinkpad x220 patch as it's now properly supported.
- Drop 'laptop=force_I_want_a_brick' from board FLASHROM_OPTIONS
  since it's no longer needed.
- Migrate kgpe-d16 patch.

The kgpe-d16 patch needed a complete overhaul when rebased against
flashrom v1.2, and needs close inspection/testing as a result.
The following changes were made from the previous patch:

- dropped addition of 4-byte addressing (4BA), since now supported
- dropped addtiion of Macronix MX25L256 and MX66L512 chips,
  since now supported
- added 4BA erase commands for Winbond W25Q256 chip
- dropped code to show progress indicator, since another PR already adds that

Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>
This commit is contained in:
Matt DeVillier
2019-07-30 21:46:34 -05:00
parent 83c22f3e4a
commit b29447ef8f
13 changed files with 1108 additions and 2622 deletions

View File

@ -7,7 +7,7 @@ To get the binaries, start with a copy of the original Lenovo firmware image.
If you do not have one already, you can read one out from the laptops SPI flash.
```
flashrom --programmer internal:laptop=force_I_want_a_brick -r original.bin
flashrom --programmer internal -r original.bin
```
Once you have the image, the provided extraction script will extract the files needed.