From patchwork Thu Mar 27 12:23:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 3897851 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6F8529F334 for ; Thu, 27 Mar 2014 12:24:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A577D2012E for ; Thu, 27 Mar 2014 12:24:37 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (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 A3BBA2021A for ; Thu, 27 Mar 2014 12:24:36 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WT9MF-0005gm-Hl; Thu, 27 Mar 2014 12:24:31 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WT9MD-0004Lp-1U; Thu, 27 Mar 2014 12:24:29 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WT9M9-0004JK-3v for linux-arm-kernel@lists.infradead.org; Thu, 27 Mar 2014 12:24:26 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N3300MGZH402680@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 27 Mar 2014 21:24:00 +0900 (KST) X-AuditID: cbfee61b-b7f456d000006dfd-04-53341860148f Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 39.95.28157.06814335; Thu, 27 Mar 2014 21:24:00 +0900 (KST) Received: from amdc1032.localnet ([106.116.147.136]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N3300FLPH3XI930@mmp1.samsung.com>; Thu, 27 Mar 2014 21:24:00 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Tejun Heo Subject: [PATCH v3] ata: fix Marvell SATA driver dependencies Date: Thu, 27 Mar 2014 13:23:39 +0100 Message-id: <1668037.2oe7J2B7N4@amdc1032> User-Agent: KMail/4.8.4 (Linux/3.2.0-54-generic-pae; KDE/4.8.5; i686; ; ) MIME-version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrPLMWRmVeSWpSXmKPExsVy+t9jAd0ECZNgg+VnhSzO3z3EbLGp7S2j ReOSyywWmx5fY7U4tuMRk8XlXXPYLN7/dLT4tfwoowOHx5NNFxk9ds66y+6xaVUnm0fDgfMs HpuX1Hvs3PGZyePzJrkA9igum5TUnMyy1CJ9uwSujHf9N1kK+nkqGrYLNTBO5epi5OCQEDCR WL5IvouRE8gUk7hwbz1bFyMXh5DAIkaJp3snskA4LUwST19+ZwWpYhOwkpjYvooRxBYRkJW4 Mu0hI0gRs8BsJonJL1+zgCSEBWwlpvb+YQKxWQRUJR5862UG2cYroCnRdjEMJCwq4CmxY/tK NhCbV0BQ4sfke2CtzALyEvv2T2WFsLUk1u88zjSBkW8WkrJZSMpmISlbwMi8ilE0tSC5oDgp PddIrzgxt7g0L10vOT93EyM4mJ9J72Bc1WBxiFGAg1GJh3fHfaNgIdbEsuLK3EOMEhzMSiK8 t4VNgoV4UxIrq1KL8uOLSnNSiw8xSnOwKInzHmy1DhQSSE8sSc1OTS1ILYLJMnFwSjUwytX5 Gwf4zC607tv8rKFPaKpec+mBL1tmqHy+P/XlhluZbyt+Rig020ksWJd0XLDzwEu5cxNn9Wi8 /XFc4oLF4uh+7zzT6EUap6cnX90kG35xT6LzwpwNda9+fXDXttsyg/+dtZPv3P6HW03ZQz/P 26i5g3vWu8X8e3auMFJw6Zw9XXCG+XzGOUosxRmJhlrMRcWJAKfQvLtiAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140327_082425_366485_B02DE5AC X-CRM114-Status: GOOD ( 11.25 ) X-Spam-Score: -7.3 (-------) Cc: Andrew Lunn , Jason Cooper , linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, Gregory Clement , linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 Make sata_mv host driver depend on PCI || ARCH_DOVE || ARCH_KIRKWOOD || ARCH_MV78XX0 || ARCH_MVEBU || ARCH_ORION5X config options as Marvell SATA support covers both Marvell PCI devices and Marvell Dove, Kirkwood, MV78xx0, Armada 370/XP and Orion5x SoCs (for non-PCI devices the driver to work requires suitable device tree node to be defined). Additionally allow the driver build if COMPILE_TEST config option is set. Cc: Jason Cooper Cc: Andrew Lunn Cc: Gregory Clement Cc: Sebastian Hesselbarth Signed-off-by: Bartlomiej Zolnierkiewicz --- v3: - added dependencies for Marvel Dove and MV78xx0 v2: - resynced patch with libata/for-3.15 branch (previous patch was against libata/for-next branch and SATA_MV selects GENERIC_PHY in that branch) drivers/ata/Kconfig | 2 ++ 1 file changed, 2 insertions(+) Index: b/drivers/ata/Kconfig =================================================================== --- a/drivers/ata/Kconfig 2014-03-26 17:59:35.000000000 +0100 +++ b/drivers/ata/Kconfig 2014-03-27 13:14:24.097787880 +0100 @@ -281,6 +281,8 @@ config SATA_HIGHBANK config SATA_MV tristate "Marvell SATA support" + depends on PCI || ARCH_DOVE || ARCH_KIRKWOOD || ARCH_MV78XX0 || \ + ARCH_MVEBU || ARCH_ORION5X || COMPILE_TEST help This option enables support for the Marvell Serial ATA family. Currently supports 88SX[56]0[48][01] PCI(-X) chips,