summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2021-01-12 14:35:40 -0700
committerFelix Held <felix-coreboot@felixheld.de>2021-01-14 19:20:54 +0000
commit02e0456a252f324114cd6fad349b56cc5e3ea570 (patch)
treee6a458753e036827506b50756700bcaa028bb7ef
parentd6eb72c87eb569000df62456c187329ee4967dc1 (diff)
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>
-rw-r--r--src/soc/amd/picasso/acpi/aoac.asl14
-rw-r--r--src/soc/amd/picasso/acpi/sb_fch.asl12
2 files changed, 0 insertions, 26 deletions
diff --git a/src/soc/amd/picasso/acpi/aoac.asl b/src/soc/amd/picasso/acpi/aoac.asl
index 461b78cabc..7a9a9e628f 100644
--- a/src/soc/amd/picasso/acpi/aoac.asl
+++ b/src/soc/amd/picasso/acpi/aoac.asl
@@ -68,8 +68,6 @@
Method(_STA) { \
Local0 = (PRBS && RCOS && RBS) \
\
- Printf("AOAC.%s._STA: %o", #DEV_NAME, Local0) \
-\
If (Local0) { \
Return (1) \
} Else { \
@@ -77,34 +75,22 @@
} \
} \
Method(_ON, 0, Serialized) { \
- Printf("AOAC.%s._ON", #DEV_NAME) \
-\
ISWC=0 \
POD=1 \
\
While (!PRBS || !RCOS || !RBS) { \
- Printf ("Waiting for device to power on") \
Stall (100) \
} \
-\
- Printf("Done waiting") \
} \
Method(_OFF, 0, Serialized) { \
- Printf("AOAC.%s._OFF", #DEV_NAME) \
-\
ISWC=0 \
POD=0 \
\
While (PRBS || RCOS || RBS) { \
- Printf ("Waiting for device to power off") \
Stall (100) \
} \
-\
- Printf("Done waiting") \
} \
Method(_RST, 0, Serialized) { \
- Printf("AOAC.%s._RST", #DEV_NAME) \
-\
ISWC=1 \
SRB=1 \
\
diff --git a/src/soc/amd/picasso/acpi/sb_fch.asl b/src/soc/amd/picasso/acpi/sb_fch.asl
index c4dffed8af..712de6618f 100644
--- a/src/soc/amd/picasso/acpi/sb_fch.asl
+++ b/src/soc/amd/picasso/acpi/sb_fch.asl
@@ -127,11 +127,9 @@ Device (FUR0)
Name (_PR2, Package () { \_SB.AOAC.FUR0 })
Name (_PR3, Package () { \_SB.AOAC.FUR0 })
Method (_PS0, 0, Serialized) {
- Printf("FUR0._PS0")
\_SB.AOAC.FUR0.TDS = 1
}
Method (_PS3, 0, Serialized) {
- Printf("FUR0._PS3")
\_SB.AOAC.FUR0.TDS = 3
}
}
@@ -170,11 +168,9 @@ Device (FUR1) {
Name (_PR2, Package () { \_SB.AOAC.FUR1 })
Name (_PR3, Package () { \_SB.AOAC.FUR1 })
Method (_PS0, 0, Serialized) {
- Printf("FUR1._PS0")
\_SB.AOAC.FUR1.TDS = 1
}
Method (_PS3, 0, Serialized) {
- Printf("FUR1._PS3")
\_SB.AOAC.FUR1.TDS = 3
}
}
@@ -213,11 +209,9 @@ Device (FUR2) {
Name (_PR2, Package () { \_SB.AOAC.FUR2 })
Name (_PR3, Package () { \_SB.AOAC.FUR2 })
Method (_PS0, 0, Serialized) {
- Printf("FUR2._PS0")
\_SB.AOAC.FUR2.TDS = 1
}
Method (_PS3, 0, Serialized) {
- Printf("FUR2._PS3")
\_SB.AOAC.FUR2.TDS = 3
}
}
@@ -256,11 +250,9 @@ Device (FUR3) {
Name (_PR2, Package () { \_SB.AOAC.FUR3 })
Name (_PR3, Package () { \_SB.AOAC.FUR3 })
Method (_PS0, 0, Serialized) {
- Printf("FUR3._PS0")
\_SB.AOAC.FUR3.TDS = 1
}
Method (_PS3, 0, Serialized) {
- Printf("FUR3._PS3")
\_SB.AOAC.FUR3.TDS = 3
}
}
@@ -302,11 +294,9 @@ Device (I2C2) {
Name (_PR2, Package () { \_SB.AOAC.I2C2 })
Name (_PR3, Package () { \_SB.AOAC.I2C2 })
Method (_PS0, 0, Serialized) {
- Printf("I2C2._PS0")
\_SB.AOAC.I2C2.TDS = 1
}
Method (_PS3, 0, Serialized) {
- Printf("I2C2._PS3")
\_SB.AOAC.I2C2.TDS = 3
}
}
@@ -348,11 +338,9 @@ Device (I2C3)
Name (_PR2, Package () { \_SB.AOAC.I2C3 })
Name (_PR3, Package () { \_SB.AOAC.I2C3 })
Method (_PS0, 0, Serialized) {
- Printf("I2C3._PS0")
\_SB.AOAC.I2C3.TDS = 1
}
Method (_PS3, 0, Serialized) {
- Printf("I2C3._PS3")
\_SB.AOAC.I2C3.TDS = 3
}
}