]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Split low-level OF-related bootloader code into separate files
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 13 Jun 2007 04:52:54 +0000 (14:52 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 14 Jun 2007 12:30:15 +0000 (22:30 +1000)
commitb2795953c14ad709cf27121fd97b6da9c0636a45
tree94442dc3acd51c31222282bb15d6946692448279
parent60c156cde51b9287a03663f45ee143983fb4372d
[POWERPC] Split low-level OF-related bootloader code into separate files

Currently, all OF-related code in the bootloader is contained in of.c.
of.c also provides the platform specific things necessary to boot on
an OF platform.

However, there are platforms (such as PReP) which can include an OF
implementation, but are not bootable as pure OF systems.  For use by
such platforms, this patch splits out the low-level parts of the OF
code (call_prom() and various wrappers thereof) into a new oflib.c
file.  In addition, the code related to bootwrapper console output via
OF are moved to a new ofconsole.c file.  Both these files are included
in the wrapper.a library where they can be used by both full-OF and
partial OF platforms.

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/of.c
arch/powerpc/boot/of.h [new file with mode: 0644]
arch/powerpc/boot/ofconsole.c [new file with mode: 0644]
arch/powerpc/boot/oflib.c [new file with mode: 0644]