[PATCH] common: state: make barebox-state enabling in Kconfig easier
Sascha Hauer
sha at pengutronix.de
Mon Apr 3 00:04:13 PDT 2023
On Fri, Mar 31, 2023 at 04:31:30PM +0200, Ahmad Fatoum wrote:
> 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 at pengutronix.de>
> ---
> common/Kconfig | 2 ++
> 1 file changed, 2 insertions(+)
Applied, thanks
Sascha
>
> diff --git a/common/Kconfig b/common/Kconfig
> index 57fe5f7886de..d951947463a2 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
> --
> 2.39.2
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list