xref: /openbmc/linux/drivers/fpga/Makefile (revision 5f8d4a90)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
26a8c3be7SAlan Tull#
36a8c3be7SAlan Tull# Makefile for the fpga framework and fpga manager drivers.
46a8c3be7SAlan Tull#
56a8c3be7SAlan Tull
66a8c3be7SAlan Tull# Core FPGA Manager Framework
76a8c3be7SAlan Tullobj-$(CONFIG_FPGA)			+= fpga-mgr.o
86a8c3be7SAlan Tull
96a8c3be7SAlan Tull# FPGA Manager Drivers
1034d1dc17SAnatolij Gustschinobj-$(CONFIG_FPGA_MGR_ALTERA_CVP)	+= altera-cvp.o
115692fae0SJoshua Claytonobj-$(CONFIG_FPGA_MGR_ALTERA_PS_SPI)	+= altera-ps-spi.o
1221f8ba2eSJoel Holdsworthobj-$(CONFIG_FPGA_MGR_ICE40_SPI)	+= ice40-spi.o
1388fb3a00SPaolo Pisatiobj-$(CONFIG_FPGA_MGR_MACHXO2_SPI)	+= machxo2-spi.o
14fab6266eSAlan Tullobj-$(CONFIG_FPGA_MGR_SOCFPGA)		+= socfpga.o
15acbb910aSAlan Tullobj-$(CONFIG_FPGA_MGR_SOCFPGA_A10)	+= socfpga-a10.o
16e7eef1d7SAlan Tullobj-$(CONFIG_FPGA_MGR_STRATIX10_SOC)	+= stratix10-soc.o
174348f7e2SFlorian Fainelliobj-$(CONFIG_FPGA_MGR_TS73XX)		+= ts73xx-fpga.o
18061c97d1SAnatolij Gustschinobj-$(CONFIG_FPGA_MGR_XILINX_SPI)	+= xilinx-spi.o
1937784706SMoritz Fischerobj-$(CONFIG_FPGA_MGR_ZYNQ_FPGA)	+= zynq-fpga.o
20c09f7471SNava kishore Manneobj-$(CONFIG_FPGA_MGR_ZYNQMP_FPGA)	+= zynqmp-fpga.o
2101c54e62SNava kishore Manneobj-$(CONFIG_FPGA_MGR_VERSAL_FPGA)	+= versal-fpga.o
22*5f8d4a90SIvan Bornyakovobj-$(CONFIG_FPGA_MGR_MICROCHIP_SPI)	+= microchip-spi.o
23d201cc17SMatthew Gerlachobj-$(CONFIG_ALTERA_PR_IP_CORE)		+= altera-pr-ip-core.o
245b73cb5bSMatthew Gerlachobj-$(CONFIG_ALTERA_PR_IP_CORE_PLAT)	+= altera-pr-ip-core-plat.o
2521aeda95SAlan Tull
26bdf86d0eSRuss Weight# FPGA Secure Update Drivers
27bdf86d0eSRuss Weightobj-$(CONFIG_FPGA_M10_BMC_SEC_UPDATE)	+= intel-m10-bmc-sec-update.o
28bdf86d0eSRuss Weight
2921aeda95SAlan Tull# FPGA Bridge Drivers
3021aeda95SAlan Tullobj-$(CONFIG_FPGA_BRIDGE)		+= fpga-bridge.o
31e5f8efa5SAlan Tullobj-$(CONFIG_SOCFPGA_FPGA_BRIDGE)	+= altera-hps2fpga.o altera-fpga2sdram.o
32ca24a648SAlan Tullobj-$(CONFIG_ALTERA_FREEZE_BRIDGE)	+= altera-freeze-bridge.o
337e961c12SMoritz Fischerobj-$(CONFIG_XILINX_PR_DECOUPLER)	+= xilinx-pr-decoupler.o
340fa20cdfSAlan Tull
350fa20cdfSAlan Tull# High Level Interfaces
360fa20cdfSAlan Tullobj-$(CONFIG_FPGA_REGION)		+= fpga-region.o
37ef3acdd8SAlan Tullobj-$(CONFIG_OF_FPGA_REGION)		+= of-fpga-region.o
38543be3d8SWu Hao
39543be3d8SWu Hao# FPGA Device Feature List Support
40543be3d8SWu Haoobj-$(CONFIG_FPGA_DFL)			+= dfl.o
41322ddebeSKang Luweiobj-$(CONFIG_FPGA_DFL_FME)		+= dfl-fme.o
42af275ec6SWu Haoobj-$(CONFIG_FPGA_DFL_FME_MGR)		+= dfl-fme-mgr.o
43de892dffSWu Haoobj-$(CONFIG_FPGA_DFL_FME_BRIDGE)	+= dfl-fme-br.o
44bb61b9beSWu Haoobj-$(CONFIG_FPGA_DFL_FME_REGION)	+= dfl-fme-region.o
451a1527cfSWu Haoobj-$(CONFIG_FPGA_DFL_AFU)		+= dfl-afu.o
46322ddebeSKang Luwei
47cb3c2c47SWu Haodfl-fme-objs := dfl-fme-main.o dfl-fme-pr.o dfl-fme-error.o
48724142f8SWu Haodfl-fme-objs += dfl-fme-perf.o
49fa8dda1eSWu Haodfl-afu-objs := dfl-afu-main.o dfl-afu-region.o dfl-afu-dma-region.o
5044d24753SWu Haodfl-afu-objs += dfl-afu-error.o
5172ddd9f3SZhang Yi
5256172ab3SXu Yilunobj-$(CONFIG_FPGA_DFL_NIOS_INTEL_PAC_N3000)	+= dfl-n3000-nios.o
5356172ab3SXu Yilun
5472ddd9f3SZhang Yi# Drivers for FPGAs which implement DFL
5572ddd9f3SZhang Yiobj-$(CONFIG_FPGA_DFL_PCI)		+= dfl-pci.o
56