diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-07-07 23:46:55 +0200 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2020-07-09 23:48:31 +0000 |
commit | 1d19bcd7fbade98c54c62f5fc74dbbd3dc5b7760 (patch) | |
tree | 9923f8c867c0ae4ec2078f7e63477b5ca2d00048 | |
parent | 4b3dbbaa4bf9eb03a22f80a5415397f656af8803 (diff) |
mb/emulation/qemu-q35: Drop dead code
This code is not even being build-tested. Drop it before it grows moss.
Change-Id: I54f3fe0d3b0c988ab6f9065bea81a385507e9747
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43243
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michael Niewöhner
-rw-r--r-- | src/mainboard/emulation/qemu-q35/dsdt.asl | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/mainboard/emulation/qemu-q35/dsdt.asl b/src/mainboard/emulation/qemu-q35/dsdt.asl index 1b4a174e6b..a9c96be8bc 100644 --- a/src/mainboard/emulation/qemu-q35/dsdt.asl +++ b/src/mainboard/emulation/qemu-q35/dsdt.asl @@ -58,24 +58,6 @@ DefinitionBlock ( // Never allow SHPC (no SHPC controller in this system) And(CTRL, 0x1D, CTRL) -#if 0 // For now, nothing to do - If (Not(And(CDW1, 1))) { // Query flag clear? - // Disable GPEs for features granted native control. - If (And(CTRL, 0x01)) { // Hot plug control granted? - Store(0, HPCE) // clear the hot plug SCI enable bit - Store(1, HPCS) // clear the hot plug SCI status bit - } - If (And(CTRL, 0x04)) { // PME control granted? - Store(0, PMCE) // clear the PME SCI enable bit - Store(1, PMCS) // clear the PME SCI status bit - } - If (And(CTRL, 0x10)) { // OS restoring PCI Express cap structure? - // Set status to not restore PCI Express cap structure - // upon resume from S3 - Store(1, S3CR) - } - } -#endif If (LNotEqual(Arg1, One)) { // Unknown revision Or(CDW1, 0x08, CDW1) @@ -385,11 +367,6 @@ DefinitionBlock ( define_gsi_link(GSIH, 0, 0x17) } -#if 0 -#include "../qemu-i440fx/acpi/cpu-hotplug.asl" -#endif - - /**************************************************************** * General purpose events ****************************************************************/ @@ -400,10 +377,6 @@ DefinitionBlock ( Method(_L00) { } Method(_L01) { -#if 0 - // CPU hotplug event - \_SB.PRSC() -#endif } Method(_L02) { } |