diff options
author | Edward O'Callaghan <quasisec@google.com> | 2020-02-20 13:46:38 +1100 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2020-02-28 00:03:59 +0000 |
commit | d51665600e0ddbd4e1ae7144e29d179287ec285f (patch) | |
tree | e09f0c1b62a993d1fe091eb9450eac1e20c43068 /src/mainboard/google/hatch/variants/dratini | |
parent | 9ed10bff317097c42b1545279f88af95ca796ab0 (diff) |
mainboard/google/hatch: Migrate onto SKU ID helpers
Leverage the common sku id space helper encoders.
BUG=b:149348474
BRANCH=none
TEST=tested on hatch
Change-Id: I96e10010fd375b127f1e10387d6f7a839bc35fdd
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39019
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/hatch/variants/dratini')
-rw-r--r-- | src/mainboard/google/hatch/variants/dratini/variant.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/google/hatch/variants/dratini/variant.c b/src/mainboard/google/hatch/variants/dratini/variant.c index 3a51a55bd4..bda30dfb2a 100644 --- a/src/mainboard/google/hatch/variants/dratini/variant.c +++ b/src/mainboard/google/hatch/variants/dratini/variant.c @@ -16,11 +16,12 @@ #include <baseboard/variants.h> #include <variant/sku.h> #include <sar.h> +#include <ec/google/chromeec/ec.h> const char *get_wifi_sar_cbfs_filename(void) { const char *filename = NULL; - uint32_t sku_id = get_board_sku(); + uint32_t sku_id = google_chromeec_get_board_sku(); switch (sku_id) { case SKU_21_DRAGONAIR: |