From 4c9440c673a7343ed98c6a4902d718abc7ac5ab7 Mon Sep 17 00:00:00 2001 From: Eran Mitrani Date: Tue, 29 Nov 2022 17:46:38 -0800 Subject: soc/intel/{adl, common}: provide a list of D-states to enter LPM This was done previously for ADL. moving the code to common so it can be leveraged for other platforms (e.g. MTL) TEST=Built and tested on anahera by verifying SSDT contents Change-Id: I45eded3868a4987cb5eb0676c50378ac52ec3752 Signed-off-by: Eran Mitrani Reviewed-on: https://review.coreboot.org/c/coreboot/+/70166 Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik Reviewed-by: Kapil Porwal --- src/include/acpi/acpi.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/include/acpi') diff --git a/src/include/acpi/acpi.h b/src/include/acpi/acpi.h index f66f054b82..b92c77e5d5 100644 --- a/src/include/acpi/acpi.h +++ b/src/include/acpi/acpi.h @@ -51,6 +51,7 @@ enum acpi_device_sleep_states { ACPI_DEVICE_SLEEP_D3 = 3, ACPI_DEVICE_SLEEP_D3_HOT = ACPI_DEVICE_SLEEP_D3, ACPI_DEVICE_SLEEP_D3_COLD = 4, + ACPI_DEVICE_SLEEP_NONE = 5, }; #define RSDP_SIG "RSD PTR " /* RSDT pointer signature */ @@ -1283,7 +1284,6 @@ typedef struct acpi_einj { acpi_einj_action_table_t action_table[ACTION_COUNT]; } __packed acpi_einj_t; - uintptr_t get_coreboot_rsdp(void); void acpi_create_einj(acpi_einj_t *einj, uintptr_t addr, u8 actions); @@ -1298,8 +1298,6 @@ void acpi_create_ssdt_generator(acpi_header_t *ssdt, const char *oem_table_id); void acpi_write_bert(acpi_bert_t *bert, uintptr_t region, size_t length); void acpi_create_fadt(acpi_fadt_t *fadt, acpi_facs_t *facs, void *dsdt); -void soc_lpi_get_constraints(void *unused); - void acpi_fill_fadt(acpi_fadt_t *fadt); void arch_fill_fadt(acpi_fadt_t *fadt); void soc_fill_fadt(acpi_fadt_t *fadt); -- cgit v1.2.3