From: Vikas Manocha <vikas.manocha@st.com>
Date: Fri, 31 Aug 2018 23:39:36 +0000 (-0700)
Subject: arm: armv7m: remove un-necessary If then instruction
X-Git-Tag: v2025.01-rc5-pxa1908~3624
X-Git-Url: http://git.dujemihanovic.xyz/%22mailto:Murray.Jensen%40csiro.au/static/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=680223a2da55d365f0bbc7207297fdb8569c30c2;p=u-boot.git

arm: armv7m: remove un-necessary If then instruction

With gas option -mimplicit-it=always, IT block is inserted by the assembler
for thumb2.

Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
---

diff --git a/arch/arm/lib/crt0.S b/arch/arm/lib/crt0.S
index 0decce2c5b..d7ff9f0e5f 100644
--- a/arch/arm/lib/crt0.S
+++ b/arch/arm/lib/crt0.S
@@ -139,9 +139,6 @@ here:
 	mov	r2, #0x00000000		/* prepare zero to clear BSS */
 
 clbss_l:cmp	r0, r1			/* while not at end of BSS */
-#if defined(CONFIG_CPU_V7M)
-	itt	lo
-#endif
 	strlo	r2, [r0]		/* clear 32-bit BSS word */
 	addlo	r0, r0, #4		/* move to next */
 	blo	clbss_l