From 6d19a20f5fb46956d4324dff28ed4b59dc7776a3 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Thu, 22 Nov 2018 11:15:29 +0100 Subject: mb: Set coreboot as DSDT's manufacturer model ID Field 'OEMID' & "OEM Table ID" are related to DSDT table not to mainboard. So use macro to set them respectvely to "COREv4" and "COREBOOT". Change-Id: I060e07a730e721df4a86128ee89bfe168c69f31e Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/29790 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi Reviewed-by: David Guckian --- src/mainboard/avalue/eax-785e/acpi/cpstate.asl | 3 ++- src/mainboard/avalue/eax-785e/acpi/routing.asl | 3 ++- src/mainboard/avalue/eax-785e/acpi/usb.asl | 3 ++- src/mainboard/avalue/eax-785e/dsdt.asl | 5 +++-- 4 files changed, 9 insertions(+), 5 deletions(-) (limited to 'src/mainboard/avalue') diff --git a/src/mainboard/avalue/eax-785e/acpi/cpstate.asl b/src/mainboard/avalue/eax-785e/acpi/cpstate.asl index afba4ffa93..5d71c8164f 100644 --- a/src/mainboard/avalue/eax-785e/acpi/cpstate.asl +++ b/src/mainboard/avalue/eax-785e/acpi/cpstate.asl @@ -19,7 +19,8 @@ * characteristics. */ /* -DefinitionBlock ("DSDT.AML","DSDT",0x01,"XXXXXX","XXXXXXXX",0x00010001) +#include +DefinitionBlock ("DSDT.AML", "DSDT", 0x01, OEM_ID, ACPI_TABLE_CREATOR, 0x00010001) { Scope (\_PR) { Processor(CPU0,0,0x808,0x06) { diff --git a/src/mainboard/avalue/eax-785e/acpi/routing.asl b/src/mainboard/avalue/eax-785e/acpi/routing.asl index 2d57bc55fa..46920552e7 100644 --- a/src/mainboard/avalue/eax-785e/acpi/routing.asl +++ b/src/mainboard/avalue/eax-785e/acpi/routing.asl @@ -14,7 +14,8 @@ */ /* -DefinitionBlock ("DSDT.AML","DSDT",0x01,"XXXXXX","XXXXXXXX",0x00010001 +#include +DefinitionBlock ("DSDT.AML", "DSDT", 0x01, OEM_ID, ACPI_TABLE_CREATOR, 0x00010001 ) { #include "routing.asl" diff --git a/src/mainboard/avalue/eax-785e/acpi/usb.asl b/src/mainboard/avalue/eax-785e/acpi/usb.asl index 0f8ca9c0ab..cd76bf1f94 100644 --- a/src/mainboard/avalue/eax-785e/acpi/usb.asl +++ b/src/mainboard/avalue/eax-785e/acpi/usb.asl @@ -15,7 +15,8 @@ /* simple name description */ /* -DefinitionBlock ("DSDT.AML","DSDT",0x01,"XXXXXX","XXXXXXXX",0x00010001 +#include +DefinitionBlock ("DSDT.AML", "DSDT", 0x01, OEM_ID, ACPI_TABLE_CREATOR, 0x00010001 ) { #include "usb.asl" diff --git a/src/mainboard/avalue/eax-785e/dsdt.asl b/src/mainboard/avalue/eax-785e/dsdt.asl index 5d959be5cf..4eececb1ab 100644 --- a/src/mainboard/avalue/eax-785e/dsdt.asl +++ b/src/mainboard/avalue/eax-785e/dsdt.asl @@ -14,12 +14,13 @@ */ /* DefinitionBlock Statement */ +#include DefinitionBlock ( "DSDT.AML", /* Output filename */ "DSDT", /* Signature */ 0x02, /* DSDT Revision, needs to be 2 for 64bit */ - "AVALUE", /* OEMID */ - "COREBOOT", /* TABLE ID */ + OEM_ID, + ACPI_TABLE_CREATOR, 0x00010001 /* OEM Revision */ ) { /* Start of ASL file */ -- cgit v1.2.3