summaryrefslogtreecommitdiff
path: root/src/southbridge/intel
diff options
context:
space:
mode:
authorMarc Jones <marcj303@gmail.com>2018-08-22 19:08:52 -0600
committerMartin Roth <martinroth@google.com>2018-08-27 15:50:52 +0000
commit8abf6ae7575772dd1e10254537bd447dabb7847e (patch)
tree0fdc3a0422638e2809cb7caf69efa75765fe1a7f /src/southbridge/intel
parent4ddd47697e58c50bd89aa4f77a0b652f2d1fc462 (diff)
downloadcoreboot-8abf6ae7575772dd1e10254537bd447dabb7847e.tar.xz
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>
Diffstat (limited to 'src/southbridge/intel')
-rw-r--r--src/southbridge/intel/lynxpoint/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/lynxpoint/acpi.c b/src/southbridge/intel/lynxpoint/acpi.c
index 2a02744a69..7f6a5ad3d2 100644
--- a/src/southbridge/intel/lynxpoint/acpi.c
+++ b/src/southbridge/intel/lynxpoint/acpi.c
@@ -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 */