summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/thatcher
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2017-01-28 10:17:38 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-01-14 06:55:15 +0000
commit24aea52e29a0014d7ec31a1da0f34f12b6fb74ce (patch)
tree38510c9db80318f49254c6a906afe5ba331ef220 /src/mainboard/amd/thatcher
parentf40f209c1587a1daaaedee6a7d4bf845e4eadb2f (diff)
AGESA binaryPI: Remove unused IMC ACPI methods IMSP and IMWK
Note that IMC must sleep while SPI writes are in progress. Instead of using these ACPI methods, flashrom currently does raw IO to achieve the same. Change-Id: Ifca4e8328c54d1074b4799ddecfece24607214db Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/18537 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/amd/thatcher')
-rw-r--r--src/mainboard/amd/thatcher/acpi/AmdImc.asl46
1 files changed, 0 insertions, 46 deletions
diff --git a/src/mainboard/amd/thatcher/acpi/AmdImc.asl b/src/mainboard/amd/thatcher/acpi/AmdImc.asl
index 5e6c02beb4..0f84f2d60b 100644
--- a/src/mainboard/amd/thatcher/acpi/AmdImc.asl
+++ b/src/mainboard/amd/thatcher/acpi/AmdImc.asl
@@ -62,49 +62,3 @@ Method (ITZE, 0)
Store(0x81, MSTI)
WACK()
}
-
-//Sleep
-Method (IMSP, 0)
-{
- Store(0, MRG0)
- Store(0xB5, MRG1)
- Store(0, MRG2)
- Store(0x96, MSTI)
- WACK()
-
- Store(0, MRG0)
- Store(1, MRG1)
- Store(0, MRG2)
- Store(0x98, MSTI)
- WACK()
-
- Store(0, MRG0)
- Store(0xB4, MRG1)
- Store(0, MRG2)
- Store(0x96, MSTI)
- WACK()
-}
-
-//Wake
-Method (IMWK, 0)
-{
- Store(0, MRG0)
- Store(0xB5, MRG1)
- Store(0, MRG2)
- Store(0x96, MSTI)
- WACK()
-
- Store(0, MRG0)
- Store(0, MRG1)
- Store(0, MRG2)
- Store(0x80, MSTI)
- WACK()
-
- Or(MRG2, 0x01, Local0)
-
- Store(0, MRG0)
- Store(0, MRG1)
- Store(Local0, MRG2)
- Store(0x81, MSTI)
- WACK()
-}