1 /* SPDX-License-Identifier: GPL-2.0-only */
4 #include <arch/bert_storage.h>
5 #include <console/console.h>
8 enum cb_err
acpi_soc_get_bert_region(void **region
, size_t *length
)
11 * Skip the table if no errors are present. ACPI driver reports
12 * a table with a 0-length region:
13 * BERT: [Firmware Bug]: table invalid.
15 if (!bert_should_generate_acpi_table())
18 bert_errors_region(region
, length
);
20 printk(BIOS_ERR
, "Can't find BERT storage area\n");