diff options
Diffstat (limited to 'src/acpi')
-rw-r--r-- | src/acpi/acpi.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c index 8bf4b49b66..2f4a2bb675 100644 --- a/src/acpi/acpi.c +++ b/src/acpi/acpi.c @@ -1220,6 +1220,10 @@ void acpi_write_bert(acpi_bert_t *bert, uintptr_t region, size_t length) } #if CONFIG(COMMON_FADT) + +__weak void soc_fill_fadt(acpi_fadt_t *fadt) { } +__weak void motherboard_fill_fadt(acpi_fadt_t *fadt) { } + void acpi_create_fadt(acpi_fadt_t *fadt, acpi_facs_t *facs, void *dsdt) { acpi_header_t *header = &(fadt->header); @@ -1256,6 +1260,9 @@ void acpi_create_fadt(acpi_fadt_t *fadt, acpi_facs_t *facs, void *dsdt) acpi_fill_fadt(fadt); + soc_fill_fadt(fadt); + motherboard_fill_fadt(fadt); + header->checksum = acpi_checksum((void *) fadt, header->length); } |