diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2020-06-02 01:07:31 +0300 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-06-03 12:17:54 +0000 |
commit | a8dcbe686df39817e66dbb8498cf13f157ac14b4 (patch) | |
tree | 6bf15466652d15c226a708e2022e87a00f0e462e /src/mainboard/google/foster/chromeos.c | |
parent | 31d86c48de068e8f65e61ab4beb46a5d85fd644c (diff) | |
download | coreboot-a8dcbe686df39817e66dbb8498cf13f157ac14b4.tar.xz |
mb/google/foster: Remove EC_GOOGLE_CHROMEEC stubs
Board does not have ChromeEC.
Change-Id: Id6ab2495d6e082fdcb71ec5162efde877d97ce22
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41983
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard/google/foster/chromeos.c')
-rw-r--r-- | src/mainboard/google/foster/chromeos.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mainboard/google/foster/chromeos.c b/src/mainboard/google/foster/chromeos.c index 6f7f09cdc7..38d12cb696 100644 --- a/src/mainboard/google/foster/chromeos.c +++ b/src/mainboard/google/foster/chromeos.c @@ -1,8 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include <boot/coreboot_tables.h> -#include <ec/google/chromeec/ec.h> -#include <ec/google/chromeec/ec_commands.h> #include <gpio.h> #include <vendorcode/google/chromeos/chromeos.h> @@ -21,15 +19,7 @@ void fill_lb_gpios(struct lb_gpios *gpios) int get_recovery_mode_switch(void) { -#if CONFIG(EC_GOOGLE_CHROMEEC) - uint64_t ec_events; - - ec_events = google_chromeec_get_events_b(); - return !!(ec_events & - EC_HOST_EVENT_MASK(EC_HOST_EVENT_KEYBOARD_RECOVERY)); -#else return 0; -#endif } int get_write_protect_state(void) |