ec/google/chromeec: Replace uses of ec_current_image with ec_image
commita6cf8d6465f8424862736cb2105de85f80b7c65b
authorFurquan Shaikh <furquan@google.com>
Wed, 8 Apr 2020 05:22:22 +0000 (7 22:22 -0700)
committerFurquan Shaikh <furquan@google.com>
Thu, 9 Apr 2020 15:10:33 +0000 (9 15:10 +0000)
tree83eb60652896c970fad4cedbbd3bb799ba99dc3b
parente6c04b9255f2ccba03ffa31fea2e9c7c413fb9c1
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>
src/ec/google/chromeec/ec.c
src/ec/google/chromeec/ec.h