summaryrefslogtreecommitdiff
path: root/src/arch
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/arch
parente7207593ec1854431375f8c4f5c0f03dd12723fc (diff)
downloadcoreboot-6d19a20f5fb46956d4324dff28ed4b59dc7776a3.tar.xz
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/arch')
-rw-r--r--src/arch/x86/acpi/debug.asl5
-rw-r--r--src/arch/x86/include/arch/acpi.h5
2 files changed, 6 insertions, 4 deletions
diff --git a/src/arch/x86/acpi/debug.asl b/src/arch/x86/acpi/debug.asl
index 44c37bb9a0..04a6026d7e 100644
--- a/src/arch/x86/acpi/debug.asl
+++ b/src/arch/x86/acpi/debug.asl
@@ -14,12 +14,13 @@
*/
/*
+ #include <arch/acpi.h>
DefinitionBlock (
"DSDT.AML",
"DSDT",
0x01,
- "XXXXXX",
- "XXXXXXXX",
+ OEM_ID,
+ ACPI_TABLE_CREATOR,
0x00010001
)
{
diff --git a/src/arch/x86/include/arch/acpi.h b/src/arch/x86/include/arch/acpi.h
index b5205c018e..f6944e420a 100644
--- a/src/arch/x86/include/arch/acpi.h
+++ b/src/arch/x86/include/arch/acpi.h
@@ -52,6 +52,9 @@
#define SLP_TYP_S5 5
#endif
+#define ACPI_TABLE_CREATOR "COREBOOT" /* Must be exactly 8 bytes long! */
+#define OEM_ID "COREv4" /* Must be exactly 6 bytes long! */
+
#if !defined(__ASSEMBLER__) && !defined(__ACPI__) && !defined(__ROMCC__)
#include <stdint.h>
#include <rules.h>
@@ -61,8 +64,6 @@
#include <cper.h>
#define RSDP_SIG "RSD PTR " /* RSDT pointer signature */
-#define ACPI_TABLE_CREATOR "COREBOOT" /* Must be exactly 8 bytes long! */
-#define OEM_ID "CORE " /* Must be exactly 6 bytes long! */
#define ASLC "CORE" /* Must be exactly 4 bytes long! */
/*