)]}'
{
  "commit": "9ebed3e60f9991e980e6c38b0edbdf9c8ff2ff6d",
  "tree": "d4fd5614e4bcf3257abc5c59909b47a95b3c89c3",
  "parents": [
    "f0797881d59ab93d7d92c55411e0573977d909d4"
  ],
  "author": {
    "name": "Anton Vorontsov",
    "email": "avorontsov@ru.mvista.com",
    "time": "Tue Mar 18 19:34:03 2008 +0300"
  },
  "committer": {
    "name": "David Woodhouse",
    "email": "dwmw2@infradead.org",
    "time": "Tue Apr 22 20:50:31 2008 +0100"
  },
  "message": "[MTD] [NAND] fsl_elbc_nand: fix mtd name\n\nCurrently fsl_elbc_nand doesn\u0027t initialize mtd-\u003ename, and this causes\nnand_get_flash_type() to assign name that is equal to chip type, like\nthis:\n\n   root@b1:~# cat /proc/mtd\n   dev:    size   erasesize  name\n   mtd0: 00800000 00010000 \"fe000000.flash\"\n   mtd1: 02000000 00004000 \"NAND 32MiB 3,3V 8-bit\"\n\nmtd0 is physmap_of flash (normal name), and mtd1 is fsl_elbc_nand.\n\nDespite inconsistency, with mtd name like this specifying paritions\nfrom the kernel command line becomes a torture (though, I didn\u0027t tried\nand not sure if mtdparts\u003d can handle spaces at all). Plus, this causes\nreal bugs when multiple fsl_elbc_nand chips registered.\n\nWith this patch applied fsl_elbc_nand chip will have proper name:\n\n   root@b1:~# cat /proc/mtd\n   dev:    size   erasesize  name\n   mtd0: 00800000 00010000 \"fe000000.flash\"\n   mtd1: 02000000 00004000 \"e0600000.flash\"\n\np.s. We can\u0027t use priv-\u003edev-\u003ebus_id as in physmap_of, because\nfsl_elbc_nand pretends to be a localbus controller, so its bus_id is\n\"address.localbus\", which is incorrect and thus will also not work\nfor multiple chips.\n\nSigned-off-by: Anton Vorontsov \u003cavorontsov@ru.mvista.com\u003e\nSigned-off-by: David Woodhouse \u003cdwmw2@infradead.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b9f9f22cd860e6f6bd167e9a8271736d3e32d3b6",
      "old_mode": 33188,
      "old_path": "drivers/mtd/nand/fsl_elbc_nand.c",
      "new_id": "cb12b67ce5ef3190dab30724b7d27f48d7b2ff6d",
      "new_mode": 33188,
      "new_path": "drivers/mtd/nand/fsl_elbc_nand.c"
    }
  ]
}
