)]}'
{
  "commit": "f15e1abbaade215dd0318de881361a21f39ed9a6",
  "tree": "3872b4c7bd25c03b3b365930a61cb88185e7e5c9",
  "parents": [
    "7a788f567df9cf4abb28b82261c2aa7af800f630"
  ],
  "author": {
    "name": "Carl-Daniel Hailfinger",
    "email": "c-d.hailfinger.devel.2006@gmx.net",
    "time": "Thu Feb 11 11:28:37 2010 +0000"
  },
  "committer": {
    "name": "Carl-Daniel Hailfinger",
    "email": "c-d.hailfinger.devel.2006@gmx.net",
    "time": "Thu Feb 11 11:28:37 2010 +0000"
  },
  "message": "Rewrite substantial parts of the ICH SPI support\n\nThis megapatch rewrites substantial parts of ICH SPI to actually do\nwhat the SPI layer wants instead of its own weird idea about commands\n(running unrequested commands, running modified commands). Besides that,\nthere is a fair share of cleanups as well.\n\n- Add JEDEC_EWSR (Enable Write Status Register) to default commands. -\nMark a no longer used opcode/preopcode table as unused. - Declare all\ncommands as non-atomic/standalone by default. The ICH SPI driver has\nno business executing commands (preopcodes) automatically if they were\nnot requested. - Automatically adjust preopcode/opcode pairings (like\nWREN+ERASE) based on what the SPI layer requested. The ICH SPI driver\nhas no business executing altered opcode pairs as it sees fit. - Fix\nincomplete initialization in the case of a locked down chipset. Leaving\nthe first 4 opcodes with uninitialized pairings had unpredictable\nresults. - switch() exists for a reason. Nested if() checking on the\nsame variable is an interesting style. - Actually check if the requested\nreadcnt/writecnt for a command is supported by the hardware instead\nof delivering corrupt/incomplete commands and data. - If a command\nhas unsupported readlen/writelen, complain loudly to the user. - Use\nfind_opcode instead of open-coding the same stuff in a dozen variations.\n- Introduce infrastructure for updating the command set of unlocked\nchipsets on the fly.\n\nCorresponding to flashrom svn r894.\n\nSigned-off-by: Carl-Daniel Hailfinger \u003cc-d.hailfinger.devel.2006@gmx.net\u003e\nAcked-by: David Hendricks \u003cdhendrix@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a6bf15459aac6e6d998726f72da97be97f715a51",
      "old_mode": 33188,
      "old_path": "ichspi.c",
      "new_id": "77d236a5cf376d9253a2e1040227363bff51dcfe",
      "new_mode": 33188,
      "new_path": "ichspi.c"
    }
  ]
}
