treewide: Add SPDX license identifier - Makefile/Kconfig
[linux-2.6-block.git] / drivers / char / xillybus / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Xillybus devices
4 #
5
6 config 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
17 if XILLYBUS
18
19 config 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
26 config 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
34 endif # if XILLYBUS