Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1339483 > unrolled thread

[PATCH] fpga manager: Add hardware dependency to Zynq driver

Started byJean Delvare <jdelvare@suse.de>
First post2016-02-22 14:50 +0100
Last post2016-02-22 18:30 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] fpga manager: Add hardware dependency to Zynq driver Jean Delvare <jdelvare@suse.de> - 2016-02-22 14:50 +0100
    Re: [PATCH] fpga manager: Add hardware dependency to Zynq driver Michal Simek <michal.simek@xilinx.com> - 2016-02-22 16:30 +0100
      Re: [PATCH] fpga manager: Add hardware dependency to Zynq driver Moritz Fischer <moritz.fischer@ettus.com> - 2016-02-22 18:30 +0100

#1339483 — [PATCH] fpga manager: Add hardware dependency to Zynq driver

FromJean Delvare <jdelvare@suse.de>
Date2016-02-22 14:50 +0100
Subject[PATCH] fpga manager: Add hardware dependency to Zynq driver
Message-ID<r4Z2a-6yP-19@gated-at.bofh.it>
The Zynq FPGA manager driver serves no purpose on other architectures
so hide it unless build-testing.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Alan Tull <atull@opensource.altera.com>
Cc: Moritz Fischer <moritz.fischer@ettus.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: "Sören Brinkmann" <soren.brinkmann@xilinx.com>
---
Michal, Sören, I'm not sure if the driver is needed on ARCH_ZYNQMP too?

 drivers/fpga/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-4.5-rc5.orig/drivers/fpga/Kconfig	2016-01-11 00:01:32.000000000 +0100
+++ linux-4.5-rc5/drivers/fpga/Kconfig	2016-02-22 14:11:33.142068843 +0100
@@ -21,6 +21,7 @@ config FPGA_MGR_SOCFPGA
 
 config FPGA_MGR_ZYNQ_FPGA
 	tristate "Xilinx Zynq FPGA"
+	depends on ARCH_ZYNQ || COMPILE_TEST
 	help
 	  FPGA manager driver support for Xilinx Zynq FPGAs.
 


-- 
Jean Delvare
SUSE L3 Support

[toc] | [next] | [standalone]


#1339643

FromMichal Simek <michal.simek@xilinx.com>
Date2016-02-22 16:30 +0100
Message-ID<r50AX-7F1-43@gated-at.bofh.it>
In reply to#1339483
On 22.2.2016 14:42, Jean Delvare wrote:
> The Zynq FPGA manager driver serves no purpose on other architectures
> so hide it unless build-testing.
> 
> Signed-off-by: Jean Delvare <jdelvare@suse.de>
> Cc: Alan Tull <atull@opensource.altera.com>
> Cc: Moritz Fischer <moritz.fischer@ettus.com>
> Cc: Michal Simek <michal.simek@xilinx.com>
> Cc: "Sören Brinkmann" <soren.brinkmann@xilinx.com>
> ---
> Michal, Sören, I'm not sure if the driver is needed on ARCH_ZYNQMP too?
> 
>  drivers/fpga/Kconfig |    1 +
>  1 file changed, 1 insertion(+)
> 
> --- linux-4.5-rc5.orig/drivers/fpga/Kconfig	2016-01-11 00:01:32.000000000 +0100
> +++ linux-4.5-rc5/drivers/fpga/Kconfig	2016-02-22 14:11:33.142068843 +0100
> @@ -21,6 +21,7 @@ config FPGA_MGR_SOCFPGA
>  
>  config FPGA_MGR_ZYNQ_FPGA
>  	tristate "Xilinx Zynq FPGA"
> +	depends on ARCH_ZYNQ || COMPILE_TEST
>  	help
>  	  FPGA manager driver support for Xilinx Zynq FPGAs.
>  

This driver is zynq specific. ZynqMP will have different driver.
I have no problem to limit this driver just for Zynq.
Currently I am not aware about other usage without changes in the driver.

Thanks,
Michal

[toc] | [prev] | [next] | [standalone]


#1339745

FromMoritz Fischer <moritz.fischer@ettus.com>
Date2016-02-22 18:30 +0100
Message-ID<r52t3-LR-7@gated-at.bofh.it>
In reply to#1339643
Hi Jean,

On Mon, Feb 22, 2016 at 7:04 AM, Michal Simek <michal.simek@xilinx.com> wrote:
> On 22.2.2016 14:42, Jean Delvare wrote:
>> The Zynq FPGA manager driver serves no purpose on other architectures
>> so hide it unless build-testing.
>>
>> Signed-off-by: Jean Delvare <jdelvare@suse.de>
>> Cc: Alan Tull <atull@opensource.altera.com>
>> Cc: Moritz Fischer <moritz.fischer@ettus.com>
>> Cc: Michal Simek <michal.simek@xilinx.com>
>> Cc: "Sören Brinkmann" <soren.brinkmann@xilinx.com>

Acked-by: Moritz Fischer <moritz.fischer@ettus.com>

Thanks for catching that,

Moritz

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web