)]}'
{
  "commit": "6ca88b0958d90afc43d09a0dee245c5254959003",
  "tree": "172bc149e4ba7e86488f31a0b7311b8a915cc7d1",
  "parents": [
    "e46fedfeb214d118b9983d11fcc929ed49f5ccd7"
  ],
  "author": {
    "name": "Timur Tabi",
    "email": "timur@freescale.com",
    "time": "Wed Aug 03 16:30:10 2011 -0500"
  },
  "committer": {
    "name": "Kumar Gala",
    "email": "galak@kernel.crashing.org",
    "time": "Thu Sep 29 19:01:04 2011 -0500"
  },
  "message": "powerpc/85xx: relocate CCSR before creating the initial RAM area\n\nBefore main memory (DDR) is initialized, the on-chip L1 cache is used as a\nmemory area for the stack and the global data (gd_t) structure.  This is\ncalled the initial RAM area, or initram.  The L1 cache is locked and the TLBs\npoint to a non-existent address (so that there\u0027s no chance it will overlap\nmain memory or any device).  The L1 cache is also configured not to write\nout to memory or the L2 cache, so everything stays in the L1 cache.\n\nOne of the things we might do while running out of initram is relocate CCSR.\nOn reset, CCSR is typically located at some high 32-bit address, like\n0xfe000000, and this may not be the best place for CCSR.  For example, on\n36-bit systems, CCSR is relocated to 0xffe000000, near the top of 36-bit\nmemory space.\n\nOn some future Freescale SOCs, the L1 cache will be forced to write to the\nbacking store, so we can no longer have the TLBs point to non-existent address.\nInstead, we will point the TLBs to an unused area in CCSR.  In order for this\ntechnique to work, CCSR needs to be relocated before the initram memory is\nenabled.\n\nUnlike the original CCSR relocation code in cpu_init_early_f(), the TLBs\nwe create now for relocating CCSR are deleted after the relocation is finished.\ncpu_init_early_f() will still need to create a TLB for CCSR (at the new\nlocation) for normal U-Boot purposes.  This is done to keep the impact to\nexisting U-Boot code minimal and to better isolate the CCSR relocation code.\n\nSigned-off-by: Timur Tabi \u003ctimur@freescale.com\u003e\nSigned-off-by: Kumar Gala \u003cgalak@kernel.crashing.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "32aa94b612ca0ada037d2dacb890c20e53c31ee6",
      "old_mode": 33188,
      "old_path": "arch/powerpc/cpu/mpc85xx/cpu_init_early.c",
      "new_id": "64eda9454134016897f09f7affb8114751a796d5",
      "new_mode": 33188,
      "new_path": "arch/powerpc/cpu/mpc85xx/cpu_init_early.c"
    },
    {
      "type": "modify",
      "old_id": "878a3d67e8219748af10fed2c69b330f5867acee",
      "old_mode": 33188,
      "old_path": "arch/powerpc/cpu/mpc85xx/start.S",
      "new_id": "d89d18ce810bc7945304488aa5bc1e18df25eae2",
      "new_mode": 33188,
      "new_path": "arch/powerpc/cpu/mpc85xx/start.S"
    }
  ]
}
