summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/reef/variants/coral/mainboard.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainboard/google/reef/variants/coral/mainboard.c b/src/mainboard/google/reef/variants/coral/mainboard.c
index 54c24f8c43..3da54569bc 100644
--- a/src/mainboard/google/reef/variants/coral/mainboard.c
+++ b/src/mainboard/google/reef/variants/coral/mainboard.c
@@ -14,11 +14,13 @@
*/
#include <stdint.h>
+#include <ec/google/chromeec/ec.h>
#include "baseboard/variants.h"
uint8_t variant_board_sku(void)
{
- return 0;
+ // we know that the values are in 0..255
+ return google_chromeec_get_sku_id();
}
void variant_nhlt_oem_overrides(const char **oem_id,