summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2023-02-15 12:47:43 +0000
committerLean Sheng Tan <sheng.tan@9elements.com>2023-02-17 13:25:20 +0000
commit655f7362e13ca49e3e13a822c916c7dc52573d74 (patch)
tree33dd46924fbc50ab75da7ee89e5b2a944fd984f6 /src
parent01acc036aec765065e1d4ab07695dab1fd4818e0 (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/device/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/device/Kconfig b/src/device/Kconfig
index fdedf46100..d79634ffec 100644
--- a/src/device/Kconfig
+++ b/src/device/Kconfig
@@ -994,6 +994,19 @@ config XHCI_UTILS
help
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"
endmenu