mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH master] bootsource: point bootsource_set() kernel-doc at /chosen
@ 2026-11-08 20:21 Ahmad Fatoum
  2026-11-09  8:51 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2026-11-08 20:21 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

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@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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-09  8:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-08 20:21 [PATCH master] bootsource: point bootsource_set() kernel-doc at /chosen Ahmad Fatoum
2026-11-09  8:51 ` Sascha Hauer

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