Skip to contentSkip to conversation

fpga: xilinx-pr-decoupler: select FPGA_BRIDGE for 'Xilinx LogiCORE PR Decoupler'

PATCH In review Nava kishore Manne 2 participants 2 messages Mar 27, 2023 – Apr 1, 2023 FPGA manager framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fpga: xilinx-pr-decoupler: select FPGA_BRIDGE for 'Xilinx LogiCORE PR Decoupler'

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.

---
 drivers/fpga/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/fpga/Kconfig +1 -1
index 0a00763b9f28..71003f256c60 100644
@@ -115,8 +115,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.
Signature · 1 line
2.25.1
maintainer
#1 lore raw
Quoted 3 lines · Nava kishore Manne

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.

FPGA_BRIDGE is available all the time if XILINX_PR_DECOUPLER is selected by user. What's the problem now?

Thanks,
Yilun

Quoted 23 lines
---
 drivers/fpga/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/fpga/Kconfig +1 -1
index 0a00763b9f28..71003f256c60 100644
@@ -115,8 +115,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.
Signature · 1 line
2.25.1