diff options
author | David Hendricks <dhendrix@chromium.org> | 2013-03-28 13:45:19 -0700 |
---|---|---|
committer | David Hendricks <dhendrix@chromium.org> | 2013-03-28 22:40:27 +0100 |
commit | 8f398876170c4076a52850cf3f9cbeb23b951204 (patch) | |
tree | 6f4b243bbed8484169bd616120f40b8c1c6d4c64 | |
parent | d21ca52adebab875c66ff1843adcbb979400532f (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)
-rw-r--r-- | src/arch/armv7/lib/cache.c | 2 |
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; |