summaryrefslogtreecommitdiff
path: root/src/mainboard/google/zoombini/boardid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/zoombini/boardid.c')
-rw-r--r--src/mainboard/google/zoombini/boardid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/zoombini/boardid.c b/src/mainboard/google/zoombini/boardid.c
index 4b05c52190..4e431766b2 100644
--- a/src/mainboard/google/zoombini/boardid.c
+++ b/src/mainboard/google/zoombini/boardid.c
@@ -19,9 +19,9 @@
uint32_t board_id(void)
{
- MAYBE_STATIC int id = -1;
+ MAYBE_STATIC uint32_t id = BOARD_ID_INIT;
- if (id < 0)
+ if (id == BOARD_ID_INIT)
id = variant_board_id();
return id;