powerpc: mpc5200: Correct return value of memcpy function

The memcpy() function returns a pointer to trg.

Signed-off-by: Mark Marshall <Mark.Marshall@omicron.at>
Reviewed-by: Thomas Graziadei <thomas.graziadei@omicronenergy.com>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Reviewed-by: York Sun <york.sun@nxp.com>
This commit is contained in:
Mark Marshall 2017-01-24 13:47:31 +01:00 committed by York Sun
parent 2ec70961e7
commit de8c9317a8
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ void *memcpy(void *trg, const void *src, size_t len)
extern void* __memcpy(void *, const void *, size_t);
char *s = (char *)src;
char *t = (char *)trg;
void *dest = (void *)src;
void *dest = (void *)trg;
/*
* Check is source address is in flash: