diff mbox

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

Message ID 1415800418-22957-1-git-send-email-thierry.reding@gmail.com (mailing list archive)
State New, archived
Delegated to: Bjorn Helgaas
Headers show

Commit Message

Thierry Reding Nov. 12, 2014, 1:53 p.m. UTC
From: Thierry Reding <treding@nvidia.com>

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 <treding@nvidia.com>
---
 drivers/pci/host/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bjorn Helgaas Nov. 13, 2014, 7:04 p.m. UTC | #1
On Wed, Nov 12, 2014 at 02:53:37PM +0100, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
> 
> 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 <treding@nvidia.com>

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

> ---
>  drivers/pci/host/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig
> index 3dc25fad490c..9c56137e5e5e 100644
> --- a/drivers/pci/host/Kconfig
> +++ b/drivers/pci/host/Kconfig
> @@ -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"
> -- 
> 2.1.3
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig
index 3dc25fad490c..9c56137e5e5e 100644
--- a/drivers/pci/host/Kconfig
+++ b/drivers/pci/host/Kconfig
@@ -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"