Merge pull request #874 from zqb-all/fix_haltgroup_supported

target/riscv: fix haltgroup_supported to info->haltgroup_supported
This commit is contained in:
Tim Newsome 2023-06-27 10:08:53 -07:00 committed by GitHub
commit 4be6a5683f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -1959,8 +1959,7 @@ static int examine(struct target *target)
} }
if (target->smp) { if (target->smp) {
bool haltgroup_supported; if (set_group(target, &info->haltgroup_supported, target->smp, HALT_GROUP) != ERROR_OK)
if (set_group(target, &haltgroup_supported, target->smp, HALT_GROUP) != ERROR_OK)
return ERROR_FAIL; return ERROR_FAIL;
if (info->haltgroup_supported) if (info->haltgroup_supported)
LOG_INFO("Core %d made part of halt group %d.", target->coreid, LOG_INFO("Core %d made part of halt group %d.", target->coreid,