Yiwei Tang | 51cfe49 | 2023-06-05 16:38:23 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | /* Enable ACPI _SWS methods */ |
| 4 | #include <soc/intel/common/acpi/acpi_wake_source.asl> |
| 5 | #include <southbridge/intel/common/acpi/sleepstates.asl> |
| 6 | |
| 7 | /* Port 80 POST */ |
| 8 | OperationRegion (DBG0, SystemIO, 0x80, 0x02) |
| 9 | Field (DBG0, ByteAcc, Lock, Preserve) |
| 10 | { |
| 11 | IO80, 8, |
| 12 | IO81, 8 |
| 13 | } |
| 14 | |
| 15 | /* |
| 16 | * The _PTS method (Prepare To Sleep) is called before the OS is |
| 17 | * entering a sleep state. The sleep state number is passed in Arg0 |
| 18 | */ |
| 19 | |
| 20 | Method (_PTS, 1) |
| 21 | { |
| 22 | } |
| 23 | |
| 24 | /* The _WAK method is called on system wakeup */ |
| 25 | |
| 26 | Method (_WAK, 1) |
| 27 | { |
| 28 | Return (Package (){ 0, 0 }) |
| 29 | } |