mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 14:33:18 +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:
6
flash.h
6
flash.h
@ -309,12 +309,6 @@ struct board_info {
|
||||
#endif
|
||||
};
|
||||
|
||||
#ifdef CONFIG_PRINT_WIKI
|
||||
#define B(vendor, name, status, url, note) { vendor, name, status, url, note }
|
||||
#else
|
||||
#define B(vendor, name, status, url, note) { vendor, name, status }
|
||||
#endif
|
||||
|
||||
extern const struct board_info boards_known[];
|
||||
extern const struct board_info laptops_known[];
|
||||
|
||||
|
Reference in New Issue
Block a user