diff options
author | Alan Tull <atull@kernel.org> | 2017-11-15 21:20:25 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-28 16:30:38 +0100 |
commit | ef3acdd820752e0abb5f1ec899025967d0dccf3d (patch) | |
tree | 4e41f8f8ca7b04a60e62f1220747b7dd077324f5 /drivers/fpga/Kconfig | |
parent | fpga: region: add fpga_region_class_find (diff) | |
download | linux-ef3acdd820752e0abb5f1ec899025967d0dccf3d.tar.xz linux-ef3acdd820752e0abb5f1ec899025967d0dccf3d.zip |
fpga: region: move device tree support to of-fpga-region.c
Create of-fpga-region.c and move the following functions without
modification from fpga-region.c.
* of_fpga_region_find
* of_fpga_region_get_mgr
* of_fpga_region_get_bridges
* child_regions_with_firmware
* of_fpga_region_parse_ov
* of_fpga_region_notify_pre_apply
* of_fpga_region_notify_post_remove
* of_fpga_region_notify
* of_fpga_region_probe
* of_fpga_region_remove
Create two new functions with some code from fpga_region_init/exit.
* of_fpga_region_init
* of_fpga_region_exit
Signed-off-by: Alan Tull <atull@kernel.org>
Acked-by: Moritz Fischer <mdf@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga/Kconfig')
-rw-r--r-- | drivers/fpga/Kconfig | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig index ad5448f718b3..12bd1c760c32 100644 --- a/drivers/fpga/Kconfig +++ b/drivers/fpga/Kconfig @@ -13,10 +13,18 @@ if FPGA config FPGA_REGION tristate "FPGA Region" - depends on OF && FPGA_BRIDGE + depends on FPGA_BRIDGE + help + FPGA Region common code. A FPGA Region controls a FPGA Manager + and the FPGA Bridges associated with either a reconfigurable + region of an FPGA or a whole FPGA. + +config OF_FPGA_REGION + tristate "FPGA Region Device Tree Overlay Support" + depends on OF && FPGA_REGION help - FPGA Regions allow loading FPGA images under control of - the Device Tree. + Support for loading FPGA images by applying a Device Tree + overlay. config FPGA_MGR_ICE40_SPI tristate "Lattice iCE40 SPI" @@ -74,7 +82,6 @@ config FPGA_MGR_ZYNQ_FPGA config FPGA_BRIDGE tristate "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. |