)]}'
{
  "commit": "dfcd7f21607fd847236b04bb1a8d59a7c10ab99c",
  "tree": "9ac85d9a068b220c0988ce224cf450664e30a494",
  "parents": [
    "b81830f6e3b3e6ed114d071eb107965e49fa9b5a"
  ],
  "author": {
    "name": "Wolfgang Denk",
    "email": "wd@denx.de",
    "time": "Fri May 15 00:16:03 2009 +0200"
  },
  "committer": {
    "name": "Wolfgang Denk",
    "email": "wd@denx.de",
    "time": "Thu Jun 04 00:16:16 2009 +0200"
  },
  "message": "Redundant Environment: protect full sector size\n\nSeveral boards used different ways to specify the size of the\nprotected area when enabling flash write protection for the sectors\nholding the environment variables: some used CONFIG_ENV_SIZE and\nCONFIG_ENV_SIZE_REDUND, some used CONFIG_ENV_SECT_SIZE, and some even\na mix of both for the \"normal\" and the \"redundant\" areas.\n\nNormally, this makes no difference at all. However, things are\ndifferent when you have to deal with boards that can come with\ndifferent types of flash chips, which may have different sector\nsizes.\n\nHere we may have to chose CONFIG_ENV_SECT_SIZE such that it fits the\nbiggest sector size, which may include several sectors on boards using\nthe smaller sector flash types. In such a case, using CONFIG_ENV_SIZE\nor CONFIG_ENV_SIZE_REDUND to enable the protection may lead to the\ncase that only the first of these sectors get protected, while the\nfollowing ones aren\u0027t.\n\nThis is no real problem, but it can be confusing for the user -\nespecially on boards that use CONFIG_ENV_SECT_SIZE to protect the\n\"normal\" areas, while using CONFIG_ENV_SIZE_REDUND for the\n\"redundant\" area.\n\nTo avoid such inconsistencies, I changed all sucn boards that I found\nto consistently use CONFIG_ENV_SECT_SIZE for protection. This should\nnot cause any functional changes to the code.\n\nSigned-off-by: Wolfgang Denk \u003cwd@denx.de\u003e\nCc: Paul Ruhland\nCc: Pantelis Antoniou \u003cpanto@intracom.gr\u003e\nCc: Stefan Roese \u003csr@denx.de\u003e\nCc: Gary Jennejohn \u003cgaryj@denx.de\u003e\nCc: Dave Ellis \u003cDGE@sixnetio.com\u003e\nAcked-by: Stefan Roese \u003csr@denx.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a13b827fb2baf2dd7e7472de8ebf138b444b390b",
      "old_mode": 33188,
      "old_path": "board/lpd7a40x/flash.c",
      "new_id": "a3ba75b8938d52d258de46ac54de429e2ad20e25",
      "new_mode": 33188,
      "new_path": "board/lpd7a40x/flash.c"
    },
    {
      "type": "modify",
      "old_id": "14cf08da3f7abc53b776ccb99d73446b6b48534d",
      "old_mode": 33188,
      "old_path": "board/mcc200/mcc200.c",
      "new_id": "9fa1d3ae75c56eb5a5398371d1c90199173437e3",
      "new_mode": 33188,
      "new_path": "board/mcc200/mcc200.c"
    },
    {
      "type": "modify",
      "old_id": "8852127e61e38b350ce2a1e18d000e4fe1be2055",
      "old_mode": 33188,
      "old_path": "board/netphone/flash.c",
      "new_id": "349d98e73830839cf0f8e685ba6c21802f608657",
      "new_mode": 33188,
      "new_path": "board/netphone/flash.c"
    },
    {
      "type": "modify",
      "old_id": "45e6b30102d43a89c2c2bb8705b39b6cf9cdaaec",
      "old_mode": 33188,
      "old_path": "board/netta/flash.c",
      "new_id": "565fd67c6eab7846d8f18a5c44be75797d6fdd21",
      "new_mode": 33188,
      "new_path": "board/netta/flash.c"
    },
    {
      "type": "modify",
      "old_id": "b63f459519049a76f19209e4277bb1ad1af1cea1",
      "old_mode": 33188,
      "old_path": "board/netta2/flash.c",
      "new_id": "53a4e1eb20957ab25a117d3c0d0d4ae5e0b4a264",
      "new_mode": 33188,
      "new_path": "board/netta2/flash.c"
    },
    {
      "type": "modify",
      "old_id": "98479a50b8f87d20ffc77f4568620d615b216298",
      "old_mode": 33188,
      "old_path": "board/netvia/flash.c",
      "new_id": "b9874347b95718d5774fd341abf3353ad68cb05d",
      "new_mode": 33188,
      "new_path": "board/netvia/flash.c"
    },
    {
      "type": "modify",
      "old_id": "abaf0b4d24af018ca4b3f36a43e5f71b4819c91e",
      "old_mode": 33188,
      "old_path": "board/pleb2/flash.c",
      "new_id": "a8897dcffe82bc317bb90584e6509adfabcdc290",
      "new_mode": 33188,
      "new_path": "board/pleb2/flash.c"
    },
    {
      "type": "modify",
      "old_id": "351aed1e113a4b05924d24250feeed6715766169",
      "old_mode": 33188,
      "old_path": "board/prodrive/pdnb3/flash.c",
      "new_id": "fe8d100083c6503b7d88083644e71ba917c49ca0",
      "new_mode": 33188,
      "new_path": "board/prodrive/pdnb3/flash.c"
    },
    {
      "type": "modify",
      "old_id": "a3ab851d2c79bdd27130ced3f37c5a50590711b8",
      "old_mode": 33188,
      "old_path": "board/rmu/flash.c",
      "new_id": "283b19d045c9cd2e24521c3533070cde74d16428",
      "new_mode": 33188,
      "new_path": "board/rmu/flash.c"
    },
    {
      "type": "modify",
      "old_id": "46b5786fe6d0ef8a6f612749c1a5656889d1ec32",
      "old_mode": 33188,
      "old_path": "board/samsung/smdk2400/flash.c",
      "new_id": "fb69c21a45056d9cde2b16f23861e639c8f1fb7d",
      "new_mode": 33188,
      "new_path": "board/samsung/smdk2400/flash.c"
    },
    {
      "type": "modify",
      "old_id": "a8dfca82461752e0f0adb61f1b2cb6f81ba50f3b",
      "old_mode": 33188,
      "old_path": "board/sixnet/flash.c",
      "new_id": "20908021cdbfb0a77bdf1963ac988402c3388087",
      "new_mode": 33188,
      "new_path": "board/sixnet/flash.c"
    },
    {
      "type": "modify",
      "old_id": "df9696e69a39cc8d6aed6ea6d209e093f00ab0bc",
      "old_mode": 33188,
      "old_path": "board/socrates/socrates.c",
      "new_id": "51d66d517e9608b0208a8714aefea710c5a2cba8",
      "new_mode": 33188,
      "new_path": "board/socrates/socrates.c"
    },
    {
      "type": "modify",
      "old_id": "a70fd2694cf71bbdcae5c81b9c1696ae3cc27662",
      "old_mode": 33188,
      "old_path": "board/tqc/tqm85xx/tqm85xx.c",
      "new_id": "ab0e0dd883817af20f45c274fef5c5b503c56055",
      "new_mode": 33188,
      "new_path": "board/tqc/tqm85xx/tqm85xx.c"
    },
    {
      "type": "modify",
      "old_id": "2bbb70b76dba75bdaa04cff122d3e5702c43e764",
      "old_mode": 33188,
      "old_path": "board/trab/flash.c",
      "new_id": "4e89c4102728fae360049346aac63acfa1c946ce",
      "new_mode": 33188,
      "new_path": "board/trab/flash.c"
    },
    {
      "type": "modify",
      "old_id": "175d82a792043fe7ea662bc7b81649499541afe8",
      "old_mode": 33188,
      "old_path": "drivers/mtd/cfi_flash.c",
      "new_id": "d0732f53fa002f7c7cb838013b31d9e3dbd1d472",
      "new_mode": 33188,
      "new_path": "drivers/mtd/cfi_flash.c"
    }
  ]
}
