summaryrefslogtreecommitdiff
path: root/drivers/fpga/Kconfig
diff options
context:
space:
mode:
authorPaolo Pisati <p.pisati@gmail.com>2018-04-17 06:43:36 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-23 14:33:01 +0300
commit88fb3a0023307356a05f6b8e61a0ccddc6d32b2c (patch)
treec8c69853771b1fcb9a11b055c6b90d8c2ee4d06e /drivers/fpga/Kconfig
parentd549ac081c41d1925804bf73393aca8e3978b582 (diff)
downloadlinux-88fb3a0023307356a05f6b8e61a0ccddc6d32b2c.tar.xz
fpga: lattice machxo2: Add Lattice MachXO2 support
This patch adds support to the FPGA manager for programming MachXO2 device’s internal flash memory, via slave SPI. Signed-off-by: Paolo Pisati <p.pisati@gmail.com> [atull@kernel.org: use existing FPGA mgr API] Signed-off-by: Alan Tull <atull@kernel.org> Signed-off-by: Moritz Fischer <mdf@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga/Kconfig')
-rw-r--r--drivers/fpga/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig
index fd539132542e..ee9c5420c47f 100644
--- a/drivers/fpga/Kconfig
+++ b/drivers/fpga/Kconfig
@@ -69,6 +69,13 @@ config FPGA_MGR_ICE40_SPI
help
FPGA manager driver support for Lattice iCE40 FPGAs over SPI.
+config FPGA_MGR_MACHXO2_SPI
+ tristate "Lattice MachXO2 SPI"
+ depends on SPI
+ help
+ FPGA manager driver support for Lattice MachXO2 configuration
+ over slave SPI interface.
+
config FPGA_MGR_TS73XX
tristate "Technologic Systems TS-73xx SBC FPGA Manager"
depends on ARCH_EP93XX && MACH_TS72XX