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