mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
acpi: Move acpi_fill_header() to the generic header
This function is not x86-specific so move it into the common header file. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
a16f488239
commit
383bf1bc9e
2 changed files with 8 additions and 1 deletions
|
@ -24,7 +24,6 @@ struct acpi_table_header;
|
||||||
|
|
||||||
/* These can be used by the target port */
|
/* These can be used by the target port */
|
||||||
|
|
||||||
void acpi_fill_header(struct acpi_table_header *header, char *signature);
|
|
||||||
void acpi_create_fadt(struct acpi_fadt *fadt, struct acpi_facs *facs,
|
void acpi_create_fadt(struct acpi_fadt *fadt, struct acpi_facs *facs,
|
||||||
void *dsdt);
|
void *dsdt);
|
||||||
int acpi_create_madt_lapics(u32 current);
|
int acpi_create_madt_lapics(u32 current);
|
||||||
|
|
|
@ -698,6 +698,14 @@ void acpi_setup_base_tables(struct acpi_ctx *ctx, void *start);
|
||||||
void acpi_write_rsdp(struct acpi_rsdp *rsdp, struct acpi_rsdt *rsdt,
|
void acpi_write_rsdp(struct acpi_rsdp *rsdp, struct acpi_rsdt *rsdt,
|
||||||
struct acpi_xsdt *xsdt);
|
struct acpi_xsdt *xsdt);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* acpi_fill_header() - Set up a table header
|
||||||
|
*
|
||||||
|
* @header: Pointer to header to set up
|
||||||
|
* @signature: 4-character signature to use (e.g. "FACS")
|
||||||
|
*/
|
||||||
|
void acpi_fill_header(struct acpi_table_header *header, char *signature);
|
||||||
|
|
||||||
#endif /* !__ACPI__*/
|
#endif /* !__ACPI__*/
|
||||||
|
|
||||||
#include <asm/acpi_table.h>
|
#include <asm/acpi_table.h>
|
||||||
|
|
Loading…
Reference in a new issue