mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
acpi: x86: Write FADT in common code
Write the FADT in common code since it's used on all architectures. Since the FADT is mandatory all SoCs or mainboards must implement the introduced function acpi_fill_fadt() and properly update the FADT. Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-by: Simon Glass <sjg@chromium.org> Cc: Simon Glass <sjg@chromium.org> Cc: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
committed by
Tom Rini
parent
1c03efc014
commit
f5f7962091
@@ -954,6 +954,15 @@ void acpi_fill_header(struct acpi_table_header *header, char *signature);
|
||||
*/
|
||||
int acpi_fill_csrt(struct acpi_ctx *ctx);
|
||||
|
||||
/**
|
||||
* acpi_fill_fadt() - Fill out the body of the FADT
|
||||
*
|
||||
* Must be implemented in SoC specific code or in mainboard code.
|
||||
*
|
||||
* @fadt: Pointer to FADT to update
|
||||
*/
|
||||
void acpi_fill_fadt(struct acpi_fadt *fadt);
|
||||
|
||||
/**
|
||||
* acpi_get_rsdp_addr() - get ACPI RSDP table address
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user