)]}'
{
  "commit": "ebf53f421308c2f59c9bcbad4c5c297a0d00199a",
  "tree": "1ec5084484bcaea259a210147cb278af4286f7e6",
  "parents": [
    "fe96efc1a3c049f0a1bcd9b65e0faeb751ce5ec6"
  ],
  "author": {
    "name": "Artem Bityutskiy",
    "email": "Artem.Bityutskiy@nokia.com",
    "time": "Mon Jul 06 08:57:53 2009 +0300"
  },
  "committer": {
    "name": "Artem Bityutskiy",
    "email": "Artem.Bityutskiy@nokia.com",
    "time": "Tue Jul 07 11:37:45 2009 +0300"
  },
  "message": "UBI: fix NOR flash recovery\n\nThis commit fixes NOR flash recovery issues observed with Spansion\nS29GL512N NOR.\n\nWhen NOR erases, it first fills PEBs with zeroes, then sets all bytes\nto 0xFF. Filling with zeroes starts from the end of the PEB. And when\npower is cut, this results in PEBs containing correct EC and VID headers\nbut corrupted with zeros at the end. This confuses UBI and it mistakinly\naccepts these PEBs and associate them with LEBs.\n\nFis this issue by zeroing EC and VID magics before erasing PEBs, to\nmake UBI later refuse zem.\n\nSigned-off-by: Artem Bityutskiy \u003cArtem.Bityutskiy@nokia.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "db0b9cb64c6ce71adcae019efabe44b0a69dc5ac",
      "old_mode": 33188,
      "old_path": "drivers/mtd/ubi/build.c",
      "new_id": "e1f7d0a78b9d58e28a2b6c1fdad43423cddd3956",
      "new_mode": 33188,
      "new_path": "drivers/mtd/ubi/build.c"
    },
    {
      "type": "modify",
      "old_id": "1ea14218de0217d1ad3eece75879923d6d3446f6",
      "old_mode": 33188,
      "old_path": "drivers/mtd/ubi/io.c",
      "new_id": "c3bd2e34c6420947d0ce1fd3e23ae1badaa6ee87",
      "new_mode": 33188,
      "new_path": "drivers/mtd/ubi/io.c"
    },
    {
      "type": "modify",
      "old_id": "64604e8809eca919fb1b3c289e4daa755e19b0c9",
      "old_mode": 33188,
      "old_path": "drivers/mtd/ubi/ubi.h",
      "new_id": "6a5fe963378367ab48f871cbd6893d56d4ed454e",
      "new_mode": 33188,
      "new_path": "drivers/mtd/ubi/ubi.h"
    }
  ]
}
