Felix Singer has submitted this change. ( https://review.coreboot.org/c/coreboot/+/73904 )
Change subject: Revert "soc/intel/rtd3: Hook up supported states to Kconfig" ......................................................................
Revert "soc/intel/rtd3: Hook up supported states to Kconfig"
This reverts commit dbb97c3243e55a0fd00e692d150c9d38d09b57af.
Reason for revert: dependency for revert CB:73903
Change-Id: Ibc81483239a13f456d20631725641b7219af4ef8 Signed-off-by: Michael Niewöhner foss@mniewoehner.de Reviewed-on: https://review.coreboot.org/c/coreboot/+/73904 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Felix Singer felixsinger@posteo.net --- M src/soc/intel/common/block/pcie/rtd3/rtd3.c 1 file changed, 18 insertions(+), 4 deletions(-)
Approvals: build bot (Jenkins): Verified Felix Singer: Looks good to me, approved
diff --git a/src/soc/intel/common/block/pcie/rtd3/rtd3.c b/src/soc/intel/common/block/pcie/rtd3/rtd3.c index 8b372ed..5067ac3 100644 --- a/src/soc/intel/common/block/pcie/rtd3/rtd3.c +++ b/src/soc/intel/common/block/pcie/rtd3/rtd3.c @@ -511,10 +511,7 @@ acpigen_write_device(acpi_device_name(dev)); acpigen_write_ADR(0); acpigen_write_STA(ACPI_STATUS_DEVICE_ALL_ON); - if (CONFIG(D3COLD_SUPPORT)) - acpigen_write_name_integer("_S0W", ACPI_DEVICE_SLEEP_D3_COLD); - else - acpigen_write_name_integer("_S0W", ACPI_DEVICE_SLEEP_D3_HOT); + acpigen_write_name_integer("_S0W", ACPI_DEVICE_SLEEP_D3_COLD);
acpi_device_add_storage_d3_enable(NULL);