Skip to content
Snippets Groups Projects
Commit 1f4f5e52 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Tom Rini
Browse files

arm64: fix comment in relocate_64.S


There are two typos in the comment "invalide i-cache is enabled".
We can fix it by
  invalide -> invalidate
  is       -> if

Or, if we want to match the comment to the code, we can say
"skip invalidating i-cache if disabled".

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 8ccdba8b
No related branches found
No related tags found
No related merge requests found
...@@ -68,7 +68,7 @@ relocate_done: ...@@ -68,7 +68,7 @@ relocate_done:
b 0f b 0f
1: mrs x0, sctlr_el1 1: mrs x0, sctlr_el1
0: tbz w0, #2, 5f /* skip flushing cache if disabled */ 0: tbz w0, #2, 5f /* skip flushing cache if disabled */
tbz w0, #12, 4f /* invalide i-cache is enabled */ tbz w0, #12, 4f /* skip invalidating i-cache if disabled */
ic iallu /* i-cache invalidate all */ ic iallu /* i-cache invalidate all */
isb sy isb sy
4: ldp x0, x1, [sp, #16] 4: ldp x0, x1, [sp, #16]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment