[POWERPC] Add flatdevtree source
authorMark A. Greer <mgreer@mvista.com>
Mon, 16 Oct 2006 20:50:05 +0000 (13:50 -0700)
committerPaul Mackerras <paulus@samba.org>
Mon, 23 Oct 2006 02:49:18 +0000 (12:49 +1000)
commit6fb4efc68f5c0e095153510dcfa8b54a42e914ba
tree2d03a14beb5ee4cc46e1d1b9f104e9d41b5e9d8e
parentc888554bf95a5a0a6ac3e2389c6bf1e03e9480ba
[POWERPC] Add flatdevtree source

Add the latest version of the flatdevtree code and corresponding glue.

A phandle table now tracks values returned by ft_find_device().
The value returned by ft_find_device() is a phandle which is really
an index into the phandle table.  The phandle table contains the address
of the corresponding node.  When the flat dt is edited/moved, the node
pointers in the phandle table are updated accordingly so no phandles kept
by the caller become stale.

Signed-off-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/Makefile
arch/powerpc/boot/flatdevtree.c [new file with mode: 0644]
arch/powerpc/boot/flatdevtree.h
arch/powerpc/boot/flatdevtree_env.h [new file with mode: 0644]
arch/powerpc/boot/flatdevtree_misc.c [new file with mode: 0644]