aboutsummaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-04-18 05:11:13 +0200
committerSimon Glass <sjg@chromium.org>2024-07-03 07:36:32 +0100
commit07a6c69759eb4a99f044962c8c40c093af534351 (patch)
treec0ef56dc0dfb584e0172c3068d8d40274cdd6468 /arch/x86
parentd1fffbe3c808a9012a05b048560e17ce43f8ef9e (diff)
downloadu-boot-07a6c69759eb4a99f044962c8c40c093af534351.zip
u-boot-07a6c69759eb4a99f044962c8c40c093af534351.tar.gz
u-boot-07a6c69759eb4a99f044962c8c40c093af534351.tar.bz2
acpi: set creator_revision in acpi_fill_header
We should have a single place where we write the default value to the creator revision field. If we ever will have any table created by another tool, we can overwrite the value afterwards. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/lib/acpi_table.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/lib/acpi_table.c b/arch/x86/lib/acpi_table.c
index a42a7e6..e38ce19 100644
--- a/arch/x86/lib/acpi_table.c
+++ b/arch/x86/lib/acpi_table.c
@@ -478,7 +478,6 @@ static int acpi_create_hpet(struct acpi_hpet *hpet)
/* Fill out header fields. */
acpi_fill_header(header, "HPET");
- header->creator_revision = ASL_REVISION;
header->length = sizeof(struct acpi_hpet);
header->revision = acpi_get_table_revision(ACPITAB_HPET);
@@ -569,7 +568,6 @@ void acpi_fadt_common(struct acpi_fadt *fadt, struct acpi_facs *facs,
memcpy(header->oem_id, OEM_ID, 6);
memcpy(header->oem_table_id, OEM_TABLE_ID, 8);
memcpy(header->creator_id, ASLC_ID, 4);
- header->creator_revision = 1;
fadt->x_firmware_ctrl = map_to_sysmem(facs);
fadt->x_dsdt = map_to_sysmem(dsdt);