From patchwork Wed May 8 07:51:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Christophe Dubois X-Patchwork-Id: 242514 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 79D7A2C00DF for ; Wed, 8 May 2013 17:52:32 +1000 (EST) Received: from localhost ([::1]:37609 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZzAs-0007vW-88 for incoming@patchwork.ozlabs.org; Wed, 08 May 2013 03:52:30 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55284) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZzAb-0007vP-2w for qemu-devel@nongnu.org; Wed, 08 May 2013 03:52:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UZzAX-0002QO-6a for qemu-devel@nongnu.org; Wed, 08 May 2013 03:52:13 -0400 Received: from zose-mta12.web4all.fr ([178.33.204.89]:33310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZzAX-0002Pw-0f for qemu-devel@nongnu.org; Wed, 08 May 2013 03:52:09 -0400 Received: from localhost (localhost [127.0.0.1]) by zose-mta12.web4all.fr (Postfix) with ESMTP id A0981861DD for ; Wed, 8 May 2013 09:52:06 +0200 (CEST) Received: from zose-mta12.web4all.fr ([127.0.0.1]) by localhost (zose-mta12.web4all.fr [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id GJ6ULBZrL1yi; Wed, 8 May 2013 09:52:02 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zose-mta12.web4all.fr (Postfix) with ESMTP id 425C8861E2; Wed, 8 May 2013 09:52:02 +0200 (CEST) X-Virus-Scanned: amavisd-new at zose-mta-12.w4a.fr Received: from zose-mta12.web4all.fr ([127.0.0.1]) by localhost (zose-mta12.web4all.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id LzPVEb1_bfcu; Wed, 8 May 2013 09:52:02 +0200 (CEST) Received: from localhost.localdomain (smm49-1-78-235-240-156.fbx.proxad.net [78.235.240.156]) by zose-mta12.web4all.fr (Postfix) with ESMTPSA id EDE0B861DD; Wed, 8 May 2013 09:52:01 +0200 (CEST) From: Jean-Christophe DUBOIS To: qemu-devel@nongnu.org Date: Wed, 8 May 2013 09:51:51 +0200 Message-Id: <1367999511-19546-1-git-send-email-jcd@tribudubois.net> X-Mailer: git-send-email 1.8.1.2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 178.33.204.89 Cc: Jean-Christophe DUBOIS Subject: [Qemu-devel] [PATCH] [ARM] i.MX25: Fix DTS tree for real hardware. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org i.MX25 PDK only has 64 MB DDR Signed-off-by: Jean-Christophe DUBOIS --- arch/arm/board/imx25/dts/3dstack/3dstack.dtsi | 3 ++- arch/arm/board/imx25/dts/3dstack/one_guest_versatile.dts | 5 +---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/arch/arm/board/imx25/dts/3dstack/3dstack.dtsi b/arch/arm/board/imx25/dts/3dstack/3dstack.dtsi index 29ff746..9c59d93 100644 --- a/arch/arm/board/imx25/dts/3dstack/3dstack.dtsi +++ b/arch/arm/board/imx25/dts/3dstack/3dstack.dtsi @@ -27,9 +27,10 @@ * unless specified by "-m" option. If you have * X MB then we will be able to access only first * X MB starting at physical_addr. + * Note: the 3Dstack board only has 64 MB DDR. */ physical_addr = <0x80000000>; - physical_size = <0x08000000>; /* 128 MB */ + physical_size = <0x04000000>; /* 64 MB */ }; soc { diff --git a/arch/arm/board/imx25/dts/3dstack/one_guest_versatile.dts b/arch/arm/board/imx25/dts/3dstack/one_guest_versatile.dts index e6ec7ea..7d5e2d6 100644 --- a/arch/arm/board/imx25/dts/3dstack/one_guest_versatile.dts +++ b/arch/arm/board/imx25/dts/3dstack/one_guest_versatile.dts @@ -10,10 +10,7 @@ /* Update guest0 memory regions */ "devtree attr set /guests/guest0/aspace/mem0 host_physical_addr physaddr 0x82000000", - "devtree attr set /guests/guest0/aspace/mem0 physical_size physsize 0x06000000", - - /* Connect guest0/virtio-net0 netport to netbridge0 */ - "devtree attr set /guests/guest0/aspace/virtio-net0 switch string netbridge0", + "devtree attr set /guests/guest0/aspace/mem0 physical_size physsize 0x02000000", /* Update guest0 flash region */ "devtree attr set /guests/guest0/aspace/nor_flash host_physical_addr physaddr 0x81000000",