summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2022-01-21 16:05:16 -0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-10-11 02:16:12 +0000
commit8ddc30f5401fcc58c9334d92280de92949c8c328 (patch)
tree96db5a2b9af0a5215a71571e739e148d831bb446
parent35a32ab9bb7f87e7480cfb1c3ca5fd7a3f9f12bc (diff)
downloadchrome-ec-8ddc30f5401fcc58c9334d92280de92949c8c328.tar.gz
ec_commands.h: Remove ec_current_image compatibility macro
BRANCH=none BUG=b:149987779 TEST=make buildall -j Force-Relevant-Builds: all Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: I06cc11dba1f8a37e209ffc3d37a8307832847567 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3404686 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
-rw-r--r--include/ec_commands.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h
index 2d4e1b8aac..46df67f053 100644
--- a/include/ec_commands.h
+++ b/include/ec_commands.h
@@ -1209,15 +1209,6 @@ struct ec_response_hello {
/* Get version number */
#define EC_CMD_GET_VERSION 0x0002
-#if !defined(CHROMIUM_EC) && !defined(__KERNEL__)
-/*
- * enum ec_current_image is deprecated and replaced by enum ec_image. This
- * macro exists for backwards compatibility of external projects until they
- * have been updated: b/149987779.
- */
-#define ec_current_image ec_image
-#endif
-
enum ec_image {
EC_IMAGE_UNKNOWN = 0,
EC_IMAGE_RO,
@@ -2055,7 +2046,7 @@ enum sysinfo_flags {
struct ec_response_sysinfo {
uint32_t reset_flags; /**< EC_RESET_FLAG_* flags */
- uint32_t current_image; /**< enum ec_current_image */
+ uint32_t current_image; /**< enum ec_image */
uint32_t flags; /**< enum sysinfo_flags */
} __ec_align4;