From: Sascha Hauer <sha@pengutronix.de>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] common: state: make barebox-state enabling in Kconfig easier
Date: Mon, 3 Apr 2023 09:04:13 +0200 [thread overview]
Message-ID: <20230403070413.GN19113@pengutronix.de> (raw)
In-Reply-To: <20230331143130.1903540-1-a.fatoum@pengutronix.de>
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@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 |
prev parent reply other threads:[~2023-04-03 7:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-31 14:31 Ahmad Fatoum
2023-04-03 7:04 ` Sascha Hauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230403070413.GN19113@pengutronix.de \
--to=sha@pengutronix.de \
--cc=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox