Message ID | 1479099731-28108-11-git-send-email-pankaj.dubey@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E380760484 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 14 Nov 2016 05:04:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D4F81288B4 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 14 Nov 2016 05:04:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C912A288F7; Mon, 14 Nov 2016 05:04:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7D8E9288B4 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 14 Nov 2016 05:04:05 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c69PT-0000Ns-Ud; Mon, 14 Nov 2016 05:02:23 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c69Mx-0005x4-EQ for linux-arm-kernel@lists.infradead.org; Mon, 14 Nov 2016 04:59:49 +0000 Received: from epcpsbgm1new.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OGM00LQ78IMQU50@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 14 Nov 2016 13:59:33 +0900 (KST) X-AuditID: cbfee61a-f79916d0000062de-9a-582944b596a7 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id 11.33.25310.5B449285; Mon, 14 Nov 2016 13:59:33 +0900 (KST) Received: from pankaj.sisodomain.com ([107.108.83.125]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OGM009SR8IFBJ70@mmp2.samsung.com>; Mon, 14 Nov 2016 13:59:33 +0900 (KST) From: Pankaj Dubey <pankaj.dubey@samsung.com> To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 10/16] ARM: tegra: use generic API for enabling SCU Date: Mon, 14 Nov 2016 10:32:05 +0530 Message-id: <1479099731-28108-11-git-send-email-pankaj.dubey@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1479099731-28108-1-git-send-email-pankaj.dubey@samsung.com> References: <1479099731-28108-1-git-send-email-pankaj.dubey@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrGIsWRmVeSWpSXmKPExsVy+t9jQd2tLpoRBo+3GVj8nXSM3WLu7EmM Fs1bvzJanD+/gd1i0+NrrBaXd81hs+j8MovN4sHqt2wWi7Z+Ybe41D+RyWL+t5OsFq8OtrFY dCxjtNj84BibA5/H5WsXmT1+/5rE6DHxrK7Hzll32T02repk89i8pN6jb8sqRo85P7+xeHze JOexcW5oAFeUm01GamJKapFCal5yfkpmXrqtUmiIm66FkkJeYm6qrVKErm9IkJJCWWJOKZBn ZIAGHJwD3IOV9O0S3DIeND1jLljJVvFo1ivWBsb1rF2MnBwSAiYS775vZoSwxSQu3FvP1sXI xSEkMItRoq3jLzOE85NRYuHBfewgVWwCuhJP3s9lBrFFBNwkbjR2MIEUMQscYpJ4tvIb2Fhh AWeJCfueMoHYLAKqEke3ngCL8wp4Siw5c5gFYp2cxM1znWCDOIHiczrPsIHYQgIeEs9vXGec wMi7gJFhFaNEakFyQXFSeq5hXmq5XnFibnFpXrpecn7uJkZwHD2T2sF4cJf7IUYBDkYlHt4D ZpoRQqyJZcWVuYcYJTiYlUR4XW2AQrwpiZVVqUX58UWlOanFhxhNgQ6byCwlmpwPjPG8knhD E3MTc2MDC3NLSxMjJXHextnPwoUE0hNLUrNTUwtSi2D6mDg4pRoYxc5N0i1IY2+sEox7XnPP JVjB7eyic2vN+URXq8pFhmzjSlFU3OPBX9DfY3Gx3PBpWNniW/E2snX7JvjfMlU69U8oOXHu U4Upk15diFlV+asggnNl9Zn8dLmik/yvPd7OnCyx4Sx7vvyCxLbL92201TYLrkid+mvyvlLH r0+vcAa0KXX59r5VYinOSDTUYi4qTgQAPfXWzrkCAAA= X-MTR: 20000000000000000@CPGS X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161113_205947_823213_9366E598 X-CRM114-Status: GOOD ( 10.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: arnd@arndb.de, geert+renesas@glider.be, Stephen Warren <swarren@wwwdotorg.org>, vireshk@kernel.org, magnus.damm@gmail.com, krzk@kernel.org, rmk+kernel@armlinux.org.uk, horms@verge.net.au, thomas.ab@samsung.com, Pankaj Dubey <pankaj.dubey@samsung.com>, linux-tegra@vger.kernel.org, shiraz.linux.kernel@gmail.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm/mach-tegra/platsmp.c b/arch/arm/mach-tegra/platsmp.c index 75620ae..3467617 100644 --- a/arch/arm/mach-tegra/platsmp.c +++ b/arch/arm/mach-tegra/platsmp.c @@ -179,7 +179,7 @@ static void __init tegra_smp_prepare_cpus(unsigned int max_cpus) cpumask_set_cpu(0, &tegra_cpu_init_mask); if (scu_a9_has_base()) - scu_enable(IO_ADDRESS(scu_a9_get_base())); + of_scu_enable(); } const struct smp_operations tegra_smp_ops __initconst = {
Now as we have of_scu_enable which takes care of mapping scu base from DT, lets use it. CC: Stephen Warren <swarren@wwwdotorg.org> CC: linux-tegra@vger.kernel.org Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com> --- arch/arm/mach-tegra/platsmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)