From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from de01egw01.freescale.net (de01egw01.freescale.net [192.88.165.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "de01egw01.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTP id 9C227DDE23 for ; Tue, 15 May 2007 01:51:16 +1000 (EST) Message-ID: <46488562.4080502@freescale.com> Date: Mon, 14 May 2007 10:50:58 -0500 From: Scott Wood MIME-Version: 1.0 To: Stephen Rothwell Subject: Re: [PATCH] U-boot passes the initrd as start/end, not start/size. References: <20070511175202.GA14644@ld0162-tx32.am.freescale.net> <20070512134529.fe14f441.sfr@canb.auug.org.au> In-Reply-To: <20070512134529.fe14f441.sfr@canb.auug.org.au> Content-Type: text/plain; charset=us-ascii; format=flowed Cc: linuxppc-dev@ozlabs.org, paulus@samba.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Stephen Rothwell wrote: > On Fri, 11 May 2007 12:52:03 -0500 Scott Wood 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