target/riscv: fix haltgroup_supported to info->haltgroup_supported
Change-Id: Id1276aecd3097d90e035bf3808e0c472188ba474 Signed-off-by: Mark Zhuang <mark.zhuang@spacemit.com>
This commit is contained in:
parent
a45589d60a
commit
34418ed1c8
|
@ -1959,8 +1959,7 @@ static int examine(struct target *target)
|
|||
}
|
||||
|
||||
if (target->smp) {
|
||||
bool haltgroup_supported;
|
||||
if (set_group(target, &haltgroup_supported, target->smp, HALT_GROUP) != ERROR_OK)
|
||||
if (set_group(target, &info->haltgroup_supported, target->smp, HALT_GROUP) != ERROR_OK)
|
||||
return ERROR_FAIL;
|
||||
if (info->haltgroup_supported)
|
||||
LOG_INFO("Core %d made part of halt group %d.", target->coreid,
|
||||
|
|
Loading…
Reference in New Issue