diff options
author | Marc Jones <marcj303@gmail.com> | 2018-08-22 19:08:52 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-08-27 15:50:52 +0000 |
commit | 8abf6ae7575772dd1e10254537bd447dabb7847e (patch) | |
tree | 0fdc3a0422638e2809cb7caf69efa75765fe1a7f | |
parent | 4ddd47697e58c50bd89aa4f77a0b652f2d1fc462 (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>
-rw-r--r-- | src/soc/intel/baytrail/acpi.c | 2 | ||||
-rw-r--r-- | src/soc/intel/broadwell/acpi.c | 2 | ||||
-rw-r--r-- | src/soc/intel/fsp_baytrail/acpi.c | 2 | ||||
-rw-r--r-- | src/soc/intel/fsp_broadwell_de/acpi.c | 2 | ||||
-rw-r--r-- | src/southbridge/intel/lynxpoint/acpi.c | 2 |
5 files changed, 5 insertions, 5 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 */ diff --git a/src/soc/intel/broadwell/acpi.c b/src/soc/intel/broadwell/acpi.c index af8e012965..d826d43322 100644 --- a/src/soc/intel/broadwell/acpi.c +++ b/src/soc/intel/broadwell/acpi.c @@ -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 */ diff --git a/src/soc/intel/fsp_baytrail/acpi.c b/src/soc/intel/fsp_baytrail/acpi.c index f4dd545cab..97c8d5b46f 100644 --- a/src/soc/intel/fsp_baytrail/acpi.c +++ b/src/soc/intel/fsp_baytrail/acpi.c @@ -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 */ diff --git a/src/soc/intel/fsp_broadwell_de/acpi.c b/src/soc/intel/fsp_broadwell_de/acpi.c index 9b64edca3f..5d654770da 100644 --- a/src/soc/intel/fsp_broadwell_de/acpi.c +++ b/src/soc/intel/fsp_broadwell_de/acpi.c @@ -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 */ 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 */ |