summaryrefslogtreecommitdiff
path: root/src/mainboard/asus/p8x7x-series
diff options
context:
space:
mode:
authorKeith Hui <buurin@gmail.com>2024-04-15 19:14:55 -0400
committerFelix Held <felix-coreboot@felixheld.de>2024-04-18 11:00:37 +0000
commit57946ad8174a70269f59d2df20a451acdbb1dc38 (patch)
tree7fdce748640289b0baeb44362c20834c950e7807 /src/mainboard/asus/p8x7x-series
parent4da9b9f0a9947eef5a682c42f107502306414a43 (diff)
mb/asus/p8z77-m[_pro]: Blink power LED during suspend
Set GPIO27 of PCH to blink before going to sleep. This blinks the power LED. Revert after waking up. Tested on p8z77-m. Power LED blinks in suspend. Change-Id: Ie1b40ae17fa2ef397585b86ac82730099b611dda Signed-off-by: Keith Hui <buurin@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81923 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Diffstat (limited to 'src/mainboard/asus/p8x7x-series')
-rw-r--r--src/mainboard/asus/p8x7x-series/acpi/platform.asl10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/asus/p8x7x-series/acpi/platform.asl b/src/mainboard/asus/p8x7x-series/acpi/platform.asl
index 7da03bfddd..b16ced504c 100644
--- a/src/mainboard/asus/p8x7x-series/acpi/platform.asl
+++ b/src/mainboard/asus/p8x7x-series/acpi/platform.asl
@@ -2,9 +2,19 @@
Method(_PTS, 1)
{
+#if (CONFIG(BOARD_ASUS_P8Z77_M) || CONFIG(BOARD_ASUS_P8Z77_M_PRO))
+ /* blink power LED if not turning off */
+ If (Arg0 != 0x05)
+ {
+ GB27 = 1
+ }
+#endif
}
Method(_WAK, 1)
{
+#if (CONFIG(BOARD_ASUS_P8Z77_M) || CONFIG(BOARD_ASUS_P8Z77_M_PRO))
+ GB27 = 0
+#endif
Return(Package(){0, 0})
}