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>
This commit is contained in:
committed by
Patrick Georgi
parent
0ba2652837
commit
49a4c6af58
@@ -73,7 +73,7 @@ Method(GTTM, 1) /* get total time*/
|
|||||||
Device(PRID)
|
Device(PRID)
|
||||||
{
|
{
|
||||||
Name (_ADR, Zero)
|
Name (_ADR, Zero)
|
||||||
Method(_GTM, 0)
|
Method(_GTM, 0, Serialized)
|
||||||
{
|
{
|
||||||
NAME(OTBF, Buffer(20) { /* out buffer */
|
NAME(OTBF, Buffer(20) { /* out buffer */
|
||||||
0xFF, 0xFF, 0xFF, 0xFF,
|
0xFF, 0xFF, 0xFF, 0xFF,
|
||||||
@@ -118,7 +118,7 @@ Device(PRID)
|
|||||||
Return(OTBF) /* out buffer */
|
Return(OTBF) /* out buffer */
|
||||||
} /* End Method(_GTM) */
|
} /* End Method(_GTM) */
|
||||||
|
|
||||||
Method(_STM, 3, NotSerialized)
|
Method(_STM, 3, Serialized)
|
||||||
{
|
{
|
||||||
NAME(INBF, Buffer(20) { /* in buffer */
|
NAME(INBF, Buffer(20) { /* in buffer */
|
||||||
0xFF, 0xFF, 0xFF, 0xFF,
|
0xFF, 0xFF, 0xFF, 0xFF,
|
||||||
@@ -169,7 +169,7 @@ Device(PRID)
|
|||||||
Device(MST)
|
Device(MST)
|
||||||
{
|
{
|
||||||
Name(_ADR, 0)
|
Name(_ADR, 0)
|
||||||
Method(_GTF) {
|
Method(_GTF, 0, Serialized) {
|
||||||
Name(CMBF, Buffer(21) {
|
Name(CMBF, Buffer(21) {
|
||||||
0x03, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xEF,
|
0x03, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xEF,
|
||||||
0x03, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xEF,
|
0x03, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xEF,
|
||||||
@@ -205,7 +205,7 @@ Device(PRID)
|
|||||||
Device(SLAV)
|
Device(SLAV)
|
||||||
{
|
{
|
||||||
Name(_ADR, 1)
|
Name(_ADR, 1)
|
||||||
Method(_GTF) {
|
Method(_GTF, 0, Serialized) {
|
||||||
Name(CMBF, Buffer(21) {
|
Name(CMBF, Buffer(21) {
|
||||||
0x03, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xEF,
|
0x03, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xEF,
|
||||||
0x03, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xEF,
|
0x03, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xEF,
|
||||||
|
@@ -40,7 +40,7 @@ Scope(\_SB) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Battery Info */
|
/* Battery Info */
|
||||||
Method(_BIF, 0)
|
Method(_BIF, 0, Serialized)
|
||||||
{
|
{
|
||||||
Name(PBIF, Package() {
|
Name(PBIF, Package() {
|
||||||
0x01,
|
0x01,
|
||||||
@@ -145,7 +145,7 @@ Scope(\_SB) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Battery Info */
|
/* Battery Info */
|
||||||
Method(_BIF, 0)
|
Method(_BIF, 0, Serialized)
|
||||||
{
|
{
|
||||||
Name(PBIF, Package() {
|
Name(PBIF, Package() {
|
||||||
0x01,
|
0x01,
|
||||||
|
@@ -86,7 +86,7 @@ Device(EC0)
|
|||||||
ODDS, 1
|
ODDS, 1
|
||||||
}
|
}
|
||||||
|
|
||||||
Method (_CRS, 0)
|
Method (_CRS, 0, Serialized)
|
||||||
{
|
{
|
||||||
Name (ECMD, ResourceTemplate()
|
Name (ECMD, ResourceTemplate()
|
||||||
{
|
{
|
||||||
|
@@ -106,7 +106,7 @@ Device (SIO1)
|
|||||||
})
|
})
|
||||||
|
|
||||||
/* Current Resource Settings */
|
/* Current Resource Settings */
|
||||||
Method(_CRS, 0)
|
Method(_CRS, 0, Serialized)
|
||||||
{
|
{
|
||||||
Name(NONE, ResourceTemplate() {
|
Name(NONE, ResourceTemplate() {
|
||||||
IO(Decode16, 0x000, 0x000, 0x0, 0x1)
|
IO(Decode16, 0x000, 0x000, 0x0, 0x1)
|
||||||
@@ -256,7 +256,7 @@ Device (SIO1)
|
|||||||
})
|
})
|
||||||
|
|
||||||
/* Current Resource Settings */
|
/* Current Resource Settings */
|
||||||
Method(_CRS, 0)
|
Method(_CRS, 0, Serialized)
|
||||||
{
|
{
|
||||||
Name(NONE, ResourceTemplate() {
|
Name(NONE, ResourceTemplate() {
|
||||||
IO(Decode16, 0x000, 0x000, 0x0, 0x1)
|
IO(Decode16, 0x000, 0x000, 0x0, 0x1)
|
||||||
@@ -405,7 +405,7 @@ Device (SIO1)
|
|||||||
})
|
})
|
||||||
|
|
||||||
/* Current Resource Settings */
|
/* Current Resource Settings */
|
||||||
Method(_CRS, 0)
|
Method(_CRS, 0, Serialized)
|
||||||
{
|
{
|
||||||
Name(NONE, ResourceTemplate() {
|
Name(NONE, ResourceTemplate() {
|
||||||
IO(Decode16, 0x000, 0x000, 0x0, 0x1)
|
IO(Decode16, 0x000, 0x000, 0x0, 0x1)
|
||||||
@@ -552,7 +552,7 @@ Device (SIO1)
|
|||||||
})
|
})
|
||||||
|
|
||||||
/* Current Resource Settings */
|
/* Current Resource Settings */
|
||||||
Method(_CRS, 0)
|
Method(_CRS, 0, Serialized)
|
||||||
{
|
{
|
||||||
Name(NONE, ResourceTemplate() {
|
Name(NONE, ResourceTemplate() {
|
||||||
IO(Decode16, 0x000, 0x000, 0x0, 0x1)
|
IO(Decode16, 0x000, 0x000, 0x0, 0x1)
|
||||||
|
@@ -28,7 +28,7 @@ Scope (\_SB)
|
|||||||
|
|
||||||
Scope (\_SB.GPNC)
|
Scope (\_SB.GPNC)
|
||||||
{
|
{
|
||||||
Method (_AEI, 0, NotSerialized) // _AEI: ACPI Event Interrupts
|
Method (_AEI, 0, Serialized) // _AEI: ACPI Event Interrupts
|
||||||
{
|
{
|
||||||
Name (RBUF, ResourceTemplate ()
|
Name (RBUF, ResourceTemplate ()
|
||||||
{
|
{
|
||||||
|
@@ -35,7 +35,7 @@ Scope (\_SB.PCI0.I2C1)
|
|||||||
Name (_UID, 4)
|
Name (_UID, 4)
|
||||||
Name (ISTP, 0) /* TouchScreen */
|
Name (ISTP, 0) /* TouchScreen */
|
||||||
|
|
||||||
Method(_CRS, 0x0, NotSerialized)
|
Method(_CRS, 0x0, Serialized)
|
||||||
{
|
{
|
||||||
Name (BUF0, ResourceTemplate ()
|
Name (BUF0, ResourceTemplate ()
|
||||||
{
|
{
|
||||||
@@ -195,7 +195,7 @@ Scope (\_SB.PCI0.LPEA)
|
|||||||
|
|
||||||
Scope (\_SB.GPNC)
|
Scope (\_SB.GPNC)
|
||||||
{
|
{
|
||||||
Method (_AEI, 0, NotSerialized) // _AEI: ACPI Event Interrupts
|
Method (_AEI, 0, Serialized) // _AEI: ACPI Event Interrupts
|
||||||
{
|
{
|
||||||
Name (RBUF, ResourceTemplate ()
|
Name (RBUF, ResourceTemplate ()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user