From 02e0456a252f324114cd6fad349b56cc5e3ea570 Mon Sep 17 00:00:00 2001 From: Raul E Rangel Date: Tue, 12 Jan 2021 14:35:40 -0700 Subject: 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 Change-Id: I936e816266825f1c59377c2e079ffe1a5188838c Reviewed-on: https://review.coreboot.org/c/coreboot/+/49366 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held Reviewed-by: Angel Pons --- src/soc/amd/picasso/acpi/aoac.asl | 14 -------------- src/soc/amd/picasso/acpi/sb_fch.asl | 12 ------------ 2 files changed, 26 deletions(-) (limited to 'src/soc/amd/picasso') 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 @@ -67,8 +67,6 @@ } \ Method(_STA) { \ Local0 = (PRBS && RCOS && RBS) \ -\ - Printf("AOAC.%s._STA: %o", #DEV_NAME, Local0) \ \ If (Local0) { \ Return (1) \ @@ -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 } } -- cgit v1.2.3