intel: Use common HPET table revision function
Use get_acpi_table_revision(HPET) to keep all table versions in sync. Change-Id: Idb5e8ccd49ec27f87a290f33c62df3c177645669 Signed-off-by: Marc Jones <marcj303@gmail.com> Reviewed-on: https://review.coreboot.org/28278 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
4ddd47697e
commit
8abf6ae757
|
@ -147,7 +147,7 @@ void acpi_create_intel_hpet(acpi_hpet_t * hpet)
|
|||
memcpy(header->asl_compiler_id, ASLC, 4);
|
||||
|
||||
header->length = sizeof(acpi_hpet_t);
|
||||
header->revision = 1;
|
||||
header->revision = get_acpi_table_revision(HPET);
|
||||
|
||||
/* fill out HPET address */
|
||||
addr->space_id = 0; /* Memory */
|
||||
|
|
|
@ -200,7 +200,7 @@ void acpi_create_intel_hpet(acpi_hpet_t *hpet)
|
|||
memcpy(header->asl_compiler_id, ASLC, 4);
|
||||
|
||||
header->length = sizeof(acpi_hpet_t);
|
||||
header->revision = 1;
|
||||
header->revision = get_acpi_table_revision(HPET);
|
||||
|
||||
/* fill out HPET address */
|
||||
addr->space_id = 0; /* Memory */
|
||||
|
|
|
@ -144,7 +144,7 @@ void acpi_create_intel_hpet(acpi_hpet_t * hpet)
|
|||
memcpy(header->asl_compiler_id, ASLC, 4);
|
||||
|
||||
header->length = sizeof(acpi_hpet_t);
|
||||
header->revision = 1;
|
||||
header->revision = get_acpi_table_revision(HPET);
|
||||
|
||||
/* fill out HPET address */
|
||||
addr->space_id = 0; /* Memory */
|
||||
|
|
|
@ -125,7 +125,7 @@ void acpi_create_intel_hpet(acpi_hpet_t *hpet)
|
|||
memcpy(header->asl_compiler_id, ASLC, 4);
|
||||
|
||||
header->length = sizeof(acpi_hpet_t);
|
||||
header->revision = 1;
|
||||
header->revision = get_acpi_table_revision(HPET);
|
||||
|
||||
/* fill out HPET address */
|
||||
addr->space_id = 0; /* Memory */
|
||||
|
|
|
@ -36,7 +36,7 @@ void acpi_create_intel_hpet(acpi_hpet_t * hpet)
|
|||
memcpy(header->asl_compiler_id, ASLC, 4);
|
||||
|
||||
header->length = sizeof(acpi_hpet_t);
|
||||
header->revision = 1;
|
||||
header->revision = get_acpi_table_revision(HPET);
|
||||
|
||||
/* fill out HPET address */
|
||||
addr->space_id = 0; /* Memory */
|
||||
|
|
Loading…
Reference in New Issue