diff options
author | Mark Rutland <mark.rutland@arm.com> | 2013-07-02 15:44:06 +0100 |
---|---|---|
committer | Mark Rutland <mark.rutland@arm.com> | 2013-08-14 14:14:50 +0100 |
commit | 79de899b5a235fb8a2aacd0147ac83a2a86cfd47 (patch) | |
tree | 2ac5ca63489631825fd2af82cb80ce8fad659a1b | |
parent | d9e63728ff454f338e41edd1433b7e5096120279 (diff) | |
download | boot-wrapper-aarch64-79de899b5a235fb8a2aacd0147ac83a2a86cfd47.tar.gz |
cache.S: fix max cache level detection
Due to incorrect operands for an and, we treat the value of the Ctype1
field of clidr_el1 as if it were the LoC field.
Fix up the operands so we use LoC corretly.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
-rw-r--r-- | cache.S | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ flush_caches: /* find what out the max cache level to flush */ lsr x1, x0, #24 - and x1, x0, #(0x7) + and x1, x1, #(0x7) cbz x1, dcaches_done mov x2, #0 /* level 1 (represented 1-off) */ |