From patchwork Mon May 11 01:27:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6372431 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 568CFBEEE5 for ; Mon, 11 May 2015 01:31:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 914C2203E1 for ; Mon, 11 May 2015 01:31:33 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A38E8203DC for ; Mon, 11 May 2015 01:31:32 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YrcVx-0008Lr-Sl; Mon, 11 May 2015 01:28:13 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YrcVt-0008Jb-0D for linux-arm-kernel@lists.infradead.org; Mon, 11 May 2015 01:28:09 +0000 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NO500GQFW28AB60@mailout1.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 11 May 2015 02:27:44 +0100 (BST) X-AuditID: cbfec7f4-f79c56d0000012ee-9d-55500590390b Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id F6.0A.04846.09500555; Mon, 11 May 2015 02:27:44 +0100 (BST) Received: from localhost.localdomain ([10.252.80.64]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NO500N81W1Z2M10@eusync3.samsung.com>; Mon, 11 May 2015 02:27:44 +0100 (BST) From: Krzysztof Kozlowski To: Kukjin Kim , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 2/2] ARM: EXYNOS: Use of_machine_is_compatible instead of soc_is_exynos4 Date: Mon, 11 May 2015 10:27:26 +0900 Message-id: <1431307646-10779-2-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1431307646-10779-1-git-send-email-k.kozlowski@samsung.com> References: <1431307646-10779-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupjluLIzCtJLcpLzFFi42I5/e/4Vd0JrAGhBnMmsVlsnLGe1eL6l+es Fq9fGFr0P37NbLHp8TVWi8u75rBZzDi/j8mB3WPTqk42j81L6j36tqxi9Pi8SS6AJYrLJiU1 J7MstUjfLoEr48O9/SwFK9kqJnxfwt7AuIq1i5GTQ0LAROJ60xYmCFtM4sK99WwgtpDAUkaJ ie0xXYxcQPZ/RokD1+eAFbEJGEtsXr6EDSQhItDFKDFry28wh1lgIqPE7sML2UGqhAViJRad XcoCYrMIqEpMf3UDbB2vgLvEsm9n2CDWyUmcPDYZLM4p4CGx+d0eRojV7hI7t+9mnMDIu4CR YRWjaGppckFxUnquoV5xYm5xaV66XnJ+7iZGSCh92cG4+JjVIUYBDkYlHt4NJ/1ChVgTy4or cw8xSnAwK4nwmn3zDxXiTUmsrEotyo8vKs1JLT7EKM3BoiTOO3fX+xAhgfTEktTs1NSC1CKY LBMHp1QD47on6+u95Rnm3IoIanA5lM+ean/n7B2l0LplkzqU1KYbywZwewszMVm73xdWirry 0VvQbK1yxM9rkxluMvpaNyv+PN6mwPNM9K3DQZuaz2srI3QYL+xaIc7h2R+1TdtJ/2Zg5MyK 2OAz006Uti6LmRv2ZUV6fZHEt6YLUhlz1fnN1yTmyBgpsRRnJBpqMRcVJwIAdm40LyECAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150510_182809_207122_BA513A01 X-CRM114-Status: GOOD ( 10.68 ) X-Spam-Score: -5.0 (-----) Cc: Chanwoo Choi , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 of_machine_is_compatible() seems to be preferred over soc_is_exynos4(). Signed-off-by: Krzysztof Kozlowski --- Changes since v2: 1. New patch, requested by Kukjin Kim. --- arch/arm/mach-exynos/exynos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index c3bfbba3006d..5917a30eee33 100644 --- a/arch/arm/mach-exynos/exynos.c +++ b/arch/arm/mach-exynos/exynos.c @@ -179,7 +179,7 @@ static void __init exynos_init_io(void) */ void exynos_set_delayed_reset_assertion(bool enable) { - if (soc_is_exynos4()) { + if (of_machine_is_compatible("samsung,exynos4")) { unsigned int tmp, core_id; for (core_id = 0; core_id < num_possible_cpus(); core_id++) {