From patchwork Tue Mar 14 16:36:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 9623857 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 2E4EF60492 for ; Tue, 14 Mar 2017 16:38:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 19D712852D for ; Tue, 14 Mar 2017 16:38:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0CCE82857C; Tue, 14 Mar 2017 16:38:34 +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 86DA52852D for ; Tue, 14 Mar 2017 16:38:33 +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=X4qkoTDWJejuoUQ17ALGfCdjIT 2tXlYOvc1f4PjieaFh2qGBgMvmGta82ZnDgbtfJn5HMiqcVwSzd1PSTB2i9QMUHau3SZHD+a2Yq+Q FsizbtEBNprslOKIswCGK73VTozcceoUFhuiFZw+gfUom3RsZGR0IoLEmJiZXP+W8NyyzcgybB80C ZjjDAPaBqwes1irWUUa86502Mo/KqOveCvY5ZeEf9jZlCw1BqfmCuFXj1IX3mPYnE4c252IaJtPgR m+E+EHOY8K2c3wPzMv6yTw3T+6EjPKOHJPSDXY7Q24/suBtUsba+IyeJk5dbuE+3Kq2veuplqypQp t1qcuyIg==; 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 1cnpSy-0004iS-M4; Tue, 14 Mar 2017 16:38:32 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cnpSb-00048c-HU for linux-arm-kernel@lists.infradead.org; Tue, 14 Mar 2017 16:38:12 +0000 Received: from epcas5p2.samsung.com (unknown [182.195.41.40]) by mailout4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OMT00H15CUZRP10@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 15 Mar 2017 01:37:47 +0900 (KST) Received: from epsmges5p3.samsung.com (unknown [182.195.42.46]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20170314163746epcas5p42152c9f0dcf036d0418e0545c62fe78e~rzPfT44la3059830598epcas5p4-; Tue, 14 Mar 2017 16:37:46 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p3.samsung.com (EPCPMTA) with SMTP id 4B.AC.04781.A5C18C85; Wed, 15 Mar 2017 01:37:46 +0900 (KST) Received: from epcpsbgm2new.samsung.com (u27.gpu120.samsung.co.kr [203.254.230.27]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20170314163746epcas5p3c934d9a5cde073f33c89c504eaa557ee~rzPezTqeS2044720447epcas5p3j; Tue, 14 Mar 2017 16:37:46 +0000 (GMT) X-AuditID: b6c32a2e-f79d66d0000012ad-1b-58c81c5a0c28 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id DA.64.06422.95C18C85; Wed, 15 Mar 2017 01:37:45 +0900 (KST) Received: from AMDC3058.DIGITAL.local ([106.120.53.102]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OMT00FENCUHGG40@mmp1.samsung.com>; Wed, 15 Mar 2017 01:37:45 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Tejun Heo Subject: [PATCH v2 2/3] ARM: davinci: add pata_bk3710 libata driver support Date: Tue, 14 Mar 2017 17:36:53 +0100 Message-id: <1489509414-11491-3-git-send-email-b.zolnierkie@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1489509414-11491-1-git-send-email-b.zolnierkie@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrGIsWRmVeSWpSXmKPExsWy7bCmhm6UzIkIg/v35C3+TjrGbrFxxnpW i0lP3jNb/GzfwmSx6fE1VotjOx4xWVzeNYfN4vZlXov9vRuYLM6susVu8Wv5UUYHbo+W5h42 j9+/JjF6vL/Ryu7xYOp/Jo+ds+6ye2xa1cnmsXlJvUffllWMHsdvbGfy+LxJLoArissmJTUn syy1SN8ugSvj0ebJjAW/+Suu3TjG2sD4kbeLkZNDQsBE4ujhSSwQtpjEhXvr2UBsIYGljBKN 7SldjFxAdjuTxN+pS9hgGr7+/cIMUbScUeJnjwRE0S9Gid9nrzCCJNgErCQmtq8Cs0UEZCWu THvICFLELPCFSWJD50WwhLCAt0TfsWPsIDaLgKrEyXN/WEFsXgEPiVszdkOdJCdx8thksDin gKfEiuvnWEEGSQhsY5e4ueEsUxcjB5AjK7HpADNEvYvE9ObvTBC2sMSr41vYIWxpib9LbzFC 2NMZJb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0RTosInMUqLJ+cBIziuJNzQxNzE3NrAwt7Q0MVIS 522c/SxcSCA9sSQ1OzW1ILUIpo+Jg1OqgXFi7mnO/4tvyOhMuutXLqEm+yHUti5lwY1imfT5 tV8PmrZKC85d/VcyXXVmv44P2/m6hwfma/bVXy/z3nKm/NHfPZ3J60tT6r/3tshxPze9yn8/ d9ODpWEa0wr33kksV9N+b3HKYdkHDQZmPi3VK74eW5cma07a/eKh2wyr3itMaw/f3CB4WE+J pTgj0VCLuag4EQAr6Cw8rAIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170314163746epcas5p3c934d9a5cde073f33c89c504eaa557ee 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: 20170314163746epcas5p3c934d9a5cde073f33c89c504eaa557ee X-RootMTR: 20170314163746epcas5p3c934d9a5cde073f33c89c504eaa557ee References: <1489509414-11491-1-git-send-email-b.zolnierkie@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170314_093810_195610_4D62009F X-CRM114-Status: GOOD ( 13.08 ) 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)