summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-07-07 23:45:51 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-07-09 23:48:14 +0000
commit4b3dbbaa4bf9eb03a22f80a5415397f656af8803 (patch)
tree621766de4cd7a4589787e7eb392d8abf3d73b743
parent7e9654aa71549edaace5c823944b53f5fda77e4c (diff)
mb/aopen/dxplplusu: Drop dead code
This code is not even being build-tested. Drop it before it grows moss. Change-Id: I3f9b31a2bfb85ceb9ff833c076e062291c944923 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43242 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner
-rw-r--r--src/mainboard/aopen/dxplplusu/acpi/power.asl6
-rw-r--r--src/mainboard/aopen/dxplplusu/acpi/scsi.asl16
-rw-r--r--src/mainboard/aopen/dxplplusu/acpi/superio.asl4
3 files changed, 0 insertions, 26 deletions
diff --git a/src/mainboard/aopen/dxplplusu/acpi/power.asl b/src/mainboard/aopen/dxplplusu/acpi/power.asl
index 293d5a4b78..903d844d42 100644
--- a/src/mainboard/aopen/dxplplusu/acpi/power.asl
+++ b/src/mainboard/aopen/dxplplusu/acpi/power.asl
@@ -32,13 +32,7 @@ Scope (\_GPE)
/* PME# */
Method (_L0B, 0, NotSerialized)
{
-#if 1
Notify (\_SB.LID0, 0x02)
-#else
- Notify (\_SB.PCI0.HLIB.P64B.ETH0, 0x02)
- Notify (\_SB.PCI0.HLIB.P64B, 0x02)
- Notify (\_SB.PCI0.HLIB.P64A, 0x02)
-#endif
}
Method (_L0C, 0, NotSerialized)
diff --git a/src/mainboard/aopen/dxplplusu/acpi/scsi.asl b/src/mainboard/aopen/dxplplusu/acpi/scsi.asl
index 6f51825faf..c34dd4ef0c 100644
--- a/src/mainboard/aopen/dxplplusu/acpi/scsi.asl
+++ b/src/mainboard/aopen/dxplplusu/acpi/scsi.asl
@@ -27,19 +27,3 @@ Device (SCS1)
Offset (0xFF), IDW, 8
}
}
-
-#if 0
-/* Set subsystem id for both SCSI devices.
- * It may require some delay on wake-up before this can be done.
- */
- Method ( )
- {
- Or (\_SB.PCI0.HLIB.P64A.SCS0.IDW, 0x01, \_SB.PCI0.HLIB.P64A.SCS0.IDW)
- Store (0x1106A0A0, \_SB.PCI0.HLIB.P64A.SCS0.SID)
- And (\_SB.PCI0.HLIB.P64A.SCS0.IDW, 0xFE, \_SB.PCI0.HLIB.P64A.SCS0.IDW)
-
- Or (\_SB.PCI0.HLIB.P64A.SCS1.IDW, 0x01, \_SB.PCI0.HLIB.P64A.SCS1.IDW)
- Store (0x1106A0A0, \_SB.PCI0.HLIB.P64A.SCS1.SID)
- And (\_SB.PCI0.HLIB.P64A.SCS1.IDW, 0xFE, \_SB.PCI0.HLIB.P64A.SCS1.IDW)
- }
-#endif
diff --git a/src/mainboard/aopen/dxplplusu/acpi/superio.asl b/src/mainboard/aopen/dxplplusu/acpi/superio.asl
index 72be8a606b..98890322c3 100644
--- a/src/mainboard/aopen/dxplplusu/acpi/superio.asl
+++ b/src/mainboard/aopen/dxplplusu/acpi/superio.asl
@@ -104,11 +104,7 @@ Method (_INI, 0, NotSerialized)
Store (0x01, GC33)
Store (0x01, GC34) /* GPI password jumper */
Store (0x01, GC35) /* GPI scsi enable jumper */
-#if 1
Store (0x01, GC42) /* GPI */
-#else
- Store (0x84, GC42) /* nIO_PME */
-#endif
Store (0x86, GC60) /* led 1 */
Store (0x81, GC61) /* led 2 ?? */