summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/pcie.c
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-09-19 14:19:02 -0600
committerStephen Warren <swarren@nvidia.com>2012-11-16 12:22:17 -0700
commitc5a4d6b07ac98405f347c796bc74f4367e516898 (patch)
tree88a3aebb0d3c4153ed74cc3d311d9ba7e3104d84 /arch/arm/mach-tegra/pcie.c
parent3a04931e3b6230926ebe200192545a8d952d787d (diff)
downloadblackbird-op-linux-c5a4d6b07ac98405f347c796bc74f4367e516898.tar.gz
blackbird-op-linux-c5a4d6b07ac98405f347c796bc74f4367e516898.zip
ARM: tegra: select SPARSE_IRQ
SPARSE_IRQ is required for single zImage support. With this enabled, we can delete <mach/irqs.h>. This requires removing one unnecessary include of that file, and hard-coding the PCIe IRQ into the PCIe driver. This is a hack that will be dealt with as part of converting the PCIe driver into a true DT-supporting driver. Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/pcie.c')
-rw-r--r--arch/arm/mach-tegra/pcie.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/pcie.c b/arch/arm/mach-tegra/pcie.c
index f18fc3ab4e58..53d085871798 100644
--- a/arch/arm/mach-tegra/pcie.c
+++ b/arch/arm/mach-tegra/pcie.c
@@ -43,6 +43,9 @@
#include "board.h"
#include "iomap.h"
+/* Hack - need to parse this from DT */
+#define INT_PCIE_INTR 130
+
/* register definitions */
#define AFI_OFFSET 0x3800
#define PADS_OFFSET 0x3000
OpenPOWER on IntegriCloud