soc/amd/picasso: Remove printf in asl
These are no longer really useful. We can also enable Power Resource ACPI debug in the kernel if we want these messages. BUG=none BRANCH=zork TEST=emerge-zork and verify debug messages are no longer posted Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: I936e816266825f1c59377c2e079ffe1a5188838c Reviewed-on: https://review.coreboot.org/c/coreboot/+/49366 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
d6eb72c87e
commit
02e0456a25
|
@ -67,8 +67,6 @@
|
||||||
} \
|
} \
|
||||||
Method(_STA) { \
|
Method(_STA) { \
|
||||||
Local0 = (PRBS && RCOS && RBS) \
|
Local0 = (PRBS && RCOS && RBS) \
|
||||||
\
|
|
||||||
Printf("AOAC.%s._STA: %o", #DEV_NAME, Local0) \
|
|
||||||
\
|
\
|
||||||
If (Local0) { \
|
If (Local0) { \
|
||||||
Return (1) \
|
Return (1) \
|
||||||
|
@ -77,34 +75,22 @@
|
||||||
} \
|
} \
|
||||||
} \
|
} \
|
||||||
Method(_ON, 0, Serialized) { \
|
Method(_ON, 0, Serialized) { \
|
||||||
Printf("AOAC.%s._ON", #DEV_NAME) \
|
|
||||||
\
|
|
||||||
ISWC=0 \
|
ISWC=0 \
|
||||||
POD=1 \
|
POD=1 \
|
||||||
\
|
\
|
||||||
While (!PRBS || !RCOS || !RBS) { \
|
While (!PRBS || !RCOS || !RBS) { \
|
||||||
Printf ("Waiting for device to power on") \
|
|
||||||
Stall (100) \
|
Stall (100) \
|
||||||
} \
|
} \
|
||||||
\
|
|
||||||
Printf("Done waiting") \
|
|
||||||
} \
|
} \
|
||||||
Method(_OFF, 0, Serialized) { \
|
Method(_OFF, 0, Serialized) { \
|
||||||
Printf("AOAC.%s._OFF", #DEV_NAME) \
|
|
||||||
\
|
|
||||||
ISWC=0 \
|
ISWC=0 \
|
||||||
POD=0 \
|
POD=0 \
|
||||||
\
|
\
|
||||||
While (PRBS || RCOS || RBS) { \
|
While (PRBS || RCOS || RBS) { \
|
||||||
Printf ("Waiting for device to power off") \
|
|
||||||
Stall (100) \
|
Stall (100) \
|
||||||
} \
|
} \
|
||||||
\
|
|
||||||
Printf("Done waiting") \
|
|
||||||
} \
|
} \
|
||||||
Method(_RST, 0, Serialized) { \
|
Method(_RST, 0, Serialized) { \
|
||||||
Printf("AOAC.%s._RST", #DEV_NAME) \
|
|
||||||
\
|
|
||||||
ISWC=1 \
|
ISWC=1 \
|
||||||
SRB=1 \
|
SRB=1 \
|
||||||
\
|
\
|
||||||
|
|
|
@ -127,11 +127,9 @@ Device (FUR0)
|
||||||
Name (_PR2, Package () { \_SB.AOAC.FUR0 })
|
Name (_PR2, Package () { \_SB.AOAC.FUR0 })
|
||||||
Name (_PR3, Package () { \_SB.AOAC.FUR0 })
|
Name (_PR3, Package () { \_SB.AOAC.FUR0 })
|
||||||
Method (_PS0, 0, Serialized) {
|
Method (_PS0, 0, Serialized) {
|
||||||
Printf("FUR0._PS0")
|
|
||||||
\_SB.AOAC.FUR0.TDS = 1
|
\_SB.AOAC.FUR0.TDS = 1
|
||||||
}
|
}
|
||||||
Method (_PS3, 0, Serialized) {
|
Method (_PS3, 0, Serialized) {
|
||||||
Printf("FUR0._PS3")
|
|
||||||
\_SB.AOAC.FUR0.TDS = 3
|
\_SB.AOAC.FUR0.TDS = 3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -170,11 +168,9 @@ Device (FUR1) {
|
||||||
Name (_PR2, Package () { \_SB.AOAC.FUR1 })
|
Name (_PR2, Package () { \_SB.AOAC.FUR1 })
|
||||||
Name (_PR3, Package () { \_SB.AOAC.FUR1 })
|
Name (_PR3, Package () { \_SB.AOAC.FUR1 })
|
||||||
Method (_PS0, 0, Serialized) {
|
Method (_PS0, 0, Serialized) {
|
||||||
Printf("FUR1._PS0")
|
|
||||||
\_SB.AOAC.FUR1.TDS = 1
|
\_SB.AOAC.FUR1.TDS = 1
|
||||||
}
|
}
|
||||||
Method (_PS3, 0, Serialized) {
|
Method (_PS3, 0, Serialized) {
|
||||||
Printf("FUR1._PS3")
|
|
||||||
\_SB.AOAC.FUR1.TDS = 3
|
\_SB.AOAC.FUR1.TDS = 3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -213,11 +209,9 @@ Device (FUR2) {
|
||||||
Name (_PR2, Package () { \_SB.AOAC.FUR2 })
|
Name (_PR2, Package () { \_SB.AOAC.FUR2 })
|
||||||
Name (_PR3, Package () { \_SB.AOAC.FUR2 })
|
Name (_PR3, Package () { \_SB.AOAC.FUR2 })
|
||||||
Method (_PS0, 0, Serialized) {
|
Method (_PS0, 0, Serialized) {
|
||||||
Printf("FUR2._PS0")
|
|
||||||
\_SB.AOAC.FUR2.TDS = 1
|
\_SB.AOAC.FUR2.TDS = 1
|
||||||
}
|
}
|
||||||
Method (_PS3, 0, Serialized) {
|
Method (_PS3, 0, Serialized) {
|
||||||
Printf("FUR2._PS3")
|
|
||||||
\_SB.AOAC.FUR2.TDS = 3
|
\_SB.AOAC.FUR2.TDS = 3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -256,11 +250,9 @@ Device (FUR3) {
|
||||||
Name (_PR2, Package () { \_SB.AOAC.FUR3 })
|
Name (_PR2, Package () { \_SB.AOAC.FUR3 })
|
||||||
Name (_PR3, Package () { \_SB.AOAC.FUR3 })
|
Name (_PR3, Package () { \_SB.AOAC.FUR3 })
|
||||||
Method (_PS0, 0, Serialized) {
|
Method (_PS0, 0, Serialized) {
|
||||||
Printf("FUR3._PS0")
|
|
||||||
\_SB.AOAC.FUR3.TDS = 1
|
\_SB.AOAC.FUR3.TDS = 1
|
||||||
}
|
}
|
||||||
Method (_PS3, 0, Serialized) {
|
Method (_PS3, 0, Serialized) {
|
||||||
Printf("FUR3._PS3")
|
|
||||||
\_SB.AOAC.FUR3.TDS = 3
|
\_SB.AOAC.FUR3.TDS = 3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -302,11 +294,9 @@ Device (I2C2) {
|
||||||
Name (_PR2, Package () { \_SB.AOAC.I2C2 })
|
Name (_PR2, Package () { \_SB.AOAC.I2C2 })
|
||||||
Name (_PR3, Package () { \_SB.AOAC.I2C2 })
|
Name (_PR3, Package () { \_SB.AOAC.I2C2 })
|
||||||
Method (_PS0, 0, Serialized) {
|
Method (_PS0, 0, Serialized) {
|
||||||
Printf("I2C2._PS0")
|
|
||||||
\_SB.AOAC.I2C2.TDS = 1
|
\_SB.AOAC.I2C2.TDS = 1
|
||||||
}
|
}
|
||||||
Method (_PS3, 0, Serialized) {
|
Method (_PS3, 0, Serialized) {
|
||||||
Printf("I2C2._PS3")
|
|
||||||
\_SB.AOAC.I2C2.TDS = 3
|
\_SB.AOAC.I2C2.TDS = 3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -348,11 +338,9 @@ Device (I2C3)
|
||||||
Name (_PR2, Package () { \_SB.AOAC.I2C3 })
|
Name (_PR2, Package () { \_SB.AOAC.I2C3 })
|
||||||
Name (_PR3, Package () { \_SB.AOAC.I2C3 })
|
Name (_PR3, Package () { \_SB.AOAC.I2C3 })
|
||||||
Method (_PS0, 0, Serialized) {
|
Method (_PS0, 0, Serialized) {
|
||||||
Printf("I2C3._PS0")
|
|
||||||
\_SB.AOAC.I2C3.TDS = 1
|
\_SB.AOAC.I2C3.TDS = 1
|
||||||
}
|
}
|
||||||
Method (_PS3, 0, Serialized) {
|
Method (_PS3, 0, Serialized) {
|
||||||
Printf("I2C3._PS3")
|
|
||||||
\_SB.AOAC.I2C3.TDS = 3
|
\_SB.AOAC.I2C3.TDS = 3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue