Skip to contentSkip to conversation

bootsource: point bootsource_set() kernel-doc at /chosen

PATCH Applied Ahmad Fatoum 2 participants 2 messages Nov 8 – Nov 9

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bootsource: point bootsource_set() kernel-doc at /chosen

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
---
 include/bootsource.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/bootsource.h +2 -2
index 0d3cb7a33307..d8df6a5ab63b 100644
@@ -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.
  */
Signature · 1 line
2.47.3
Applied
#1 lore raw
Quoted 8 lines · 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.

[...]

Applied, thanks!

[1/1] bootsource: point bootsource_set() kernel-doc at /chosen
https://git.pengutronix.de/cgit/barebox/commit/?id=8edac5c8b862 (link may not be stable)

Best regards,

Signature · 1 line
Sascha Hauer <[email protected]>