summaryrefslogtreecommitdiff
path: root/src/mainboard/supermicro
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-10-05 16:38:53 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-10-13 18:27:04 +0000
commit90d00dea55073a9c2d0d39c78a40840cdb17feaf (patch)
treede6e69540bd2bd2ee81ce30a415c71a3394da757 /src/mainboard/supermicro
parent2d49f220ea8e67da6ed8049a71c9415d16420cd0 (diff)
{src/mb,util/autoport}: Use macro for DSDT revision
Change-Id: I5a5f4e7067948c5cc7a715a08f7a5a3e9b391191 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45904 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'src/mainboard/supermicro')
-rw-r--r--src/mainboard/supermicro/x10slm-f/dsdt.asl9
-rw-r--r--src/mainboard/supermicro/x11-lga1151-series/dsdt.asl2
-rw-r--r--src/mainboard/supermicro/x9scl/dsdt.asl2
3 files changed, 10 insertions, 3 deletions
diff --git a/src/mainboard/supermicro/x10slm-f/dsdt.asl b/src/mainboard/supermicro/x10slm-f/dsdt.asl
index fc0ca022af..08a26ab088 100644
--- a/src/mainboard/supermicro/x10slm-f/dsdt.asl
+++ b/src/mainboard/supermicro/x10slm-f/dsdt.asl
@@ -2,7 +2,14 @@
#include <acpi/acpi.h>
-DefinitionBlock("dsdt.aml", "DSDT", 2, OEM_ID, ACPI_TABLE_CREATOR, 0x20181220)
+DefinitionBlock(
+ "dsdt.aml",
+ "DSDT",
+ ACPI_DSDT_REV_2,
+ OEM_ID,
+ ACPI_TABLE_CREATOR,
+ 0x20181220
+ )
{
#include "acpi/platform.asl"
#include <southbridge/intel/common/acpi/platform.asl>
diff --git a/src/mainboard/supermicro/x11-lga1151-series/dsdt.asl b/src/mainboard/supermicro/x11-lga1151-series/dsdt.asl
index d8690764bf..b5e9a0b076 100644
--- a/src/mainboard/supermicro/x11-lga1151-series/dsdt.asl
+++ b/src/mainboard/supermicro/x11-lga1151-series/dsdt.asl
@@ -4,7 +4,7 @@
DefinitionBlock(
"dsdt.aml",
"DSDT",
- 0x02, // DSDT revision: ACPI v2.0 and up
+ ACPI_DSDT_REV_2,
OEM_ID,
ACPI_TABLE_CREATOR,
0x20110725 // OEM revision
diff --git a/src/mainboard/supermicro/x9scl/dsdt.asl b/src/mainboard/supermicro/x9scl/dsdt.asl
index a46e27f3d5..4b415892b0 100644
--- a/src/mainboard/supermicro/x9scl/dsdt.asl
+++ b/src/mainboard/supermicro/x9scl/dsdt.asl
@@ -4,7 +4,7 @@
DefinitionBlock(
"dsdt.aml",
"DSDT",
- 0x02, /* DSDT Revision: ACPI v2.0 and up */
+ ACPI_DSDT_REV_2,
OEM_ID,
ACPI_TABLE_CREATOR,
0x20171231 /* OEM Revision */