]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
doc: usage: load: document part as hexadecimal
authorMickaël Tansorier <mickael.tansorier@smile.fr>
Fri, 15 Sep 2023 22:11:53 +0000 (00:11 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 29 Sep 2023 10:55:39 +0000 (12:55 +0200)
`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@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Simon Glass <sjg@chromium.org>
doc/usage/cmd/load.rst

index 1efee773179eaba2d7ace4ce0eb35d7e29c42ec1..2c892ee1cb7d3464ef3af22620871becc5c9f1b3 100644 (file)
@@ -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
 -------