summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/cuboot-85xx.c
Commit message (Collapse)AuthorAgeFilesLines
* [POWERPC] bootwrapper: convert cuboot-8{3,5}xx to dt_fixup_mac_address_by_aliasKumar Gala2008-01-231-2/+3
| | | | Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* [POWERPC] Use embedded libfdt in the bootwrapperDavid Gibson2007-12-111-1/+1
| | | | | | | | | | | | | | | 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>
* [POWERPC] bootwrapper: Move linker symbols into ops.hScott Wood2007-08-221-1/+0
| | | | | | | | Most of these were previously used by numerous C files and redeclared in each one. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
* [POWERPC] Consolidate cuboot initialization codeDavid Gibson2007-06-141-11/+2
| | | | | | | | | | | | | | | | The various cuboot platforms (i.e. pre-device tree aware u-boot for 83xx, 85xx and Ebony) share a certain amount of code for parsing the boot parameters. To a certain extent that's inevitable, since they platforms have different definitions of the bd_t structure. However, with some macro work and a helper function, this patch improves the situation a bit. In the process, this fixes a bug on Ebony, which was incorrectly handling the parameters passed form u-boot for the command line (the bug was copied from 83xx and 85xx which have subsequently been fixed). Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
* [POWERPC] U-boot passes the initrd as start/end, not start/size.Scott Wood2007-05-121-1/+1
| | | | | | | | | | The boot wrapper platform init code on 83xx and 85xx using the cuboot platform type was incorrectly assuming that u-boot supplied the size of the initrd, whereas it actually supplies the end address. This fixes it. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
* [POWERPC] bootwrapper: cuImage for 85xxScott Wood2007-04-271-0/+69
Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Paul Mackerras <paulus@samba.org>