diff options
author | Sean Rhodes <sean@starlabs.systems> | 2023-02-03 16:38:10 +0000 |
---|---|---|
committer | Lean Sheng Tan <sheng.tan@9elements.com> | 2023-02-20 10:14:38 +0000 |
commit | dbb97c3243e55a0fd00e692d150c9d38d09b57af (patch) | |
tree | 9baa4b82c7075c6c374c7b3897b47166ef29c5f9 /src/device/xhci.c | |
parent | 18545009407b1ec0e731f24ca4c16dbc967864b3 (diff) |
soc/intel/rtd3: Hook up supported states to Kconfig
Report `4` in `_S0W` only when D3COLD_SUPPORT is enabled, as if it
is not, it will break S3 exit.
When D3COLD_SUPPORT is not enabled, return `3` (D3Hot).
This fixed S3 exit on both TGL and ADL. Tested on StarBook
Mk V and Mk VI.
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Change-Id: I3a4b89132b594ad568a5851137575f921f8e2a2e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/72765
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Diffstat (limited to 'src/device/xhci.c')
0 files changed, 0 insertions, 0 deletions