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: I03378cc7bb76fd65fcec81018e47f6288d437cd8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/73042 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
This commit is contained in:
parent
01acc036ae
commit
655f7362e1
|
@ -994,6 +994,19 @@ config XHCI_UTILS
|
||||||
help
|
help
|
||||||
Provides xHCI utility functions.
|
Provides xHCI utility functions.
|
||||||
|
|
||||||
|
config NO_S0IX_SUPPORT
|
||||||
|
bool "Don't support S0IX suspend"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
Select if the board only supports S3 and/or S4 and not S0IX
|
||||||
|
|
||||||
|
config D3COLD_SUPPORT
|
||||||
|
bool "Don't support D3Cold"
|
||||||
|
default n if NO_S0IX_SUPPORT
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
Select if any devices don't support D3Cold state
|
||||||
|
|
||||||
source "src/device/dram/Kconfig"
|
source "src/device/dram/Kconfig"
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
Loading…
Reference in New Issue