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

