diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2016-12-15 16:00:13 -0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-01-12 13:16:26 -0500 |
commit | c2538421b28424b9705865e838c5fba19c9dc651 (patch) | |
tree | 309aa03ecaab7c03003e67cbd9fb6a57b83c8c59 /drivers/mmc/pci_mmc.c | |
parent | 4386feb73da7946fc79b55c4fa41c6dd66dcb2e2 (diff) | |
download | u-boot-imx-c2538421b28424b9705865e838c5fba19c9dc651.zip u-boot-imx-c2538421b28424b9705865e838c5fba19c9dc651.tar.gz u-boot-imx-c2538421b28424b9705865e838c5fba19c9dc651.tar.bz2 |
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>
Diffstat (limited to 'drivers/mmc/pci_mmc.c')
0 files changed, 0 insertions, 0 deletions