From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kVAmx-0001QU-2y for barebox@lists.infradead.org; Wed, 21 Oct 2020 09:52:12 +0000 Date: Wed, 21 Oct 2020 11:52:09 +0200 From: Sascha Hauer Message-ID: <20201021095209.GV13710@pengutronix.de> References: <20201020051318.17233-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201020051318.17233-1-a.fatoum@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 1/2] commands: bootchooser: migrate menu entry to boot menu To: Ahmad Fatoum Cc: barebox@lists.infradead.org On Tue, Oct 20, 2020 at 07:13:17AM +0200, Ahmad Fatoum wrote: > While the bootchooser command is not required for boot with bootchooser, > it's still boot related and is more likely to be looked for in the boot > menu than the misc menu. The boot menu has other commands like uimage > which do not boot either, but are boot-related. > > While at it, add some Kconfig help text. > > Signed-off-by: Ahmad Fatoum > --- > commands/Kconfig | 22 +++++++++++++++++----- > 1 file changed, 17 insertions(+), 5 deletions(-) Applied, thanks Sascha > > diff --git a/commands/Kconfig b/commands/Kconfig > index df18715f20d4..727946706300 100644 > --- a/commands/Kconfig > +++ b/commands/Kconfig > @@ -498,6 +498,23 @@ config CMD_UIMAGE > -e OUTFILE extract image to OUTFILE > -n NO use image number NO in multifile image > > +config CMD_BOOTCHOOSER > + tristate > + depends on BOOTCHOOSER > + prompt "bootchooser control utility" > + help > + Control misc behaviour of the bootchooser > + > + Options: > + -a [TARGETS] > + set remaining attempts of given targets to 'n' or the default attempts > + -p [TARGETS] > + set priority of given targets to 'n' or the default priority > + -i > + Show information about the bootchooser > + -s > + Mark the last boot successful > + > # end Boot commands > endmenu > > @@ -2179,11 +2196,6 @@ config CMD_STATE > depends on STATE > prompt "state" > > -config CMD_BOOTCHOOSER > - tristate > - depends on BOOTCHOOSER > - prompt "bootchooser" > - > config CMD_DHRYSTONE > bool > prompt "dhrystone" > -- > 2.28.0 > > > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox > -- 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 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox