]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: lib: memcpy: Do not copy to same address
authorMatthias Weisser <weisserm@arcor.de>
Sun, 22 May 2011 23:06:50 +0000 (23:06 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 3 Sep 2011 20:40:45 +0000 (22:40 +0200)
commit34fe8281d7323784544e94d2f7218f52b8a2899d
tree93a4c71a8f0d447dff324a79b7221f1f47707e6a
parent2141e14428924792d5d0f1770d7c03bdc892208c
arm: lib: memcpy: Do not copy to same address

In some cases (e.g. bootm with a elf payload which is already at the right
position) there is a in place copy of data to the same address. Catching this
saves some ms while booting.

Signed-off-by: Matthias Weisser <weisserm@arcor.de>
arch/arm/lib/memcpy.S