summaryrefslogtreecommitdiff
path: root/src/mainboard/amd
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
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')
-rw-r--r--src/mainboard/amd/bettong/acpi/AmdImc.asl46
-rw-r--r--src/mainboard/amd/db-ft3b-lc/acpi/AmdImc.asl46
-rw-r--r--src/mainboard/amd/lamar/acpi/AmdImc.asl46
-rw-r--r--src/mainboard/amd/olivehill/acpi/AmdImc.asl46
-rw-r--r--src/mainboard/amd/olivehillplus/acpi/AmdImc.asl46
-rw-r--r--src/mainboard/amd/parmer/acpi/AmdImc.asl46
-rw-r--r--src/mainboard/amd/thatcher/acpi/AmdImc.asl46
7 files changed, 0 insertions, 322 deletions
diff --git a/src/mainboard/amd/bettong/acpi/AmdImc.asl b/src/mainboard/amd/bettong/acpi/AmdImc.asl
index 970858d324..519b05cf37 100644
--- a/src/mainboard/amd/bettong/acpi/AmdImc.asl
+++ b/src/mainboard/amd/bettong/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()
-}
diff --git a/src/mainboard/amd/db-ft3b-lc/acpi/AmdImc.asl b/src/mainboard/amd/db-ft3b-lc/acpi/AmdImc.asl
index d3bb74e31e..ee91ddd9b4 100644
--- a/src/mainboard/amd/db-ft3b-lc/acpi/AmdImc.asl
+++ b/src/mainboard/amd/db-ft3b-lc/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()
-}
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()
-}
diff --git a/src/mainboard/amd/olivehill/acpi/AmdImc.asl b/src/mainboard/amd/olivehill/acpi/AmdImc.asl
index aa941ba9ae..9d144c43d9 100644
--- a/src/mainboard/amd/olivehill/acpi/AmdImc.asl
+++ b/src/mainboard/amd/olivehill/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()
-}
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()
-}
diff --git a/src/mainboard/amd/parmer/acpi/AmdImc.asl b/src/mainboard/amd/parmer/acpi/AmdImc.asl
index 5e6c02beb4..0f84f2d60b 100644
--- a/src/mainboard/amd/parmer/acpi/AmdImc.asl
+++ b/src/mainboard/amd/parmer/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()
-}
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()
-}