summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/google/kahlee/variants/baseboard/mainboard.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mainboard/google/kahlee/variants/baseboard/mainboard.c b/src/mainboard/google/kahlee/variants/baseboard/mainboard.c
index 95274eb85d..30fcc8c2a2 100644
--- a/src/mainboard/google/kahlee/variants/baseboard/mainboard.c
+++ b/src/mainboard/google/kahlee/variants/baseboard/mainboard.c
@@ -15,6 +15,7 @@
#include <ec/google/chromeec/ec.h>
#include <baseboard/variants.h>
+#include <boardid.h>
#include <cbfs.h>
#include <gpio.h>
#include <smbios.h>
@@ -24,7 +25,7 @@
#include <device/pci_ops.h>
#include <drivers/generic/bayhub/bh720.h>
-uint8_t variant_board_sku(void)
+uint32_t sku_id(void)
{
static int sku = -1;
@@ -34,6 +35,11 @@ uint8_t variant_board_sku(void)
return sku;
}
+uint8_t variant_board_sku(void)
+{
+ return sku_id();
+}
+
void variant_mainboard_suspend_resume(void)
{
/* Enable backlight - GPIO 133 active low */