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>
This commit is contained in:
committed by
Aaron Durbin
parent
c205ae0c6e
commit
f984a05cc7
@@ -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__
|
||||
|
Reference in New Issue
Block a user