summaryrefslogtreecommitdiff
path: root/src/arch/armv7/lib
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2013-03-28 13:45:19 -0700
committerDavid Hendricks <dhendrix@chromium.org>2013-03-28 22:40:27 +0100
commit8f398876170c4076a52850cf3f9cbeb23b951204 (patch)
tree6f4b243bbed8484169bd616120f40b8c1c6d4c64 /src/arch/armv7/lib
parentd21ca52adebab875c66ff1843adcbb979400532f (diff)
armv7: fix a bad variable assignment
'<' was used when '<<' is needed. Oops! Change-Id: I8451f76888e86219df16b50739cd2c8db80dcb14 Signed-off-by: David Hendricks <dhendrix@chromium.org> Reviewed-on: http://review.coreboot.org/2941 Reviewed-by: Gabe Black <gabe.black@gmail.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/arch/armv7/lib')
-rw-r--r--src/arch/armv7/lib/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/armv7/lib/cache.c b/src/arch/armv7/lib/cache.c
index b8f4d88aaa..bcf82d2b18 100644
--- a/src/arch/armv7/lib/cache.c
+++ b/src/arch/armv7/lib/cache.c
@@ -264,7 +264,7 @@ void armv7_invalidate_caches(void)
write_csselr(csselr);
icache_invalidate_all();
- csselr = level < 1;
+ csselr = level << 1;
write_csselr(csselr);
dcache_invalidate_all();
break;