From patchwork Wed Mar 22 18:21:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 9639801 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 DCDD760328 for ; Wed, 22 Mar 2017 18:23:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D6FCD28354 for ; Wed, 22 Mar 2017 18:23:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CB70028420; Wed, 22 Mar 2017 18:23:02 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3EE5F2846F for ; Wed, 22 Mar 2017 18:23:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-reply-to:Message-id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=mIAXerfq+AS0vhFmk3OUf8HyuRvdKMhfIPLbUDc1zZ8=; b=LqoDQzEs+f1FVaxbBrgyaNG5UC 7H6YXm/NOgNZsSHp6ZRjjG2u3lVNoNbTw8eGBrHfkZKFL94AASs/DFNcvZ64NTipGs8hpsaXG9iUk /xjeaNucEklKZeZMf+exfxw5hrFzVvBuVbN+91+UyZQi02hvOJwCt3n/TJrOI7gYcX8vdVcOUFxpR 9kbdVc+vmmLZEZJlsq8g9oXf2Pa02YUC4sDuZqtfy17A6q4yS/1CIvWMtnWTA9yyQo/iLS91mKJ0g x7Y2/L3onAxNLlolZ684b8UipCd+ar8LcazWDEIT97UhbASl8uqIY0DDuvMtfzwa1fNVyUksBqdI4 4JTfAy4g==; 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 1cqkuT-0003Yh-HX; Wed, 22 Mar 2017 18:23:01 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cqkta-0002Az-20 for linux-arm-kernel@lists.infradead.org; Wed, 22 Mar 2017 18:22:08 +0000 Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0ON8008DKB087490@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 23 Mar 2017 03:21:44 +0900 (KST) Received: from epsmges5p4.samsung.com (unknown [182.195.42.88]) by epcas5p1.samsung.com (KnoxPortal) with ESMTP id 20170322182143epcas5p173f27ff674c5be6573eced105e5739ea~uR0iUCStX2989329893epcas5p1p; Wed, 22 Mar 2017 18:21:43 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p4.samsung.com (EPCPMTA) with SMTP id 3E.43.04908.7B0C2D85; Thu, 23 Mar 2017 03:21:43 +0900 (KST) Received: from epcpsbgm2new.samsung.com (u27.gpu120.samsung.co.kr [203.254.230.27]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20170322182143epcas5p3ed7e25912e24ae67b5593d2baaf63791~uR0h_rwew1779717797epcas5p3Y; Wed, 22 Mar 2017 18:21:43 +0000 (GMT) X-AuditID: b6c32a58-f79f16d00000132c-39-58d2c0b75768 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id B4.7E.06422.7B0C2D85; Thu, 23 Mar 2017 03:21:43 +0900 (KST) Received: from AMDC3058.DIGITAL.local ([106.120.53.102]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0ON8005Z0AZJ9P00@mmp2.samsung.com>; Thu, 23 Mar 2017 03:21:43 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Tejun Heo Subject: [PATCH v3 4/5] ARM: davinci: add pata_bk3710 libata driver support Date: Wed, 22 Mar 2017 19:21:01 +0100 Message-id: <1490206862-26065-5-git-send-email-b.zolnierkie@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1490206862-26065-1-git-send-email-b.zolnierkie@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrCIsWRmVeSWpSXmKPExsWy7bCmhu72A5ciDF4d1bb4O+kYu8XGGetZ LSY9ec9s8bN9C5PFpsfXWC2O7XjEZHF51xw2i9uXeS32925gsjiz6ha7xa/lRxkduD1amnvY PH7/msTo8f5GK7vHg6n/mTx2zrrL7rFpVSebx+Yl9R59W1Yxehy/sZ3J4/MmuQCuKC6blNSc zLLUIn27BK6MR5snMxb85q+4duMYawPjR94uRk4OCQETiY1zz7FD2GISF+6tZ+ti5OIQEljK KLH9yzomCKedSWLW9rMsMB3XOlqhquYwSry40wLl/GKUeHp+ARtIFZuAlcTE9lWMILaIgKzE lWkPGUGKmAW+MEls6LwIlhAW8JaYcuA5axcjBweLgKrE048mICavgIfEvK8OEMvkJE4emwxW wSngKfGwVQMivIldYvb9HJCwBND0TQeYIcIuEmsWdrJC2MISr45vgXpMWuLv0luMEPZ0oMd+ S4AcIyGwmVFi1e4JUEXW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UE0hNLUrNTUwtSi2D6mDg4pRoY+4J21RZE5+9N604JXeF41M+ndXrw4RONiekxdQw9 wSxna8SWyhzNWaAseePt/8O3JTveC3lHurWFZO680aX3S4bz++P9pja7Gf/9Db/Equ3VvtOb t2yz6NZjdu2LvZk+cPtPvDhN/vPywqXMqsGRWb+fPH4j9O/SwRlCn+Y8+X558eMP2c0HlViK MxINtZiLihMBpm8grKkCAAA= X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170322182143epcas5p3ed7e25912e24ae67b5593d2baaf63791 X-Msg-Generator: CA X-Sender-IP: 203.254.230.27 X-Local-Sender: =?UTF-8?B?QmFydGxvbWllaiBab2xuaWVya2lld2ljehtTUlBPTC1LZXJu?= =?UTF-8?B?ZWwgKFRQKRvsgrzshLHsoITsnpAbU2VuaW9yIFNvZnR3YXJlIEVuZ2luZWVy?= X-Global-Sender: =?UTF-8?B?QmFydGxvbWllaiBab2xuaWVya2lld2ljehtTUlBPTC1LZXJu?= =?UTF-8?B?ZWwgKFRQKRtTYW1zdW5nIEVsZWN0cm9uaWNzG1NlbmlvciBTb2Z0d2FyZSBF?= =?UTF-8?B?bmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjczOTI=?= CMS-TYPE: 105P X-HopCount: 7 X-CMS-RootMailID: 20170322182143epcas5p3ed7e25912e24ae67b5593d2baaf63791 X-RootMTR: 20170322182143epcas5p3ed7e25912e24ae67b5593d2baaf63791 References: <1490206862-26065-1-git-send-email-b.zolnierkie@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170322_112206_277000_4B0B3ACA X-CRM114-Status: GOOD ( 12.88 ) 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: Russell King , Sergei Shtylyov , Arnd Bergmann , b.zolnierkie@samsung.com, Dmitry Eremin-Solenikov , Kevin Hilman , Sekhar Nori , linux-kernel@vger.kernel.org, linux-ide@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 From: Sekhar Nori Signed-off-by: Sekhar Nori [b.zolnierkie: split from bigger patch + preserved old driver support] Signed-off-by: Bartlomiej Zolnierkiewicz --- arch/arm/mach-davinci/board-dm644x-evm.c | 3 ++- arch/arm/mach-davinci/board-dm646x-evm.c | 3 ++- arch/arm/mach-davinci/board-neuros-osd2.c | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-davinci/board-dm644x-evm.c b/arch/arm/mach-davinci/board-dm644x-evm.c index 023480b..20f1874 100644 --- a/arch/arm/mach-davinci/board-dm644x-evm.c +++ b/arch/arm/mach-davinci/board-dm644x-evm.c @@ -744,7 +744,8 @@ static int davinci_phy_fixup(struct phy_device *phydev) return 0; } -#define HAS_ATA IS_ENABLED(CONFIG_BLK_DEV_PALMCHIP_BK3710) +#define HAS_ATA (IS_ENABLED(CONFIG_BLK_DEV_PALMCHIP_BK3710) || \ + IS_ENABLED(CONFIG_PATA_BK3710)) #define HAS_NOR IS_ENABLED(CONFIG_MTD_PHYSMAP) diff --git a/arch/arm/mach-davinci/board-dm646x-evm.c b/arch/arm/mach-davinci/board-dm646x-evm.c index f702d4f..cb17682 100644 --- a/arch/arm/mach-davinci/board-dm646x-evm.c +++ b/arch/arm/mach-davinci/board-dm646x-evm.c @@ -119,7 +119,8 @@ }, }; -#define HAS_ATA IS_ENABLED(CONFIG_BLK_DEV_PALMCHIP_BK3710) +#define HAS_ATA (IS_ENABLED(CONFIG_BLK_DEV_PALMCHIP_BK3710) || \ + IS_ENABLED(CONFIG_PATA_BK3710)) #ifdef CONFIG_I2C /* CPLD Register 0 bits to control ATA */ diff --git a/arch/arm/mach-davinci/board-neuros-osd2.c b/arch/arm/mach-davinci/board-neuros-osd2.c index 0a78388..0c02aaa 100644 --- a/arch/arm/mach-davinci/board-neuros-osd2.c +++ b/arch/arm/mach-davinci/board-neuros-osd2.c @@ -163,7 +163,8 @@ static void __init davinci_ntosd2_map_io(void) .wires = 4, }; -#define HAS_ATA IS_ENABLED(CONFIG_BLK_DEV_PALMCHIP_BK3710) +#define HAS_ATA (IS_ENABLED(CONFIG_BLK_DEV_PALMCHIP_BK3710) || \ + IS_ENABLED(CONFIG_PATA_BK3710)) #define HAS_NAND IS_ENABLED(CONFIG_MTD_NAND_DAVINCI)