summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/chromeos.c
diff options
context:
space:
mode:
authorEric Lai <ericr_lai@compal.corp-partner.google.com>2020-11-27 14:11:59 +0800
committerTim Wawrzynczak <twawrzynczak@chromium.org>2020-12-04 21:09:56 +0000
commit78b6a1bbcdeaad4e0d6b9c055ec70453fd2483c9 (patch)
tree13de83ead9492b77bfd919e4ec59feb2e64c6269 /src/mainboard/google/brya/chromeos.c
parentb052c4b368313a5269494c776e395fb29bcdea76 (diff)
mb/google/brya: Enable EC
Perform EC initialization in bootblock and ramstages. Add associated ACPI configuration. BUG=b:174266035 TEST=Build Test Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com> Change-Id: Ie1305706134ca7cc58b8a9941231d1ee14f80949 Reviewed-on: https://review.coreboot.org/c/coreboot/+/48114 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/mainboard/google/brya/chromeos.c')
-rw-r--r--src/mainboard/google/brya/chromeos.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mainboard/google/brya/chromeos.c b/src/mainboard/google/brya/chromeos.c
index 2e6ea3e27d..5b098b52ff 100644
--- a/src/mainboard/google/brya/chromeos.c
+++ b/src/mainboard/google/brya/chromeos.c
@@ -16,18 +16,6 @@ void fill_lb_gpios(struct lb_gpios *gpios)
lb_add_gpios(gpios, chromeos_gpios, ARRAY_SIZE(chromeos_gpios));
}
-int get_lid_switch(void)
-{
- /* TODO: use Chrome EC switches when EC support is added */
- return 1;
-}
-
-int get_recovery_mode_switch(void)
-{
- /* TODO: use Chrome EC switches when EC support is added */
- return 0;
-}
-
int get_write_protect_state(void)
{
/* No write protect */