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>
This commit is contained in:
committed by
Patrick Georgi
parent
94ad37619f
commit
26071aaadf
@@ -22,6 +22,8 @@
|
||||
#include <arch/acpi.h>
|
||||
#include <arch/io.h>
|
||||
#include <device/device.h>
|
||||
#include <version.h>
|
||||
|
||||
#include "hudson.h"
|
||||
#include "smi.h"
|
||||
|
||||
@@ -53,7 +55,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;
|
||||
|
||||
if ((uintptr_t)facs > 0xffffffff)
|
||||
printk(BIOS_DEBUG, "ACPI: FACS lives above 4G\n");
|
||||
|
@@ -24,6 +24,8 @@
|
||||
#include <arch/acpi.h>
|
||||
#include <arch/io.h>
|
||||
#include <device/device.h>
|
||||
#include <version.h>
|
||||
|
||||
#include "SBPLATFORM.h"
|
||||
|
||||
#ifndef FADT_BOOT_ARCH
|
||||
@@ -57,7 +59,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;
|
||||
|
||||
if ((uintptr_t)facs > 0xffffffff)
|
||||
printk(BIOS_DEBUG, "ACPI: FACS lives above 4G\n");
|
||||
|
@@ -22,6 +22,8 @@
|
||||
#include <arch/acpi.h>
|
||||
#include <arch/io.h>
|
||||
#include <device/device.h>
|
||||
#include <version.h>
|
||||
|
||||
#include "hudson.h"
|
||||
#include "smi.h"
|
||||
|
||||
@@ -53,7 +55,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;
|
||||
|
@@ -24,6 +24,8 @@
|
||||
#include <arch/io.h>
|
||||
#include <device/device.h>
|
||||
#include <cpu/amd/powernow.h>
|
||||
#include <version.h>
|
||||
|
||||
#include "sb700.h"
|
||||
|
||||
void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
|
||||
@@ -40,7 +42,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;
|
||||
|
@@ -24,6 +24,8 @@
|
||||
#include <arch/io.h>
|
||||
#include <device/device.h>
|
||||
#include <cpu/amd/powernow.h>
|
||||
#include <version.h>
|
||||
|
||||
#include "sb800.h"
|
||||
|
||||
void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
|
||||
@@ -40,7 +42,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;
|
||||
|
@@ -20,6 +20,7 @@
|
||||
#include <arch/acpi.h>
|
||||
#include <southbridge/intel/fsp_rangeley/soc.h>
|
||||
#include <arch/io.h>
|
||||
#include <version.h>
|
||||
|
||||
#if IS_ENABLED(CONFIG_HAVE_SMI_HANDLER)
|
||||
#include <cpu/x86/smm.h>
|
||||
@@ -52,7 +53,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;
|
||||
|
@@ -22,6 +22,8 @@
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <version.h>
|
||||
|
||||
#include "i82371eb.h"
|
||||
|
||||
/**
|
||||
@@ -44,7 +46,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 = 42;
|
||||
header->asl_compiler_revision = asl_revision;
|
||||
|
||||
fadt->firmware_ctrl = (uintptr_t)facs;
|
||||
fadt->dsdt = (uintptr_t)dsdt;
|
||||
|
@@ -19,6 +19,8 @@
|
||||
#include <cbmem.h>
|
||||
#include <types.h>
|
||||
#include <string.h>
|
||||
#include <version.h>
|
||||
|
||||
#include "pch.h"
|
||||
#include "nvs.h"
|
||||
|
||||
@@ -77,7 +79,7 @@ void acpi_create_serialio_ssdt(acpi_header_t *ssdt)
|
||||
memcpy(&ssdt->oem_table_id, "SERIALIO", 8);
|
||||
ssdt->oem_revision = 43;
|
||||
memcpy(&ssdt->asl_compiler_id, ASLC, 4);
|
||||
ssdt->asl_compiler_revision = 42;
|
||||
ssdt->asl_compiler_revision = asl_revision;
|
||||
ssdt->length = sizeof(acpi_header_t);
|
||||
acpigen_set_current((char *) current);
|
||||
|
||||
|
@@ -20,6 +20,7 @@
|
||||
#include <string.h>
|
||||
#include <console/console.h>
|
||||
#include <arch/acpi.h>
|
||||
#include <version.h>
|
||||
|
||||
extern unsigned pm_base; /* pm_base should be set in sb acpi */
|
||||
|
||||
@@ -42,7 +43,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;
|
||||
|
@@ -22,6 +22,7 @@
|
||||
#include <arch/io.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <version.h>
|
||||
|
||||
extern unsigned pm_base;
|
||||
|
||||
@@ -43,7 +44,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 = 42;
|
||||
header->asl_compiler_revision = asl_revision;
|
||||
|
||||
printk(BIOS_INFO, "ACPI: pm_base: %u...\n", pm_base);
|
||||
|
||||
|
Reference in New Issue
Block a user