[PATCH 15/17] bootstd: Correct the comment for bootmeth_set_order()
Simon Glass
sjg at chromium.org
Wed Mar 19 15:38:09 CET 2025
The function is used to handle the boot_targets variable so must support
space-separated items. Update the comment to show this.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
include/bootmeth.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/bootmeth.h b/include/bootmeth.h
index c32bbbab7e9..8f4706c555c 100644
--- a/include/bootmeth.h
+++ b/include/bootmeth.h
@@ -301,8 +301,8 @@ int bootmeth_setup_iter_order(struct bootflow_iter *iter, bool include_global);
*
* This selects the ordering to use for bootmeths
*
- * @order_str: String containing the ordering. This is a comma-separate list of
- * bootmeth-device names, e.g. "extlinux,efi". If empty then a default ordering
+ * @order_str: String containing the ordering. This is a space-separate list of
+ * bootmeth-device names, e.g. "extlinux efi". If empty then a default ordering
* is used, based on the sequence number of devices (i.e. using aliases)
* Return: 0 if OK, -ENODEV if an unknown bootmeth is mentioned, -ENOMEM if
* out of memory, -ENOENT if there are no bootmeth devices
--
2.43.0
More information about the U-Boot
mailing list