Skip to contentSkip to conversation

PCI: tegra: Do not build on 64-bit ARM

PATCH Applied Thierry Reding 2 participants 3 messages Nov 12, 2014 – Nov 13, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 PCI: tegra: Do not build on 64-bit ARM

From: Thierry Reding <[email protected]>

32-bit and 64-bit ARM use very different infrastructure to register a PCI host bridge. The Tegra PCIe host controller driver currently only supports the 32-bit ARM infrastructure, so prevent it from being built on 64-bit ARM where it will break.

---
 drivers/pci/host/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/host/Kconfig +1 -1
index 3dc25fad490c..9c56137e5e5e 100644
@@ -32,7 +32,7 @@ config PCI_IMX6
 
 config PCI_TEGRA
 	bool "NVIDIA Tegra PCIe controller"
-	depends on ARCH_TEGRA
+	depends on ARCH_TEGRA && !ARM64
 
 config PCI_RCAR_GEN2
 	bool "Renesas R-Car Gen2 Internal PCI controller"
Signature · 1 line
2.1.3
#1 lore raw

PATCH 2/2 PCI: tegra: Add Kconfig help text

From: Thierry Reding <[email protected]>

Add a standard help text to the Kconfig entry for the Tegra PCIe host controller driver.

---
 drivers/pci/host/Kconfig | 3 +++
 1 file changed, 3 insertions(+)
drivers/pci/host/Kconfig +3 -0
index 9c56137e5e5e..9dbb1fc68bc9 100644
@@ -33,6 +33,9 @@ config PCI_IMX6
 config PCI_TEGRA
 	bool "NVIDIA Tegra PCIe controller"
 	depends on ARCH_TEGRA && !ARM64
+	help
+	  Say Y here if you want support for the PCIe host controller found
+	  on NVIDIA Tegra SoCs.
 
 config PCI_RCAR_GEN2
 	bool "Renesas R-Car Gen2 Internal PCI controller"
Signature · 1 line
2.1.3
maintainer Applied
#2 lore raw
In reply to Thierry Reding
Quoted 8 lines · Thierry Reding

From: Thierry Reding <[email protected]>

32-bit and 64-bit ARM use very different infrastructure to register a PCI host bridge. The Tegra PCIe host controller driver currently only supports the 32-bit ARM infrastructure, so prevent it from being built on 64-bit ARM where it will break.

I applied both of these to pci/host-tegra for v3.19, thanks!

Quoted 20 lines
---
 drivers/pci/host/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/host/Kconfig +1 -1
index 3dc25fad490c..9c56137e5e5e 100644
@@ -32,7 +32,7 @@ config PCI_IMX6
 
 config PCI_TEGRA
 	bool "NVIDIA Tegra PCIe controller"
-	depends on ARCH_TEGRA
+	depends on ARCH_TEGRA && !ARM64
 
 config PCI_RCAR_GEN2
 	bool "Renesas R-Car Gen2 Internal PCI controller"
Signature · 1 line
2.1.3