]> err.no Git - linux-2.6/commit
[POWERPC] U-boot passes the initrd as start/end, not start/size.
authorScott Wood <scottwood@freescale.com>
Fri, 11 May 2007 17:52:03 +0000 (03:52 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 12 May 2007 01:32:48 +0000 (11:32 +1000)
commitdab4d7984ee61c8eb25569b12e7a996f5aaef2ba
tree5b6ff1e3ca2be89cb2811060c6e91a40b1aa9214
parent36bd2836f39d9c256689475432dd7d36eda1c491
[POWERPC] U-boot passes the initrd as start/end, not start/size.

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>
arch/powerpc/boot/cuboot-83xx.c
arch/powerpc/boot/cuboot-85xx.c