summaryrefslogtreecommitdiff
path: root/src/ec/intel/board_id.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/intel/board_id.c')
-rw-r--r--src/ec/intel/board_id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/intel/board_id.c b/src/ec/intel/board_id.c
index 15acad6617..72d74c51f0 100644
--- a/src/ec/intel/board_id.c
+++ b/src/ec/intel/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_rvp_board_id(void)
{
- MAYBE_STATIC_NONZERO int id = BOARD_ID_UNKNOWN;
+ static int id = BOARD_ID_UNKNOWN;
if (CONFIG(EC_GOOGLE_CHROMEEC)) { /* CHROME_EC */
id = get_board_id_via_ext_ec();