summaryrefslogtreecommitdiff
path: root/src/soc/intel/baytrail
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/soc/intel/baytrail
parent4ddd47697e58c50bd89aa4f77a0b652f2d1fc462 (diff)
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/soc/intel/baytrail')
-rw-r--r--src/soc/intel/baytrail/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/baytrail/acpi.c b/src/soc/intel/baytrail/acpi.c
index 31435f7491..a43e6b6911 100644
--- a/src/soc/intel/baytrail/acpi.c
+++ b/src/soc/intel/baytrail/acpi.c
@@ -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 */