diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/aarch32/cache_helpers.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/aarch32/cache_helpers.S b/lib/aarch32/cache_helpers.S index 810af0f0d..432a30334 100644 --- a/lib/aarch32/cache_helpers.S +++ b/lib/aarch32/cache_helpers.S @@ -124,7 +124,9 @@ loop3: level_done: add r1, r1, #2 // increment the cache number cmp r3, r1 - dsb sy // ensure completion of previous cache maintenance instruction + // Ensure completion of previous cache maintenance instruction. Note + // this also mitigates erratum 814220 on Cortex-A7 + dsb sy bhi loop1 mov r6, #0 |