)]}'
{
  "commit": "c6c3f28c66e0ad792274ca05029a120925e21be6",
  "tree": "0df6153a2d812235b3defe835f40b9ed08684c92",
  "parents": [
    "9de3f8710d5c46d35cd9869018c85e5aa51483b0"
  ],
  "author": {
    "name": "Nikolai Artemiev",
    "email": "nartemiev@google.com",
    "time": "Wed Oct 20 23:34:15 2021 +1100"
  },
  "committer": {
    "name": "Nico Huber",
    "email": "nico.h@gmx.de",
    "time": "Fri Dec 30 01:16:44 2022 +0100"
  },
  "message": "flash.h,flashchips.c: add writeprotect bit layout map to chips\n\nThis patch adds a register bit map `struct reg_bit_info`, with fields\nfor storing the register, bit index, and writability of each bit that\naffects the chip\u0027s write protection. This allows writeprotect code to be\nindependent of the register layout of any specific chip. The new fields\nhave been filled out for example chips.\n\nThe representation is centered around describing how bits can be\naccessed and modified, rather than the layout of registers. This is\ngenerally easier to work with in code that needs to access specific bits\nand typically requires specifying the locations of fewer bits overall.\n\nTested: flashrom --wp-{enable,disable,range,list,status} at end of patch series\n\nChange-Id: Id08d77e6d4ca5109c0d698271146d026dbc21284\nSigned-off-by: Nikolai Artemiev \u003cnartemiev@google.com\u003e\nOriginal-Reviewed-on: https://review.coreboot.org/c/flashrom/+/58477\nOriginal-Reviewed-by: Nico Huber \u003cnico.h@gmx.de\u003e\nOriginal-Reviewed-by: Anastasia Klimchuk \u003caklm@chromium.org\u003e\nReviewed-on: https://review.coreboot.org/c/flashrom-stable/+/70966\nReviewed-by: Nico Huber \u003cnico.h@gmx.de\u003e\nTested-by: build bot (Jenkins) \u003cno-reply@coreboot.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4eae62b20cea6edd6eb484cc674aecc2c717b338",
      "old_mode": 33188,
      "old_path": "flash.h",
      "new_id": "91293357286702dc66ae5683cc7f7ab58e884f1b",
      "new_mode": 33188,
      "new_path": "flash.h"
    },
    {
      "type": "modify",
      "old_id": "7ed24571a14c60bfc25add685a284e551756e3a0",
      "old_mode": 33188,
      "old_path": "flashchips.c",
      "new_id": "ab25079c1d810a81808eb13dd0db0dbc1b6f21c7",
      "new_mode": 33188,
      "new_path": "flashchips.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "8510226dc43d4c0ed812794d8cba01e2c7b2f66a",
      "new_mode": 33188,
      "new_path": "writeprotect.h"
    }
  ]
}
