From patchwork Fri Apr 22 06:25:26 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 1157 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:49:44 -0000 Delivered-To: patches@linaro.org Received: by 10.224.80.148 with SMTP id t20cs4338qak; Thu, 21 Apr 2011 23:19:53 -0700 (PDT) Received: by 10.68.5.168 with SMTP id t8mr1234068pbt.342.1303453192481; Thu, 21 Apr 2011 23:19:52 -0700 (PDT) Received: from mail-pw0-f50.google.com (mail-pw0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id y7si8091157pba.264.2011.04.21.23.19.51 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 21 Apr 2011 23:19:52 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of shawn.guo@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of shawn.guo@linaro.org) smtp.mail=shawn.guo@linaro.org Received: by pwi3 with SMTP id 3so333875pwi.37 for ; Thu, 21 Apr 2011 23:19:51 -0700 (PDT) Received: by 10.68.51.129 with SMTP id k1mr1228109pbo.343.1303453191435; Thu, 21 Apr 2011 23:19:51 -0700 (PDT) Received: from localhost.localdomain ([114.216.155.236]) by mx.google.com with ESMTPS id r5sm1800732pbe.101.2011.04.21.23.19.45 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 21 Apr 2011 23:19:50 -0700 (PDT) From: Shawn Guo To: devicetree-discuss@lists.ozlabs.org Cc: linaro-kernel@lists.linaro.org, patches@linaro.org, Shawn Guo Subject: [PATCH] arm/dt: Fix babbage.dts memory node Date: Fri, 22 Apr 2011 14:25:26 +0800 Message-Id: <1303453526-27523-1-git-send-email-shawn.guo@linaro.org> X-Mailer: git-send-email 1.7.4.1 Without device_type property set as memory for the node, the generated dtb can still work when it gets passed to kernel by u-boot, since u-boot will fix it up. But kernel will not boot due to that it fails to parse the memory node, when the dtb is appended to kernel image as it is. The patch adds a property device_type="memory" for memory node to fix the problem. Signed-off-by: Shawn Guo --- It applies on branch devicetree/test. arch/arm/boot/dts/babbage.dts | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/babbage.dts b/arch/arm/boot/dts/babbage.dts index 8f9b47c..4805168 100644 --- a/arch/arm/boot/dts/babbage.dts +++ b/arch/arm/boot/dts/babbage.dts @@ -21,6 +21,7 @@ interrupt-parent = <&tzic>; memory { + device_type = "memory"; reg = <0x90000000 0x20000000>; };