diff options
author | Olof Johansson <olof@lixom.net> | 2014-05-31 21:13:46 +0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2014-05-31 21:18:13 +0400 |
commit | b5b9324a6296bd0176fe1f8e06a1220207bd1bd3 (patch) | |
tree | 69ac92f7daff06b8e35d267862b39047c49f21bd | |
parent | 4081503b436c4b28c7cefed9ed437b6662b6ab1f (diff) | |
download | linux-b5b9324a6296bd0176fe1f8e06a1220207bd1bd3.tar.xz |
ARM: exynos: don't run exynos4 l2x0 setup on other platforms
This was caught by a panic on Broadcom mobile platforms.
Note that this code is all going away with the pending l2x0 cleanup
series from Russell, but we need this here until that's landed so we
can enable exynos multiplatform.
Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r-- | arch/arm/mach-exynos/exynos.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index d51d5af7e7df..4800b1ce3d71 100644 --- a/arch/arm/mach-exynos/exynos.c +++ b/arch/arm/mach-exynos/exynos.c @@ -246,6 +246,9 @@ static int __init exynos4_l2x0_cache_init(void) { int ret; + if (!soc_is_exynos4()) + return 0; + ret = l2x0_of_init(L2_AUX_VAL, L2_AUX_MASK); if (ret) return ret; |