summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJassi Brar <jaswinder.singh@linaro.org>2012-03-09 20:27:12 +0530
committerAndy Green <andy.green@linaro.org>2012-03-09 23:48:34 +0800
commit28c4caec4c5407f8ecbf2dc2332c9e7d92331172 (patch)
treecb3abc429d7cddbf82118e2ff01e95d01b2d16ef
parent8ae3d379998c7f48c73251d8f60b31b2b82a817d (diff)
From 4663110879b44922c9944c8ee65843f16adfdbcb Mon Sep 17 00:00:00 2001
Subject: [PATCH 1/2] OMAP4460: Fix revision checking Fix the typo that affect control flow. Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
-rw-r--r--arch/arm/mach-omap2/omap4-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/omap4-common.c b/arch/arm/mach-omap2/omap4-common.c
index 31a7d7132f8..d3a0d53a701 100644
--- a/arch/arm/mach-omap2/omap4-common.c
+++ b/arch/arm/mach-omap2/omap4-common.c
@@ -205,7 +205,7 @@ static int __init omap_l2_cache_init(void)
* Lock-down specific L2 cache ways which makes effective
* L2 size as 512 KB instead of 1 MB
*/
- if (cpu_is_omap446x() && omap_rev() == OMAP4430_REV_ES1_0) {
+ if (cpu_is_omap446x() && omap_rev() == OMAP4460_REV_ES1_0) {
pr_info("4460 ES1.0 Cache Issue workaround enabled\n");
lockdown = 0xa5a5;
writel_relaxed(lockdown, l2cache_base + L2X0_LOCKDOWN_WAY_D0);