From: Ian Campbell Subject: Re: [PATCH 7/8] arm, device tree: parse the DTB for RAM location and size Date: Mon, 13 Feb 2012 14:51:44 +0000 Message-ID: <1329144704.31256.114.camel@zakaz.uk.xensource.com> References: <1329139131-27554-1-git-send-email-david.vrabel@citrix.com> <1329139131-27554-8-git-send-email-david.vrabel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1329139131-27554-8-git-send-email-david.vrabel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: David Vrabel Cc: "xen-devel@lists.xensource.com" , Keir Fraser List-Id: xen-devel@lists.xenproject.org On Mon, 2012-02-13 at 13:18 +0000, David Vrabel wrote: > From: David Vrabel > > Prior to setting up the page tables, parse the DTB for the location > and size of RAM. > > Use this information to get the physical address to relocate Xen to in > setup_pagetables(). > > Signed-off-by: David Vrabel > Acked-by: Tim Deegan > --- [...] > xen/common/Makefile | 3 + > xen/common/device_tree.c | 179 +++++++++++++++++++++++++++++++++++++++++ [...] > xen/include/xen/device_tree.h | 36 ++++++++ I'd have preferred these non-ARM bits in a separate patch if possible. I'm going to commit them anyway though on the basis that they are in reality ARM specific unless Keir (or someone else) objects quite soon. Ian.