summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-10-20 07:13:17 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-10-21 11:51:51 +0200
commit030539ecb116d6f9eaa134d54e9af29112a1e05c (patch)
tree69066f7e3d8ddec2d6d00a8d4e9da0afc781b625 /commands
parentd6e7f108024ab92617a7296256c645a8d45bf053 (diff)
downloadbarebox-030539ecb116d6f9eaa134d54e9af29112a1e05c.tar.gz
barebox-030539ecb116d6f9eaa134d54e9af29112a1e05c.tar.xz
commands: bootchooser: migrate menu entry to boot menu
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 <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
-rw-r--r--commands/Kconfig22
1 files changed, 17 insertions, 5 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index df18715f20..7279467063 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 <n|default> [TARGETS]
+ set remaining attempts of given targets to 'n' or the default attempts
+ -p <n|default> [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"