device: Add Kconfig options for D3COLD_SUPPORT and NO_S0IX_SUPPORT
Add NO_S0IX_SUPPORT for boards that do not support, or do not want to support S0IX. As all the boards in the tree that do this, don't support D3Cold, add D3COLD_SUPPORT that defaults to `n` when NO_S0IX_SUPPORT is selected to disable D3Cold support. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I04abc7efe2db06ae6daba9e09835441b62ee44f4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/72799 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user