diff options
Diffstat (limited to 'zephyr')
-rw-r--r-- | zephyr/Kconfig.powerseq | 8 | ||||
-rw-r--r-- | zephyr/shim/include/config_chip.h | 5 |
2 files changed, 13 insertions, 0 deletions
diff --git a/zephyr/Kconfig.powerseq b/zephyr/Kconfig.powerseq index d5d6df3a88..89a2d5729e 100644 --- a/zephyr/Kconfig.powerseq +++ b/zephyr/Kconfig.powerseq @@ -159,4 +159,12 @@ config PLATFORM_EC_POWERSEQ_SC7280 Enable power sequencing for the Qualcomm Snapdragon SC7280 chipset. +config PLATFORM_EC_CONSOLE_CMD_S5_TIMEOUT + bool "Console command: s5_timeout" + help + Enable the console command 's5_timeout'. This command is used to + change the timeout waiting for inactivity in the S5 power state before + transitioning to the G3 state. This command is useful for power + testing. + endif # PLATFORM_EC_POWERSEQ diff --git a/zephyr/shim/include/config_chip.h b/zephyr/shim/include/config_chip.h index 89f2ad4d52..f04e5f9945 100644 --- a/zephyr/shim/include/config_chip.h +++ b/zephyr/shim/include/config_chip.h @@ -1713,4 +1713,9 @@ CONFIG_PLATFORM_EC_TEMP_SENSOR_FIRST_READ_DELAY_MS #endif +#undef CONFIG_CMD_S5_TIMEOUT +#ifdef CONFIG_PLATFORM_EC_CONSOLE_CMD_S5_TIMEOUT +#define CONFIG_CMD_S5_TIMEOUT +#endif + #endif /* __CROS_EC_CONFIG_CHIP_H */ |