diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2007-12-09 22:28:39 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-10 21:46:14 -0500 |
commit | 2f0dfeaa84a8eea56218b77ffc61ed3dd7181847 (patch) | |
tree | fe17563bf38c2cc92df7ae997f70ff788eb9fa6b /arch/powerpc/boot/ops.h | |
parent | 1cade99497c881a8c719df561d1bdc96831ff040 (diff) |
[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/ops.h')
-rw-r--r-- | arch/powerpc/boot/ops.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/boot/ops.h b/arch/powerpc/boot/ops.h index a180b6505f47..28df2c5a9761 100644 --- a/arch/powerpc/boot/ops.h +++ b/arch/powerpc/boot/ops.h | |||
@@ -80,6 +80,7 @@ extern struct loader_info loader_info; | |||
80 | 80 | ||
81 | void start(void); | 81 | void start(void); |
82 | int ft_init(void *dt_blob, unsigned int max_size, unsigned int max_find_device); | 82 | int ft_init(void *dt_blob, unsigned int max_size, unsigned int max_find_device); |
83 | void fdt_init(void *blob); | ||
83 | int serial_console_init(void); | 84 | int serial_console_init(void); |
84 | int ns16550_console_init(void *devp, struct serial_console_data *scdp); | 85 | int ns16550_console_init(void *devp, struct serial_console_data *scdp); |
85 | int mpsc_console_init(void *devp, struct serial_console_data *scdp); | 86 | int mpsc_console_init(void *devp, struct serial_console_data *scdp); |