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:
parent
2ec70961e7
commit
de8c9317a8
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user