Skip to content

Commit

Permalink
fpga: select FPGA_BRIDGE for 'Xilinx LogiCORE PR Decoupler' helper
Browse files Browse the repository at this point in the history
The Xilinx LogiCORE PR Decoupler depends on the FPGA_BRIDGE always
and hence select it explicitly to make sure that it will be available
all the time when PR decoupler is enabled. Also with the existing
xilinx_defconfig, FPGA_BRIDGE is getting selected through XILINX_AIE
and disabling the XILINX_AIE will disable the bridge and there by
disables PR decoupler. This patch address this issues by selecting
FPGA_BRIDGE through PR decoupler config.

Signed-off-by: Nava kishore Manne <[email protected]>
  • Loading branch information
Nava kishore Manne authored and Michal Simek committed Mar 21, 2022
1 parent ae78bf6 commit 3325e94
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion arch/arm/configs/xilinx_zynq_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ CONFIG_RAS=y
CONFIG_FPGA=y
CONFIG_FPGA_MGR_ZYNQ_FPGA=y
CONFIG_FPGA_MGR_ZYNQ_AFI_FPGA=y
CONFIG_FPGA_BRIDGE=y
CONFIG_XILINX_PR_DECOUPLER=y
CONFIG_FPGA_REGION=y
CONFIG_OF_FPGA_REGION=y
Expand Down
1 change: 0 additions & 1 deletion arch/arm64/configs/xilinx_zynqmp_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,6 @@ CONFIG_ANDROID=y
CONFIG_NVMEM_ZYNQMP=y
CONFIG_FPGA=y
CONFIG_XILINX_AFI_FPGA=y
CONFIG_FPGA_BRIDGE=y
CONFIG_XILINX_PR_DECOUPLER=y
CONFIG_FPGA_REGION=y
CONFIG_OF_FPGA_REGION=y
Expand Down
2 changes: 1 addition & 1 deletion drivers/fpga/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ config ALTERA_FREEZE_BRIDGE

config XILINX_PR_DECOUPLER
tristate "Xilinx LogiCORE PR Decoupler"
depends on FPGA_BRIDGE
depends on HAS_IOMEM
select FPGA_BRIDGE
help
Say Y to enable drivers for Xilinx LogiCORE PR Decoupler
or Xilinx Dynamic Function eXchange AIX Shutdown Manager.
Expand Down

0 comments on commit 3325e94

Please sign in to comment.