On 23/05/2011 11:06, Matthias Weisser wrote: > 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<weiss...@arcor.de> > --- > arch/arm/lib/memcpy.S | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/lib/memcpy.S b/arch/arm/lib/memcpy.S > index 3b5aeec..f655256 100644 > --- a/arch/arm/lib/memcpy.S > +++ b/arch/arm/lib/memcpy.S > @@ -60,6 +60,9 @@ > .globl memcpy > memcpy: > > + cmp r0, r1 > + moveq pc, lr > + > enter r4, lr > > subs r2, r2, #4
Applied to u-boot-arm/master, thanks. Amicalement, -- Albert. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot