Skip to contentSkip to conversation

fpga manager: Add hardware dependency to Zynq driver

PATCH In review Jean Delvare 2 participants 2 messages Sep 8, 2016 FPGA manager framework

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 fpga manager: Add hardware dependency to Zynq driver

The Zynq FPGA manager driver serves no purpose on other architectures so hide it unless build-testing.

---
Changes since v1:
* Rebased on top of v4.8-rc5.

I have already sent this patch on 2016-01-22 and 2016-07-07, it was approved by everybody involved each time, but apparently it got lost somewhere as I still can't find it upstream.

 drivers/fpga/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/fpga/Kconfig +1 -0
@@ -21,6 +21,7 @@ config FPGA_MGR_SOCFPGA
 
 config FPGA_MGR_ZYNQ_FPGA
 	tristate "Xilinx Zynq FPGA"
+	depends on ARCH_ZYNQ || COMPILE_TEST
 	depends on HAS_DMA
 	help
 	  FPGA manager driver support for Xilinx Zynq FPGAs.
Signature · 2 lines
Jean Delvare
SUSE L3 Support
#1 lore raw

On Thu, 8 Sep 2016, Jean Delvare wrote:

Hi Greg,

Can you take in this patch?

Thanks,
Alan

Quoted 35 lines

The Zynq FPGA manager driver serves no purpose on other architectures so hide it unless build-testing.

---
Changes since v1:
* Rebased on top of v4.8-rc5.

I have already sent this patch on 2016-01-22 and 2016-07-07, it was approved by everybody involved each time, but apparently it got lost somewhere as I still can't find it upstream.

 drivers/fpga/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/fpga/Kconfig +1 -0
@@ -21,6 +21,7 @@ config FPGA_MGR_SOCFPGA
 
 config FPGA_MGR_ZYNQ_FPGA
 	tristate "Xilinx Zynq FPGA"
+	depends on ARCH_ZYNQ || COMPILE_TEST
 	depends on HAS_DMA
 	help
 	  FPGA manager driver support for Xilinx Zynq FPGAs.
Signature · 3 lines
-- 
Jean Delvare
SUSE L3 Support