From patchwork Thu Jun 5 06:06:01 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 4303361 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 300039F326 for ; Thu, 5 Jun 2014 06:04:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 46865201F7 for ; Thu, 5 Jun 2014 06:04:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 68A2F201EF for ; Thu, 5 Jun 2014 06:03:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751220AbaFEGD7 (ORCPT ); Thu, 5 Jun 2014 02:03:59 -0400 Received: from mail-pb0-f44.google.com ([209.85.160.44]:46269 "EHLO mail-pb0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751169AbaFEGD6 (ORCPT ); Thu, 5 Jun 2014 02:03:58 -0400 Received: by mail-pb0-f44.google.com with SMTP id rq2so626548pbb.3 for ; Wed, 04 Jun 2014 23:03:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:subject; bh=jTCYqC5/WBfmovHADLVzCBHD4sCHslSpoAE8bJHV83g=; b=q2MSMKq9Y0MDJ2VzJrVeD1u9QbLyHGcJy6PaC/6YT4EbUG0LpBe5uTVGMghVR+G9P6 0xwB6HLXW5jZXwgpKT3P1EWzfrCiikytfLg2s3nd/sPkRtIQHUPEJDBRPdZNY1gnsb4s ErOC29/ZbAqGY35T1TjBYmA/gN79Ln8bph4JBQlvQHqn5yJsLu3QMlC4mX4amY9fZqTT st751MZOnlhQAsI+uDsIdaakh/UJUsQkh8+k1MOPFcycPH/ngxfBA07CTzCIOJPInU9R V5HbooZUhkbsLNYE3QPVHOIYsjC0Cs+eStQtQ8Ov+kDmD+tSkeaEUf2UMpRvtEDohiDI sLSw== X-Received: by 10.68.202.194 with SMTP id kk2mr71913078pbc.156.1401948237856; Wed, 04 Jun 2014 23:03:57 -0700 (PDT) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by mx.google.com with ESMTPSA id wg7sm18180559pbc.73.2014.06.04.23.03.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Jun 2014 23:03:57 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , horms@verge.net.au Date: Thu, 05 Jun 2014 15:06:01 +0900 Message-Id: <20140605060601.12351.26135.sendpatchset@w520> Subject: [PATCH] ARM: shmobile: Lager memory map update Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Update the Lager DTS to make use of the new unified legacy memory map where the legacy window on Lager and Koelsch have the same size. After update the Lager board has the following map: Bank0: 1GiB RAM (Legacy 32-bit: 0x40000000->0x7fffffff) Bank1: 3GiB RAM (LPAE area: 0x140000000->0x1ffffffff) Before the update the old map looked like this: Bank0: 2GiB RAM (Legacy 32-bit: 0x40000000->0xbfffffff) Bank1: 2GiB RAM (LPAE area: 0x180000000->0x1ffffffff) Tested with and without LPAE on r8a7790 Lager. Signed-off-by: Magnus Damm --- Written against renesas-devel-v3.15-rc8-20140605 arch/arm/boot/dts/r8a7790-lager.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0001/arch/arm/boot/dts/r8a7790-lager.dts +++ work/arch/arm/boot/dts/r8a7790-lager.dts 2014-06-05 14:49:42.000000000 +0900 @@ -29,12 +29,12 @@ memory@40000000 { device_type = "memory"; - reg = <0 0x40000000 0 0x80000000>; + reg = <0 0x40000000 0 0x40000000>; }; memory@180000000 { device_type = "memory"; - reg = <1 0x80000000 0 0x80000000>; + reg = <1 0x40000000 0 0xc0000000>; }; lbsc {