[PATCH 2/5] bootchooser: inline document global.bootchooser.reset_priorities

Ahmad Fatoum a.fatoum at pengutronix.de
Sun Dec 14 23:58:58 PST 2025


The variable is documented in Documentation/, but inline magicvar doc is
missing, so add a short one.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 common/bootchooser.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/common/bootchooser.c b/common/bootchooser.c
index 2905a0ca677e..7107732440a6 100644
--- a/common/bootchooser.c
+++ b/common/bootchooser.c
@@ -1008,6 +1008,8 @@ BAREBOX_MAGICVAR(global.bootchooser.default_attempts,
 		 "bootchooser: Default number of attempts for a target");
 BAREBOX_MAGICVAR(global.bootchooser.reset_attempts,
 		"bootchooser: Choose condition to reset number of attempts for all enabled targets ('power-on', 'all-zero', 'reset')");
+BAREBOX_MAGICVAR(global.bootchooser.reset_priorities,
+		"bootchooser: Choosen condition to reset priority of all targets (default: '', 'all-zero')");
 BAREBOX_MAGICVAR(global.bootchooser.default_priority,
 		 "bootchooser: Default priority for a target");
 BAREBOX_MAGICVAR(global.bootchooser.state_prefix,
-- 
2.47.3




More information about the barebox mailing list