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: 95811 Delivered-To: patch@linaro.org Received: by 10.182.3.34 with SMTP id 2csp338714obz; Wed, 22 Mar 2017 11:22:45 -0700 (PDT) X-Received: by 10.99.45.3 with SMTP id t3mr46073549pgt.162.1490206965117; Wed, 22 Mar 2017 11:22:45 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x40si2688153plb.230.2017.03.22.11.22.44; Wed, 22 Mar 2017 11:22:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965601AbdCVSWa (ORCPT + 11 others); Wed, 22 Mar 2017 14:22:30 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:41913 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965536AbdCVSVq (ORCPT ); Wed, 22 Mar 2017 14:21:46 -0400 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>; 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 Cc: Sekhar Nori , Sergei Shtylyov , Kevin Hilman , Arnd Bergmann , Russell King , Dmitry Eremin-Solenikov , linux-ide@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, b.zolnierkie@samsung.com 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+ S4AcIyGwmVFi1e4JUEXWEoePXwRrZhbgk+j9/YQJYj6vREebEESJh8SiJQ1QuxwlrrR0s8KD Yd22G6wTGGUWMDKsYhRLLSjOTU8tNi0w0StOzC0uzUvXS87P3cQITgtaETsY/80IOsQowMGo xMPL0XgpQog1say4MvcQowQHs5IIb/keoBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHeKIOJEUIC 6YklqdmpqQWpRTBZJg5OqQZGrx711S7mq9eu31vz+yrn3audgYbrJ3gLuU26vvMkT6nAIWGe fAv7p44dC4XdfjY5aSyS0Jy3xDz9pMjD77c63u82r59Wbbokp+ThLa2297szsy7Ndy12X77B zDHiQ9ZGufCgA+GaZZuUO63K30v1tiYcnyY45eH7JXwVPxnabG492G2kdfioEktxRqKhFnNR cSIAsReNpgcDAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprGIsWRmVeSWpSXmKPExsVy+t9jQd3tBy5FGEz8J2rxd9IxdouNM9az Wkx68p7Z4mf7FiaLTY+vsVoc2/GIyeLyrjlsFrcv81rs793AZHFm1S12i1/LjzI6cHu0NPew efz+NYnR4/2NVnaPB1P/M3nsnHWX3WPTqk42j81L6j36tqxi9Dh+YzuTx+dNcgFcUW42GamJ KalFCql5yfkpmXnptkqhIW66FkoKeYm5qbZKEbq+IUFKCmWJOaVAnpEBGnBwDnAPVtK3S3DL eLR5MmPBb/6KazeOsTYwfuTtYuTkkBAwkbjW0coGYYtJXLi3Hsjm4hASmMUocWn7dijnF6PE 9MbpTCBVbAJWEhPbVzGC2CICshJXpj1kBCliFvjGJLHz7S92kISwgLfElAPPWbsYOThYBFQl nn40ATF5BTwk5n11gFgmJ3Hy2GSwCk4BT4mHrRogYSGgii8LZ7NOYORdwMiwilEitSC5oDgp PdcoL7Vcrzgxt7g0L10vOT93EyM4Tp5J72A8vMv9EKMAB6MSD29EzaUIIdbEsuLK3EOMEhzM SiK85XuAQrwpiZVVqUX58UWlOanFhxhNga6ayCwlmpwPjOG8knhDE3MTc2MDC3NLSxMjJXHe xtnPwoUE0hNLUrNTUwtSi2D6mDg4pRoY+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?q?Bartlomiej_Zolnierkiewicz=1BSRPOL-Kernel_=28TP?= =?utf-8?b?KRvsgrzshLHsoITsnpAbU2VuaW9yIFNvZnR3YXJlIEVuZ2luZWVy?= X-Global-Sender: =?utf-8?q?Bartlomiej_Zolnierkiewicz=1BSRPOL-Kernel_=28TP?= =?utf-8?q?=29=1BSamsung_Electronics=1BSenior_Software_Engineer?= X-Sender-Code: =?utf-8?q?C10=1BEHQ=1BC10CD02CD027392?= CMS-TYPE: 105P X-HopCount: 7 X-CMS-RootMailID: 20170322182143epcas5p3ed7e25912e24ae67b5593d2baaf63791 X-RootMTR: 20170322182143epcas5p3ed7e25912e24ae67b5593d2baaf63791 References: <1490206862-26065-1-git-send-email-b.zolnierkie@samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 1.9.1 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)