[coreboot-gerrit] New patch to review for coreboot: b6f839f Revert "macbook21: Add CST entries"

Vladimir Serbinenko (phcoder@gmail.com) gerrit at coreboot.org
Sun Aug 17 23:07:03 CEST 2014


Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6694

-gerrit

commit b6f839fd8a880418ad2a638e19aff2a026494ed1
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date:   Sun Aug 17 22:57:03 2014 +0200

    Revert "macbook21: Add CST entries"
    
    Some of C-states still cause hang. Revert C-states patch.
    
    This reverts commit fe661612d8e94d41dc0129533bb02f7c4faaf11a.
    
    Change-Id: I7534dac5d27b853d7b93947c38bf3742797fdcc2
    Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>
---
 src/mainboard/apple/macbook21/mainboard.c | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/src/mainboard/apple/macbook21/mainboard.c b/src/mainboard/apple/macbook21/mainboard.c
index a4a23ab..9a025dd 100644
--- a/src/mainboard/apple/macbook21/mainboard.c
+++ b/src/mainboard/apple/macbook21/mainboard.c
@@ -71,16 +71,9 @@ static int int15_handler(void)
 }
 #endif
 
-static acpi_cstate_t cst_entries[] = {
-	{ 1,  1, 1000, { 0x7f, 1, 2, { 0 }, 0, 0 } },
-	{ 2,  1,  500, { 0x7f, 1, 2, { 0 }, 0x10, 0 } },
-	{ 2, 55,  100, { 0x7f, 1, 2, { 0 }, 0x31, 0 } },
-};
-
 int get_cst_entries(acpi_cstate_t **entries)
 {
-	*entries = cst_entries;
-	return ARRAY_SIZE(cst_entries);
+	return 0;
 }
 
 static void mainboard_init(device_t dev)



More information about the coreboot-gerrit mailing list