summaryrefslogtreecommitdiff
path: root/power/mt8183.c
diff options
context:
space:
mode:
Diffstat (limited to 'power/mt8183.c')
-rw-r--r--power/mt8183.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/power/mt8183.c b/power/mt8183.c
index 08789f09f2..7efbd15e44 100644
--- a/power/mt8183.c
+++ b/power/mt8183.c
@@ -385,7 +385,7 @@ enum power_state power_handle_state(enum power_state state)
}
/* If EC is in RW, or has already booted once, reboot to RO. */
- if (system_get_image_copy() != SYSTEM_IMAGE_RO || booted) {
+ if (system_get_image_copy() != EC_IMAGE_RO || booted) {
/*
* TODO(b:109850749): How quickly does the EC come back
* up? Would IN_PGOOD_PMIC be ready by the time we are