diff options
Diffstat (limited to 'src/mainboard/google/herobrine/boardid.c')
-rw-r--r-- | src/mainboard/google/herobrine/boardid.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mainboard/google/herobrine/boardid.c b/src/mainboard/google/herobrine/boardid.c index eecbeab087..6368d25157 100644 --- a/src/mainboard/google/herobrine/boardid.c +++ b/src/mainboard/google/herobrine/boardid.c @@ -1,6 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include <boardid.h> +#include <ec/google/chromeec/ec.h> #include <gpio.h> uint32_t board_id(void) @@ -19,7 +20,5 @@ uint32_t ram_code(void) uint32_t sku_id(void) { - static uint32_t id = UNDEFINED_STRAPPING_ID; - - return id; + return google_chromeec_get_board_sku(); } |