From patchwork Fri Jun 6 06:40:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 4310061 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 50D1CBEEAA for ; Fri, 6 Jun 2014 06:38:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B0E88201BA for ; Fri, 6 Jun 2014 06:38:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D597020171 for ; Fri, 6 Jun 2014 06:38:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751667AbaFFGiY (ORCPT ); Fri, 6 Jun 2014 02:38:24 -0400 Received: from mail-pd0-f178.google.com ([209.85.192.178]:47976 "EHLO mail-pd0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750840AbaFFGiX (ORCPT ); Fri, 6 Jun 2014 02:38:23 -0400 Received: by mail-pd0-f178.google.com with SMTP id v10so2181312pde.37 for ; Thu, 05 Jun 2014 23:38:23 -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=bt8FYDiVIcZuqNIc2SLfys6Tdkjdj46JminDeoKvNu0=; b=b0PKxYjijuD47kFoGXe9a4rSqeJLBdY/YAsAq9T2+7Zu4lgMhSfP1coLk7gjJNx4W7 bfwD4yiE/Y59jJkkZI+DyVkFKr++CHddWXLpuWsEpWoMbHM7/OYfGx5QNkz7+sr1BEdD mnVAVmSkxv0TQCgLP/3KTuooOEa8KHE1ZyLzECo8/FAm6NCnw0UHLEp9H496gzvgip/+ GfJZ2viT8u1pNW8cGYe4TjE0lMnhVVYfQDIzeUaWuhsyrMN2Agb+GywlwG/U7XmOeVc5 zgyquuNxLbkfdRvV/6jQff6uQ/v4IbkCSNJvhDok3uAQZrVk7f+JbljF8FGDd7I1+VDe rYkQ== X-Received: by 10.68.201.10 with SMTP id jw10mr5314384pbc.25.1402036702967; Thu, 05 Jun 2014 23:38:22 -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 rc3sm31639723pbc.5.2014.06.05.23.38.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Jun 2014 23:38:21 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , horms@verge.net.au, geert@linux-m68k.org Date: Fri, 06 Jun 2014 15:40:26 +0900 Message-Id: <20140606064026.14410.80482.sendpatchset@w520> Subject: [PATCH v2] 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. With this change in place the code gets aligned with the documentation. 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 Changes since V1: - Updated commit log to include reason 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 {