)]}'
{
  "commit": "0ecbacbfca7f919f1780f5062c775d94c7869d81",
  "tree": "2f84f6406d00bc89dd13dfeff3e69f77671a8f9e",
  "parents": [
    "a3140d0b18058610a2694fc3592031a849b0c92a"
  ],
  "author": {
    "name": "Nico Huber",
    "email": "nico.h@gmx.de",
    "time": "Sat Oct 14 16:50:43 2017 +0200"
  },
  "committer": {
    "name": "Nico Huber",
    "email": "nico.h@gmx.de",
    "time": "Thu Dec 28 10:42:49 2017 +0000"
  },
  "message": "spi25: Use common code for nbyte read/write and block erase\n\nIntroduce spi_prepare_address() and spi_write_cmd() and use them in\nnbyte_program, nbyte_read and block-erase procedures. The former\nabstracts over the address part of a SPI command to make it exten-\nsible for 4-byte adressing. spi_write_cmd() implements a WREN + write\noperation with address and optionally up to 256 bytes of data. It\nprovides a common path to reduce overall redundancy.\n\nAlso, reduce the polling delay in spi_block_erase_c4() from 500s to\n500ms as the comment suggests.\n\nChange-Id: Ibc1ae48acbfbd427a30bcd64bdc080dc3dc20503\nSigned-off-by: Nico Huber \u003cnico.h@gmx.de\u003e\nReviewed-on: https://review.coreboot.org/22383\nTested-by: build bot (Jenkins) \u003cno-reply@coreboot.org\u003e\nReviewed-by: David Hendricks \u003cdavid.hendricks@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "16a75a910ff7dcd829c3faedf57b241425ad4a09",
      "old_mode": 33188,
      "old_path": "chipdrivers.h",
      "new_id": "12fc5a325a2e9f48a2d44d5dc6a4a748b47bf6d0",
      "new_mode": 33188,
      "new_path": "chipdrivers.h"
    },
    {
      "type": "modify",
      "old_id": "de5b3be2e769a005c5b8fb16f76f3530d889cf15",
      "old_mode": 33188,
      "old_path": "spi.h",
      "new_id": "41b02456e668b6252989633e7f4a20be8e39dc5b",
      "new_mode": 33188,
      "new_path": "spi.h"
    },
    {
      "type": "modify",
      "old_id": "da04d2e94f45df34c533c69ae695f58d1a353586",
      "old_mode": 33188,
      "old_path": "spi25.c",
      "new_id": "84de75e2f5b22d38f4dba7b91d2d57456fe0d829",
      "new_mode": 33188,
      "new_path": "spi25.c"
    }
  ]
}
