From patchwork Sat Feb 4 03:30:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 93334 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp872513qgi; Fri, 3 Feb 2017 19:30:45 -0800 (PST) X-Received: by 10.223.151.99 with SMTP id r90mr207867wrb.183.1486179045866; Fri, 03 Feb 2017 19:30:45 -0800 (PST) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id n19si348573wmg.126.2017.02.03.19.30.45; Fri, 03 Feb 2017 19:30:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 97F6C4AB34; Sat, 4 Feb 2017 04:30:44 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aG7Vq_lcsTJp; Sat, 4 Feb 2017 04:30:44 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D482E4A99B; Sat, 4 Feb 2017 04:30:43 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E33634A99B for ; Sat, 4 Feb 2017 04:30:38 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nesvVsLFluv1 for ; Sat, 4 Feb 2017 04:30:38 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from conuserg-08.nifty.com (conuserg-08.nifty.com [210.131.2.75]) by theia.denx.de (Postfix) with ESMTPS id 2986A4A08A for ; Sat, 4 Feb 2017 04:30:34 +0100 (CET) Received: from grover.sesame (FL1-111-169-71-157.osk.mesh.ad.jp [111.169.71.157]) (authenticated) by conuserg-08.nifty.com with ESMTP id v143UDpX016821; Sat, 4 Feb 2017 12:30:15 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v143UDpX016821 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1486179015; bh=0aeoQPRd9CUv0fBNE1BR19IaqgfVwlkvQCpblwprL3I=; h=From:To:Cc:Subject:Date:From; b=xAyBnQc7N9ZiAWyoQq3ZuXdiTK/LuliCvW2phjdoKjskxxXTkgJwIlrDyzKRSqCrh AfAUAeGGXpjQcGw3uVAo2RE8sahHNLislXTs3oaDlqWW+UV8/dBA7V1Hd1n5/EGuNu LccsoH+DhKBrHvpZal7xUiTtk7G7mDwGnEPopFXbwh0lkX54503fhcLhvXE3/GzOt2 kRBB+zrnnpwyndSBI0xHLKnW78gwjogw+M+ZJW/NWpR2SJydq1LY2CpWTc+nJYlaB/ zAKcuB6uFkwz06iXB01Yw044YzjGZ/aAM5pdE/aQVQbqqYUXfPvTPi3LCS0DKM8ILS nbZbjo+OswpsA== X-Nifty-SrcIP: [111.169.71.157] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Sat, 4 Feb 2017 12:30:06 +0900 Message-Id: <1486179006-10574-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Cc: Albert Aribaud Subject: [U-Boot] [PATCH] arm64: fix comment in relocate_64.S X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" 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 --- arch/arm/lib/relocate_64.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot Reviewed-by: Simon Glass 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]