Attention is currently required from: Angel Pons, Nikolai Artemiev. Edward O'Callaghan has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/63881 )
Change subject: flashrom: initialize restore func count in correct place ......................................................................
Patch Set 1:
(1 comment)
Commit Message:
https://review.coreboot.org/c/flashrom/+/63881/comment/8091050a_053ef57a PS1, Line 12: Previously the count was reset after calling chip->unlock(), causing the : restore handler that is registered by spi_disable_blockprotect_generic() : to be lost. The following maybe a little more clear:
``` Previously `flash->chip_restore_fn_count` was uninitialised before calling `chip->unlock()` and subsequently reset after the dispatch by initialising it. This caused the restore handler that is registered within `spi_disable_blockprotect_generic()` to be lost. ```