summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/mainboard.c
diff options
context:
space:
mode:
authorEric Lai <ericr_lai@compal.corp-partner.google.com>2020-11-27 13:50:02 +0800
committerTim Wawrzynczak <twawrzynczak@chromium.org>2020-12-04 21:09:37 +0000
commitb052c4b368313a5269494c776e395fb29bcdea76 (patch)
tree87041cdbe9cc1113d2ff6a02bdd7e704bae6e909 /src/mainboard/google/brya/mainboard.c
parent812f36425e79e202d38c1bab16eef261ea2fb417 (diff)
downloadcoreboot-b052c4b368313a5269494c776e395fb29bcdea76.tar.xz
mb/google/brya: Enable building for Chrome OS
Enable building for Chrome OS and add associated ACPI configuration. BUG=b:174266035 TEST=Build Test Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com> Change-Id: I5311879a127a2c8da1bbb086449019d932d57b72 Reviewed-on: https://review.coreboot.org/c/coreboot/+/48111 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/mainboard/google/brya/mainboard.c')
-rw-r--r--src/mainboard/google/brya/mainboard.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainboard/google/brya/mainboard.c b/src/mainboard/google/brya/mainboard.c
index d7c31565b9..fd0d5b651f 100644
--- a/src/mainboard/google/brya/mainboard.c
+++ b/src/mainboard/google/brya/mainboard.c
@@ -1,7 +1,9 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
+#include <acpi/acpi.h>
#include <baseboard/variants.h>
#include <device/device.h>
+#include <vendorcode/google/chromeos/chromeos.h>
static void mainboard_init(void *chip_info)
{
@@ -13,7 +15,7 @@ static void mainboard_init(void *chip_info)
static void mainboard_enable(struct device *dev)
{
- /* TODO: Enable mainboard */
+ dev->ops->acpi_inject_dsdt = chromeos_dsdt_generator;
}
struct chip_operations mainboard_ops = {