acpi: rename acpi_soc_fill_bert and add return value

Hardware / Coreboot - Felix Held [felixheld.de] - 7 June 2021 18:25 UTC

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.

29405483ce acpi: rename acpi_soc_fill_bert and add return value
src/acpi/acpi.c | 7 +++++--
src/include/acpi/acpi.h | 2 +-
src/soc/intel/common/block/acpi/acpi_bert.c | 15 ++++++++-------
3 files changed, 14 insertions(+), 10 deletions(-)

Upstream: review.coreboot.org


  • Share