summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-11-22 11:15:29 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-11-23 11:00:40 +0000
commit6d19a20f5fb46956d4324dff28ed4b59dc7776a3 (patch)
treee300bcefa622ddf224771971e870f64f7987886d /src/mainboard/emulation
parente7207593ec1854431375f8c4f5c0f03dd12723fc (diff)
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 <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/29790 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: David Guckian
Diffstat (limited to 'src/mainboard/emulation')
-rw-r--r--src/mainboard/emulation/qemu-i440fx/dsdt.asl5
-rw-r--r--src/mainboard/emulation/qemu-q35/dsdt.asl5
2 files changed, 6 insertions, 4 deletions
diff --git a/src/mainboard/emulation/qemu-i440fx/dsdt.asl b/src/mainboard/emulation/qemu-i440fx/dsdt.asl
index f48280ebe3..e4be1139f3 100644
--- a/src/mainboard/emulation/qemu-i440fx/dsdt.asl
+++ b/src/mainboard/emulation/qemu-i440fx/dsdt.asl
@@ -13,12 +13,13 @@
* Lesser General Public License for more details.
*/
+#include <arch/acpi.h>
DefinitionBlock (
"dsdt.aml", // Output Filename
"DSDT", // Signature
0x01, // DSDT Compliance Revision
- "CORE", // OEMID
- "COREBOOT", // TABLE ID
+ OEM_ID,
+ ACPI_TABLE_CREATOR,
0x1 // OEM Revision
)
{
diff --git a/src/mainboard/emulation/qemu-q35/dsdt.asl b/src/mainboard/emulation/qemu-q35/dsdt.asl
index bd998bd58e..a861aed55c 100644
--- a/src/mainboard/emulation/qemu-q35/dsdt.asl
+++ b/src/mainboard/emulation/qemu-q35/dsdt.asl
@@ -19,12 +19,13 @@
* Based on acpi-dsdt.dsl, but heavily modified for q35 chipset.
*/
+#include <arch/acpi.h>
DefinitionBlock (
"dsdt.aml", // Output Filename
"DSDT", // Signature
0x01, // DSDT Compliance Revision
- "CORE", // OEMID
- "COREBOOT", // TABLE ID
+ OEM_ID,
+ ACPI_TABLE_CREATOR,
0x2 // OEM Revision
)
{