soc/intel/{tgl,adl}: Replace _S3 with D3COLD_SUPPORT symbol

Replace the SOC_INTEL_TIGERLAKE_S3 and SOC_INTEL_ALDERLAKE_S3 with
the D3COLD_SUPPORT symbol, as it allows for more granular control.

Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Change-Id: I07e8c84e5ad8f390bfbac017dd23736e7a6ced9e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73291
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
This commit is contained in:
Sean Rhodes
2023-02-27 13:08:50 +00:00
committed by Felix Held
parent fd51af6286
commit fd4ad29f18
10 changed files with 35 additions and 47 deletions

View File

@@ -676,7 +676,7 @@ Scope (\_SB.PCI0)
}
}
#if !CONFIG(SOC_INTEL_TIGERLAKE_S3)
#if CONFIG(D3COLD_SUPPORT)
Method (TCON, 0)
{
/* Reset IOM D3 cold bit if it is in D3 cold now. */
@@ -787,7 +787,7 @@ Scope (\_SB.PCI0)
STAT = 0
}
}
#endif // SOC_INTEL_TIGERLAKE_S3
#endif // D3COLD_SUPPORT
/*
* TCSS xHCI device