)]}'
{
  "commit": "a16a892ca462b6034fd513bb92245ad827b2945f",
  "tree": "0f623d6207b8dd60a1b1bc939db0a431b7a4d0af",
  "parents": [
    "a8da224c63fd9e41d87e57f72050c0e23a285d86"
  ],
  "author": {
    "name": "Carl-Daniel Hailfinger",
    "email": "c-d.hailfinger.devel.2006@gmx.net",
    "time": "Fri Aug 17 17:30:43 2012 +0000"
  },
  "committer": {
    "name": "Carl-Daniel Hailfinger",
    "email": "c-d.hailfinger.devel.2006@gmx.net",
    "time": "Fri Aug 17 17:30:43 2012 +0000"
  },
  "message": "Bus Pirate init cleanup and fixes\n\nThe Bus Pirate firmware (at least v6.1 and earlier) can\u0027t handle UART\ninput buffer overflow in BBIO mode, and sending a sequence of 0x00 too\nfast apparently triggers such an UART input buffer overflow. Wait 10 ms\nafter sending each 0x00 byte during init to give the Bus Pirate enough\ntime to handle the input. This fixes a Bus Pirate hang if the previous\nflashrom run was aborted by the user.\n\nThe Bus Pirate firmware v6.1 and earlier use the wrong (too slow) SPI\nspeed if more than 2 MHz are requested. Automatically downgrade SPI\nspeed to 2 MHz for affected firmware versions.\n\nDetect Bus Pirate hardware and firmware versions to allow quirk\nhandling.\n\nThe Bus Pirate init sequence has lots of open-coded sequences which wait\nfor a given string on the serial line. Refactor them into\nbuspirate_wait_for_string().\n\nCorresponding to flashrom svn r1576.\n\nSigned-off-by: Carl-Daniel Hailfinger \u003cc-d.hailfinger.devel.2006@gmx.net\u003e\nAcked-by: Carl-Daniel Hailfinger \u003cc-d.hailfinger.devel.2006@gmx.net\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a488fc33c610eee99b1b128b8bc8f9be554c1879",
      "old_mode": 33188,
      "old_path": "buspirate_spi.c",
      "new_id": "d00277e701f26874f3551f0f4d3997491560037f",
      "new_mode": 33188,
      "new_path": "buspirate_spi.c"
    }
  ]
}
