]> git.dujemihanovic.xyz Git - u-boot.git/commit
lib_generic memcpy: copy one word at a time if possible
authorAlessandro Rubini <rubini@unipv.it>
Sat, 10 Oct 2009 09:51:05 +0000 (11:51 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 18 Oct 2009 21:10:37 +0000 (23:10 +0200)
commitecd830b863e5c6ac5d804d3b3a92453a98d526fc
tree8c9d0bb8957f0e54a4759c8e5f80cbbad88f4686
parent9c5586aa19bbedf290d2a663813404d2db87dfa5
lib_generic memcpy: copy one word at a time if possible

If source and destination are aligned, this copies ulong values
until possible, trailing part is copied by byte. Thanks for the details
to Wolfgang Denk, Mike Frysinger, Peter Tyser, Chris Moore.

Signed-off-by: Alessandro Rubini <rubini@unipv.it>
Acked-by: Andrea Gallo <andrea.gallo@stericsson.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
lib_generic/string.c