Make MemTest32 pass.

Change-Id: I9be90b07be695c976380f9fd50b971f8bb94f513
__archive__
Tim Newsome 2017-02-15 17:10:53 -08:00
parent 79e840aaa7
commit 713c001242
1 changed files with 2 additions and 2 deletions

View File

@ -2396,8 +2396,8 @@ static int write_memory(struct target *target, uint32_t address,
case 4:
value = buffer[4*i] |
((uint32_t) buffer[4*i+1] << 8) |
((uint32_t) buffer[4*i+2] << 8) |
((uint32_t) buffer[4*i+3] << 8);
((uint32_t) buffer[4*i+2] << 16) |
((uint32_t) buffer[4*i+3] << 24);
break;
default:
return ERROR_FAIL;