26 May, 2018
1 commit
-
Change fpga_mgr_register to not set or use drvdata. This supports
the case where a PCIe device has more than one manager.Add fpga_mgr_create/free functions. Change fpga_mgr_register and
fpga_mgr_unregister functions to take the mgr struct as their only
parameter.struct fpga_manager *fpga_mgr_create(struct device *dev,
const char *name,
const struct fpga_manager_ops *mops,
void *priv);
void fpga_mgr_free(struct fpga_manager *mgr);
int fpga_mgr_register(struct fpga_manager *mgr);
void fpga_mgr_unregister(struct fpga_manager *mgr);Update the drivers that call fpga_mgr_register with the new API.
Signed-off-by: Alan Tull
[Moritz: Fixup whitespace issue]
Reported-by: Jiuyue Ma
Signed-off-by: Moritz Fischer
Signed-off-by: Greg Kroah-Hartman
23 Apr, 2018
1 commit
-
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