Skip to contentSkip to conversation

fpga: zynq: Add hardware dependencies

PATCH In review Jean Delvare 3 participants 3 messages Jul 7, 2016 – Jul 19, 2016 FPGA manager framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fpga: zynq: Add hardware dependencies

The zynq-fpga driver is specific to its architecture, so do not propose it on other architectures, unless build-testing.

Cc Moritz Fischer <[email protected]>
Cc Alan Tull <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
---
 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
 	help
 	  FPGA manager driver support for Xilinx Zynq FPGAs.
 
Signature · 2 lines
Jean Delvare
SUSE L3 Support
Acked-by on v1 1/1
#1 lore raw
Quoted 23 lines · Jean Delvare

The zynq-fpga driver is specific to its architecture, so do not propose it on other architectures, unless build-testing.

Cc Moritz Fischer <[email protected]>
Cc Alan Tull <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
---
 drivers/fpga/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/fpga/Kconfig 2016-07-07 09:29:50.395807394 +0200 renamed from drivers/fpga/Kconfig 2016-07-04 08:01:00.000000000 +0200 +1 -1
@@ -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.
 
 
--
Quoted 2 lines

Jean Delvare
SUSE L3 Support

Acked-by
#2 lore raw
Quoted 23 lines · Moritz Fischer
Quoted 22 lines · Jean Delvare

The zynq-fpga driver is specific to its architecture, so do not propose it on other architectures, unless build-testing.

Cc Moritz Fischer <[email protected]>
Cc Alan Tull <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
---
 drivers/fpga/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/fpga/Kconfig 2016-07-07 09:29:50.395807394 +0200 renamed from drivers/fpga/Kconfig 2016-07-04 08:01:00.000000000 +0200 +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
        help
          FPGA manager driver support for Xilinx Zynq FPGAs.
 
Quoted 6 lines
Quoted 3 lines

--
Jean Delvare
SUSE L3 Support