aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2011-11-02 15:50:43 -0400
committerOlof Johansson <olof@lixom.net>2011-12-08 01:00:13 -0500
commitf5ce5e7e9cc3f69c3e6a0a4599262f740aff92c0 (patch)
tree853f1dc2dd2fc013cc9f5666895a5b6414931f13 /arch/arm
parent103c43a2c6aaf7fc4932513e2991cdec60411b18 (diff)
arm/tegra: Remove code that's ifndef CONFIG_ARM_GIC
entry-macro.S contains some stale code for chips before Tegra20 that apparently didn't use an ARM GIC. All chips supported by mainline use an ARM GIC, so rip out the stale code. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-tegra/include/mach/entry-macro.S23
1 files changed, 0 insertions, 23 deletions
diff --git a/arch/arm/mach-tegra/include/mach/entry-macro.S b/arch/arm/mach-tegra/include/mach/entry-macro.S
index dd165c53889..485a11eeace 100644
--- a/arch/arm/mach-tegra/include/mach/entry-macro.S
+++ b/arch/arm/mach-tegra/include/mach/entry-macro.S
@@ -15,7 +15,6 @@
15#include <mach/iomap.h> 15#include <mach/iomap.h>
16#include <mach/io.h> 16#include <mach/io.h>
17 17
18#if defined(CONFIG_ARM_GIC)
19#define HAVE_GET_IRQNR_PREAMBLE 18#define HAVE_GET_IRQNR_PREAMBLE
20#include <asm/hardware/entry-macro-gic.S> 19#include <asm/hardware/entry-macro-gic.S>
21 20
@@ -32,25 +31,3 @@
32 31
33 .macro arch_ret_to_user, tmp1, tmp2 32 .macro arch_ret_to_user, tmp1, tmp2
34 .endm 33 .endm
35#else
36 /* legacy interrupt controller for AP16 */
37 .macro disable_fiq
38 .endm
39
40 .macro get_irqnr_preamble, base, tmp
41 @ enable imprecise aborts
42 cpsie a
43 @ EVP base at 0xf010f000
44 mov \base, #0xf0000000
45 orr \base, #0x00100000
46 orr \base, #0x0000f000
47 .endm
48
49 .macro arch_ret_to_user, tmp1, tmp2
50 .endm
51
52 .macro get_irqnr_and_base, irqnr, irqstat, base, tmp
53 ldr \irqnr, [\base, #0x20] @ EVT_IRQ_STS
54 cmp \irqnr, #0x80
55 .endm
56#endif