[PATCH 07/17] bootwrapper: Add dt_set_memory(), to fill in the /memory node.

David Gibson david at gibson.dropbear.id.au
Sat Mar 17 12:26:54 EST 2007


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 <scottwood at freescale.com>

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



More information about the Linuxppc-dev mailing list