Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936542AbcKNE7z (ORCPT ); Sun, 13 Nov 2016 23:59:55 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:51703 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935985AbcKNE7t (ORCPT ); Sun, 13 Nov 2016 23:59:49 -0500 X-AuditID: cbfee61a-f79916d0000062de-9a-582944b596a7 From: Pankaj Dubey To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: rmk+kernel@armlinux.org.uk, arnd@arndb.de, horms@verge.net.au, magnus.damm@gmail.com, geert+renesas@glider.be, vireshk@kernel.org, shiraz.linux.kernel@gmail.com, krzk@kernel.org, thomas.ab@samsung.com, Pankaj Dubey , Stephen Warren , linux-tegra@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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 782 Lines: 25 Now as we have of_scu_enable which takes care of mapping scu base from DT, lets use it. CC: Stephen Warren CC: linux-tegra@vger.kernel.org Signed-off-by: Pankaj Dubey --- arch/arm/mach-tegra/platsmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = { -- 2.7.4