diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2007-12-10 04:28:39 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-11 03:46:14 +0100 |
commit | 2f0dfeaa84a8eea56218b77ffc61ed3dd7181847 (patch) | |
tree | fe17563bf38c2cc92df7ae997f70ff788eb9fa6b /arch/powerpc/boot/ps3.c | |
parent | [POWERPC] Merge libfdt upstream source (diff) | |
download | linux-2f0dfeaa84a8eea56218b77ffc61ed3dd7181847.tar.xz linux-2f0dfeaa84a8eea56218b77ffc61ed3dd7181847.zip |
[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>
Diffstat (limited to 'arch/powerpc/boot/ps3.c')
-rw-r--r-- | arch/powerpc/boot/ps3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/boot/ps3.c b/arch/powerpc/boot/ps3.c index d6661151b494..3b0ac4d006ec 100644 --- a/arch/powerpc/boot/ps3.c +++ b/arch/powerpc/boot/ps3.c @@ -131,7 +131,7 @@ void platform_init(void) printf("\n-- PS3 bootwrapper --\n"); simple_alloc_init(_end, heapsize, 32, 64); - ft_init(_dtb_start, 0, 4); + fdt_init(_dtb_start); chosen = finddevice("/chosen"); |