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>
This commit is contained in:
Vladimir Serbinenko 2014-08-17 16:50:46 +02:00
parent bd146e0c97
commit fe661612d8
1 changed files with 8 additions and 1 deletions

View File

@ -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)