commit | b03b0c8e610e2365f4d78cae5d45a061b7b9d3b4 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@nxp.com> | Thu Dec 15 16:00:13 2016 -0200 |
committer | Tom Rini <trini@konsulko.com> | Thu Jan 12 13:16:26 2017 -0500 |
tree | 309aa03ecaab7c03003e67cbd9fb6a57b83c8c59 | |
parent | f1c2fc0d119e9d4d538064301299f74827105472 [diff] |
cmd: mem: Use memcpy for 'cp' command Simplify the 'cp' command implementation by using the memcpy() function, which brings the additional benefit of performance gain for those who have CONFIG_USE_ARCH_MEMCPY selected. Tested on a mx6qsabreauto board where a 5x gain in performance is seen when reading 10MB from the parallel NOR memory. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>