projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4081503
)
ARM: exynos: don't run exynos4 l2x0 setup on other platforms
author
Olof Johansson
<olof@lixom.net>
Sat, 31 May 2014 17:13:46 +0000
(10:13 -0700)
committer
Olof Johansson
<olof@lixom.net>
Sat, 31 May 2014 17:18:13 +0000
(10:18 -0700)
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>
arch/arm/mach-exynos/exynos.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-exynos/exynos.c
b/arch/arm/mach-exynos/exynos.c
index
d51d5af
..
4800b1c
100644
(file)
--- 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;