[PATCH] doc: usage: load: document part as hexadecimal

Yoann Congal yoann.congal at smile.fr
Sat Sep 16 00:11:53 CEST 2023


From: Mickaël Tansorier <mickael.tansorier at smile.fr>

`part` option is in hexadecimal, so information is missing in usage
documentation.

Callgraph for `part` parsing is :
do_load -> fs_set_blk_dev -> part_get_info_by_dev_and_name_or_num ->
blk_get_device_part_str -> hextoul (This is why it is hexadecimal)

Signed-off-by: Mickaël Tansorier <mickael.tansorier at smile.fr>
Reviewed-by: Yoann Congal <yoann.congal at smile.fr>
---
 doc/usage/cmd/load.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/usage/cmd/load.rst b/doc/usage/cmd/load.rst
index 1efee773179..2c892ee1cb7 100644
--- a/doc/usage/cmd/load.rst
+++ b/doc/usage/cmd/load.rst
@@ -40,7 +40,7 @@ bytes
 pos
     number of bytes to skip
 
-addr, bytes, pos are hexadecimal numbers.
+part, addr, bytes, pos are hexadecimal numbers.
 
 Example
 -------
-- 
2.30.2



More information about the U-Boot mailing list