From patchwork Thu Mar 9 13:01:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 9613295 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 A472C602B4 for ; Thu, 9 Mar 2017 13:04:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A078D205A4 for ; Thu, 9 Mar 2017 13:04:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 94C8F284C2; Thu, 9 Mar 2017 13:04:10 +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 8064F223A6 for ; Thu, 9 Mar 2017 13:04:09 +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=OTWkfWcEcB+rjRD8iefuhh1bQh EDc9Ycsyrez4Wx2H48uX6qUMcUpBrJvDVoDoBtxU/VV/aoTmZB8sRk/f5UiQUG0PytBXz88OkEQ3w 87YqKDIDrPiTcaoKxWxl6uptO9s8F2RyBX/SCC9nCvMdr52GB97lPcMFqJyupm2ueSLdgIfZEfMXN JpzhJNm+2rjOLRoRPnt4kIgTgedL6HhRQRb+6mFlt4enoBZBtdLnjm2MXSVCY0Iz8ibwuFE8IJS6x TcFEO5MxUo792iyG8bW6hzlH+JDTRK6IZkcOv6AJA+sp/eu6zHWkc2nehZY2NIbdnL3qOL6bXwCcj rzcn76wA==; 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 1clxje-0002tK-Su; Thu, 09 Mar 2017 13:04:02 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1clxiR-0002Kd-Pj for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2017 13:02:49 +0000 Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OMJ00DGTTJWEDC0@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2017 22:02:20 +0900 (KST) Received: from epsmges5p5.samsung.com (unknown [182.195.42.89]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20170309130220epcas5p4f2ac1fb890d6172122db6dffb3ccd6e9~qOE9Vo3G80469804698epcas5p4s; Thu, 9 Mar 2017 13:02:20 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p5.samsung.com (EPCPMTA) with SMTP id 23.45.04904.C5251C85; Thu, 9 Mar 2017 22:02:20 +0900 (KST) Received: from epcpsbgm2new.samsung.com (u27.gpu120.samsung.co.kr [203.254.230.27]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20170309130219epcas5p25c21acd3b3230cee14cc79c9b6bb10af~qOE9CfYyS2561925619epcas5p2G; Thu, 9 Mar 2017 13:02:19 +0000 (GMT) X-AuditID: b6c32a59-f79736d000001328-99-58c1525cc858 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 35.A2.06422.B5251C85; Thu, 9 Mar 2017 22:02:19 +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 <0OMJ000O9TJ8VKC0@mmp2.samsung.com>; Thu, 09 Mar 2017 22:02:19 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Tejun Heo Subject: [PATCH 2/3] ARM: davinci: add pata_bk3710 libata driver support Date: Thu, 09 Mar 2017 14:01:35 +0100 Message-id: <1489064496-6270-3-git-send-email-b.zolnierkie@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1489064496-6270-1-git-send-email-b.zolnierkie@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrGIsWRmVeSWpSXmKPExsWy7bCmpm5M0MEIg4ULOS3+TjrGbrFxxnpW i0lP3jNb/GzfwmSx6fE1VotjOx4xWVzeNYfN4vZlXov9vRuYLM6susVu8Wv5UUYHbo+W5h42 j9+/JjF6vL/Ryu7xYOp/Jo+ds+6ye2xa1cnmsXlJvUffllWMHsdvbGfy+LxJLoArissmJTUn syy1SN8ugSvj0ebJjAW/+Suu3TjG2sD4kbeLkZNDQsBE4k7HG1YIW0ziwr31bF2MXBxCAksZ Jf4un8UO4bQzSdx5sZAZpuPf7aVsILaQwBxGieOvyyCKfjFKfPnwHWwUm4CVxMT2VYwgtoiA rMSVaQ8ZQYqYBb4wSWzovAiWEBbwkDjUchdsEouAqkTfwQlgNq+Au8SjOU3sENvkJE4emww2 lBOoftbCt1C3bmKXmLa+touRA8iWldh0AOo4F4lT739CtQpLvDq+BcqWlvi79BYjhD2dUW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dGcl5JvKGJuYm5sYGFuaWliZGSOG/j 7GfhQgLpiSWp2ampBalFMH1MHJxSDYyrTuhL+ulFdE9Qinc/mfD+9tt7zjHRDP+Vnsgdsomv /75qtrH9B4YnVcl7H7xoe3zC2H51g/evh6sNt+ga3G9ObjsxP7jqPd/ZIzxSt8+2hh+0zDCa V65dcTtGV+3LzyXHOD3zJC4F/LK81J4WeunmiqO5nTk7TO7//GU/eRWv2vmekrP5Wx2VWIoz Eg21mIuKEwFOv4dWrAIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170309130219epcas5p25c21acd3b3230cee14cc79c9b6bb10af 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: 20170309130219epcas5p25c21acd3b3230cee14cc79c9b6bb10af X-RootMTR: 20170309130219epcas5p25c21acd3b3230cee14cc79c9b6bb10af References: <1489064496-6270-1-git-send-email-b.zolnierkie@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170309_050248_001394_03339250 X-CRM114-Status: GOOD ( 12.85 ) 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)