)]}'
{
  "commit": "35af89eb491a0741005e474626053266e6e635b7",
  "tree": "6813c0457dedacd221a2014bda37d0c892c328cd",
  "parents": [
    "f79e083c2fab601a1c382282344f5a251557dbac"
  ],
  "author": {
    "name": "David Gibson",
    "email": "david@gibson.dropbear.id.au",
    "time": "Tue Nov 21 11:37:37 2006 +1100"
  },
  "committer": {
    "name": "Paul Mackerras",
    "email": "paulus@samba.org",
    "time": "Mon Dec 04 20:39:34 2006 +1100"
  },
  "message": "[POWERPC] Cleanup zImage handling of kernel entry with flat device tree\n\nThis makes 2 changes to clean up the flat device tree handling\nlogic in the zImage wrapper.\n\nFirst, there were two callbacks from the dt_ops structure used for\nproducing a final flat tree to pass to the kerne: dt_ops.ft_pack()\nwhich packed the flat tree (possibly a no-op) and dt_ops.ft_addr()\nwhich retreived the address of the final blob.  Since they were only\never called together, this patch combines the two into a single new\ncallback, dt_ops.finalize().  This new callback does whatever\nplatform-dependent things are necessary to produce a final flat device\ntree blob, and returns the blob\u0027s addres.\n\nSecond, the current logic calls the kernel with a flat device tree if\none is build into the zImage wrapper, otherwise it boots the kernel\nwith a PROM pointer, expecting the kernel to copy the OF device tree\nitself.  This approach precludes the possibility of the platform\nwrapper code building a flat device tree from whatever\nplatform-specific information firmware provides.  Thus, this patch\ntakes the more sensible approach of invoking the kernel with a flat\ntree if the dt_ops.finalize callback provides one (by whatever means).\n\nSo, the dt_ops.finalize callback can be NULL, or can be a function\nwhich returns NULL.  In either case, the zImage wrapper logic assumes\nthat this is a platform with OF and invokes the kernel accordingly.\n\nSigned-off-by: David Gibson \u003cdwg@au1.ibm.com\u003e\nSigned-off-by: Paul Mackerras \u003cpaulus@samba.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c7f9adbf827d071077ddb487df7826ffacf7e811",
      "old_mode": 33188,
      "old_path": "arch/powerpc/boot/flatdevtree_misc.c",
      "new_id": "04da38fa477f541f020080348279c14e255267c4",
      "new_mode": 33188,
      "new_path": "arch/powerpc/boot/flatdevtree_misc.c"
    },
    {
      "type": "modify",
      "old_id": "630a453e16fa3d9b7f68c2abe3538e06e5cd9898",
      "old_mode": 33188,
      "old_path": "arch/powerpc/boot/main.c",
      "new_id": "6f6b50d238b6fa17a19f62552c2560610967927b",
      "new_mode": 33188,
      "new_path": "arch/powerpc/boot/main.c"
    },
    {
      "type": "modify",
      "old_id": "59832fb0f2760e3333c66d956b260d42ac34f724",
      "old_mode": 33188,
      "old_path": "arch/powerpc/boot/ops.h",
      "new_id": "8abb6516bb7c1833a90fb8341ac459751728b921",
      "new_mode": 33188,
      "new_path": "arch/powerpc/boot/ops.h"
    }
  ]
}
