payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / lenovo / t60 / cstates.c
blobcc3f566f2fd4b02d133a38fb79d77bd0a5a187d4
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <acpi/acpigen.h>
4 #include <southbridge/intel/i82801gx/i82801gx.h>
6 static const acpi_cstate_t cst_entries[] = {
7 { 1, 1, 1000, { 0x7f, 1, 2, 0, 1, 0 } },
8 { 2, 1, 500, { 0x01, 8, 0, 0, DEFAULT_PMBASE + LV2, 0 } },
9 { 3, 17, 250, { 0x01, 8, 0, 0, DEFAULT_PMBASE + LV3, 0 } },
12 int get_cst_entries(const acpi_cstate_t **entries)
14 *entries = cst_entries;
15 return ARRAY_SIZE(cst_entries);