PCI: tegra: Do not build on 64-bit ARM
Subsystems (2)
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
@@ -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
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
@@ -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
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.
Signed-off-by Thierry Reding <[email protected]>
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@@ -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