summaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec/switches.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/google/chromeec/switches.c')
-rw-r--r--src/ec/google/chromeec/switches.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ec/google/chromeec/switches.c b/src/ec/google/chromeec/switches.c
index e05d37c205..1cf26a2729 100644
--- a/src/ec/google/chromeec/switches.c
+++ b/src/ec/google/chromeec/switches.c
@@ -42,8 +42,8 @@ int get_recovery_mode_switch(void)
int get_recovery_mode_retrain_switch(void)
{
- uint32_t events;
- const uint32_t mask =
+ uint64_t events;
+ const uint64_t mask =
EC_HOST_EVENT_MASK(EC_HOST_EVENT_KEYBOARD_RECOVERY_HW_REINIT);
/*
@@ -53,7 +53,7 @@ int get_recovery_mode_retrain_switch(void)
events = google_chromeec_get_events_b();
if (cbmem_possibly_online()) {
- const uint32_t *events_save;
+ const uint64_t *events_save;
events_save = cbmem_find(CBMEM_ID_EC_HOSTEVENT);
if (events_save != NULL)