From: Ian Campbell Subject: Re: [PATCH] xen/dts: fix DT_ROOT_NODE_ADDR_CELLS_DEFAULT Date: Mon, 9 Sep 2013 15:07:58 +0100 Message-ID: <1378735678.19967.156.camel@kazak.uk.xensource.com> References: <1378727947-3775-1-git-send-email-julien.grall@linaro.org> <1378728505.19967.90.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1378728505.19967.90.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: patches@linaro.org, xen-devel@lists.xen.org, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Mon, 2013-09-09 at 13:08 +0100, Ian Campbell wrote: > On Mon, 2013-09-09 at 12:59 +0100, Julien Grall wrote: > > The commit dbd1243 "xen/arm: Add helpers to use the device tree" introduced > > DT_ROOT_NODE_ADDR_CELLS_DEFAULT with is used for default value when #address-cells > > is not found in the device tree. This value is wrong due to a bad copy from Linux > > code. > > > > The ePAR (section 2.3.5) says: "If missing, a client program should assume a > > default value of 2 for #address-cells, and a value of 1 for #size-cells." > > > > Signed-off-by: Julien Grall > > Acked-by: Ian Campbell applied.