[PATCH master] bootsource: point bootsource_set() kernel-doc at /chosen

Ahmad Fatoum a.fatoum at barebox.org
Sun Nov 8 12:21:34 PST 2026


Commit cf893b54e65c ("bootsource: use /chosen instead of
/aliases/barebox,bootsource-") moved the barebox,bootsource-*
properties to /chosen, but the bootsource_set() kernel-doc still points
at /aliases. Let's fix that and the name of bootsource_set_raw() next
to it.

Fixes: cf893b54e65c ("bootsource: use /chosen instead of /aliases/barebox,bootsource-")
Assisted-by: Claude:opus-5.5
Signed-off-by: Ahmad Fatoum <a.fatoum at barebox.org>
---
 include/bootsource.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/bootsource.h b/include/bootsource.h
index 0d3cb7a33307..d8df6a5ab63b 100644
--- a/include/bootsource.h
+++ b/include/bootsource.h
@@ -43,11 +43,11 @@ int bootsource_of_node_set(struct device_node *np);
  *
  * Returns computed bootsource instace
  *
- * Normal bootsource_set_raw_instance() expects numbering used by
+ * Normal bootsource_set_raw() expects numbering used by
  * bootrom for instance to align with DT aliases, e.g.
  * $bootsource = "mmc" && $bootsource_instance = 1 -> /aliases/mmc1
  * bootsource_set() will instead consult
- * /aliases/barebox,bootsource-mmc1 which may point at a different
+ * /chosen/barebox,bootsource-mmc1 which may point at a different
  * device than mmc1. In absence of appropriate barebox,bootsource-*
  * chosen property, instance is set without translation.
  */
-- 
2.47.3




More information about the barebox mailing list