blob: d8e21dfc677877a13aa6de5d150d28affbe0594e [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Alan Tull6a8c3be2015-10-07 16:36:28 +01002#
3# Makefile for the fpga framework and fpga manager drivers.
4#
5
6# Core FPGA Manager Framework
7obj-$(CONFIG_FPGA) += fpga-mgr.o
8
9# FPGA Manager Drivers
Anatolij Gustschin34d1dc12017-06-14 10:36:35 -050010obj-$(CONFIG_FPGA_MGR_ALTERA_CVP) += altera-cvp.o
Joshua Clayton5692fae2017-06-14 10:36:29 -050011obj-$(CONFIG_FPGA_MGR_ALTERA_PS_SPI) += altera-ps-spi.o
Joel Holdsworth21f8ba22017-02-27 16:14:26 -060012obj-$(CONFIG_FPGA_MGR_ICE40_SPI) += ice40-spi.o
Paolo Pisati88fb3a02018-04-16 20:43:36 -070013obj-$(CONFIG_FPGA_MGR_MACHXO2_SPI) += machxo2-spi.o
Alan Tullfab62662015-10-07 16:36:29 +010014obj-$(CONFIG_FPGA_MGR_SOCFPGA) += socfpga.o
Alan Tullacbb910a2016-11-01 14:14:32 -050015obj-$(CONFIG_FPGA_MGR_SOCFPGA_A10) += socfpga-a10.o
Alan Tulle7eef1d2018-11-13 12:14:04 -060016obj-$(CONFIG_FPGA_MGR_STRATIX10_SOC) += stratix10-soc.o
Florian Fainelli4348f7e2017-02-27 16:14:22 -060017obj-$(CONFIG_FPGA_MGR_TS73XX) += ts73xx-fpga.o
Anatolij Gustschin061c97d2017-03-23 19:34:26 -050018obj-$(CONFIG_FPGA_MGR_XILINX_SPI) += xilinx-spi.o
Moritz Fischer37784702015-10-16 15:42:30 -070019obj-$(CONFIG_FPGA_MGR_ZYNQ_FPGA) += zynq-fpga.o
Nava kishore Mannec09f7472019-04-15 12:47:48 +053020obj-$(CONFIG_FPGA_MGR_ZYNQMP_FPGA) += zynqmp-fpga.o
Matthew Gerlachd201cc12017-03-23 19:34:28 -050021obj-$(CONFIG_ALTERA_PR_IP_CORE) += altera-pr-ip-core.o
Matthew Gerlach5b73cb52017-03-23 19:34:30 -050022obj-$(CONFIG_ALTERA_PR_IP_CORE_PLAT) += altera-pr-ip-core-plat.o
Alan Tull21aeda92016-11-01 14:14:28 -050023
24# FPGA Bridge Drivers
25obj-$(CONFIG_FPGA_BRIDGE) += fpga-bridge.o
Alan Tulle5f8efa2016-11-01 14:14:30 -050026obj-$(CONFIG_SOCFPGA_FPGA_BRIDGE) += altera-hps2fpga.o altera-fpga2sdram.o
Alan Tullca24a642016-11-01 14:14:31 -050027obj-$(CONFIG_ALTERA_FREEZE_BRIDGE) += altera-freeze-bridge.o
Moritz Fischer7e961c12017-03-24 10:33:21 -050028obj-$(CONFIG_XILINX_PR_DECOUPLER) += xilinx-pr-decoupler.o
Alan Tull0fa20cd2016-11-01 14:14:29 -050029
30# High Level Interfaces
31obj-$(CONFIG_FPGA_REGION) += fpga-region.o
Alan Tullef3acdd2017-11-15 14:20:25 -060032obj-$(CONFIG_OF_FPGA_REGION) += of-fpga-region.o
Wu Hao543be3d2018-06-30 08:53:13 +080033
34# FPGA Device Feature List Support
35obj-$(CONFIG_FPGA_DFL) += dfl.o
Kang Luwei322ddeb2018-06-30 08:53:21 +080036obj-$(CONFIG_FPGA_DFL_FME) += dfl-fme.o
Wu Haoaf275ec2018-06-30 08:53:25 +080037obj-$(CONFIG_FPGA_DFL_FME_MGR) += dfl-fme-mgr.o
Wu Haode892df2018-06-30 08:53:27 +080038obj-$(CONFIG_FPGA_DFL_FME_BRIDGE) += dfl-fme-br.o
Wu Haobb61b9b2018-06-30 08:53:28 +080039obj-$(CONFIG_FPGA_DFL_FME_REGION) += dfl-fme-region.o
Wu Hao1a1527c2018-06-30 08:53:30 +080040obj-$(CONFIG_FPGA_DFL_AFU) += dfl-afu.o
Kang Luwei322ddeb2018-06-30 08:53:21 +080041
Wu Haocb3c2c42019-08-12 10:50:03 +080042dfl-fme-objs := dfl-fme-main.o dfl-fme-pr.o dfl-fme-error.o
Wu Hao724142f2020-04-27 09:06:23 +080043dfl-fme-objs += dfl-fme-perf.o
Wu Haofa8dda12018-06-30 08:53:35 +080044dfl-afu-objs := dfl-afu-main.o dfl-afu-region.o dfl-afu-dma-region.o
Wu Hao44d24752019-08-12 10:50:01 +080045dfl-afu-objs += dfl-afu-error.o
Zhang Yi72ddd9f2018-06-30 08:53:19 +080046
47# Drivers for FPGAs which implement DFL
48obj-$(CONFIG_FPGA_DFL_PCI) += dfl-pci.o