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:
parent
802a164760
commit
0fed2e4d32
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue