Fix style.
Change-Id: I45a9397e512d074a7c33d90154ff2e1cbee16136
This commit is contained in:
parent
4fa9f61739
commit
8a9df230ad
|
@ -2337,11 +2337,10 @@ static int read_memory_bus_v1(struct target *target, target_addr_t address,
|
||||||
!get_field(sbcs_read, DMI_SBCS_SBBUSYERROR)) {
|
!get_field(sbcs_read, DMI_SBCS_SBBUSYERROR)) {
|
||||||
int result = read_memory_bus_word(target, address + (count - 1) * size, size,
|
int result = read_memory_bus_word(target, address + (count - 1) * size, size,
|
||||||
buffer + (count - 1) * size);
|
buffer + (count - 1) * size);
|
||||||
if (result == ERROR_BUSY) {
|
if (result == ERROR_BUSY)
|
||||||
busy = true;
|
busy = true;
|
||||||
} else if (result != ERROR_OK) {
|
else if (result != ERROR_OK)
|
||||||
return result;
|
return result;
|
||||||
}
|
|
||||||
|
|
||||||
if (read_sbcs_nonbusy(target, &sbcs_read) != ERROR_OK)
|
if (read_sbcs_nonbusy(target, &sbcs_read) != ERROR_OK)
|
||||||
return ERROR_FAIL;
|
return ERROR_FAIL;
|
||||||
|
|
Loading…
Reference in New Issue