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:
Martin Roth 2018-05-07 20:44:25 -05:00 committed by Patrick Georgi
parent 0ba2652837
commit 49a4c6af58
6 changed files with 14 additions and 14 deletions

View File

@ -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,

View File

@ -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,

View File

@ -86,7 +86,7 @@ Device(EC0)
ODDS, 1
}
Method (_CRS, 0)
Method (_CRS, 0, Serialized)
{
Name (ECMD, ResourceTemplate()
{

View File

@ -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)

View File

@ -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 ()
{

View File

@ -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 ()
{