[PATCH] doc: blkmap: Fix typo in command example

Fixed a variable that was incorrect during the calculation of fileblks.
Signed-off-by: Ken Kurematsu k.kurematsu@nskint.co.jp --- doc/usage/blkmap.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/usage/blkmap.rst b/doc/usage/blkmap.rst index 7337ea507a..75f736c259 100644 --- a/doc/usage/blkmap.rst +++ b/doc/usage/blkmap.rst @@ -54,7 +54,7 @@ downloaded file, in blocks: ::
setexpr fileblks ${filesize} + 0x1ff - setexpr fileblks ${filesize} / 0x200 + setexpr fileblks ${fileblks} / 0x200
Then we can add a mapping to the start of our device, backed by the memory at `${loadaddr}`:

Hi Ken,
On 9/26/24 11:26 AM, Ken Kurematsu wrote:
[You don't often get email from k.kurematsu@nskint.co.jp. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
Fixed a variable that was incorrect during the calculation of fileblks.
Signed-off-by: Ken Kurematsu k.kurematsu@nskint.co.jp
Reviewed-by: Quentin Schulz quentin.schulz@cherry.de
Thanks! Quentin
participants (2)
-
Ken Kurematsu
-
Quentin Schulz