mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] bootchooser: clarify error message for disabled barebox-state
@ 2026-01-14 12:48 Enrico Jörns
  0 siblings, 0 replies; only message in thread
From: Enrico Jörns @ 2026-01-14 12:48 UTC (permalink / raw)
  To: barebox; +Cc: Enrico Jörns

Make clear that:
- state was configured as bootchooser backend
- is disabled in kconfig

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
---
 common/bootchooser.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/common/bootchooser.c b/common/bootchooser.c
index a79eee8ca2..caef15a03f 100644
--- a/common/bootchooser.c
+++ b/common/bootchooser.c
@@ -384,8 +384,9 @@ struct bootchooser *bootchooser_get(void)
 			}
 			free(state_devname);
 		} else {
-			pr_err("State disabled, cannot use nv.bootchooser.state_prefix=%s\n",
+			pr_err("barebox-state backend selected (nv.bootchooser.state_prefix=%s) but CONFIG_STATE is disabled\n",
 			       state_prefix);
+
 			ret = -ENODEV;
 			goto err;
 		}
-- 
2.47.3




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-01-14 12:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-14 12:48 [PATCH] bootchooser: clarify error message for disabled barebox-state Enrico Jörns

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox