mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 22:21:16 +02:00
Fix wiki board enable parameter printing
The logic was incorrect in one place which had && instead of ||. Move the board info #define B to the file where it is used. Corresponding to flashrom svn r1035. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
This commit is contained in:
@ -145,9 +145,9 @@ static void wiki_helper(const char *devicetype, int cols,
|
||||
color = !color;
|
||||
|
||||
k = 0;
|
||||
while ((b[k].vendor_name != NULL)
|
||||
&& strcmp(b[k].vendor_name, boards[i].vendor)
|
||||
&& strcmp(b[k].board_name, boards[i].name)) {
|
||||
while ((b[k].vendor_name != NULL) &&
|
||||
(strcmp(b[k].vendor_name, boards[i].vendor) ||
|
||||
strcmp(b[k].board_name, boards[i].name))) {
|
||||
k++;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user