summaryrefslogtreecommitdiff
path: root/src/mainboard/google/mancomb/mainboard.c
diff options
context:
space:
mode:
authorEric Lai <ericr_lai@compal.corp-partner.google.com>2021-03-09 13:22:51 +0800
committerMartin Roth <martinroth@google.com>2021-03-11 15:08:51 +0000
commitc23fa81e94083d4de518e6cb7fa9de595db26f80 (patch)
tree6808cad73ba797ff304fea1cddb8962a8d109133 /src/mainboard/google/mancomb/mainboard.c
parent6f068838565697d46538dd394305afbb37703afb (diff)
mb/google/mancomb: Enable ACPI tables
BUG=b:182211161 TEST=builds Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com> Change-Id: I623fd052404a08cf0adb471bb654622960f1aa62 Reviewed-on: https://review.coreboot.org/c/coreboot/+/51367 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Mathew King <mathewk@chromium.org>
Diffstat (limited to 'src/mainboard/google/mancomb/mainboard.c')
-rw-r--r--src/mainboard/google/mancomb/mainboard.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainboard/google/mancomb/mainboard.c b/src/mainboard/google/mancomb/mainboard.c
index 4129cff11d..3c7e41c15c 100644
--- a/src/mainboard/google/mancomb/mainboard.c
+++ b/src/mainboard/google/mancomb/mainboard.c
@@ -2,6 +2,7 @@
#include <baseboard/variants.h>
#include <device/device.h>
+#include <vendorcode/google/chromeos/chromeos.h>
static void mainboard_configure_gpios(void)
{
@@ -20,7 +21,8 @@ static void mainboard_init(void *chip_info)
static void mainboard_enable(struct device *dev)
{
- /* TODO: Enable mainboard */
+ printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");
+ dev->ops->acpi_inject_dsdt = chromeos_dsdt_generator;
}
struct chip_operations mainboard_ops = {