diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-07-07 23:48:21 +0200 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2020-07-09 23:48:53 +0000 |
commit | 7378e9cd2a254eaa91e5900a316184a0162cad61 (patch) | |
tree | 5f8e11ba23054131a47b9732f974df879dababe3 /src/mainboard/emulation/qemu-i440fx/acpi/pci-crs.asl | |
parent | 1d19bcd7fbade98c54c62f5fc74dbbd3dc5b7760 (diff) | |
download | coreboot-7378e9cd2a254eaa91e5900a316184a0162cad61.tar.xz |
mb/emulation/qemu-i440fx: Drop dead code
This code is not even being build-tested. Drop it before it grows moss.
Change-Id: I8781912fe87ee568b7ea6003414c75f255c8cd07
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43244
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michael Niewöhner
Diffstat (limited to 'src/mainboard/emulation/qemu-i440fx/acpi/pci-crs.asl')
-rw-r--r-- | src/mainboard/emulation/qemu-i440fx/acpi/pci-crs.asl | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/mainboard/emulation/qemu-i440fx/acpi/pci-crs.asl b/src/mainboard/emulation/qemu-i440fx/acpi/pci-crs.asl index e94cce8524..b39c1e8316 100644 --- a/src/mainboard/emulation/qemu-i440fx/acpi/pci-crs.asl +++ b/src/mainboard/emulation/qemu-i440fx/acpi/pci-crs.asl @@ -58,39 +58,6 @@ Scope(\_SB.PCI0) { }) Method(_CRS, 0) { -#if 0 - /* Fields provided by dynamically created ssdt */ - External(P0S, IntObj) - External(P0E, IntObj) - External(P1V, IntObj) - External(P1S, BuffObj) - External(P1E, BuffObj) - External(P1L, BuffObj) - - /* fixup 32bit pci io window */ - CreateDWordField(CRES, \_SB.PCI0.PW32._MIN, PS32) - CreateDWordField(CRES, \_SB.PCI0.PW32._MAX, PE32) - CreateDWordField(CRES, \_SB.PCI0.PW32._LEN, PL32) - Store(P0S, PS32) - Store(P0E, PE32) - Store(Add(Subtract(P0E, P0S), 1), PL32) - - If (LEqual(P1V, Zero)) { - Return (CRES) - } - - /* fixup 64bit pci io window */ - CreateQWordField(CR64, \_SB.PCI0.PW64._MIN, PS64) - CreateQWordField(CR64, \_SB.PCI0.PW64._MAX, PE64) - CreateQWordField(CR64, \_SB.PCI0.PW64._LEN, PL64) - Store(P1S, PS64) - Store(P1E, PE64) - Store(P1L, PL64) - /* add window and return result */ - ConcatenateResTemplate(CRES, CR64, Local0) - Return (Local0) -#else Return (CRES) -#endif } } |