18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Makefile for the fpga framework and fpga manager drivers.
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci# Core FPGA Manager Framework
78c2ecf20Sopenharmony_ciobj-$(CONFIG_FPGA)			+= fpga-mgr.o
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci# FPGA Manager Drivers
108c2ecf20Sopenharmony_ciobj-$(CONFIG_FPGA_MGR_ALTERA_CVP)	+= altera-cvp.o
118c2ecf20Sopenharmony_ciobj-$(CONFIG_FPGA_MGR_ALTERA_PS_SPI)	+= altera-ps-spi.o
128c2ecf20Sopenharmony_ciobj-$(CONFIG_FPGA_MGR_ICE40_SPI)	+= ice40-spi.o
138c2ecf20Sopenharmony_ciobj-$(CONFIG_FPGA_MGR_MACHXO2_SPI)	+= machxo2-spi.o
148c2ecf20Sopenharmony_ciobj-$(CONFIG_FPGA_MGR_SOCFPGA)		+= socfpga.o
158c2ecf20Sopenharmony_ciobj-$(CONFIG_FPGA_MGR_SOCFPGA_A10)	+= socfpga-a10.o
168c2ecf20Sopenharmony_ciobj-$(CONFIG_FPGA_MGR_STRATIX10_SOC)	+= stratix10-soc.o
178c2ecf20Sopenharmony_ciobj-$(CONFIG_FPGA_MGR_TS73XX)		+= ts73xx-fpga.o
188c2ecf20Sopenharmony_ciobj-$(CONFIG_FPGA_MGR_XILINX_SPI)	+= xilinx-spi.o
198c2ecf20Sopenharmony_ciobj-$(CONFIG_FPGA_MGR_ZYNQ_FPGA)	+= zynq-fpga.o
208c2ecf20Sopenharmony_ciobj-$(CONFIG_FPGA_MGR_ZYNQMP_FPGA)	+= zynqmp-fpga.o
218c2ecf20Sopenharmony_ciobj-$(CONFIG_ALTERA_PR_IP_CORE)         += altera-pr-ip-core.o
228c2ecf20Sopenharmony_ciobj-$(CONFIG_ALTERA_PR_IP_CORE_PLAT)    += altera-pr-ip-core-plat.o
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci# FPGA Bridge Drivers
258c2ecf20Sopenharmony_ciobj-$(CONFIG_FPGA_BRIDGE)		+= fpga-bridge.o
268c2ecf20Sopenharmony_ciobj-$(CONFIG_SOCFPGA_FPGA_BRIDGE)	+= altera-hps2fpga.o altera-fpga2sdram.o
278c2ecf20Sopenharmony_ciobj-$(CONFIG_ALTERA_FREEZE_BRIDGE)	+= altera-freeze-bridge.o
288c2ecf20Sopenharmony_ciobj-$(CONFIG_XILINX_PR_DECOUPLER)	+= xilinx-pr-decoupler.o
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci# High Level Interfaces
318c2ecf20Sopenharmony_ciobj-$(CONFIG_FPGA_REGION)		+= fpga-region.o
328c2ecf20Sopenharmony_ciobj-$(CONFIG_OF_FPGA_REGION)		+= of-fpga-region.o
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ci# FPGA Device Feature List Support
358c2ecf20Sopenharmony_ciobj-$(CONFIG_FPGA_DFL)			+= dfl.o
368c2ecf20Sopenharmony_ciobj-$(CONFIG_FPGA_DFL_FME)		+= dfl-fme.o
378c2ecf20Sopenharmony_ciobj-$(CONFIG_FPGA_DFL_FME_MGR)		+= dfl-fme-mgr.o
388c2ecf20Sopenharmony_ciobj-$(CONFIG_FPGA_DFL_FME_BRIDGE)	+= dfl-fme-br.o
398c2ecf20Sopenharmony_ciobj-$(CONFIG_FPGA_DFL_FME_REGION)	+= dfl-fme-region.o
408c2ecf20Sopenharmony_ciobj-$(CONFIG_FPGA_DFL_AFU)		+= dfl-afu.o
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_cidfl-fme-objs := dfl-fme-main.o dfl-fme-pr.o dfl-fme-error.o
438c2ecf20Sopenharmony_cidfl-fme-objs += dfl-fme-perf.o
448c2ecf20Sopenharmony_cidfl-afu-objs := dfl-afu-main.o dfl-afu-region.o dfl-afu-dma-region.o
458c2ecf20Sopenharmony_cidfl-afu-objs += dfl-afu-error.o
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ci# Drivers for FPGAs which implement DFL
488c2ecf20Sopenharmony_ciobj-$(CONFIG_FPGA_DFL_PCI)		+= dfl-pci.o
49