#
# 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 the
	  kernel.  The FPGA framework adds a FPGA manager class and FPGA
	  manager drivers.

config FPGA_MGR_DEBUG_FS
       bool "FPGA Manager DebugFS"
       depends on FPGA && DEBUG_FS
       help
         Say Y here if you want to expose a DebugFS interface for the
	 FPGA Manager Framework.

if FPGA

config FPGA_REGION
       bool "FPGA Region"
       depends on OF
       help
	 FPGA Regions allow loading FPGA images under control of
	 the Device Tree.

config FPGA_MGR_SOCFPGA
	tristate "Altera SOCFPGA FPGA Manager"
	depends on ARCH_SOCFPGA
	help
	  FPGA manager driver support for Altera SOCFPGA.

config FPGA_MGR_SOCFPGA_A10
	tristate "Altera SoCFPGA Arria10"
	depends on ARCH_SOCFPGA
	help
	  FPGA manager driver support for Altera Arria10 SoCFPGA.

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

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

config ALTERA_FREEZE_BRIDGE
        bool "Altera FPGA Freeze Bridge"
	depends on ARCH_SOCFPGA && FPGA_BRIDGE
	help
	  Say Y to enable drivers for Altera FPGA Freeze bridges.  A
	  freeze bridge is a bridge that exists in the FPGA fabric to
	  isolate one region of the FPGA from the busses while that
	  region is being reprogrammed.

config ALTERA_FREEZE_BRIDGE_PLAT
	bool "Platform support of Altera FPGA Freeze Bridge"
	depends on ALTERA_FREEZE_BRIDGE && OF
	help
	  Say Y to enable platform driver support for Altera FPGA
	  Freeze bridges.

config ALTERA_PR_IP_CORE
	tristate "Altera Partial Reconfiguration IP Core"
	help
	  Core driver support for Altera Partial Reconfiguration IP component

config ALTERA_PR_IP_CORE_PLAT
	tristate "Platform support of Altera Partial Reconfiguration IP Core"
	depends on ALTERA_PR_IP_CORE && OF
	help
	  Platform driver support for Altera Partial Reconfiguration IP
	  component

endif # FPGA

endmenu
