From patchwork Wed Jan 18 23:27:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 9524995 Return-Path: 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 7DACD6020B for ; Wed, 18 Jan 2017 23:32:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6D9712860D for ; Wed, 18 Jan 2017 23:32:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 623882863D; Wed, 18 Jan 2017 23:32:36 +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.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C2B9B2860D for ; Wed, 18 Jan 2017 23:32:35 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cTziU-0003XF-TM; Wed, 18 Jan 2017 23:32:34 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cTzdr-0006ph-Nm for linux-arm-kernel@lists.infradead.org; Wed, 18 Jan 2017 23:27:50 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 9ED3A60908; Wed, 18 Jan 2017 23:27:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1484782048; bh=tCFf4jvIV3T4VyZzCF1ANnrFQfBOVvQrYrB/H4mJBqY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Uf9dLjpPDm99QhCYzCSpFMjTNl9GTsuzzEQYJVt9zyrV8ASjubXPq0PD12mRJfIVz H40QkkVXUtn9DYmeIPqL72nocShjhR1aECxGJ2buKvg06hMtaW2YXOCnCkbUUf2tqn E0z64OFau3sd2QKaYIxvFR+/Hw2svMC7qBdXnkwM= Received: from sboyd-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sboyd@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 106F4608C5; Wed, 18 Jan 2017 23:27:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1484782048; bh=tCFf4jvIV3T4VyZzCF1ANnrFQfBOVvQrYrB/H4mJBqY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Uf9dLjpPDm99QhCYzCSpFMjTNl9GTsuzzEQYJVt9zyrV8ASjubXPq0PD12mRJfIVz H40QkkVXUtn9DYmeIPqL72nocShjhR1aECxGJ2buKvg06hMtaW2YXOCnCkbUUf2tqn E0z64OFau3sd2QKaYIxvFR+/Hw2svMC7qBdXnkwM= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 106F4608C5 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sboyd@codeaurora.org From: Stephen Boyd To: Andy Gross Subject: [PATCH 3/5] ARM: qcom: Remove SoC specific configs Date: Wed, 18 Jan 2017 15:27:24 -0800 Message-Id: <20170118232726.22876-4-sboyd@codeaurora.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170118232726.22876-1-sboyd@codeaurora.org> References: <20170118232726.22876-1-sboyd@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170118_152747_840364_41D1B718 X-CRM114-Status: GOOD ( 12.15 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP We want to remove the ARCH_MSM* configs in mach-qcom/Kconfig because they are proxy configs for selecting the right clocksource driver and adjusting the text offset and there is no difference between ARCH_MSM8X60 and ARCH_MSM8960 anymore. Furthermore, there aren't configs for all the SoCs supported by the mainline kernel, leading to confusion about which SoCs are supported. So just select the qcom clocksource driver all the time and rely on users selecting HAVE_ARM_ARCH_TIMER in their defconfig for SoCs that use the architected timer. This should simplify things. Finally, since we're here alphabetize the select list under ARCH_QCOM. Signed-off-by: Stephen Boyd --- arch/arm/mach-qcom/Kconfig | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/arch/arm/mach-qcom/Kconfig b/arch/arm/mach-qcom/Kconfig index 46ed10a807f0..16fc13246926 100644 --- a/arch/arm/mach-qcom/Kconfig +++ b/arch/arm/mach-qcom/Kconfig @@ -2,29 +2,10 @@ menuconfig ARCH_QCOM bool "Qualcomm Support" depends on ARCH_MULTI_V7 select ARCH_SUPPORTS_BIG_ENDIAN - select ARM_GIC select ARM_AMBA + select ARM_GIC + select CLKSRC_QCOM select PINCTRL select QCOM_SCM if SMP help Support for Qualcomm's devicetree based systems. - -if ARCH_QCOM - -config ARCH_MSM8X60 - bool "Enable support for MSM8X60" - select CLKSRC_QCOM - -config ARCH_MSM8960 - bool "Enable support for MSM8960" - select CLKSRC_QCOM - -config ARCH_MSM8974 - bool "Enable support for MSM8974" - select HAVE_ARM_ARCH_TIMER - -config ARCH_MDM9615 - bool "Enable support for MDM9615" - select CLKSRC_QCOM - -endif