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:
parent
bd146e0c97
commit
fe661612d8
|
@ -67,9 +67,16 @@ static int int15_handler(void)
|
||||||
}
|
}
|
||||||
#endif
|
#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)
|
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)
|
static void mainboard_init(device_t dev)
|
||||||
|
|
Loading…
Reference in New Issue