From: Tom Rini Date: Sat, 10 Jun 2017 09:45:54 -0400 Subject: [U-Boot] [U-Boot, v2, 1/7] spl: armv7m: to keep ARM v7M in thumb mode before booting next image In-Reply-To: <1496001329-30038-2-git-send-email-vikas.manocha@st.com> References: <1496001329-30038-2-git-send-email-vikas.manocha@st.com> Message-ID: <20170610134554.GP10782@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, May 28, 2017 at 12:55:08PM -0700, Vikas Manocha wrote: > On ARM v7M, the processor will return to ARM mode when executing blx > instruction with bit 0 of the address == 0. Always set it to 1 to stay in thumb > mode. > > At present, it is applied only for raw U-Boot. This patch moves it to just > before booting next image. This way armv7m will be in thumb mode for any image > like raw or image with header like zImage or standard U-Boot. > > Signed-off-by: Vikas Manocha Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: