diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2021-02-03 23:44:28 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-02-13 21:39:16 +0000 |
commit | 86024954dfa06af9a9a7e5f19ab5aae32eb14909 (patch) | |
tree | c5a7242122a517275655666514a20e279afc7d2f /src/soc/amd/cezanne/acpi.c | |
parent | 07acbfc6a5da1e3351e01e6553cb27f5f62cdb3c (diff) | |
download | coreboot-86024954dfa06af9a9a7e5f19ab5aae32eb14909.tar.gz coreboot-86024954dfa06af9a9a7e5f19ab5aae32eb14909.tar.bz2 coreboot-86024954dfa06af9a9a7e5f19ab5aae32eb14909.zip |
soc/amd/cezanne: select ACPI support and make the compiler happy
Follow-up patches will add more functionality.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Change-Id: I9b806569154e46418fa7d4fa35575a0acfec9132
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50273
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/soc/amd/cezanne/acpi.c')
-rw-r--r-- | src/soc/amd/cezanne/acpi.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/soc/amd/cezanne/acpi.c b/src/soc/amd/cezanne/acpi.c new file mode 100644 index 000000000000..94ca81ba12ee --- /dev/null +++ b/src/soc/amd/cezanne/acpi.c @@ -0,0 +1,20 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +/* ACPI - create the Fixed ACPI Description Tables (FADT) */ + +#include <acpi/acpi.h> + +unsigned long acpi_fill_madt(unsigned long current) +{ + /* TODO */ + return current; +} + +/* + * Reference section 5.2.9 Fixed ACPI Description Table (FADT) + * in the ACPI 3.0b specification. + */ +void acpi_fill_fadt(acpi_fadt_t *fadt) +{ + /* TODO */ +} |