]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
arm64: fix comment in relocate_64.S
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 4 Feb 2017 03:30:06 +0000 (12:30 +0900)
committerTom Rini <trini@konsulko.com>
Wed, 8 Feb 2017 21:24:27 +0000 (16:24 -0500)
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: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/lib/relocate_64.S

index 242e56e960848136fb2c61bb2eea12fd249f1d77..c7600537063f86b3297bc8a8a34af6db88e0bdca 100644 (file)
@@ -68,7 +68,7 @@ relocate_done:
        b       0f
 1:     mrs     x0, sctlr_el1
 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 */
        isb     sy
 4:     ldp     x0, x1, [sp, #16]