summaryrefslogtreecommitdiffstats
path: root/src/mainboard/biostar/am1ml/acpi/sio.asl
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-11-01 23:25:09 +0100
committerArthur Heymans <arthur@aheymans.xyz>2022-11-07 13:57:15 +0000
commit6baee3d28729d4b924e8f793c4c7311cebf1f80a (patch)
treea3cdc029d4a28b9572ee0759a25ffe9480ab7372 /src/mainboard/biostar/am1ml/acpi/sio.asl
parentf9decbb0c720662d8e71fe221aef55b7ecf76196 (diff)
downloadcoreboot-6baee3d28729d4b924e8f793c4c7311cebf1f80a.tar.gz
coreboot-6baee3d28729d4b924e8f793c4c7311cebf1f80a.tar.bz2
coreboot-6baee3d28729d4b924e8f793c4c7311cebf1f80a.zip
mb/*/*: Remove AMD agesa family16 boards
These boards use the LEGACY_SMP_INIT which is to be deprecated after release 4.18. Change-Id: I43c7075fb6418a86c57c863edccbcb750f8ed402 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69113 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/biostar/am1ml/acpi/sio.asl')
-rw-r--r--src/mainboard/biostar/am1ml/acpi/sio.asl65
1 files changed, 0 insertions, 65 deletions
diff --git a/src/mainboard/biostar/am1ml/acpi/sio.asl b/src/mainboard/biostar/am1ml/acpi/sio.asl
deleted file mode 100644
index bf4ff3daed60..000000000000
--- a/src/mainboard/biostar/am1ml/acpi/sio.asl
+++ /dev/null
@@ -1,65 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-OperationRegion (IOID, SystemIO, 0x2E, 0x02)
-Field (IOID, ByteAcc, NoLock, Preserve)
-{
- SIOI, 8, SIOD, 8 /* 0x2E and 0x2F */
-}
-
-IndexField (SIOI, SIOD, ByteAcc, NoLock, Preserve)
-{
- Offset (0x07),
- LDN, 8, /* Logical Device Number */
- Offset (0x20),
- CID1, 8, /* Chip ID Byte 1, 0x87 */
- CID2, 8, /* Chip ID Byte 2, 0x12 */
- Offset (0x30),
- ACTR, 8, /* Function activate */
- Offset (0xF0),
- APC0, 8, /* APC/PME Event Enable Register */
- APC1, 8, /* APC/PME Status Register */
- APC2, 8, /* APC/PME Control Register 1 */
- APC3, 8, /* Environment Controller Special Configuration Register */
- APC4, 8 /* APC/PME Control Register 2 */
-}
-
-/* Enter the 8728 Config */
-Method (EPNP)
-{
- SIOI = 0x87
- SIOI = 0x01
- SIOI = 0x55
- SIOI = 0x55
-}
-
-/* Exit the 8728 Config */
-Method (XPNP)
-{
- SIOI = 0x02
- SIOD = 0x02
-}
-
-/*
- * Keyboard PME is routed to SB700 Gevent3. We can wake
- * up the system by pressing the key.
- */
-Method (SIOS, 1)
-{
- /* We only enable KBD PME for S5. */
- If (Arg0 < 0x05)
- {
- EPNP()
- /* DBGO("8728F\n") */
- LDN = 0x4
- ACTR = 1 /* Enable EC */
- /*
- LDN = 0x4
- APC4 = 0x04
- */ /* falling edge. which mode? Not sure. */
- LDN = 0x4
- APC1 = 0x08 /* clear PME status, Use 0x18 for mouse & KBD */
- LDN = 0x4
- APC0 = 0x08 /* enable PME, Use 0x18 for mouse & KBD */
- XPNP()
- }
-}