[PATCH] U-boot passes the initrd as start/end, not start/size.
Scott Wood
scottwood at freescale.com
Tue May 15 01:50:58 EST 2007
Stephen Rothwell wrote:
> On Fri, 11 May 2007 12:52:03 -0500 Scott Wood <scottwood at freescale.com> wrote:
>
>> loader_info.initrd_addr = r4;
>>- loader_info.initrd_size = r4 ? r5 : 0;
>>+ loader_info.initrd_size = r4 ? r5 - r4 : 0;
>
>
> So do we need a "+ 1" here, or does r5 contain the address past the initrd?
It includes the address past the initrd.
-Scott
More information about the Linuxppc-dev
mailing list