Conform to OpenOCD style
Change-Id: I3954a8ac254b460560fa1414c5921777e4005645
This commit is contained in:
parent
487501e761
commit
909c9d4ab2
|
@ -2722,9 +2722,8 @@ static int riscv013_select_current_hart(struct target *target)
|
|||
RISCV_INFO(r);
|
||||
|
||||
dm013_info_t *dm = get_dm(target);
|
||||
if (r->current_hartid == dm->current_hartid) {
|
||||
if (r->current_hartid == dm->current_hartid)
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
uint32_t dmcontrol;
|
||||
if (dmi_read(target, &dmcontrol, DMI_DMCONTROL) != ERROR_OK)
|
||||
|
|
Loading…
Reference in New Issue