From 142c3060e740c7ca4fa422149834e25f72c1e4d5 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Tue, 1 Sep 2020 21:46:04 -0400 Subject: [PATCH] power: move kconfigs from arch/ to power/ Move all Kconfigs where they belong and in one place. Signed-off-by: Anas Nashif --- arch/Kconfig | 41 ----------------------------------------- subsys/power/Kconfig | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 41 deletions(-) diff --git a/arch/Kconfig b/arch/Kconfig index 707f02ec07e..45c418d5a98 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -477,47 +477,6 @@ config ARCH_HAS_THREAD_LOCAL_STORAGE config ARCH_HAS_THREAD_ABORT bool -# -# Hidden PM feature configs which are to be selected by -# individual SoC. -# - -config HAS_POWER_STATE_SLEEP_1 - bool - help - This option signifies that the target supports the SYS_POWER_STATE_SLEEP_1 - configuration option. - -config HAS_POWER_STATE_SLEEP_2 - bool - help - This option signifies that the target supports the SYS_POWER_STATE_SLEEP_2 - configuration option. - -config HAS_POWER_STATE_SLEEP_3 - bool - help - This option signifies that the target supports the SYS_POWER_STATE_SLEEP_3 - configuration option. - -config HAS_POWER_STATE_DEEP_SLEEP_1 - bool - help - This option signifies that the target supports the SYS_POWER_STATE_DEEP_SLEEP_1 - configuration option. - -config HAS_POWER_STATE_DEEP_SLEEP_2 - bool - help - This option signifies that the target supports the SYS_POWER_STATE_DEEP_SLEEP_2 - configuration option. - -config HAS_POWER_STATE_DEEP_SLEEP_3 - bool - help - This option signifies that the target supports the SYS_POWER_STATE_DEEP_SLEEP_3 - configuration option. - config BOOTLOADER_CONTEXT_RESTORE_SUPPORTED bool help diff --git a/subsys/power/Kconfig b/subsys/power/Kconfig index c40ae175e8d..a079e273f54 100644 --- a/subsys/power/Kconfig +++ b/subsys/power/Kconfig @@ -110,3 +110,45 @@ config PM_MAX_DEVICES default 15 endmenu + + +# +# Hidden PM feature configs which are to be selected by +# individual SoC. +# + +config HAS_POWER_STATE_SLEEP_1 + bool + help + This option signifies that the target supports the POWER_STATE_SLEEP_1 + configuration option. + +config HAS_POWER_STATE_SLEEP_2 + bool + help + This option signifies that the target supports the POWER_STATE_SLEEP_2 + configuration option. + +config HAS_POWER_STATE_SLEEP_3 + bool + help + This option signifies that the target supports the POWER_STATE_SLEEP_3 + configuration option. + +config HAS_POWER_STATE_DEEP_SLEEP_1 + bool + help + This option signifies that the target supports the SYS_POWER_STATE_DEEP_SLEEP_1 + configuration option. + +config HAS_POWER_STATE_DEEP_SLEEP_2 + bool + help + This option signifies that the target supports the SYS_POWER_STATE_DEEP_SLEEP_2 + configuration option. + +config HAS_POWER_STATE_DEEP_SLEEP_3 + bool + help + This option signifies that the target supports the SYS_POWER_STATE_DEEP_SLEEP_3 + configuration option.