]> git.baikalelectronics.ru Git - kernel.git/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)
commitc4e2373ce528b88849c4bd498f43839a5770b31a
tree2af4decec01306e34031e2a62a3932991b899fbc
parentc737e1b5fac8c78ae85da31efe20b2d0ce8669c0
[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