Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758360AbcDMMYa (ORCPT ); Wed, 13 Apr 2016 08:24:30 -0400 Received: from down.free-electrons.com ([37.187.137.238]:38796 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1758153AbcDMMY2 (ORCPT ); Wed, 13 Apr 2016 08:24:28 -0400 From: Gregory CLEMENT To: Jason Cooper Cc: Vinod Koul , dmaengine@vger.kernel.org, Andrew Lunn , Sebastian Hesselbarth , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Nadav Haklai , Lior Amsalem , Thomas Petazzoni , Romain Perier , Omri Itach , Marcin Wojtas Subject: Re: [PATCH v2 4/5] dmaengine: mv_xor: Allow selecting mv_xor for mvebu only compatible SoC References: <1460485158-32122-1-git-send-email-gregory.clement@free-electrons.com> <1460485158-32122-5-git-send-email-gregory.clement@free-electrons.com> <20160412183536.GJ27057@io.lakedaemon.net> Date: Wed, 13 Apr 2016 14:24:25 +0200 In-Reply-To: <20160412183536.GJ27057@io.lakedaemon.net> (Jason Cooper's message of "Tue, 12 Apr 2016 18:35:36 +0000") Message-ID: <874mb51yti.fsf@free-electrons.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1251 Lines: 45 Hi Jason, On mar., avril 12 2016, Jason Cooper wrote: > On Tue, Apr 12, 2016 at 08:19:17PM +0200, Gregory CLEMENT wrote: >> Armada 3700 SoC uses the mv_xor driver but don't select anymore the >> PLAT_ORION symbol. This commit extends the dependency of the mv_xor >> driver to the more modern SoCs only compatible with ARCH_MVEBU, which >> allows using it with the Armada 3700 SoC. >> >> Signed-off-by: Gregory CLEMENT >> --- >> drivers/dma/Kconfig | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig >> index d96d87c56f2e..cdc50c2c172f 100644 >> --- a/drivers/dma/Kconfig >> +++ b/drivers/dma/Kconfig >> @@ -332,7 +332,7 @@ config MPC512X_DMA >> >> config MV_XOR >> bool "Marvell XOR engine support" >> - depends on PLAT_ORION >> + depends on PLAT_ORION || ARCH_MVEBU > > || COMPILE_TEST ? OK and I've just test that it can be compiled on x86 without error or warning. I am going to send a v3 with this modification. Thanks, Gregory > > thx, > > Jason. -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com