summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Hancock <hancock@sedsystems.ca>2019-06-18 09:47:13 -0600
committerMichal Simek <michal.simek@xilinx.com>2019-07-30 10:20:06 +0200
commit25d63a367794d4c559d910a19566b7b15296c7a1 (patch)
tree02afe096d0cb30319f2d78b012f5b9a0f735102f
parentfa57af05526aa1e7f605aa3eb1676a01bdb647d6 (diff)
downloadu-boot-25d63a367794d4c559d910a19566b7b15296c7a1.tar.gz
u-boot-25d63a367794d4c559d910a19566b7b15296c7a1.tar.xz
u-boot-25d63a367794d4c559d910a19566b7b15296c7a1.zip
fpga: virtex2: added Kconfig option
Add an option to allow this driver to be selected with Kconfig. As noted in the description, this driver should also work with many newer Xilinx FPGA families as the programming methods are essentially the same. Also added a missing FPGA_XILINX dependency to the similar Spartan 3 driver. Signed-off-by: Robert Hancock <hancock@sedsystems.ca> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r--drivers/fpga/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig
index 8f59193e3c..105a299812 100644
--- a/drivers/fpga/Kconfig
+++ b/drivers/fpga/Kconfig
@@ -58,9 +58,17 @@ config FPGA_ZYNQMPPL
config FPGA_SPARTAN3
bool "Enable Spartan3 FPGA driver"
+ depends on FPGA_XILINX
help
Enable Spartan3 FPGA driver for loading in BIT format.
+config FPGA_VIRTEX2
+ bool "Enable Xilinx Virtex-II and later FPGA driver"
+ depends on FPGA_XILINX
+ help
+ Enable Virtex-II FPGA driver for loading in BIT format. This driver
+ also supports many newer Xilinx FPGA families.
+
config FPGA_ZYNQPL
bool "Enable Xilinx FPGA for Zynq"
depends on ARCH_ZYNQ