From patchwork Mon Jun 10 09:19:56 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 2696311 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id DF6DB3FD4E for ; Mon, 10 Jun 2013 09:12:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752700Ab3FJJM1 (ORCPT ); Mon, 10 Jun 2013 05:12:27 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:51389 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752155Ab3FJJM1 (ORCPT ); Mon, 10 Jun 2013 05:12:27 -0400 Received: by mail-pb0-f46.google.com with SMTP id rq2so2008502pbb.33 for ; Mon, 10 Jun 2013 02:12:26 -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=ha7zoetoT3YkDXLXSoyam5yug+3YeUZcPR/XUSWds30=; b=mMc42qupOZVBiHYxVMGXyvK9JGO5aB8EuwIna1GdtF19pAZuru65doBLE6c0tUFn69 iCI8dclEK96S4HpEcb7yeu+AjPfpRbhjhgPHtqZNUaT8ZuWqGGHZo6bLrkAdPTg+mqWo NYgi6PEJkvQuKQTQ7Z8dNyW/UeeE4hXq88dNTmZGzeIEDEulrjfANDAQfp6v7c6eYYV7 kfx1k6LpDKdTOURBzffUe3u+5PPey382dtAsRVzKHFivKAw79zP3wcpzQD40kCbz/+qW VdpOKIPcMLpvvleXnay/20rTH0DlmZds9hPs33mAid8H4U75ya2n5QOcLqcT/y4I7P2+ FrCA== X-Received: by 10.68.1.34 with SMTP id 2mr9070512pbj.3.1370855546754; Mon, 10 Jun 2013 02:12:26 -0700 (PDT) Received: from [127.0.0.1] (ac230065.ppp.asahi-net.or.jp. [183.77.230.65]) by mx.google.com with ESMTPSA id iq6sm4396234pbc.1.2013.06.10.02.12.24 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Jun 2013 02:12:25 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: arnd@arndb.de, horms@verge.net.au, laurent.pinchart@ideasonboard.com, olof@lixom.net, Magnus Damm , linux-arm-kernel@lists.infradead.org Date: Mon, 10 Jun 2013 18:19:56 +0900 Message-Id: <20130610091956.18944.57224.sendpatchset@w520> In-Reply-To: <20130610091925.18944.68117.sendpatchset@w520> References: <20130610091925.18944.68117.sendpatchset@w520> Subject: [PATCH 03/06] ARM: shmobile: r8a7779 SMP with SCU boot fn and args Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org From: Magnus Damm Let r8a7779 make use of shmobile_boot_fn and shmobile_boot_arg together with shmobile_boot_scu and the SCU base address. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/smp-r8a7779.c | 6 ++++-- 1 file changed, 4 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/mach-shmobile/smp-r8a7779.c +++ work/arch/arm/mach-shmobile/smp-r8a7779.c 2013-06-05 14:58:21.000000000 +0900 @@ -101,8 +101,10 @@ static void __init r8a7779_smp_prepare_c { scu_enable(shmobile_scu_base); - /* Map the reset vector (in headsmp-scu.S) */ - __raw_writel(__pa(shmobile_secondary_vector_scu), AVECR); + /* Map the reset vector (in headsmp-scu.S, headsmp.S) */ + __raw_writel(__pa(shmobile_boot_vector), AVECR); + shmobile_boot_fn = virt_to_phys(shmobile_boot_scu); + shmobile_boot_arg = (unsigned long)shmobile_scu_base; /* enable cache coherency on booting CPU */ scu_power_mode(shmobile_scu_base, SCU_PM_NORMAL);