mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 15:12:36 +02:00
Revert "print.c: Dedup 'test_state_to_text()' logic"
This reverts commit 61e16e549a52194ac80ef40504f2dc661d1ff99c. Obviously throws alignment in the table off and changes output class from `general` to `programmer` for no visible reason. Change-Id: I864044b9fac6af9cf6a89c053eccdcb36f17c7bd Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/36909 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: David Hendricks <david.hendricks@gmail.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
7bd31a435b
commit
5d068ddca4
9
print.c
9
print.c
@ -401,7 +401,14 @@ static void print_supported_boards_helper(const struct board_info *boards,
|
||||
for (i = 0; i < maxboardlen - strlen(b->name); i++)
|
||||
msg_ginfo(" ");
|
||||
|
||||
msg_pinfo(test_state_to_text(b->working));
|
||||
switch (b->working) {
|
||||
case OK: msg_ginfo("OK "); break;
|
||||
case NT: msg_ginfo("NT "); break;
|
||||
case DEP: msg_ginfo("DEP "); break;
|
||||
case NA: msg_ginfo("N/A "); break;
|
||||
case BAD:
|
||||
default: msg_ginfo("BAD "); break;
|
||||
}
|
||||
|
||||
for (e = board_matches; e->vendor_name != NULL; e++) {
|
||||
if (strcmp(e->vendor_name, b->vendor)
|
||||
|
Loading…
x
Reference in New Issue
Block a user