[U-Boot] [PATCH] bootm: Reduce the unnecessary memmove

Wolfgang Denk wd at denx.de
Sun Feb 22 22:34:45 CET 2009


Dear Larry Johnson,

In message <49A177D8.1050702 at acm.org> you wrote:
>
> > Although load address and image start address are same address,
> > bootm command always does memmove.
> > That is unnecessary memmove and can be taken few milliseconds
> > (about 500 msec to 1000 msec).
> > If skip this memmove, we can reduce the boot time.
...
> Sorry for the late reply, but would it be better to put the test of
> source == destination into the memmove_wd() function?

Yes, indeed.

Can you please send a patch?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
This was an  amazing  creation  using  small  squares  of  compressed
vegetable  matter on which letters were made by means of small carbon
particles from a stylus, giving an effect similar to the  traditional
word-processor  screen. It seemed amazingly portable and I never once
saw him have to change the batteries.
        - Terry Pratchett & Stephen Briggs, _The Discworld Companion_


More information about the U-Boot mailing list