[coreboot] New patch to review for coreboot: 9578124 T60: add _CST table

Sven Schnelle (svens@stackframe.org) gerrit at coreboot.org
Sat Oct 22 13:48:29 CEST 2011


Sven Schnelle (svens at stackframe.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/322

-gerrit

commit 9578124b3da94c73c388da0a7ef9da93a44a8374
Author: Sven Schnelle <svens at stackframe.org>
Date:   Sat Oct 22 13:41:28 2011 +0200

    T60: add _CST table
    
    Only enable C1/C2 for now. (C3 currently freezes the system)
    
    Change-Id: I02c6b10762245bc48f21a341286236e203421de0
    Signed-off-by: Sven Schnelle <svens at stackframe.org>
---
 src/mainboard/lenovo/t60/mainboard.c |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/mainboard/lenovo/t60/mainboard.c b/src/mainboard/lenovo/t60/mainboard.c
index 8456992..8f5404b 100644
--- a/src/mainboard/lenovo/t60/mainboard.c
+++ b/src/mainboard/lenovo/t60/mainboard.c
@@ -35,6 +35,18 @@
 #include <ec/lenovo/h8/h8.h>
 #include <northbridge/intel/i945/i945.h>
 #include <pc80/mc146818rtc.h>
+#include <arch/x86/include/arch/acpigen.h>
+
+static struct cst_entry cst_entries[] = {
+	{ 0x7f, 1, 2, 0, 1, 1, 1, 1000 },
+	{ 0x01, 8, 0, 0, 0x514, 2, 1, 500 },
+};
+
+int get_cst_entries(struct cst_entry **entries)
+{
+	*entries = cst_entries;
+	return ARRAY_SIZE(cst_entries);
+}
 
 static void mainboard_enable(device_t dev)
 {




More information about the coreboot mailing list