[POWERPC] Use embedded libfdt in the bootwrapper
authorDavid Gibson <david@gibson.dropbear.id.au>
Mon, 10 Dec 2007 03:28:39 +0000 (14:28 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 11 Dec 2007 02:46:14 +0000 (13:46 +1100)
commit2f0dfeaa84a8eea56218b77ffc61ed3dd7181847
treefe17563bf38c2cc92df7ae997f70ff788eb9fa6b
parent1cade99497c881a8c719df561d1bdc96831ff040
[POWERPC] Use embedded libfdt in the bootwrapper

This incorporates libfdt (from the source embedded in an earlier
commit) into the wrapper.a library used by the bootwrapper.  This
includes adding a libfdt_env.h file, which the libfdt sources need in
order to integrate into the bootwrapper environment, and a
libfdt-wrapper.c which provides glue to connect the bootwrapper's
abstract device tree callbacks to the libfdt functions.

In addition, this changes the various wrapper and platform files to
use libfdt functions instead of the older flatdevtree.c library.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
18 files changed:
arch/powerpc/boot/Makefile
arch/powerpc/boot/bamboo.c
arch/powerpc/boot/cuboot-52xx.c
arch/powerpc/boot/cuboot-83xx.c
arch/powerpc/boot/cuboot-85xx.c
arch/powerpc/boot/cuboot-8xx.c
arch/powerpc/boot/cuboot-hpc2.c
arch/powerpc/boot/cuboot-pq2.c
arch/powerpc/boot/cuboot-sequoia.c
arch/powerpc/boot/ebony.c
arch/powerpc/boot/ep88xc.c
arch/powerpc/boot/holly.c
arch/powerpc/boot/libfdt-wrapper.c [new file with mode: 0644]
arch/powerpc/boot/libfdt_env.h [new file with mode: 0644]
arch/powerpc/boot/ops.h
arch/powerpc/boot/prpmc2800.c
arch/powerpc/boot/ps3.c
arch/powerpc/boot/treeboot-walnut.c