Skip to content

Commit

Permalink
ARM: tegra: select SPARSE_IRQ
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Warren committed Nov 16, 2012
1 parent 3a04931 commit c5a4d6b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 182 deletions.
1 change: 1 addition & 0 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,7 @@ config ARCH_TEGRA
select HAVE_CLK
select HAVE_SMP
select MIGHT_HAVE_CACHE_L2X0
select SPARSE_IRQ
select USE_OF
help
This enables support for NVIDIA Tegra based systems (Tegra APX,
Expand Down
182 changes: 0 additions & 182 deletions arch/arm/mach-tegra/include/mach/irqs.h

This file was deleted.

3 changes: 3 additions & 0 deletions arch/arm/mach-tegra/pcie.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c5a4d6b

Please sign in to comment.