[U-Boot] [PATCH v2 4/4] cmd: mem: Use memcpy for 'cp' command

Tom Rini trini at konsulko.com
Sat Dec 17 16:11:08 CET 2016


On Thu, Dec 15, 2016 at 04:00:13PM -0200, Fabio Estevam wrote:

> 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 at nxp.com>

Can you load up a few other platforms via QEMU and test it out there?
Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161217/18ebd6f7/attachment.sig>


More information about the U-Boot mailing list