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

Signed-off-by: Enrico Jörns <[email protected]>
---
 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


Reply via email to