diff options
author | Karthikeyan Ramasubramanian <kramasub@google.com> | 2020-01-06 22:21:37 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2020-01-27 04:47:39 +0000 |
commit | edad34b883efc20c9cd28b96ec77318556508663 (patch) | |
tree | e264bcf3d67af3477152467580215a18dff5af03 /src/mainboard/google/dedede/mainboard.c | |
parent | 85c52c5d97070b2e07d34e3a6c60ef5609b8bf2d (diff) | |
download | coreboot-edad34b883efc20c9cd28b96ec77318556508663.tar.xz |
mb/google/dedede: Enable ACPI and add ACPI table
Enable ACPI configuration and add DSDT ACPI table.
BUG=b:144768001
TEST=Build Test
Change-Id: I0aa889cd52bff3e1e9ff7b7b93ec1000045bcfd2
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38279
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google/dedede/mainboard.c')
-rw-r--r-- | src/mainboard/google/dedede/mainboard.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mainboard/google/dedede/mainboard.c b/src/mainboard/google/dedede/mainboard.c index 3b36abe661..b663a43071 100644 --- a/src/mainboard/google/dedede/mainboard.c +++ b/src/mainboard/google/dedede/mainboard.c @@ -6,6 +6,7 @@ * SPDX-License-Identifier: GPL-2.0-or-later */ +#include <arch/acpi.h> #include <baseboard/variants.h> #include <device/device.h> @@ -18,9 +19,16 @@ static void mainboard_init(void *chip_info) gpio_configure_pads(pads, num); } +static unsigned long mainboard_write_acpi_tables( + struct device *device, unsigned long current, acpi_rsdp_t *rsdp) +{ + return current; +} + static void mainboard_enable(struct device *dev) { - /* TODO: Enable mainboard */ + dev->ops->write_acpi_tables = mainboard_write_acpi_tables; + dev->ops->acpi_inject_dsdt_generator = NULL; } struct chip_operations mainboard_ops = { |