From fe661612d8e94d41dc0129533bb02f7c4faaf11a Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sun, 17 Aug 2014 16:50:46 +0200 Subject: macbook21: Add CST entries Change-Id: I9e8628d879a193e2f6ba561ee17f24ae94435e1a Signed-off-by: Vladimir Serbinenko Reviewed-on: http://review.coreboot.org/6693 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan --- src/mainboard/apple/macbook21/mainboard.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/mainboard') diff --git a/src/mainboard/apple/macbook21/mainboard.c b/src/mainboard/apple/macbook21/mainboard.c index 6bd3aec083..e244af412d 100644 --- a/src/mainboard/apple/macbook21/mainboard.c +++ b/src/mainboard/apple/macbook21/mainboard.c @@ -67,9 +67,16 @@ 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) { - return 0; + *entries = cst_entries; + return ARRAY_SIZE(cst_entries); } static void mainboard_init(device_t dev) -- cgit v1.2.3