From patchwork Thu Sep 17 06:33:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 7202631 X-Patchwork-Delegate: horms@verge.net.au 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 490F59F380 for ; Thu, 17 Sep 2015 06:33:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 41991208C9 for ; Thu, 17 Sep 2015 06:33:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 617B62081F for ; Thu, 17 Sep 2015 06:33:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753544AbbIQGdW (ORCPT ); Thu, 17 Sep 2015 02:33:22 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:36345 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752696AbbIQGdV (ORCPT ); Thu, 17 Sep 2015 02:33:21 -0400 Received: by padhk3 with SMTP id hk3so11481988pad.3; Wed, 16 Sep 2015 23:33:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=0Xt2etKeoN9ZwhXUMBcv0e9WM1Dov9dflHC6V6plITE=; b=j5AFb4ARmmAusRKNiqZb9GKzp4i2I7rXGqFpSbZwARRFsF1MhICtk4B5EAK+ezlPG7 o3Nhkru0aBiAKiN/ydfM388+QHXDOXejwAecMuH3fYVE56kD+N4hw2tw23mHpaBOaJLE qg93CjWwYPTzvu95QUgjdYJqkl6RwFkLDKnI7sdb3ka/xo0JhyLNwMvieo6aJ8RDCNLw D5xAEDTwh0ORk8hgvqWi/IaUvvICDbstkfgk96oX1m4Knd0HMzi31T0tUM0ZS5hUivo2 ZfmA2yySemY3uXPvD7Eeyyu8ylN+1DTlL0ixlzMdMDYzLBXGqgF3TGG5t9eher+bV9tc n1VA== X-Received: by 10.66.186.141 with SMTP id fk13mr68691850pac.7.1442471600875; Wed, 16 Sep 2015 23:33:20 -0700 (PDT) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id as4sm1664457pbc.48.2015.09.16.23.33.17 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Sep 2015 23:33:19 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, lorenzo.pieralisi@arm.com, keita.kobayashi.ym@renesas.com, horms@verge.net.au, geert@linux-m68k.org, laurent.pinchart@ideasonboard.com, Magnus Damm Date: Thu, 17 Sep 2015 15:33:19 +0900 Message-Id: <20150917063319.26016.37729.sendpatchset@little-apple> In-Reply-To: <20150917063240.26016.93772.sendpatchset@little-apple> References: <20150917063240.26016.93772.sendpatchset@little-apple> Subject: [PATCH v3 04/09] ARM: shmobile: r8a7793 boot address 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=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, 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 Extend the R-Car Gen2 PM code to include r8a7793 boot address configuration information. r8a7793 boots from ICRAM1. Signed-off-by: Magnus Damm --- Changes from V2: - New patch arch/arm/mach-shmobile/pm-rcar-gen2.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 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/mach-shmobile/pm-rcar-gen2.c +++ work/arch/arm/mach-shmobile/pm-rcar-gen2.c 2015-09-16 22:08:12.610513000 +0900 @@ -28,6 +28,7 @@ /* On-chip RAM */ #define MERAM 0xe8080000 #define RAM 0xe6300000 +#define ICRAM1 0xe63c0000 /* SYSC */ #define SYSCIER 0x0c @@ -78,10 +79,12 @@ void __init rcar_gen2_pm_init(void) if (of_machine_is_compatible("renesas,r8a7790")) { boot_vector_addr = MERAM; syscier = 0x013111ef; - } else if (of_machine_is_compatible("renesas,r8a7791")) { boot_vector_addr = RAM; syscier = 0x00111003; + } else if (of_machine_is_compatible("renesas,r8a7793")) { + boot_vector_addr = ICRAM1; + syscier = 0x00111003; } /* RAM for jump stub, because BAR requires 256KB aligned address */