payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / lenovo / x200 / cstates.c
blobb435d83c01a8a220a0c88259e709682c30497701
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <acpi/acpigen.h>
5 static const acpi_cstate_t cst_entries[] = {
7 /* ACPI C1 / CPU C1 */
8 1, 0x01, 1000,
9 { ACPI_ADDRESS_SPACE_FIXED, 1, 2, 1, 0, 0 }
12 /* ACPI C2 / CPU C2 */
13 2, 0x01, 500,
14 { ACPI_ADDRESS_SPACE_FIXED, 1, 2, 1, 0x10, 0 }
17 /* acpi C3 / cpu C3 */
18 3, 0x37, 250,
19 { ACPI_ADDRESS_SPACE_FIXED, 1, 2, 1, 0x20, 0 }
23 int get_cst_entries(const acpi_cstate_t **entries)
25 *entries = cst_entries;
26 return ARRAY_SIZE(cst_entries);