diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2014-08-17 16:50:46 +0200 |
---|---|---|
committer | Vladimir Serbinenko <phcoder@gmail.com> | 2014-08-17 21:28:06 +0200 |
commit | fe661612d8e94d41dc0129533bb02f7c4faaf11a (patch) | |
tree | 886e7cb874032e287f5bc2dd474ea53380120453 /src/mainboard/apple/macbook21 | |
parent | bd146e0c9767525de6f7e05ab7e54ee043e6da0f (diff) |
macbook21: Add CST entries
Change-Id: I9e8628d879a193e2f6ba561ee17f24ae94435e1a
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/6693
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/mainboard/apple/macbook21')
-rw-r--r-- | src/mainboard/apple/macbook21/mainboard.c | 9 |
1 files changed, 8 insertions, 1 deletions
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) |