summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/lamar
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/lamar
parentf40f209c1587a1daaaedee6a7d4bf845e4eadb2f (diff)
downloadcoreboot-24aea52e29a0014d7ec31a1da0f34f12b6fb74ce.tar.xz
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/lamar')
-rw-r--r--src/mainboard/amd/lamar/acpi/AmdImc.asl46
1 files changed, 0 insertions, 46 deletions
diff --git a/src/mainboard/amd/lamar/acpi/AmdImc.asl b/src/mainboard/amd/lamar/acpi/AmdImc.asl
index 26f7d61b98..19ea8f5f78 100644
--- a/src/mainboard/amd/lamar/acpi/AmdImc.asl
+++ b/src/mainboard/amd/lamar/acpi/AmdImc.asl
@@ -63,49 +63,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()
-}