diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-11-22 11:15:29 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-11-23 11:00:40 +0000 |
commit | 6d19a20f5fb46956d4324dff28ed4b59dc7776a3 (patch) | |
tree | e300bcefa622ddf224771971e870f64f7987886d /src/mainboard/asrock | |
parent | e7207593ec1854431375f8c4f5c0f03dd12723fc (diff) | |
download | coreboot-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/mainboard/asrock')
-rw-r--r-- | src/mainboard/asrock/b75pro3-m/dsdt.asl | 5 | ||||
-rw-r--r-- | src/mainboard/asrock/e350m1/acpi/routing.asl | 3 | ||||
-rw-r--r-- | src/mainboard/asrock/e350m1/acpi/usb_oc.asl | 3 | ||||
-rw-r--r-- | src/mainboard/asrock/e350m1/dsdt.asl | 5 | ||||
-rw-r--r-- | src/mainboard/asrock/g41c-gs/dsdt.asl | 5 | ||||
-rw-r--r-- | src/mainboard/asrock/h81m-hds/dsdt.asl | 5 | ||||
-rw-r--r-- | src/mainboard/asrock/imb-a180/acpi/routing.asl | 3 | ||||
-rw-r--r-- | src/mainboard/asrock/imb-a180/acpi/usb_oc.asl | 3 | ||||
-rw-r--r-- | src/mainboard/asrock/imb-a180/dsdt.asl | 5 |
9 files changed, 23 insertions, 14 deletions
diff --git a/src/mainboard/asrock/b75pro3-m/dsdt.asl b/src/mainboard/asrock/b75pro3-m/dsdt.asl index 44141c32aa..5c86e77673 100644 --- a/src/mainboard/asrock/b75pro3-m/dsdt.asl +++ b/src/mainboard/asrock/b75pro3-m/dsdt.asl @@ -17,12 +17,13 @@ #define BRIGHTNESS_UP \_SB.PCI0.GFX0.INCB #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, 0x20141018 // OEM revision ) { diff --git a/src/mainboard/asrock/e350m1/acpi/routing.asl b/src/mainboard/asrock/e350m1/acpi/routing.asl index 8bd3e4de3d..537bcacaa1 100644 --- a/src/mainboard/asrock/e350m1/acpi/routing.asl +++ b/src/mainboard/asrock/e350m1/acpi/routing.asl @@ -14,7 +14,8 @@ */ /* -DefinitionBlock ("DSDT.AML","DSDT",0x01,"XXXXXX","XXXXXXXX",0x00010001 +#include <arch/acpi.h> +DefinitionBlock ("DSDT.AML", "DSDT", 0x01, OEM_ID, ACPI_TABLE_CREATOR, 0x00010001 ) { #include "routing.asl" diff --git a/src/mainboard/asrock/e350m1/acpi/usb_oc.asl b/src/mainboard/asrock/e350m1/acpi/usb_oc.asl index 6e9c701a26..a209909b32 100644 --- a/src/mainboard/asrock/e350m1/acpi/usb_oc.asl +++ b/src/mainboard/asrock/e350m1/acpi/usb_oc.asl @@ -15,7 +15,8 @@ /* simple name description */ /* -DefinitionBlock ("DSDT.AML","DSDT",0x01,"XXXXXX","XXXXXXXX",0x00010001 +#include <arch/acpi.h> +DefinitionBlock ("DSDT.AML", "DSDT", 0x01, OEM_ID, ACPI_TABLE_CREATOR, 0x00010001 ) { #include "usb.asl" diff --git a/src/mainboard/asrock/e350m1/dsdt.asl b/src/mainboard/asrock/e350m1/dsdt.asl index c70ba80b8a..a958ce5f80 100644 --- a/src/mainboard/asrock/e350m1/dsdt.asl +++ b/src/mainboard/asrock/e350m1/dsdt.asl @@ -14,12 +14,13 @@ */ /* DefinitionBlock Statement */ +#include <arch/acpi.h> DefinitionBlock ( "DSDT.AML", /* Output filename */ "DSDT", /* Signature */ 0x02, /* DSDT Revision, needs to be 2 for 64bit */ - "ASROCK", /* OEMID */ - "COREBOOT", /* TABLE ID */ + OEM_ID, + ACPI_TABLE_CREATOR, 0x00010001 /* OEM Revision */ ) { /* Start of ASL file */ diff --git a/src/mainboard/asrock/g41c-gs/dsdt.asl b/src/mainboard/asrock/g41c-gs/dsdt.asl index 8c99025d30..4eade3dfbb 100644 --- a/src/mainboard/asrock/g41c-gs/dsdt.asl +++ b/src/mainboard/asrock/g41c-gs/dsdt.asl @@ -16,12 +16,13 @@ #include <southbridge/intel/i82801gx/i82801gx.h> +#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/asrock/h81m-hds/dsdt.asl b/src/mainboard/asrock/h81m-hds/dsdt.asl index c02e48659e..917b2e4ce5 100644 --- a/src/mainboard/asrock/h81m-hds/dsdt.asl +++ b/src/mainboard/asrock/h81m-hds/dsdt.asl @@ -14,12 +14,13 @@ * GNU General Public License for more details. */ +#include <arch/acpi.h> DefinitionBlock( "dsdt.aml", "DSDT", 0x02, /* DSDT Revision: ACPI v3.0 */ - "COREv4", /* OEM ID */ - "COREBOOT", /* OEM Table ID */ + OEM_ID, + ACPI_TABLE_CREATOR, 0x20181031 /* OEM Revision */ ) { diff --git a/src/mainboard/asrock/imb-a180/acpi/routing.asl b/src/mainboard/asrock/imb-a180/acpi/routing.asl index 7cb7a2f44c..1fb4c1dfdf 100644 --- a/src/mainboard/asrock/imb-a180/acpi/routing.asl +++ b/src/mainboard/asrock/imb-a180/acpi/routing.asl @@ -15,7 +15,8 @@ */ /* -DefinitionBlock ("DSDT.AML","DSDT",0x01,"XXXXXX","XXXXXXXX",0x00010001 +#include <arch/acpi.h> +DefinitionBlock ("DSDT.AML", "DSDT", 0x01, OEM_ID, ACPI_TABLE_CREATOR, 0x00010001 ) { #include "routing.asl" diff --git a/src/mainboard/asrock/imb-a180/acpi/usb_oc.asl b/src/mainboard/asrock/imb-a180/acpi/usb_oc.asl index f4055efdf4..9e0d032c71 100644 --- a/src/mainboard/asrock/imb-a180/acpi/usb_oc.asl +++ b/src/mainboard/asrock/imb-a180/acpi/usb_oc.asl @@ -16,7 +16,8 @@ /* simple name description */ /* -DefinitionBlock ("DSDT.AML","DSDT",0x01,"XXXXXX","XXXXXXXX",0x00010001 +#include <arch/acpi.h> +DefinitionBlock ("DSDT.AML", "DSDT", 0x01, OEM_ID, ACPI_TABLE_CREATOR, 0x00010001 ) { #include "usb.asl" diff --git a/src/mainboard/asrock/imb-a180/dsdt.asl b/src/mainboard/asrock/imb-a180/dsdt.asl index e2d02087cc..c4fc93484e 100644 --- a/src/mainboard/asrock/imb-a180/dsdt.asl +++ b/src/mainboard/asrock/imb-a180/dsdt.asl @@ -15,12 +15,13 @@ */ /* 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 */ |