xref: /openbmc/linux/drivers/char/xillybus/Kconfig (revision a701d28e)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Xillybus devices
4#
5
6config XILLYBUS
7	tristate "Xillybus generic FPGA interface"
8	depends on PCI || OF
9	select CRC32
10	help
11	  Xillybus is a generic interface for peripherals designed on
12	  programmable logic (FPGA). The driver probes the hardware for
13	  its capabilities, and creates device files accordingly.
14
15	  If unsure, say N.
16
17if XILLYBUS
18
19config XILLYBUS_PCIE
20	tristate "Xillybus over PCIe"
21	depends on PCI_MSI
22	help
23	  Set to M if you want Xillybus to use PCI Express for communicating
24	  with the FPGA.
25
26config XILLYBUS_OF
27	tristate "Xillybus over Device Tree"
28	depends on OF && HAS_DMA
29	help
30	  Set to M if you want Xillybus to find its resources from the
31	  Open Firmware Flattened Device Tree. If the target is an embedded
32	  system, say M.
33
34endif # if XILLYBUS
35