aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x60/mainboard.c
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2011-10-23 16:57:50 +0200
committerSven Schnelle <svens@stackframe.org>2011-10-25 21:03:30 +0200
commit6eb8bef25e6ab4d44b0f0549a12b05bde943dcae (patch)
tree50d9ecae27dd539f688979b041db69eb0b2dc010 /src/mainboard/lenovo/x60/mainboard.c
parentf02c396f2665396817b78cdfb1f662e26b952a65 (diff)
X60: enable Cx power saving modes
Change-Id: Ib03d9aa77050edde2538b80b32158cb3f0610be6 Signed-off-by: Sven Schnelle <svens@stackframe.org> Reviewed-on: http://review.coreboot.org/331 Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/mainboard/lenovo/x60/mainboard.c')
-rw-r--r--src/mainboard/lenovo/x60/mainboard.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/x60/mainboard.c b/src/mainboard/lenovo/x60/mainboard.c
index e59b2e492f..5bc1dcae81 100644
--- a/src/mainboard/lenovo/x60/mainboard.c
+++ b/src/mainboard/lenovo/x60/mainboard.c
@@ -36,6 +36,19 @@
#include <northbridge/intel/i945/i945.h>
#include <pc80/mc146818rtc.h>
#include "dock.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, DEFAULT_PMBASE + LV2, 2, 1, 500 },
+ { 0x01, 8, 0, 0, DEFAULT_PMBASE + LV3, 2, 17, 250 },
+};
+
+int get_cst_entries(struct cst_entry **entries)
+{
+ *entries = cst_entries;
+ return ARRAY_SIZE(cst_entries);
+}
static void mainboard_enable(device_t dev)
{