diff options
author | Mary Ruthven <mruthven@chromium.org> | 2021-11-09 19:53:19 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-11-23 01:10:47 +0000 |
commit | 58d3d308a60f9221f5303c0b6fd5bad3112d67cf (patch) | |
tree | afbf22cd9901408b36947d44e0bc3beec81de2c2 /include | |
parent | 3c945f7e2a296c155882232c3551f1e44bfbbf6e (diff) | |
download | chrome-ec-58d3d308a60f9221f5303c0b6fd5bad3112d67cf.tar.gz |
Revert "coral: Add host command to fetch SKU ID"
This reverts commit f747f70816ca825a4ff4f9c6234f97e93611dbaa.
Nothing uses CONFIG_HOSTCMD_SKUID. Remove support.
BUG=b:200823466
TEST=make buildall -j
Change-Id: Iea545047659ab265025878c50986b74d1b3654b1
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3273455
Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
(cherry picked from commit 1cfb5293ebbc854ce997d798cc55158031ccba6b)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3296977
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 3 | ||||
-rw-r--r-- | include/ec_commands.h | 8 | ||||
-rw-r--r-- | include/system.h | 8 |
3 files changed, 0 insertions, 19 deletions
diff --git a/include/config.h b/include/config.h index 377528992c..98331cb453 100644 --- a/include/config.h +++ b/include/config.h @@ -1985,9 +1985,6 @@ /* For access to VBNV on-EC battery-backed storage */ #undef CONFIG_HOSTCMD_VBNV_CONTEXT -/* EC controls the board's SKU ID and can report that to the AP */ -#undef CONFIG_HOSTCMD_SKUID - /* Command to issue AP reset */ #undef CONFIG_HOSTCMD_AP_RESET diff --git a/include/ec_commands.h b/include/ec_commands.h index b3f9716d6d..f89a3ca77d 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -1381,14 +1381,6 @@ struct ec_response_get_features { } __ec_align4; /*****************************************************************************/ -/* Get the board's SKU ID from EC */ -#define EC_CMD_GET_SKU_ID 0x000E - -struct ec_response_sku_id { - uint32_t sku_id; -} __ec_align4; - -/*****************************************************************************/ /* Flash commands */ /* Get flash info */ diff --git a/include/system.h b/include/system.h index 27f6810f02..98b580e19a 100644 --- a/include/system.h +++ b/include/system.h @@ -193,14 +193,6 @@ int32_t system_get_rollback_version(enum system_image_copy_t copy); const char *system_get_version(enum system_image_copy_t copy); /** - * Get the SKU ID for a device - * - * @return A value that identifies the SKU variant of a model. Its meaning and - * the number of bits actually used is opaque outside board specific code. - */ -uint32_t system_get_sku_id(void); - -/** * Return the board version number. The meaning of this number is * board-dependent; boards where the code actually cares about this should * declare enum board_version in board.h. |