summaryrefslogtreecommitdiff
path: root/cmd/mem.c
Commit message (Collapse)AuthorAgeLines
* cmd: mem: Use memcpy for 'cp' commandFabio Estevam2017-01-12-26/+2
| | | | | | | | | | | 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>
* cmd: mem: Show 64bit addresses which are testedMichal Simek2016-02-24-1/+1
| | | | | | Fix print message to show full 64bit addresses. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* Remove the cmd_ prefix from command filesSimon Glass2016-01-25-0/+1410
Now that they are in their own directory, we can remove this prefix. This makes it easier to find a file since the prefix does not get in the way. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Heiko Schocher <hs@denx.de> Acked-by: Stefan Roese <sr@denx.de> Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>