diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-09-19 16:19:02 -0400 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2012-11-16 14:22:17 -0500 |
commit | c5a4d6b07ac98405f347c796bc74f4367e516898 (patch) | |
tree | 88a3aebb0d3c4153ed74cc3d311d9ba7e3104d84 /arch/arm/mach-tegra/pcie.c | |
parent | 3a04931e3b6230926ebe200192545a8d952d787d (diff) |
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.c | 3 |
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 @@ | |||
43 | #include "board.h" | 43 | #include "board.h" |
44 | #include "iomap.h" | 44 | #include "iomap.h" |
45 | 45 | ||
46 | /* Hack - need to parse this from DT */ | ||
47 | #define INT_PCIE_INTR 130 | ||
48 | |||
46 | /* register definitions */ | 49 | /* register definitions */ |
47 | #define AFI_OFFSET 0x3800 | 50 | #define AFI_OFFSET 0x3800 |
48 | #define PADS_OFFSET 0x3000 | 51 | #define PADS_OFFSET 0x3000 |