summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2018-05-07 20:44:25 -0500
committerPatrick Georgi <pgeorgi@google.com>2018-05-09 10:14:01 +0000
commit49a4c6af58c506e95c7ac70b4e759b34f80613d0 (patch)
tree8010fdc0359ad0414c350c01f5197de801bd1d1b
parent0ba2652837d117b28811eb6c7e122ffff9e9c945 (diff)
src/mainboard: Serialize methods with named objects inside
Change-Id: I90e1d8b9f8e37bec8fc2796637b4548ea17e076b Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/26151 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
-rw-r--r--src/mainboard/amd/mahogany/acpi/ide.asl8
-rw-r--r--src/mainboard/getac/p470/acpi/battery.asl4
-rw-r--r--src/mainboard/getac/p470/acpi/ec.asl2
-rw-r--r--src/mainboard/getac/p470/acpi/superio.asl8
-rw-r--r--src/mainboard/google/cyan/acpi/mainboard.asl2
-rw-r--r--src/mainboard/intel/strago/acpi/mainboard.asl4
6 files changed, 14 insertions, 14 deletions
diff --git a/src/mainboard/amd/mahogany/acpi/ide.asl b/src/mainboard/amd/mahogany/acpi/ide.asl
index 5c155cf301..694ab235b6 100644
--- a/src/mainboard/amd/mahogany/acpi/ide.asl
+++ b/src/mainboard/amd/mahogany/acpi/ide.asl
@@ -73,7 +73,7 @@ Method(GTTM, 1) /* get total time*/
Device(PRID)
{
Name (_ADR, Zero)
- Method(_GTM, 0)
+ Method(_GTM, 0, Serialized)
{
NAME(OTBF, Buffer(20) { /* out buffer */
0xFF, 0xFF, 0xFF, 0xFF,
@@ -118,7 +118,7 @@ Device(PRID)
Return(OTBF) /* out buffer */
} /* End Method(_GTM) */
- Method(_STM, 3, NotSerialized)
+ Method(_STM, 3, Serialized)
{
NAME(INBF, Buffer(20) { /* in buffer */
0xFF, 0xFF, 0xFF, 0xFF,
@@ -169,7 +169,7 @@ Device(PRID)
Device(MST)
{
Name(_ADR, 0)
- Method(_GTF) {
+ Method(_GTF, 0, Serialized) {
Name(CMBF, Buffer(21) {
0x03, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xEF,
0x03, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xEF,
@@ -205,7 +205,7 @@ Device(PRID)
Device(SLAV)
{
Name(_ADR, 1)
- Method(_GTF) {
+ Method(_GTF, 0, Serialized) {
Name(CMBF, Buffer(21) {
0x03, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xEF,
0x03, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xEF,
diff --git a/src/mainboard/getac/p470/acpi/battery.asl b/src/mainboard/getac/p470/acpi/battery.asl
index 48f1eca9b5..592bce037b 100644
--- a/src/mainboard/getac/p470/acpi/battery.asl
+++ b/src/mainboard/getac/p470/acpi/battery.asl
@@ -40,7 +40,7 @@ Scope(\_SB) {
}
/* Battery Info */
- Method(_BIF, 0)
+ Method(_BIF, 0, Serialized)
{
Name(PBIF, Package() {
0x01,
@@ -145,7 +145,7 @@ Scope(\_SB) {
}
/* Battery Info */
- Method(_BIF, 0)
+ Method(_BIF, 0, Serialized)
{
Name(PBIF, Package() {
0x01,
diff --git a/src/mainboard/getac/p470/acpi/ec.asl b/src/mainboard/getac/p470/acpi/ec.asl
index 91846f1030..7420d4ae3f 100644
--- a/src/mainboard/getac/p470/acpi/ec.asl
+++ b/src/mainboard/getac/p470/acpi/ec.asl
@@ -86,7 +86,7 @@ Device(EC0)
ODDS, 1
}
- Method (_CRS, 0)
+ Method (_CRS, 0, Serialized)
{
Name (ECMD, ResourceTemplate()
{
diff --git a/src/mainboard/getac/p470/acpi/superio.asl b/src/mainboard/getac/p470/acpi/superio.asl
index e9b5f0cf0d..9bf07ce18f 100644
--- a/src/mainboard/getac/p470/acpi/superio.asl
+++ b/src/mainboard/getac/p470/acpi/superio.asl
@@ -106,7 +106,7 @@ Device (SIO1)
})
/* Current Resource Settings */
- Method(_CRS, 0)
+ Method(_CRS, 0, Serialized)
{
Name(NONE, ResourceTemplate() {
IO(Decode16, 0x000, 0x000, 0x0, 0x1)
@@ -256,7 +256,7 @@ Device (SIO1)
})
/* Current Resource Settings */
- Method(_CRS, 0)
+ Method(_CRS, 0, Serialized)
{
Name(NONE, ResourceTemplate() {
IO(Decode16, 0x000, 0x000, 0x0, 0x1)
@@ -405,7 +405,7 @@ Device (SIO1)
})
/* Current Resource Settings */
- Method(_CRS, 0)
+ Method(_CRS, 0, Serialized)
{
Name(NONE, ResourceTemplate() {
IO(Decode16, 0x000, 0x000, 0x0, 0x1)
@@ -552,7 +552,7 @@ Device (SIO1)
})
/* Current Resource Settings */
- Method(_CRS, 0)
+ Method(_CRS, 0, Serialized)
{
Name(NONE, ResourceTemplate() {
IO(Decode16, 0x000, 0x000, 0x0, 0x1)
diff --git a/src/mainboard/google/cyan/acpi/mainboard.asl b/src/mainboard/google/cyan/acpi/mainboard.asl
index 3228a31bfa..1859fa87f7 100644
--- a/src/mainboard/google/cyan/acpi/mainboard.asl
+++ b/src/mainboard/google/cyan/acpi/mainboard.asl
@@ -28,7 +28,7 @@ Scope (\_SB)
Scope (\_SB.GPNC)
{
- Method (_AEI, 0, NotSerialized) // _AEI: ACPI Event Interrupts
+ Method (_AEI, 0, Serialized) // _AEI: ACPI Event Interrupts
{
Name (RBUF, ResourceTemplate ()
{
diff --git a/src/mainboard/intel/strago/acpi/mainboard.asl b/src/mainboard/intel/strago/acpi/mainboard.asl
index eaf9e854de..68ac133eec 100644
--- a/src/mainboard/intel/strago/acpi/mainboard.asl
+++ b/src/mainboard/intel/strago/acpi/mainboard.asl
@@ -35,7 +35,7 @@ Scope (\_SB.PCI0.I2C1)
Name (_UID, 4)
Name (ISTP, 0) /* TouchScreen */
- Method(_CRS, 0x0, NotSerialized)
+ Method(_CRS, 0x0, Serialized)
{
Name (BUF0, ResourceTemplate ()
{
@@ -195,7 +195,7 @@ Scope (\_SB.PCI0.LPEA)
Scope (\_SB.GPNC)
{
- Method (_AEI, 0, NotSerialized) // _AEI: ACPI Event Interrupts
+ Method (_AEI, 0, Serialized) // _AEI: ACPI Event Interrupts
{
Name (RBUF, ResourceTemplate ()
{