9
0
Fork 0

memcpy command: do not set read/write size

The memcpy command can be much faster if we do not copy in byte
mode.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2011-03-30 22:06:14 +02:00
parent 802a164760
commit 0fed2e4d32
1 changed files with 1 additions and 1 deletions

View File

@ -418,7 +418,7 @@ static int do_mem_cp(struct command *cmdtp, int argc, char *argv[])
char *sourcefile = DEVMEM;
char *destfile = DEVMEM;
int sourcefd, destfd;
int mode = O_RWSIZE_1;
int mode = 0;
struct stat statbuf;
int ret = 0;