summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chip/g/board_id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/g/board_id.c b/chip/g/board_id.c
index d97ba31870..1c9fe81afb 100644
--- a/chip/g/board_id.c
+++ b/chip/g/board_id.c
@@ -225,7 +225,7 @@ static int command_board_id(int argc, char **argv)
if (board_id_is_blank(&id))
return rv; /* The space is not initialized. */
- if (id.type != ~id.type_inv)
+ if (!board_id_type_is_blank(&id) && id.type != ~id.type_inv)
ccprintf("Inv Type Mismatch (%08x instead of %08x)!\n",
id.type_inv, ~id.type);
}