summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/dsdt.asl
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/dsdt.asl
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/dsdt.asl')
-rw-r--r--src/mainboard/google/brya/dsdt.asl10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/dsdt.asl b/src/mainboard/google/brya/dsdt.asl
index 4fc205a24b..fcdd1a8844 100644
--- a/src/mainboard/google/brya/dsdt.asl
+++ b/src/mainboard/google/brya/dsdt.asl
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#include <acpi/acpi.h>
+#include <variant/ec.h>
DefinitionBlock(
"dsdt.aml",
@@ -33,4 +34,13 @@ DefinitionBlock(
/* Chrome OS specific */
#include <vendorcode/google/chromeos/acpi/chromeos.asl>
+
+ /* Chrome OS Embedded Controller */
+ Scope (\_SB.PCI0.LPCB)
+ {
+ /* ACPI code for EC SuperIO functions */
+ #include <ec/google/chromeec/acpi/superio.asl>
+ /* ACPI code for EC functions */
+ #include <ec/google/chromeec/acpi/ec.asl>
+ }
}