summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/gic.c
diff options
context:
space:
mode:
authorScott Williams <scwilliams@nvidia.com>2012-02-01 15:49:06 -0800
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-02-03 05:54:16 -0800
commitf7e9d535119e1a5d030867f3581261204ba637cd (patch)
tree4e85049165a632b064783d6c63907e35ae0dfec4 /arch/arm/mach-tegra/gic.c
parentff11080bde456a889e1a2b536a87bad65e6bee7c (diff)
ARM: tegra: Co-locate all GIC functions
Move Tegra GIC initialization to be with the other GIC functions. Change-Id: I9b23757d135f3a9062f21fccb816c745ce8add43 Signed-off-by: Scott Williams <scwilliams@nvidia.com> Reviewed-on: http://git-master/r/78829 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-by: Mark Stadler <mastadler@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/gic.c')
-rw-r--r--arch/arm/mach-tegra/gic.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/gic.c b/arch/arm/mach-tegra/gic.c
index 50cecc4eed64..6c2dc9406758 100644
--- a/arch/arm/mach-tegra/gic.c
+++ b/arch/arm/mach-tegra/gic.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2011, NVIDIA Corporation
+ * Copyright (C) 2010-2012, NVIDIA Corporation
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
@@ -127,3 +127,9 @@ void tegra_gic_affinity_to_cpu0(void)
}
#endif
#endif
+
+void __init tegra_gic_init(void)
+{
+ gic_init(0, 29, IO_ADDRESS(TEGRA_ARM_INT_DIST_BASE),
+ IO_ADDRESS(TEGRA_ARM_PERIF_BASE + 0x100));
+}