)]}'
{
  "commit": "4cba64cfb67c0215eec140caedac3450ee837de9",
  "tree": "682edf8c4fb01657d2ea8ef26fa87e6083e5542e",
  "parents": [
    "8f30263bde6636a58e1d33d7fdd007c3abb4f7ce"
  ],
  "author": {
    "name": "Hung-Te Lin",
    "email": "hungte@chromium.org",
    "time": "Wed Mar 09 20:58:05 2022 +0800"
  },
  "committer": {
    "name": "Commit Bot",
    "email": "commit-bot@chromium.org",
    "time": "Fri Mar 18 20:43:50 2022 +0000"
  },
  "message": "futility: updater: refactor {write,load}_system_firmware\n\nThe \u0027write_system_firmware\u0027 and \u0027load_system_firmware\u0027 have too many\nparameters that are already contained in the updater_config.\nTo simplify the interfaces, we should just pass the updater_config to\n{write,load}_system_firmware, and merge the write_firmware_sections\n(only handling emulation and deciding the diff image) to the\nwrite_system_firmware.\n\nAlso moved the utility functions only used by *_system_firmware (for\nexample is_the_same_programmer and emulate_write_firmware) to the\nupdater_utils.c.\n\nThe emulate_write_firmware is also revised to handle a list of sections\ndirectly (so we don\u0027t need to handle that in write_system_firmware).\n\nBUG\u003dNone\nTEST\u003dmake; build and run test.\nBRANCH\u003dNone\n\nChange-Id: I4d123d12e8057da82d6c301899472e3773f3266e\nSigned-off-by: Hung-Te Lin \u003chungte@chromium.org\u003e\nReviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3508121\nReviewed-by: Yu-Ping Wu \u003cyupingso@chromium.org\u003e\nCommit-Queue: Yu-Ping Wu \u003cyupingso@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c1ac58a5ecd629316fd92b04a7b2f2e2680b03f6",
      "old_mode": 33188,
      "old_path": "futility/updater.c",
      "new_id": "ae51534caa8a37880fdf7551f7c98cc9a15789ae",
      "new_mode": 33188,
      "new_path": "futility/updater.c"
    },
    {
      "type": "modify",
      "old_id": "079f16d4386189c7935be9b964b5c11204fabdde",
      "old_mode": 33188,
      "old_path": "futility/updater_utils.c",
      "new_id": "82813ca7c788c79bfad250bfa3f629d27389573e",
      "new_mode": 33188,
      "new_path": "futility/updater_utils.c"
    },
    {
      "type": "modify",
      "old_id": "3eb1d33c88e89b7d9685c877ac22d9d4816bc724",
      "old_mode": 33188,
      "old_path": "futility/updater_utils.h",
      "new_id": "0376eb3605dd631eec871eab0ce491dc66b00e9f",
      "new_mode": 33188,
      "new_path": "futility/updater_utils.h"
    }
  ]
}
