summaryrefslogtreecommitdiffstats
path: root/resources/libreboot/patch/coreboot/d83b0e9ac4174cca92ac2c3b83a7e8491a9a1ff4/grub/x200_8mb/0001-add-acpi-c3-cpu-c4-state-for-gm45-thinpads.patch
diff options
context:
space:
mode:
Diffstat (limited to 'resources/libreboot/patch/coreboot/d83b0e9ac4174cca92ac2c3b83a7e8491a9a1ff4/grub/x200_8mb/0001-add-acpi-c3-cpu-c4-state-for-gm45-thinpads.patch')
-rw-r--r--resources/libreboot/patch/coreboot/d83b0e9ac4174cca92ac2c3b83a7e8491a9a1ff4/grub/x200_8mb/0001-add-acpi-c3-cpu-c4-state-for-gm45-thinpads.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/resources/libreboot/patch/coreboot/d83b0e9ac4174cca92ac2c3b83a7e8491a9a1ff4/grub/x200_8mb/0001-add-acpi-c3-cpu-c4-state-for-gm45-thinpads.patch b/resources/libreboot/patch/coreboot/d83b0e9ac4174cca92ac2c3b83a7e8491a9a1ff4/grub/x200_8mb/0001-add-acpi-c3-cpu-c4-state-for-gm45-thinpads.patch
new file mode 100644
index 0000000..046192d
--- /dev/null
+++ b/resources/libreboot/patch/coreboot/d83b0e9ac4174cca92ac2c3b83a7e8491a9a1ff4/grub/x200_8mb/0001-add-acpi-c3-cpu-c4-state-for-gm45-thinpads.patch
@@ -0,0 +1,45 @@
+From c63113e56ad2d5f6b318a837e4345e0e962a5c1b Mon Sep 17 00:00:00 2001
+From: Arthur Heymans <arthur@aheymans.xyz>
+Date: Wed, 4 May 2016 22:49:07 +0200
+Subject: [PATCH 1/1] add acpi c3 / cpu c4 state for gm45 thinpads
+
+---
+ src/mainboard/lenovo/t400/cstates.c | 5 +++++
+ src/mainboard/lenovo/x200/cstates.c | 5 +++++
+ 2 files changed, 10 insertions(+)
+
+diff --git a/src/mainboard/lenovo/t400/cstates.c b/src/mainboard/lenovo/t400/cstates.c
+index 827f76e..7d92d6f 100644
+--- a/src/mainboard/lenovo/t400/cstates.c
++++ b/src/mainboard/lenovo/t400/cstates.c
+@@ -27,6 +27,11 @@ static acpi_cstate_t cst_entries[] = {
+ /* acpi C2 / cpu C2 */
+ 2, 0x01, 500,
+ { ACPI_ADDRESS_SPACE_FIXED, 1, 2, { 1 }, 0x10, 0 }
++ },
++ {
++ /* acpi C3 / cpu C4 */
++ 3, 0x02, 300,
++ { ACPI_ADDRESS_SPACE_FIXED, 1, 2, { 1 }, 0x30, 0 }
+ },
+ };
+
+diff --git a/src/mainboard/lenovo/x200/cstates.c b/src/mainboard/lenovo/x200/cstates.c
+index 827f76e..7d92d6f 100644
+--- a/src/mainboard/lenovo/x200/cstates.c
++++ b/src/mainboard/lenovo/x200/cstates.c
+@@ -27,6 +27,11 @@ static acpi_cstate_t cst_entries[] = {
+ /* acpi C2 / cpu C2 */
+ 2, 0x01, 500,
+ { ACPI_ADDRESS_SPACE_FIXED, 1, 2, { 1 }, 0x10, 0 }
++ },
++ {
++ /* acpi C3 / cpu C4 */
++ 3, 0x02, 300,
++ { ACPI_ADDRESS_SPACE_FIXED, 1, 2, { 1 }, 0x30, 0 }
+ },
+ };
+
+--
+2.8.2
+