summaryrefslogtreecommitdiff
path: root/arch/arm/lib
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-02-04 12:30:06 +0900
committerTom Rini <trini@konsulko.com>2017-02-08 16:24:27 -0500
commit1f4f5e52e5afba8c1be15b9f6be187ad016f03e9 (patch)
treecd0fdcf66220c0aeb19d59153be988471d302ffc /arch/arm/lib
parent8ccdba8b8c18b90b2b200e1ab8c82c7f14d2c756 (diff)
downloadu-boot-imx-1f4f5e52e5afba8c1be15b9f6be187ad016f03e9.zip
u-boot-imx-1f4f5e52e5afba8c1be15b9f6be187ad016f03e9.tar.gz
u-boot-imx-1f4f5e52e5afba8c1be15b9f6be187ad016f03e9.tar.bz2
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: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/lib')
-rw-r--r--arch/arm/lib/relocate_64.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/relocate_64.S b/arch/arm/lib/relocate_64.S
index 242e56e..c760053 100644
--- a/arch/arm/lib/relocate_64.S
+++ b/arch/arm/lib/relocate_64.S
@@ -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]