mainboard/intel/avenuecity_crb: Update full IIO configuration
[coreboot2.git] / src / mainboard / getac / p470 / cstates.c
blob6c2d8bfcdb2a65eed7b017445a87454f9d1aa0b0
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[] = {
8 /* ACPI C1 / CPU C1 */
9 1, 0x01, 1000,
10 { ACPI_ADDRESS_SPACE_FIXED, 1, 2, 1, 0, 0 }
13 /* ACPI C2 / CPU C2 */
14 2, 0x01, 500,
15 { ACPI_ADDRESS_SPACE_IO, 8, 0, 0, DEFAULT_PMBASE + LV2, 0 }
18 /* ACPI C3 / CPU C2 */
19 2, 0x11, 250,
20 { ACPI_ADDRESS_SPACE_IO, 8, 0, 0, DEFAULT_PMBASE + LV3, 0 }
24 int get_cst_entries(const acpi_cstate_t **entries)
26 *entries = cst_entries;
27 return ARRAY_SIZE(cst_entries);