From 8ddc30f5401fcc58c9334d92280de92949c8c328 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 21 Jan 2022 16:05:16 -0800 Subject: 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 Change-Id: I06cc11dba1f8a37e209ffc3d37a8307832847567 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3404686 Reviewed-by: Jack Rosenthal --- include/ec_commands.h | 11 +---------- 1 file changed, 1 insertion(+), 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; -- cgit v1.2.1