From patchwork Thu Mar 27 13:24: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: 3897931 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BA4ACBF540 for ; Thu, 27 Mar 2014 13:25:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D971D201FB for ; Thu, 27 Mar 2014 13:25:44 +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 D21AB201DD for ; Thu, 27 Mar 2014 13:25:43 +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 1WTAJP-000500-FN; Thu, 27 Mar 2014 13:25:39 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WTAJN-0005oj-4K; Thu, 27 Mar 2014 13:25:37 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WTAJI-0005ne-P1 for linux-arm-kernel@lists.infradead.org; Thu, 27 Mar 2014 13:25:34 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N3300EWUJXV7WC0@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 27 Mar 2014 22:25:07 +0900 (KST) X-AuditID: cbfee61b-b7f456d000006dfd-f2-533426b32275 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id BA.0E.28157.3B624335; Thu, 27 Mar 2014 22:25:07 +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 <0N3300I6EJXLCJ50@mmp1.samsung.com>; Thu, 27 Mar 2014 22:25:07 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Tejun Heo Subject: [PATCH v4] ata: fix Marvell SATA driver dependencies Date: Thu, 27 Mar 2014 14:24:39 +0100 Message-id: <13175343.U1fiIXSeHv@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+NgFrrELMWRmVeSWpSXmKPExsVy+t9jAd3NaibBBtvXaFucv3uI2WJT21tG i8Yll1ksNj2+xmpxbMcjJovLu+awWbz/6Wjxa/lRRgcOjyebLjJ67Jx1l91j06pONo+GA+dZ PDYvqffYueMzk8fnTXIB7FFcNimpOZllqUX6dglcGTNXz2YuOMpTMevpT7YGxgNcXYycHBIC JhIz27sYIWwxiQv31rN1MXJxCAksYpRY3LKVEcJpYZJ4fWw3C0gVm4CVxMT2VWAdIgKyElem PQQrYhaYzSQx+eVrsCJhAVuJL82T2UFsFgFViSO/LrKC2LwCWhIre5+zgdiiAp4SO7avZIOI C0r8mHwPrJdZQF5i3/6prBC2lsT6nceZJjDyzUJSNgtJ2SwkZQsYmVcxiqYWJBcUJ6XnGukV J+YWl+al6yXn525iBIf0M+kdjKsaLA4xCnAwKvHw7rhvFCzEmlhWXJl7iFGCg1lJhNdX2SRY iDclsbIqtSg/vqg0J7X4EKM0B4uSOO/BVutAIYH0xJLU7NTUgtQimCwTB6dUA6OljPCR7sPV l2VirGR+KJw4Ur9GWHIV/xIbBdUVh5+YF4dc9/G9Uvsx7aJf9pvb/cpvluWxqWteTLf5dMn1 zEH/Hza/ji9gOtdr7CTydOXCRx11TpFlDza5bmNV9Mx8ajdD933b+UXSXTb8CoX83kWzJh6o Edkcm9j+tcIv48W3BuEujsiOCiWW4oxEQy3mouJEAOgDY7RlAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140327_092533_024410_5702CBBF X-CRM114-Status: GOOD ( 10.81 ) 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 or platform device 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 --- v4: - updated patch description 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,