diff options
| author | Simon Glass <sjg@chromium.org> | 2017-04-05 16:23:31 -0600 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2017-05-09 20:19:04 -0400 |
| commit | cb0eae8cf8aaca76910dee4c7eb536d0814d1bd2 (patch) | |
| tree | 8e4bb6377bcafcd626ed0bcbcdf960fad5cd1ceb /configs/O2MNT_O2M113_defconfig | |
| parent | 20b429b013c97cb3d253274003d52bbe8c9c4da1 (diff) | |
| download | u-boot-cb0eae8cf8aaca76910dee4c7eb536d0814d1bd2.tar.gz u-boot-cb0eae8cf8aaca76910dee4c7eb536d0814d1bd2.tar.xz u-boot-cb0eae8cf8aaca76910dee4c7eb536d0814d1bd2.zip | |
string: Use memcpy() within memmove() when we can
A common use of memmove() can be handled by memcpy(). Also memcpy()
includes an optimisation for large sizes: it copies a word at a time. So
we can get a speed-up by calling memcpy() to handle our move in this case.
Update memmove() to call memcpy() if the destination is before the source.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'configs/O2MNT_O2M113_defconfig')
0 files changed, 0 insertions, 0 deletions
