summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/common.c
diff options
context:
space:
mode:
authorPeter De Schrijver <pdeschrijver@nvidia.com>2011-12-14 17:03:25 +0200
committerOlof Johansson <olof@lixom.net>2011-12-17 20:15:35 -0800
commit44107d8b7e7ea3e24bebed565f03befd61caf426 (patch)
tree60ab1b9da3a8b095a500df733c7eda8657d318c7 /arch/arm/mach-tegra/common.c
parent241682c8e0df98e710776ea09a7748938ca2578f (diff)
downloadlinux-44107d8b7e7ea3e24bebed565f03befd61caf426.tar.gz
linux-44107d8b7e7ea3e24bebed565f03befd61caf426.tar.bz2
linux-44107d8b7e7ea3e24bebed565f03befd61caf426.zip
arm/tegra: implement support for tegra30
Add support for tegra30 SoC. This includes a device tree compatible type for this SoC ("nvidia,tegra30") and adds L2 cache initialization for this new SoC. The clock framework is still missing, which prevents most drivers from working. The basic IRQs are the same, so remove the dependency on CONFIG_ARCH_TEGRA_2x_SOC. Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com> Acked-by: Stephen Warren <swarren@nvidia.com> Acked-by: Colin Cross <ccross@android.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-tegra/common.c')
-rw-r--r--arch/arm/mach-tegra/common.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/common.c b/arch/arm/mach-tegra/common.c
index a5c14dc304d1..8911e620c092 100644
--- a/arch/arm/mach-tegra/common.c
+++ b/arch/arm/mach-tegra/common.c
@@ -102,3 +102,9 @@ void __init tegra20_init_early(void)
tegra_init_cache(0x331, 0x441);
}
#endif
+#ifdef CONFIG_ARCH_TEGRA_3x_SOC
+void __init tegra30_init_early(void)
+{
+ tegra_init_cache(0x441, 0x551);
+}
+#endif