)]}'
{
  "commit": "cb09c0a10606cdcecc0564b6d55eb12945771b3f",
  "tree": "34c1e5756b809e5f7dec6ca183c88d4de8d7a645",
  "parents": [
    "696d098316c649f9b56f9fa0cb15bfbb496dab37"
  ],
  "author": {
    "name": "Nikolai Artemiev",
    "email": "nartemiev@google.com",
    "time": "Wed Apr 27 10:24:10 2022 +1000"
  },
  "committer": {
    "name": "Chromeos LUCI",
    "email": "chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Mon May 30 09:52:16 2022 +0000"
  },
  "message": "UPSTREAM: flashrom: initialize restore func count in correct place\n\nSet `flash-\u003echip_restore_fn_count` to zero before calling the chip\u0027s\nunlock funciton in `prepare_flash_access()`.\n\nPreviously `flash-\u003echip_restore_fn_count` was uninitialized before\ncalling `chip-\u003eunlock()` and subsequently reset after the dispatch by\ninitializing it. This caused the restore handler that is registered\nwithin `spi_disable_blockprotect_generic()` to be lost.\n\nBUG\u003db:228945411\nBRANCH\u003dnone\nTEST\u003denable wp; flashrom -w; check wp still enabled.\n\nOriginal-Commit-Id: b86ae179adfb4acb4190ef2abe2ee8905c44f26a\nOriginal-Change-Id: I4c7df424bd2ae2b5fb2a2ab6b47a3c9ff3233acf\nOriginal-Signed-off-by: Nikolai Artemiev \u003cnartemiev@google.com\u003e\nOriginal-Reviewed-on: https://review.coreboot.org/c/flashrom/+/63881\nOriginal-Tested-by: build bot (Jenkins) \u003cno-reply@coreboot.org\u003e\nOriginal-Reviewed-by: Edward O\u0027Callaghan \u003cquasisec@chromium.org\u003e\nOriginal-Reviewed-by: Angel Pons \u003cth3fanbus@gmail.com\u003e\n(cherry picked from commit b86ae179adfb4acb4190ef2abe2ee8905c44f26a)\n\nSigned-off-by: Evan Benn \u003cevanbenn@chromium.org\u003e\nChange-Id: I2810ce81b9186916cedaae8594196ce4a069050f\nReviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/flashrom/+/3670097\nReviewed-by: Sean Paul \u003cseanpaul@chromium.org\u003e\nReviewed-by: Peter Marheine \u003cpmarheine@chromium.org\u003e\nReviewed-by: Edward O\u0027Callaghan \u003cquasisec@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "18ed528f25430059653cc797b212bcae488cfb28",
      "old_mode": 33188,
      "old_path": "flashrom.c",
      "new_id": "a77db20a928a96eb80981ecb875b48548bcfc453",
      "new_mode": 33188,
      "new_path": "flashrom.c"
    }
  ]
}
