ACPI: tools: pfrut: Print the update_cap field during capability query

There is request from the end user to print this field to better
query what type of update capability is supported on this platform.

Signed-off-by: Chen Yu <yu.c.chen@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Chen Yu 2024-04-26 17:48:50 +08:00 committed by Rafael J. Wysocki
parent ed30a4a51b
commit d7bd0aeb5a

View File

@ -174,6 +174,8 @@ void print_cap(struct pfru_update_cap_info *cap)
exit(1); exit(1);
} }
printf("update capability:%d\n", cap->update_cap);
uuid_unparse(cap->code_type, uuid); uuid_unparse(cap->code_type, uuid);
printf("code injection image type:%s\n", uuid); printf("code injection image type:%s\n", uuid);
printf("fw_version:%d\n", cap->fw_version); printf("fw_version:%d\n", cap->fw_version);