From 4b3dbbaa4bf9eb03a22f80a5415397f656af8803 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Tue, 7 Jul 2020 23:45:51 +0200 Subject: mb/aopen/dxplplusu: Drop dead code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This code is not even being build-tested. Drop it before it grows moss. Change-Id: I3f9b31a2bfb85ceb9ff833c076e062291c944923 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/43242 Tested-by: build bot (Jenkins) Reviewed-by: Michael Niewöhner --- src/mainboard/aopen/dxplplusu/acpi/power.asl | 6 ------ src/mainboard/aopen/dxplplusu/acpi/scsi.asl | 16 ---------------- src/mainboard/aopen/dxplplusu/acpi/superio.asl | 4 ---- 3 files changed, 26 deletions(-) (limited to 'src/mainboard/aopen/dxplplusu') 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 ?? */ -- cgit v1.2.3