summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo
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/lenovo
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/lenovo')
-rw-r--r--src/mainboard/lenovo/g505s/dsdt.asl5
-rw-r--r--src/mainboard/lenovo/l520/dsdt.asl5
-rw-r--r--src/mainboard/lenovo/s230u/dsdt.asl5
-rw-r--r--src/mainboard/lenovo/t400/dsdt.asl5
-rw-r--r--src/mainboard/lenovo/t420/dsdt.asl5
-rw-r--r--src/mainboard/lenovo/t420s/dsdt.asl5
-rw-r--r--src/mainboard/lenovo/t430/dsdt.asl5
-rw-r--r--src/mainboard/lenovo/t430s/dsdt.asl5
-rw-r--r--src/mainboard/lenovo/t520/dsdt.asl5
-rw-r--r--src/mainboard/lenovo/t530/dsdt.asl5
-rw-r--r--src/mainboard/lenovo/t60/dsdt.asl5
-rw-r--r--src/mainboard/lenovo/x131e/dsdt.asl5
-rw-r--r--src/mainboard/lenovo/x1_carbon_gen1/dsdt.asl5
-rw-r--r--src/mainboard/lenovo/x200/dsdt.asl5
-rw-r--r--src/mainboard/lenovo/x201/dsdt.asl6
-rw-r--r--src/mainboard/lenovo/x220/dsdt.asl5
-rw-r--r--src/mainboard/lenovo/x230/dsdt.asl5
-rw-r--r--src/mainboard/lenovo/x60/dsdt.asl5
-rw-r--r--src/mainboard/lenovo/z61t/dsdt.asl5
19 files changed, 58 insertions, 38 deletions
diff --git a/src/mainboard/lenovo/g505s/dsdt.asl b/src/mainboard/lenovo/g505s/dsdt.asl
index e486fef6fd..bc9a13f73a 100644
--- a/src/mainboard/lenovo/g505s/dsdt.asl
+++ b/src/mainboard/lenovo/g505s/dsdt.asl
@@ -17,12 +17,13 @@
#include "mainboard.h"
/* DefinitionBlock Statement */
+#include <arch/acpi.h>
DefinitionBlock (
"DSDT.AML", /* Output filename */
"DSDT", /* Signature */
0x02, /* DSDT Revision, needs to be 2 for 64bit */
- "AMD ", /* OEMID */
- "COREBOOT", /* TABLE ID */
+ OEM_ID,
+ ACPI_TABLE_CREATOR,
0x00010001 /* OEM Revision */
)
{ /* Start of ASL file */
diff --git a/src/mainboard/lenovo/l520/dsdt.asl b/src/mainboard/lenovo/l520/dsdt.asl
index 7648d0591a..b058657bf0 100644
--- a/src/mainboard/lenovo/l520/dsdt.asl
+++ b/src/mainboard/lenovo/l520/dsdt.asl
@@ -16,12 +16,13 @@
#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
#define EC_LENOVO_H8_ME_WORKAROUND 1
#define THINKPAD_EC_GPE 22
+#include <arch/acpi.h>
DefinitionBlock(
"dsdt.aml",
"DSDT",
0x02, // DSDT revision: ACPI v2.0 and up
- "COREv4", // OEM id
- "COREBOOT", // OEM table id
+ OEM_ID,
+ ACPI_TABLE_CREATOR,
0x20141018 // OEM revision
)
{
diff --git a/src/mainboard/lenovo/s230u/dsdt.asl b/src/mainboard/lenovo/s230u/dsdt.asl
index 305a6c3d33..aeac7c7567 100644
--- a/src/mainboard/lenovo/s230u/dsdt.asl
+++ b/src/mainboard/lenovo/s230u/dsdt.asl
@@ -16,12 +16,13 @@
#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
#define EC_LENOVO_H8_ME_WORKAROUND 1
#define THINKPAD_EC_GPE 23
+#include <arch/acpi.h>
DefinitionBlock(
"dsdt.aml",
"DSDT",
0x02, // DSDT revision: ACPI v2.0 and up
- "COREv4", // OEM id
- "COREBOOT", // OEM table id
+ OEM_ID,
+ ACPI_TABLE_CREATOR,
0x20141018 // OEM revision
)
{
diff --git a/src/mainboard/lenovo/t400/dsdt.asl b/src/mainboard/lenovo/t400/dsdt.asl
index c403a090f2..75f4bce0c5 100644
--- a/src/mainboard/lenovo/t400/dsdt.asl
+++ b/src/mainboard/lenovo/t400/dsdt.asl
@@ -19,12 +19,13 @@
#define BRIGHTNESS_DOWN \_SB.PCI0.GFX0.DECB
#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
+#include <arch/acpi.h>
DefinitionBlock(
"dsdt.aml",
"DSDT",
0x02, // DSDT revision: ACPI v2.0 and up
- "COREv4", // OEM id
- "COREBOOT", // OEM table id
+ OEM_ID,
+ ACPI_TABLE_CREATOR,
0x20090419 // OEM revision
)
{
diff --git a/src/mainboard/lenovo/t420/dsdt.asl b/src/mainboard/lenovo/t420/dsdt.asl
index d554ed9f13..ba96303e6e 100644
--- a/src/mainboard/lenovo/t420/dsdt.asl
+++ b/src/mainboard/lenovo/t420/dsdt.asl
@@ -21,12 +21,13 @@
#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
#define EC_LENOVO_H8_ME_WORKAROUND 1
+#include <arch/acpi.h>
DefinitionBlock(
"dsdt.aml",
"DSDT",
0x02, // DSDT revision: ACPI v2.0 and up
- "COREv4", // OEM id
- "COREBOOT", // OEM table id
+ OEM_ID,
+ ACPI_TABLE_CREATOR,
0x20110725 // OEM revision
)
{
diff --git a/src/mainboard/lenovo/t420s/dsdt.asl b/src/mainboard/lenovo/t420s/dsdt.asl
index d554ed9f13..ba96303e6e 100644
--- a/src/mainboard/lenovo/t420s/dsdt.asl
+++ b/src/mainboard/lenovo/t420s/dsdt.asl
@@ -21,12 +21,13 @@
#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
#define EC_LENOVO_H8_ME_WORKAROUND 1
+#include <arch/acpi.h>
DefinitionBlock(
"dsdt.aml",
"DSDT",
0x02, // DSDT revision: ACPI v2.0 and up
- "COREv4", // OEM id
- "COREBOOT", // OEM table id
+ OEM_ID,
+ ACPI_TABLE_CREATOR,
0x20110725 // OEM revision
)
{
diff --git a/src/mainboard/lenovo/t430/dsdt.asl b/src/mainboard/lenovo/t430/dsdt.asl
index 6161393dac..3995ee3198 100644
--- a/src/mainboard/lenovo/t430/dsdt.asl
+++ b/src/mainboard/lenovo/t430/dsdt.asl
@@ -15,12 +15,13 @@
* GNU General Public License for more details.
*/
+#include <arch/acpi.h>
DefinitionBlock(
"dsdt.aml",
"DSDT",
0x02, // DSDT revision: ACPI v2.0 and up
- "COREv4", // OEM id
- "COREBOOT", // OEM table id
+ OEM_ID,
+ ACPI_TABLE_CREATOR,
0x20141018 // OEM revision
)
{
diff --git a/src/mainboard/lenovo/t430s/dsdt.asl b/src/mainboard/lenovo/t430s/dsdt.asl
index d554ed9f13..ba96303e6e 100644
--- a/src/mainboard/lenovo/t430s/dsdt.asl
+++ b/src/mainboard/lenovo/t430s/dsdt.asl
@@ -21,12 +21,13 @@
#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
#define EC_LENOVO_H8_ME_WORKAROUND 1
+#include <arch/acpi.h>
DefinitionBlock(
"dsdt.aml",
"DSDT",
0x02, // DSDT revision: ACPI v2.0 and up
- "COREv4", // OEM id
- "COREBOOT", // OEM table id
+ OEM_ID,
+ ACPI_TABLE_CREATOR,
0x20110725 // OEM revision
)
{
diff --git a/src/mainboard/lenovo/t520/dsdt.asl b/src/mainboard/lenovo/t520/dsdt.asl
index d554ed9f13..ba96303e6e 100644
--- a/src/mainboard/lenovo/t520/dsdt.asl
+++ b/src/mainboard/lenovo/t520/dsdt.asl
@@ -21,12 +21,13 @@
#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
#define EC_LENOVO_H8_ME_WORKAROUND 1
+#include <arch/acpi.h>
DefinitionBlock(
"dsdt.aml",
"DSDT",
0x02, // DSDT revision: ACPI v2.0 and up
- "COREv4", // OEM id
- "COREBOOT", // OEM table id
+ OEM_ID,
+ ACPI_TABLE_CREATOR,
0x20110725 // OEM revision
)
{
diff --git a/src/mainboard/lenovo/t530/dsdt.asl b/src/mainboard/lenovo/t530/dsdt.asl
index d554ed9f13..ba96303e6e 100644
--- a/src/mainboard/lenovo/t530/dsdt.asl
+++ b/src/mainboard/lenovo/t530/dsdt.asl
@@ -21,12 +21,13 @@
#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
#define EC_LENOVO_H8_ME_WORKAROUND 1
+#include <arch/acpi.h>
DefinitionBlock(
"dsdt.aml",
"DSDT",
0x02, // DSDT revision: ACPI v2.0 and up
- "COREv4", // OEM id
- "COREBOOT", // OEM table id
+ OEM_ID,
+ ACPI_TABLE_CREATOR,
0x20110725 // OEM revision
)
{
diff --git a/src/mainboard/lenovo/t60/dsdt.asl b/src/mainboard/lenovo/t60/dsdt.asl
index ef69baa71b..8f8c47dae6 100644
--- a/src/mainboard/lenovo/t60/dsdt.asl
+++ b/src/mainboard/lenovo/t60/dsdt.asl
@@ -19,12 +19,13 @@
#define BRIGHTNESS_DOWN \BRTD
#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
+#include <arch/acpi.h>
DefinitionBlock(
"dsdt.aml",
"DSDT",
0x02, // DSDT revision: ACPI v2.0 and up
- "COREv4", // OEM id
- "COREBOOT", // OEM table id
+ OEM_ID,
+ ACPI_TABLE_CREATOR,
0x20090419 // OEM revision
)
{
diff --git a/src/mainboard/lenovo/x131e/dsdt.asl b/src/mainboard/lenovo/x131e/dsdt.asl
index 8c907e7b6f..93495bb286 100644
--- a/src/mainboard/lenovo/x131e/dsdt.asl
+++ b/src/mainboard/lenovo/x131e/dsdt.asl
@@ -16,12 +16,13 @@
* GNU General Public License for more details.
*/
+#include <arch/acpi.h>
DefinitionBlock(
"dsdt.aml",
"DSDT",
0x02, // DSDT revision: ACPI v2.0 and up
- "COREv4", // OEM id
- "COREBOOT", // OEM table id
+ OEM_ID,
+ ACPI_TABLE_CREATOR,
0x20141018 // OEM revision
)
{
diff --git a/src/mainboard/lenovo/x1_carbon_gen1/dsdt.asl b/src/mainboard/lenovo/x1_carbon_gen1/dsdt.asl
index 4901fdad5a..c40669763f 100644
--- a/src/mainboard/lenovo/x1_carbon_gen1/dsdt.asl
+++ b/src/mainboard/lenovo/x1_carbon_gen1/dsdt.asl
@@ -21,12 +21,13 @@
#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
#define EC_LENOVO_H8_ME_WORKAROUND 1
+#include <arch/acpi.h>
DefinitionBlock(
"dsdt.aml",
"DSDT",
0x02, // DSDT revision: ACPI v2.0 and up
- "COREv4", // OEM id
- "COREBOOT", // OEM table id
+ OEM_ID,
+ ACPI_TABLE_CREATOR,
0x20141018 // OEM revision
)
{
diff --git a/src/mainboard/lenovo/x200/dsdt.asl b/src/mainboard/lenovo/x200/dsdt.asl
index 9bf858de24..8a11ec1954 100644
--- a/src/mainboard/lenovo/x200/dsdt.asl
+++ b/src/mainboard/lenovo/x200/dsdt.asl
@@ -19,12 +19,13 @@
#define BRIGHTNESS_DOWN \_SB.PCI0.GFX0.DECB
#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
+#include <arch/acpi.h>
DefinitionBlock(
"dsdt.aml",
"DSDT",
0x02, // DSDT revision: ACPI v2.0 and up
- "COREv4", // OEM id
- "COREBOOT", // OEM table id
+ OEM_ID,
+ ACPI_TABLE_CREATOR,
0x20090419 // OEM revision
)
{
diff --git a/src/mainboard/lenovo/x201/dsdt.asl b/src/mainboard/lenovo/x201/dsdt.asl
index 643c803e49..8b2fb78b95 100644
--- a/src/mainboard/lenovo/x201/dsdt.asl
+++ b/src/mainboard/lenovo/x201/dsdt.asl
@@ -14,18 +14,20 @@
* GNU General Public License for more details.
*/
+#include <arch/acpi.h>
#define THINKPAD_EC_GPE 17
#define BRIGHTNESS_UP \_SB.PCI0.GFX0.INCB
#define BRIGHTNESS_DOWN \_SB.PCI0.GFX0.DECB
#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
#define EC_LENOVO_H8_ME_WORKAROUND 1
+#include <arch/acpi.h>
DefinitionBlock(
"dsdt.aml",
"DSDT",
0x02, /* DSDT revision: ACPI v2.0 and up */
- "COREv4", /* OEM id */
- "COREBOOT", /* OEM table id */
+ OEM_ID,
+ ACPI_TABLE_CREATOR,
0x20130325 /* OEM revision */
)
{
diff --git a/src/mainboard/lenovo/x220/dsdt.asl b/src/mainboard/lenovo/x220/dsdt.asl
index d554ed9f13..ba96303e6e 100644
--- a/src/mainboard/lenovo/x220/dsdt.asl
+++ b/src/mainboard/lenovo/x220/dsdt.asl
@@ -21,12 +21,13 @@
#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
#define EC_LENOVO_H8_ME_WORKAROUND 1
+#include <arch/acpi.h>
DefinitionBlock(
"dsdt.aml",
"DSDT",
0x02, // DSDT revision: ACPI v2.0 and up
- "COREv4", // OEM id
- "COREBOOT", // OEM table id
+ OEM_ID,
+ ACPI_TABLE_CREATOR,
0x20110725 // OEM revision
)
{
diff --git a/src/mainboard/lenovo/x230/dsdt.asl b/src/mainboard/lenovo/x230/dsdt.asl
index d554ed9f13..ba96303e6e 100644
--- a/src/mainboard/lenovo/x230/dsdt.asl
+++ b/src/mainboard/lenovo/x230/dsdt.asl
@@ -21,12 +21,13 @@
#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
#define EC_LENOVO_H8_ME_WORKAROUND 1
+#include <arch/acpi.h>
DefinitionBlock(
"dsdt.aml",
"DSDT",
0x02, // DSDT revision: ACPI v2.0 and up
- "COREv4", // OEM id
- "COREBOOT", // OEM table id
+ OEM_ID,
+ ACPI_TABLE_CREATOR,
0x20110725 // OEM revision
)
{
diff --git a/src/mainboard/lenovo/x60/dsdt.asl b/src/mainboard/lenovo/x60/dsdt.asl
index 601fb073a5..2bba47ceec 100644
--- a/src/mainboard/lenovo/x60/dsdt.asl
+++ b/src/mainboard/lenovo/x60/dsdt.asl
@@ -19,12 +19,13 @@
#define BRIGHTNESS_DOWN \_SB.PCI0.GFX0.DECB
#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
+#include <arch/acpi.h>
DefinitionBlock(
"dsdt.aml",
"DSDT",
0x02, // DSDT revision: ACPI v2.0 and up
- "COREv4", // OEM id
- "COREBOOT", // OEM table id
+ OEM_ID,
+ ACPI_TABLE_CREATOR,
0x20090419 // OEM revision
)
{
diff --git a/src/mainboard/lenovo/z61t/dsdt.asl b/src/mainboard/lenovo/z61t/dsdt.asl
index ef69baa71b..8f8c47dae6 100644
--- a/src/mainboard/lenovo/z61t/dsdt.asl
+++ b/src/mainboard/lenovo/z61t/dsdt.asl
@@ -19,12 +19,13 @@
#define BRIGHTNESS_DOWN \BRTD
#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0
+#include <arch/acpi.h>
DefinitionBlock(
"dsdt.aml",
"DSDT",
0x02, // DSDT revision: ACPI v2.0 and up
- "COREv4", // OEM id
- "COREBOOT", // OEM table id
+ OEM_ID,
+ ACPI_TABLE_CREATOR,
0x20090419 // OEM revision
)
{