From: Masahiro Yamada Date: Sat, 4 Feb 2017 03:30:06 +0000 (+0900) Subject: arm64: fix comment in relocate_64.S X-Git-Tag: v2017.03-rc2~19 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1f4f5e52e5afba8c1be15b9f6be187ad016f03e9;p=u-boot 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 Reviewed-by: Simon Glass --- diff --git a/arch/arm/lib/relocate_64.S b/arch/arm/lib/relocate_64.S index 242e56e960..c760053706 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]