I broke the board enable matching. This is just a hack to get it working on non-coreboot boards.
Signed-off-by: Stefan Tauner stefan.tauner@alumni.tuwien.ac.at --- board_enable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/board_enable.c b/board_enable.c index 1235bb8..38a966d 100644 --- a/board_enable.c +++ b/board_enable.c @@ -2532,10 +2532,10 @@ static const struct board_match *board_match_name(const char *vendor, const char const struct board_match *partmatch = NULL;
for (; board->vendor_name; board++) { - if (!board->lb_vendor || strcasecmp(board->lb_vendor, vendor)) + if (!board->vendor_name || strcasecmp(board->vendor_name, vendor)) continue;
- if (!board->lb_part || strcasecmp(board->lb_part, model)) + if (!board->board_name || strcasecmp(board->board_name, model)) continue;
if (!pci_dev_find(board->first_vendor, board->first_device)) {