diff options
Diffstat (limited to 'src/mainboard/google')
-rw-r--r-- | src/mainboard/google/daisy/chromeos.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/foster/chromeos.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/peach_pit/chromeos.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/veyron/chromeos.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/google/daisy/chromeos.c b/src/mainboard/google/daisy/chromeos.c index dcac865b41..ae456b47aa 100644 --- a/src/mainboard/google/daisy/chromeos.c +++ b/src/mainboard/google/daisy/chromeos.c @@ -67,7 +67,7 @@ void fill_lb_gpios(struct lb_gpios *gpios) int get_recovery_mode_switch(void) { - uint32_t ec_events; + uint64_t ec_events; /* The GPIO is active low. */ if (!gpio_get_value(GPIO_Y10)) // RECMODE_GPIO diff --git a/src/mainboard/google/foster/chromeos.c b/src/mainboard/google/foster/chromeos.c index bd17c4debe..b4cb33238f 100644 --- a/src/mainboard/google/foster/chromeos.c +++ b/src/mainboard/google/foster/chromeos.c @@ -69,7 +69,7 @@ void fill_lb_gpios(struct lb_gpios *gpios) int get_recovery_mode_switch(void) { #if IS_ENABLED(CONFIG_EC_GOOGLE_CHROMEEC) - uint32_t ec_events; + uint64_t ec_events; ec_events = google_chromeec_get_events_b(); return !!(ec_events & diff --git a/src/mainboard/google/peach_pit/chromeos.c b/src/mainboard/google/peach_pit/chromeos.c index 4cab7dcb86..e782986cf4 100644 --- a/src/mainboard/google/peach_pit/chromeos.c +++ b/src/mainboard/google/peach_pit/chromeos.c @@ -67,7 +67,7 @@ void fill_lb_gpios(struct lb_gpios *gpios) int get_recovery_mode_switch(void) { - uint32_t ec_events; + uint64_t ec_events; /* The GPIO is active low. */ if (!gpio_get_value(GPIO_X07)) // RECMODE_GPIO diff --git a/src/mainboard/google/veyron/chromeos.c b/src/mainboard/google/veyron/chromeos.c index b8fb3bcd4b..f99cd81aa0 100644 --- a/src/mainboard/google/veyron/chromeos.c +++ b/src/mainboard/google/veyron/chromeos.c @@ -57,7 +57,7 @@ void fill_lb_gpios(struct lb_gpios *gpios) int get_recovery_mode_switch(void) { - uint32_t ec_events; + uint64_t ec_events; /* The GPIO is active low. */ if (!gpio_get(GPIO_RECOVERY)) |