Skip to contentSkip to conversation

fpga: altera_freeze_bridge: remove restriction to socfpga

PATCH In review Alan Tull 2 participants 3 messages Jan 16, 2019 – Jan 22, 2019 FPGA manager framework

lore
Share & tools
lore

Alan Tull

author
#0 lore raw

PATCH v3 1/1 fpga: altera_freeze_bridge: remove restriction to socfpga

The Altera Freeze Bridge should not be restricted to ARCH_SOCFPGA since it can be used on other platforms such as Stratix10.

---
v2: add depends on HAS_IOMEM
v3: put both dependencies on one line

---
 drivers/fpga/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/fpga/Kconfig +1 -1
index 0bb7b5c..c20445b 100644
@@ -104,7 +104,7 @@ config SOCFPGA_FPGA_BRIDGE
 
 config ALTERA_FREEZE_BRIDGE
 	tristate "Altera FPGA Freeze Bridge"
-	depends on ARCH_SOCFPGA && FPGA_BRIDGE
+	depends on FPGA_BRIDGE && HAS_IOMEM
 	help
 	  Say Y to enable drivers for Altera FPGA Freeze bridges.  A
 	  freeze bridge is a bridge that exists in the FPGA fabric to
Signature · 1 line
2.7.4
Reviewed-by on v3 1/1
#1 lore raw
Quoted 5 lines · Alan Tull

The Altera Freeze Bridge should not be restricted to ARCH_SOCFPGA since it can be used on other platforms such as Stratix10.

Quoted 21 lines

---
v2: add depends on HAS_IOMEM
v3: put both dependencies on one line

---
 drivers/fpga/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/fpga/Kconfig +1 -2
index 0bb7b5c..c20445b 100644
@@ -104,7 +104,7 @@ config SOCFPGA_FPGA_BRIDGE
 
 config ALTERA_FREEZE_BRIDGE
        tristate "Altera FPGA Freeze Bridge"
-       depends on ARCH_SOCFPGA && FPGA_BRIDGE
+       depends on FPGA_BRIDGE && HAS_IOMEM
        help
          Say Y to enable drivers for Altera FPGA Freeze bridges.  A
          freeze bridge is a bridge that exists in the FPGA fabric to
--
Quoted 2 lines

2.7.4

Thanks,
Moritz

author
#2 lore raw
Quoted 8 lines · Moritz Fischer
Quoted 5 lines · Alan Tull

The Altera Freeze Bridge should not be restricted to ARCH_SOCFPGA since it can be used on other platforms such as Stratix10.

Thanks!

Alan

Quoted 26 lines
Quoted 21 lines

---
v2: add depends on HAS_IOMEM
v3: put both dependencies on one line

---
 drivers/fpga/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/fpga/Kconfig +1 -2
index 0bb7b5c..c20445b 100644
@@ -104,7 +104,7 @@ config SOCFPGA_FPGA_BRIDGE
 
 config ALTERA_FREEZE_BRIDGE
        tristate "Altera FPGA Freeze Bridge"
-       depends on ARCH_SOCFPGA && FPGA_BRIDGE
+       depends on FPGA_BRIDGE && HAS_IOMEM
        help
          Say Y to enable drivers for Altera FPGA Freeze bridges.  A
          freeze bridge is a bridge that exists in the FPGA fabric to
--
Quoted 2 lines

2.7.4

Thanks,
Moritz