summaryrefslogtreecommitdiff
path: root/src/soc/amd/cezanne/include
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-05-04 21:06:04 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-05-05 19:39:22 +0000
commit144c7aa34bffba7b65566e037f0588ace8b00eba (patch)
treec46e83920de270267acb6d3fc750d8b432c89ad7 /src/soc/amd/cezanne/include
parentafc4978ede7c86cddb0552ebc8da046244affe61 (diff)
downloadcoreboot-144c7aa34bffba7b65566e037f0588ace8b00eba.tar.xz
soc/amd/cezanne/agesa_acpi: add and call agesa_write_acpi_tables
This function will be used to add some SSDTs. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Ia88cb5ea483850a8659f3bae8040c82eb2735d26 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52902 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-by: Jason Glenesk <jason.glenesk@gmail.com>
Diffstat (limited to 'src/soc/amd/cezanne/include')
-rw-r--r--src/soc/amd/cezanne/include/soc/acpi.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/soc/amd/cezanne/include/soc/acpi.h b/src/soc/amd/cezanne/include/soc/acpi.h
index 1b1d2fbb14..ab90c96c7b 100644
--- a/src/soc/amd/cezanne/include/soc/acpi.h
+++ b/src/soc/amd/cezanne/include/soc/acpi.h
@@ -3,6 +3,11 @@
#ifndef AMD_CEZANNE_ACPI_H
#define AMD_CEZANNE_ACPI_H
+#include <acpi/acpi.h>
+#include <amdblocks/acpi.h>
+#include <device/device.h>
+#include <stdint.h>
+
#define ACPI_SCI_IRQ 9
/* RTC Registers */
@@ -10,4 +15,7 @@
#define RTC_ALT_CENTURY 0x32
#define RTC_CENTURY 0x48
+uintptr_t agesa_write_acpi_tables(const struct device *device, uintptr_t current,
+ acpi_rsdp_t *rsdp);
+
#endif /* AMD_CEZANNE_ACPI_H */