From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 17 Mar 2007 12:26:54 +1100 From: David Gibson To: Scott Wood Subject: Re: [PATCH 07/17] bootwrapper: Add dt_set_memory(), to fill in the /memory node. Message-ID: <20070317012654.GE3969@localhost.localdomain> References: <20070316172641.GA29709@ld0162-tx32.am.freescale.net> <20070316172848.GG29784@ld0162-tx32.am.freescale.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20070316172848.GG29784@ld0162-tx32.am.freescale.net> Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, Mar 16, 2007 at 12:28:48PM -0500, Scott Wood wrote: > This adds a library function that platforms can call to fill in the > /memory node with the specified start and size. #address-cells and > #size-cells must be the same, but can be either 1 or 2. > > Signed-off-by: Scott Wood Heh, you read my mind. I was in the process of making up a patch with a helper function almost identical to this. However, #address-cells=2, #size-cells=1 is common enough that we really need to support that case. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson