From 24aea52e29a0014d7ec31a1da0f34f12b6fb74ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Sat, 28 Jan 2017 10:17:38 +0200 Subject: AGESA binaryPI: Remove unused IMC ACPI methods IMSP and IMWK MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/c/18537 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/mainboard/amd/olivehillplus/acpi/AmdImc.asl | 46 ------------------------- 1 file changed, 46 deletions(-) (limited to 'src/mainboard/amd/olivehillplus') diff --git a/src/mainboard/amd/olivehillplus/acpi/AmdImc.asl b/src/mainboard/amd/olivehillplus/acpi/AmdImc.asl index d3bb74e31e..ee91ddd9b4 100644 --- a/src/mainboard/amd/olivehillplus/acpi/AmdImc.asl +++ b/src/mainboard/amd/olivehillplus/acpi/AmdImc.asl @@ -61,49 +61,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() -} -- cgit v1.2.3