lib_generic memset: fill one word at a time if possible
authorAlessandro Rubini <rubini@unipv.it>
Sat, 10 Oct 2009 09:51:16 +0000 (11:51 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 18 Oct 2009 21:10:40 +0000 (23:10 +0200)
commite3ea948d4588e7efddbf0ee92147d93f827d7cea
tree9fbbe1bdda3923d5cc54f73120ceea4a3772a0c6
parentecd830b863e5c6ac5d804d3b3a92453a98d526fc
lib_generic memset: fill one word at a time if possible

If the destination is aligned, fill ulong values until possible.
Then fill remaining part by byte.

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