From 88fb3a0023307356a05f6b8e61a0ccddc6d32b2c Mon Sep 17 00:00:00 2001
From: Paolo Pisati
Date: Mon, 16 Apr 2018 20:43:36 -0700
Subject: fpga: lattice machxo2: Add Lattice MachXO2 support
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This patch adds support to the FPGA manager for programming
MachXO2 device’s internal flash memory, via slave SPI.
Signed-off-by: Paolo Pisati
[atull@kernel.org: use existing FPGA mgr API]
Signed-off-by: Alan Tull
Signed-off-by: Moritz Fischer
Signed-off-by: Greg Kroah-Hartman
---
drivers/fpga/Kconfig | 7 +++++++
1 file changed, 7 insertions(+)
(limited to 'drivers/fpga/Kconfig')
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
--
cgit v1.2.3