summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-02-15 08:21:33 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-02-21 19:07:31 +0000
commit26071aaadfc5926f7e01623d8fb2967456041dfc (patch)
tree3380dfb3eec43cfe46e4daa8fca0f8e24e9158d4 /src/soc
parent94ad37619f95a07b94a6a9a570bd74727eb830c4 (diff)
downloadcoreboot-26071aaadfc5926f7e01623d8fb2967456041dfc.tar.xz
ACPI: Correct asl_compiler_revision value
Change-Id: I91b54b43c8bb5cb17ff86a6d9afa95f265ee49df Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/31431 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/amd/stoneyridge/acpi.c3
-rw-r--r--src/soc/intel/fsp_baytrail/acpi.c3
-rw-r--r--src/soc/intel/fsp_broadwell_de/acpi.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/src/soc/amd/stoneyridge/acpi.c b/src/soc/amd/stoneyridge/acpi.c
index e09812b6da..d6f9bb605e 100644
--- a/src/soc/amd/stoneyridge/acpi.c
+++ b/src/soc/amd/stoneyridge/acpi.c
@@ -34,6 +34,7 @@
#include <soc/northbridge.h>
#include <soc/nvs.h>
#include <soc/gpio.h>
+#include <version.h>
unsigned long acpi_fill_madt(unsigned long current)
{
@@ -82,7 +83,7 @@ void acpi_create_fadt(acpi_fadt_t *fadt, acpi_facs_t *facs, void *dsdt)
memcpy(header->oem_id, OEM_ID, 6);
memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8);
memcpy(header->asl_compiler_id, ASLC, 4);
- header->asl_compiler_revision = 0;
+ header->asl_compiler_revision = asl_revision;
fadt->firmware_ctrl = (u32) facs;
fadt->dsdt = (u32) dsdt;
diff --git a/src/soc/intel/fsp_baytrail/acpi.c b/src/soc/intel/fsp_baytrail/acpi.c
index 55e4a86f9b..ad324520a0 100644
--- a/src/soc/intel/fsp_baytrail/acpi.c
+++ b/src/soc/intel/fsp_baytrail/acpi.c
@@ -41,6 +41,7 @@
#include <soc/msr.h>
#include <soc/pattrs.h>
#include <cbmem.h>
+#include <version.h>
#include "chip.h"
@@ -191,7 +192,7 @@ void acpi_fill_in_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
memcpy(header->oem_id, OEM_ID, 6);
memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8);
memcpy(header->asl_compiler_id, ASLC, 4);
- header->asl_compiler_revision = 1;
+ header->asl_compiler_revision = asl_revision;
/* ACPI Pointers */
fadt->firmware_ctrl = (unsigned long) facs;
diff --git a/src/soc/intel/fsp_broadwell_de/acpi.c b/src/soc/intel/fsp_broadwell_de/acpi.c
index fa45ea775c..f7c572d079 100644
--- a/src/soc/intel/fsp_broadwell_de/acpi.c
+++ b/src/soc/intel/fsp_broadwell_de/acpi.c
@@ -38,6 +38,7 @@
#include <soc/pci_devs.h>
#include <soc/broadwell_de.h>
#include <chip.h>
+#include <version.h>
uint16_t get_pmbase(void)
{
@@ -171,7 +172,7 @@ void acpi_fill_in_fadt(acpi_fadt_t *fadt, acpi_facs_t *facs, void *dsdt)
memcpy(header->oem_id, OEM_ID, 6);
memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8);
memcpy(header->asl_compiler_id, ASLC, 4);
- header->asl_compiler_revision = 1;
+ header->asl_compiler_revision = asl_revision;
/* ACPI Pointers */
fadt->firmware_ctrl = (unsigned long) facs;