On 09/15/2012 11:00 AM, Tabi Timur-B04825 wrote: > On Sat, Sep 15, 2012 at 9:36 AM, Jerry Van Baren <gvb.ub...@gmail.com> wrote: > >> Queued up 2 of 2 patches to the u-boot-fdt "next" branch. I'll issue a >> pull request when the merge window opens. > > I thought libfdt patches were suppose to go to dtc.git?
That is where they came from. Since the u-boot libfdt is a subset of the whole dtc.git repository (just the libfdt part), I've been cherry picking only the libfdt/* patches (with the help of others). I see David has another patch for the libfdt library that I probably should pick up so that we stay in sync (18 lines of code by counting semicolons). commit be6026838e45b67800ac803f4ad8cca3cde57d6d Author: David Gibson <da...@gibson.dropbear.id.au> Date: Fri Jun 1 14:12:38 2012 +1000 libfdt: Add helper function to create a trivial, empty tree The libfdt read/write functions are now usable enough that it's become a moderately common pattern to use them to build and manipulate a device tree from scratch. For example, we do so ourself in our rw_tree1 testcase, and qemu is starting to use this model when building device trees for some targets such as e500. However, the read/write functions require some sort of valid tree to begin with, so this necessitates either having a trivial canned dtb to begin with or, more commonly, creating an empty tree using the serial-write functions first. This patch adds a helper function which uses the serial-write functions to create a trivial, empty but complete and valid tree in a supplied buffer, ready for manipulation with the read/write functions. Signed-off-by: David Gibson <da...@gibson.dropbear.id.au> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot