summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/adlrvp/board_id.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/intel/adlrvp/board_id.c')
-rw-r--r--src/mainboard/intel/adlrvp/board_id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/intel/adlrvp/board_id.c b/src/mainboard/intel/adlrvp/board_id.c
index de7a3804d9..041cdff451 100644
--- a/src/mainboard/intel/adlrvp/board_id.c
+++ b/src/mainboard/intel/adlrvp/board_id.c
@@ -19,7 +19,7 @@ static uint32_t get_board_id_via_ext_ec(void)
/* Get Board ID via EC I/O port write/read */
int get_board_id(void)
{
- MAYBE_STATIC_NONZERO int id = -1;
+ static int id = -1;
if (id < 0) {
if (CONFIG(EC_GOOGLE_CHROMEEC)) {