Felix Singer has submitted this change. ( https://review.coreboot.org/c/coreboot/+/60427 )
Change subject: mb/google/jecht/acpi: Use Printf() for debug prints ......................................................................
mb/google/jecht/acpi: Use Printf() for debug prints
Change-Id: Ie54637c451252fd38aab9207ab0b846cc50f4b12 Signed-off-by: Felix Singer felixsinger@posteo.net Reviewed-on: https://review.coreboot.org/c/coreboot/+/60427 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: HAOUAS Elyes ehaouas@noos.fr --- M src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl M src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl M src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl M src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl 4 files changed, 8 insertions(+), 16 deletions(-)
Approvals: build bot (Jenkins): Verified HAOUAS Elyes: Looks good to me, approved
diff --git a/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl b/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl index 2a16352..d5c943a 100644 --- a/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl +++ b/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl @@ -95,8 +95,7 @@ Store (CTOK (\TMAX), Local1)
If (LGreaterEqual (Local0, Local1)) { - Store ("CRITICAL TEMPERATURE", Debug) - Store (Local0, Debug) + Printf ("CRITICAL TEMPERATURE: %o", Local0)
// Wait 1 second for SuperIO to re-poll Sleep (1000) @@ -104,8 +103,7 @@ // Re-read temperature from SuperIO Store (TCHK (), Local0)
- Store ("RE-READ TEMPERATURE", Debug) - Store (Local0, Debug) + Printf ("RE-READ TEMPERATURE: %o", Local0) }
Return (Local0) diff --git a/src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl b/src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl index 2a16352..d5c943a 100644 --- a/src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl +++ b/src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl @@ -95,8 +95,7 @@ Store (CTOK (\TMAX), Local1)
If (LGreaterEqual (Local0, Local1)) { - Store ("CRITICAL TEMPERATURE", Debug) - Store (Local0, Debug) + Printf ("CRITICAL TEMPERATURE: %o", Local0)
// Wait 1 second for SuperIO to re-poll Sleep (1000) @@ -104,8 +103,7 @@ // Re-read temperature from SuperIO Store (TCHK (), Local0)
- Store ("RE-READ TEMPERATURE", Debug) - Store (Local0, Debug) + Printf ("RE-READ TEMPERATURE: %o", Local0) }
Return (Local0) diff --git a/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl b/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl index 2a16352..d5c943a 100644 --- a/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl +++ b/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl @@ -95,8 +95,7 @@ Store (CTOK (\TMAX), Local1)
If (LGreaterEqual (Local0, Local1)) { - Store ("CRITICAL TEMPERATURE", Debug) - Store (Local0, Debug) + Printf ("CRITICAL TEMPERATURE: %o", Local0)
// Wait 1 second for SuperIO to re-poll Sleep (1000) @@ -104,8 +103,7 @@ // Re-read temperature from SuperIO Store (TCHK (), Local0)
- Store ("RE-READ TEMPERATURE", Debug) - Store (Local0, Debug) + Printf ("RE-READ TEMPERATURE: %o", Local0) }
Return (Local0) diff --git a/src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl b/src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl index e2f2675..2b79320 100644 --- a/src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl +++ b/src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl @@ -203,8 +203,7 @@ Store (CTOK (\TMAX), Local1)
If (LGreaterEqual (Local0, Local1)) { - Store ("CRITICAL TEMPERATURE", Debug) - Store (Local0, Debug) + Printf ("CRITICAL TEMPERATURE: %o", Local0)
// Wait 1 second for SuperIO to re-poll Sleep (1000) @@ -212,8 +211,7 @@ // Re-read temperature from SuperIO Store (TCHK (), Local0)
- Store ("RE-READ TEMPERATURE", Debug) - Store (Local0, Debug) + Printf ("RE-READ TEMPERATURE: %o", Local0) }
Return (Local0)