]> Git Repo - u-boot.git/commitdiff
doc: usage: load: document part as hexadecimal
authorMickaël Tansorier <[email protected]>
Fri, 15 Sep 2023 22:11:53 +0000 (00:11 +0200)
committerHeinrich Schuchardt <[email protected]>
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 <[email protected]>
Reviewed-by: Yoann Congal <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
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
 -------
This page took 0.036133 seconds and 4 git commands to generate.