From 97139a5d89b2a80fb8464dda86fcb1c968be2b63 Mon Sep 17 00:00:00 2001 From: Juha Tukkinen Date: Wed, 14 Mar 2012 13:41:34 +0200 Subject: ARM: tegra: Fix compilation warning for PCIe Fix compilation error for PCIe. Change-Id: I1ab5390dfce273236bd4aa09579bf54425faf2e9 Signed-off-by: Juha Tukkinen Reviewed-on: http://git-master/r/90045 Reviewed-by: Simone Willett Tested-by: Simone Willett --- arch/arm/mach-tegra/pcie.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'arch/arm/mach-tegra/pcie.c') diff --git a/arch/arm/mach-tegra/pcie.c b/arch/arm/mach-tegra/pcie.c index 6a424365f42a..ca914a2b257c 100644 --- a/arch/arm/mach-tegra/pcie.c +++ b/arch/arm/mach-tegra/pcie.c @@ -1109,8 +1109,13 @@ static int tegra_pcie_init(void) int rp_offset = 0; int ctrl_offset = AFI_PEX0_CTRL; - pcibios_min_mem = 0; - +#ifdef CONFIG_ARCH_TEGRA_2x_SOC + pcibios_min_mem = 0x1000; + pcibios_min_io = 0; +#else + pcibios_min_mem = 0x03000000ul; + pcibios_min_io = 0x10000000ul; +#endif err = tegra_pcie_get_resources(); if (err) return err; -- cgit v1.2.3