From: Ken Kurematsu Date: Thu, 26 Sep 2024 09:26:05 +0000 (+0000) Subject: doc: blkmap: Fix typo in command example X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-favicon.png?a=commitdiff_plain;h=8ac96c25e4a0df85f5069100ce1697d431bd0e12;p=u-boot.git doc: blkmap: Fix typo in command example Fixed a variable that was incorrect during the calculation of fileblks. Signed-off-by: Ken Kurematsu Reviewed-by: Quentin Schulz --- 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}`: