Done with sed and God Lines. Only done for C-like code for now. Change-Id: I101ee19f58180a2181fcdb123b3fedef9a559e39 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40083 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
58 lines
1.5 KiB
Plaintext
58 lines
1.5 KiB
Plaintext
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/* This file is part of the coreboot project. */
|
|
|
|
Scope(\_GPE) { /* Start Scope GPE */
|
|
|
|
/* Legacy PM event */
|
|
Method(_L08) {
|
|
/* DBGO("\\_GPE\\_L08\n") */
|
|
}
|
|
|
|
/* Temp warning (TWarn) event */
|
|
Method(_L09) {
|
|
/* DBGO("\\_GPE\\_L09\n") */
|
|
/* Notify (\_TZ.TZ00, 0x80) */
|
|
}
|
|
|
|
/* USB controller PME# */
|
|
Method(_L0B) {
|
|
/* DBGO("\\_GPE\\_L0B\n") */
|
|
Notify(\_SB.PCI0.UOH1, 0x02) /* NOTIFY_DEVICE_WAKE */
|
|
Notify(\_SB.PCI0.UOH2, 0x02) /* NOTIFY_DEVICE_WAKE */
|
|
Notify(\_SB.PCI0.UOH3, 0x02) /* NOTIFY_DEVICE_WAKE */
|
|
Notify(\_SB.PCI0.UOH4, 0x02) /* NOTIFY_DEVICE_WAKE */
|
|
Notify(\_SB.PCI0.UOH5, 0x02) /* NOTIFY_DEVICE_WAKE */
|
|
Notify(\_SB.PCI0.UOH6, 0x02) /* NOTIFY_DEVICE_WAKE */
|
|
Notify(\_SB.PCI0.UEH1, 0x02) /* NOTIFY_DEVICE_WAKE */
|
|
}
|
|
|
|
/* ExtEvent0 SCI event */
|
|
Method(_L10) {
|
|
/* DBGO("\\_GPE\\_L10\n") */
|
|
}
|
|
|
|
|
|
/* ExtEvent1 SCI event */
|
|
Method(_L11) {
|
|
/* DBGO("\\_GPE\\_L11\n") */
|
|
}
|
|
|
|
/* GPIO0 or GEvent8 event */
|
|
Method(_L18) {
|
|
/* DBGO("\\_GPE\\_L18\n") */
|
|
Notify(\_SB.PCI0.PBR4, 0x02) /* NOTIFY_DEVICE_WAKE */
|
|
Notify(\_SB.PCI0.PBR5, 0x02) /* NOTIFY_DEVICE_WAKE */
|
|
Notify(\_SB.PCI0.PBR6, 0x02) /* NOTIFY_DEVICE_WAKE */
|
|
Notify(\_SB.PCI0.PBR7, 0x02) /* NOTIFY_DEVICE_WAKE */
|
|
}
|
|
|
|
/* Azalia SCI event */
|
|
Method(_L1B) {
|
|
/* DBGO("\\_GPE\\_L1B\n") */
|
|
Notify(\_SB.PCI0.AZHD, 0x02) /* NOTIFY_DEVICE_WAKE */
|
|
}
|
|
} /* End Scope GPE */
|
|
|
|
/* Contains the GPEs for USB overcurrent */
|
|
#include "usb_oc.asl"
|