[U-Boot] [U-Boot, v3, 2/2] arm: Make arch specific memcpy thumb-safe.

Tom Rini trini at konsulko.com
Sat Nov 17 13:33:50 UTC 2018


On Thu, Apr 26, 2018 at 08:18:10PM +0200, Klaus Goger wrote:

> The current arch implementation of memcpy cannot be called
> from thumb code, because it does not use bx instructions on return.
> This patch addresses that. Note, that this patch does not touch
> the hot loop of memcpy, so performance is not affected.
> 
> Tested on MXS (arm926ejs) with and without thumb-mode enabled.
> 
> Signed-off-by: Klaus Goger <klaus.goger at theobroma-systems.com>
> Signed-off-by: Christoph Muellner <christoph.muellner at theobroma-systems.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181117/2393a8d8/attachment.sig>


More information about the U-Boot mailing list