diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2018-02-15 12:38:15 -0800 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2018-02-17 04:01:03 +0000 |
commit | f984a05cc79e3f87f474b5470a28e51a105ba309 (patch) | |
tree | ce26a73b7f5aa39289c855319028b05f2eb43fb4 /src/ec/google/chromeec/ec.c | |
parent | c205ae0c6e414a8fe34f25f2f9e23b97182b17e6 (diff) | |
download | coreboot-f984a05cc79e3f87f474b5470a28e51a105ba309.tar.xz |
chromeec: Sync ec_commands.h for CBI tags
This patch syncs ec_commands.h with the one in chromeec.
BUG=b:70294260
BRANCH=none
TEST=Verify SKU_ID and OEM_ID are correctly recognized on Fizz.
Change-Id: I451ec9f6f9d7257915b7d4cb1e5adbee82d107de
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://review.coreboot.org/23788
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/ec/google/chromeec/ec.c')
-rw-r--r-- | src/ec/google/chromeec/ec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ec/google/chromeec/ec.c b/src/ec/google/chromeec/ec.c index 764c6ac74f..c902c3fa7e 100644 --- a/src/ec/google/chromeec/ec.c +++ b/src/ec/google/chromeec/ec.c @@ -585,12 +585,12 @@ static int cbi_get_uint32(uint32_t *id, uint32_t type) int google_chromeec_cbi_get_sku_id(uint32_t *id) { - return cbi_get_uint32(id, CBI_DATA_SKU_ID); + return cbi_get_uint32(id, CBI_TAG_SKU_ID); } int google_chromeec_cbi_get_oem_id(uint32_t *id) { - return cbi_get_uint32(id, CBI_DATA_OEM_ID); + return cbi_get_uint32(id, CBI_TAG_OEM_ID); } #ifndef __SMM__ |