aboutsummaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec/ec.c
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2020-04-07 22:22:22 -0700
committerFurquan Shaikh <furquan@google.com>2020-04-09 15:10:33 +0000
commita6cf8d6465f8424862736cb2105de85f80b7c65b (patch)
tree83eb60652896c970fad4cedbbd3bb799ba99dc3b /src/ec/google/chromeec/ec.c
parente6c04b9255f2ccba03ffa31fea2e9c7c413fb9c1 (diff)
ec/google/chromeec: Replace uses of ec_current_image with ec_image
This change replaces all uses of ec_current_image with ec_image since Chromium OS EC has deprecated (sha 78d1ed61d) the use of enum ec_current_image and instead changed it to enum ec_image. BUG=b:149987779 Signed-off-by: Furquan Shaikh <furquan@google.com> Change-Id: I7e45ea6c736b44040561f0f8a80f817ade8db864 Reviewed-on: https://review.coreboot.org/c/coreboot/+/40267 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/ec/google/chromeec/ec.c')
-rw-r--r--src/ec/google/chromeec/ec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ec/google/chromeec/ec.c b/src/ec/google/chromeec/ec.c
index 8bb366183a..8d9c2acb43 100644
--- a/src/ec/google/chromeec/ec.c
+++ b/src/ec/google/chromeec/ec.c
@@ -1337,9 +1337,9 @@ static void google_chromeec_log_uptimeinfo(void)
}
/* Cache and retrieve the EC image type (ro or rw) */
-enum ec_current_image google_chromeec_get_current_image(void)
+enum ec_image google_chromeec_get_current_image(void)
{
- MAYBE_STATIC_BSS enum ec_current_image ec_image_type = EC_IMAGE_UNKNOWN;
+ MAYBE_STATIC_BSS enum ec_image ec_image_type = EC_IMAGE_UNKNOWN;
if (ec_image_type != EC_IMAGE_UNKNOWN)
return ec_image_type;