diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2023-03-31 16:31:30 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2023-04-05 11:54:37 +0200 |
commit | 55f4ec838ab6a31d67ce816ac766c2f48c87988a (patch) | |
tree | 72cddef80995c67a4ab488abd338e59ec6416781 /common | |
parent | f223e705ab7a66cea33f7155eb6ef62d8169fe37 (diff) | |
download | barebox-55f4ec838ab6a31d67ce816ac766c2f48c87988a.tar.gz |
common: state: make barebox-state enabling in Kconfig easier
CONFIG_STATE only enables the framework, but practically all users
interact with the framework via the device tree binding, which has a
separate symbol. Make barebox state enabling easier by automatically
enabling STATE_DRV and CMD_STATE if possible when STATE itself is
enabled. They can still be disabled for configurations that don't
need them.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20230331143130.1903540-1-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r-- | common/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index 57fe5f7886..d951947463 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -1016,6 +1016,8 @@ config STATE select ENVIRONMENT_VARIABLES select OFTREE select PARAMETER + imply STATE_DRV + imply CMD_STATE help barebox state is a generic framework for atomic power fail-safe variable storage and retrieval. It can be used to safely maintain |