mainboard/intel/avenuecity_crb: Update full IIO configuration
[coreboot2.git] / src / mainboard / apple / macbook21 / cstates.c
blob13d06f0839b11f82601508b79163c0dc78a6e4cf
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <acpi/acpigen.h>
5 static const acpi_cstate_t cst_entries[] = {
7 .ctype = 1,
8 .latency = 1,
9 .power = 1000,
10 .resource = {
11 .space_id = ACPI_ADDRESS_SPACE_FIXED,
12 .bit_width = ACPI_FFIXEDHW_VENDOR_INTEL,
13 .bit_offset = ACPI_FFIXEDHW_CLASS_MWAIT,
14 .access_size = ACPI_ACCESS_SIZE_UNDEFINED,
15 .addrl = 0,
16 .addrh = 0,
20 .ctype = 2,
21 .latency = 1,
22 .power = 500,
23 .resource = {
24 .space_id = ACPI_ADDRESS_SPACE_FIXED,
25 .bit_width = ACPI_FFIXEDHW_VENDOR_INTEL,
26 .bit_offset = ACPI_FFIXEDHW_CLASS_MWAIT,
27 .access_size = ACPI_ACCESS_SIZE_UNDEFINED,
28 .addrl = 0x10,
29 .addrh = 0,
34 int get_cst_entries(const acpi_cstate_t **entries)
36 *entries = cst_entries;
37 return ARRAY_SIZE(cst_entries);