)]}'
{
  "commit": "2d17041c5e170b42785e99d2aaedb98abb9bf040",
  "tree": "b60bbb992860f4c8d5bca7ff2c67ebcba2f26647",
  "parents": [
    "f6a273b353355fd3817a00135019fd71e3543683"
  ],
  "author": {
    "name": "Edward O\u0027Callaghan",
    "email": "quasisec@google.com",
    "time": "Mon Nov 15 15:47:15 2021 +1100"
  },
  "committer": {
    "name": "Nico Huber",
    "email": "nico.h@gmx.de",
    "time": "Sun Jan 29 12:29:02 2023 +0000"
  },
  "message": "flashrom: Drop read_flash_to_file() usage\n\nAspire towards a goal of making cli_classic more of just\na user of libflashrom than having quasi-parallel paths in\nflashrom.c\n\nThis converts remaining read_flash_to_file() usage to the\ndo_read() provider wrapper around libflashrom.\n\nTested: `\nsudo ./flashrom -p ft2232_spi:type\u003d232H,divisor\u003d1000 -f -r out -c W25X05\nFlashrom output:\n\nNo EEPROM/flash device found.\nForce read (-f -r -c) requested, pretending the chip is there:\nAssuming Winbond flash chip \"W25X05\" (64 kB, SPI) on ft2232_spi.\nPlease note that forced reads most likely contain garbage.\nBlock protection could not be disabled!\nReading flash... done.\nData read:\n\nxxd out-1khz\n00000000: 0000 07ff ffff e000 0000 7fff fffe 0000  ................\n00000010: 0007 ffff ffe0 0000 007f ffff fe00 0000  ................\n00000020: 07ff ffff e000 0000 7fff fffe 0000 0007  ................\n00000030: ffff ffe0 0000 007f ffff fe00 0000 0fff  ................\nxxd out-100khz\n00000000: b6db 6db6 db6d b6db 6db6 db6d b6db 6db6  ..m..m..m..m..m.\n00000010: db6d b6db 6db6 db6d b6db 6db6 db6d b6db  .m..m..m..m..m..\n00000020: 6db6 db6d b6db 6db6 db24 9249 2492 4924  m..m..m..$.I$.I$\n00000030: 9249 2492 4924 9249 2492 4924 9249 2492  .I$.I$.I$.I$.I$.\n`\n\nChange-Id: I4b690b688acf9d5deb46e8642a252a2132ea8c73\nSigned-off-by: Edward O\u0027Callaghan \u003cquasisec@google.com\u003e\nOriginal-Tested-by: Nikolai Artemiev \u003cnartemiev@google.com\u003e\nOriginal-Reviewed-on: https://review.coreboot.org/c/flashrom/+/59291\nOriginal-Reviewed-by: Anastasia Klimchuk \u003caklm@chromium.org\u003e\nReviewed-on: https://review.coreboot.org/c/flashrom-stable/+/72336\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": "f0126a6b5b8a7da5c503e857a6b3465dfa736fc8",
      "old_mode": 33188,
      "old_path": "cli_classic.c",
      "new_id": "a27e454657f7a193e7e60d5312c8f1f4c2ec75ff",
      "new_mode": 33188,
      "new_path": "cli_classic.c"
    },
    {
      "type": "modify",
      "old_id": "db079abfc88949ebb2e36e7ce7d0171565052e76",
      "old_mode": 33188,
      "old_path": "flashrom.c",
      "new_id": "ac283c3c9a2e5ebf6c51c07a674abec680e107ed",
      "new_mode": 33188,
      "new_path": "flashrom.c"
    },
    {
      "type": "modify",
      "old_id": "66d5b883648e66713b76541e49306c44711a8084",
      "old_mode": 33188,
      "old_path": "include/flash.h",
      "new_id": "e955942e465ba416e8cd310ef53ef6473a964d86",
      "new_mode": 33188,
      "new_path": "include/flash.h"
    }
  ]
}
