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>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
This commit is contained in:
Ken Kurematsu 2024-09-26 09:26:05 +00:00 committed by Heinrich Schuchardt
parent 4b5750aaee
commit 8ac96c25e4

View file

@ -54,7 +54,7 @@ downloaded file, in blocks:
:: ::
setexpr fileblks ${filesize} + 0x1ff 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 Then we can add a mapping to the start of our device, backed by the
memory at `${loadaddr}`: memory at `${loadaddr}`: