# SPDX-License-Identifier: GPL-2.0-only
#
# FPGA framework configuration
#

menu "FPGA Configuration Support"

config FPGA
	tristate "FPGA Configuration Framework"
	help
	  Say Y here if you want support for configuring FPGAs from barebox.

if FPGA

config FPGA_BRIDGE
	tristate "FPGA Bridge Framework"
	help
	  Say Y here if you want to support bridges connected between host
	  processors and FPGAs or between FPGAs.

config SOCFPGA_FPGA_BRIDGE
	tristate "Altera SoCFPGA FPGA Bridges"
	depends on ARCH_SOCFPGA && FPGA_BRIDGE
	select RESET_CONTROLLER
	help
	  Say Y to enable drivers for FPGA bridges for Altera SOCFPGA
	  devices.

endif # FPGA

endmenu
