Skip to content

Commit d7bd0ae

Browse files
yu-chen-surfrafaeljw
authored andcommitted
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 <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent ed30a4a commit d7bd0ae

File tree

1 file changed

+2
-0
lines changed
  • tools/power/acpi/tools/pfrut

1 file changed

+2
-0
lines changed

tools/power/acpi/tools/pfrut/pfrut.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ void print_cap(struct pfru_update_cap_info *cap)
174174
exit(1);
175175
}
176176

177+
printf("update capability:%d\n", cap->update_cap);
178+
177179
uuid_unparse(cap->code_type, uuid);
178180
printf("code injection image type:%s\n", uuid);
179181
printf("fw_version:%d\n", cap->fw_version);

0 commit comments

Comments
 (0)