]> err.no Git - linux-2.6/commit
[POWERPC] Add device tree utility functions to zImage
authorDavid Gibson <david@gibson.dropbear.id.au>
Thu, 22 Mar 2007 06:02:21 +0000 (17:02 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 12 Apr 2007 17:55:14 +0000 (03:55 +1000)
commit27fbaa9702e548e74dffd21855769f6cedad42bd
tree2af4decec01306e34031e2a62a3932991b899fbc
parent3467bfd340f9ad48f3732415533a2e9c18240b62
[POWERPC] Add device tree utility functions to zImage

This patch adds a library of useful device tree manipulation functions
to the zImage library, for use by platform code.  These functions are
based on the hooks already in dt_ops, so they're not dependent on a
particular device tree implementation.  This patch also slightly
streamlines the code in main.c using these new functions.

This is a consolidation of my work in this area with Scott Wood's
patches to a very similar end.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/Makefile
arch/powerpc/boot/devtree.c [new file with mode: 0644]
arch/powerpc/boot/main.c
arch/powerpc/boot/ops.h