summaryrefslogtreecommitdiff
path: root/src/include/acpi
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-05-28 16:01:57 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-06-07 18:25:57 +0000
commit29405483cedca2035d1d0229a2ec893e53a6dcc9 (patch)
tree685c76c525fe50823db4047315321273fc367b63 /src/include/acpi
parent8c8b4d26db910cb3e85a9940a1d9da828a725b22 (diff)
acpi: rename acpi_soc_fill_bert and add return value
The return value indicates if the function has found valid BERT data and wrote them to the region and length parameters. This will be used in a follow-up patch to remove the acpi_is_boot_error_src_present function call in the common code. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Iaaa3eed51645e1b3bc904c6279d171e3a10d59be Reviewed-on: https://review.coreboot.org/c/coreboot/+/55053 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Lance Zhao Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include/acpi')
-rw-r--r--src/include/acpi/acpi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/acpi/acpi.h b/src/include/acpi/acpi.h
index dd00c405db..7b0a7757bf 100644
--- a/src/include/acpi/acpi.h
+++ b/src/include/acpi/acpi.h
@@ -1342,7 +1342,7 @@ unsigned long acpi_create_lpi_desc_ncst(acpi_lpi_desc_ncst_t *lpi_desc, uint16_t
/* For crashlog. */
bool acpi_is_boot_error_src_present(void);
-void acpi_soc_fill_bert(void **region, size_t *length);
+enum cb_err acpi_soc_get_bert_region(void **region, size_t *length);
/* For ACPI S3 support. */
void __noreturn acpi_resume(void *wake_vec);